-9 Removals
+18 Additions

Created by:phpboost

<script> <script>
<!-- <!--
var path = '{PICTURES_DATA_PATH}'; var path = '{PICTURES_DATA_PATH}';
var selected_cat = {SELECTED_CAT}; var selected_cat = {SELECTED_CAT};
function check_form_post(){ function check_form_post(){
if(document.getElementById('title').value == "") { if(document.getElementById('title').value == "") {
alert("{L_ALERT_TITLE}"); alert("{L_ALERT_TITLE}");
return false; return false;
} }
if(document.getElementById('contents').value == "") { if(document.getElementById('contents').value == "") {
alert("{L_ALERT_CONTENTS}"); alert("{L_ALERT_CONTENTS}");
return false; return false;
} }
return true; return true;
} }
--> -->
</script> </script>
# START preview # # START preview #
<article> <section>
<header> <header>
<h1>{L_PREVIEWING}: {preview.TITLE}</h1> <h1>{L_PREVIEWING}: {preview.TITLE}</h1>
</header> </header>
<div class="content" id="preview"> <div class="content" id="preview">
# START preview.menu # # START preview.menu #
<div class="wiki-summary"> <div class="wiki-summary">
<div class="wiki-summary-title">{L_TABLE_OF_CONTENTS}</div> <div class="wiki-summary-title">{L_TABLE_OF_CONTENTS}</div>
{preview.menu.MENU} {preview.menu.MENU}
</div> </div>
# END preview.menu # # END preview.menu #
<br /><br /> <br /><br />
{preview.CONTENTS} {preview.CONTENTS}
</div> </div>
<footer></footer> <footer></footer>
</article> </section>
# END preview # # END preview #
# INCLUDE message_helper # # INCLUDE message_helper #
<form action="{TARGET}" method="post" onsubmit="return check_form_post();" class="fieldset-content wiki-edit"> <form action="{TARGET}" method="post" onsubmit="return check_form_post();" class="fieldset-content wiki-edit">
<p class="center">{L_REQUIRE}</p> <p class="center">{L_REQUIRE}</p>
<fieldset> <fieldset>
<legend>{TITLE}</legend> <legend>{TITLE}</legend>
# START create # # START create #
<div class="form-element"> <div class="form-element">
<label for="title">* {L_TITLE_FIELD}</label> <label for="title">* {L_TITLE_FIELD}</label>
<div class="form-field"><label><input type="text" id="title" name="title" maxlength="250" class="field-large" value="{ARTICLE_TITLE}"></label></div> <div class="form-field"><label><input type="text" id="title" name="title" maxlength="250" class="field-large" value="{ARTICLE_TITLE}"></label></div>
</div> </div>
<div class="form-element"> <div class="form-element">
<label>{L_CURRENT_CAT}</label> <label>{L_CURRENT_CAT}</label>
<div class="form-field"> <div class="form-field">
<input type="hidden" name="id_cat" id="id_cat" value="{ID_CAT}"/> <input type="hidden" name="id_cat" id="id_cat" value="{ID_CAT}"/>
<div id="selected_cat">{CURRENT_CAT}</div> <div id="selected_cat">{CURRENT_CAT}</div>
</div> </div>
</div> </div>
<div class="form-element"> <div class="form-element">
<label>{L_CAT}</label> <label>{L_CAT}</label>
<div class="explorer inline"> <div class="explorer inline">
<div class="cats"> <div class="cats">
<div class="content"> <div class="content">
<ul> <ul>
<li><a class="{CAT_0}" id="class-0" href="javascript:select_cat(0);"><i class="fa fa-folder"></i>{L_DO_NOT_SELECT_ANY_CAT}</a> <li><a class="{CAT_0}" id="class-0" href="javascript:select_cat(0);"><i class="fa fa-folder" aria-hidden="true"></i>{L_DO_NOT_SELECT_ANY_CAT}</a>
<ul> <ul>
# START create.list # # START create.list #
<li class="sub"> <li class="sub">
# IF create.list.C_SUB_CAT # # IF create.list.C_SUB_CAT #
<a class="parent" href="javascript:show_wiki_cat_contents({create.list.ID}, 1);" title="${LangLoader::get_message('display', 'common')}"> <a class="parent" href="javascript:show_wiki_cat_contents({create.list.ID}, 1);" title="${LangLoader::get_message('display', 'common')}">
<i class="fa fa-plus-square-o" id="img-subfolder-{create.list.ID}"></i> <i class="fa fa-plus-square-o" id="img-subfolder-{create.list.ID}"></i>
<i class="fa fa-folder" id ="img-folder-{create.list.ID}"></i> <i class="fa fa-folder" id ="img-folder-{create.list.ID}"></i>
</a> </a>
<a id="class-{create.list.ID}" href="javascript:select_cat({create.list.ID});">{create.list.TITLE}</a> <a id="class-{create.list.ID}" href="javascript:select_cat({create.list.ID});">{create.list.TITLE}</a>
# ELSE # # ELSE #
<a id="class-{create.list.ID}" href="javascript:select_cat({create.list.ID});"><i class="fa fa-folder"></i>{create.list.TITLE}</a> <a id="class-{create.list.ID}" href="javascript:select_cat({create.list.ID});"><i class="fa fa-folder" aria-hidden="true"></i>{create.list.TITLE}</a>
# ENDIF # # ENDIF #
<span id="cat-{create.list.ID}"></span> <span id="cat-{create.list.ID}"></span>
</li> </li>
# END create.list # # END create.list #
{CAT_LIST} {CAT_LIST}
</ul> </ul>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
# END create # # END create #
<div class="form-element-textarea"> <div class="form-element-textarea">
<label for="contents">* {L_CONTENTS}</label> <label for="contents">* {L_CONTENTS}</label>
# INCLUDE post_js_tools # # INCLUDE post_js_tools #
{KERNEL_EDITOR} {KERNEL_EDITOR}
<div class="form-field-textarea"> <div class="form-field-textarea">
<textarea rows="25" id="contents" name="contents">{CONTENTS}</textarea> <textarea rows="25" id="contents" name="contents">{CONTENTS}</textarea>
</div> </div>
</div> </div>
# IF C_EDIT #
<br />
<div class="form-element-textarea">
<label>{L_CHANGE_REASON_LABEL}</label>
<textarea maxlength="100" rows="2" id="change_reason" name="change_reason">{CHANGE_REASON}</textarea>
</div>
# ENDIF #
# IF C_VERIF_CODE # # IF C_VERIF_CODE #
<div class="form-element"> <div class="form-element">
<label for="captcha">* ${LangLoader::get_message('form.captcha', 'common')}</label> <label for="captcha">* ${LangLoader::get_message('form.captcha', 'common')}</label>
<div class="form-field"> <div class="form-field">
{VERIF_CODE} {VERIF_CODE}
</div> </div>
</div> </div>
<script> <script>
<!-- <!--
jQuery(document).ready(function() { jQuery(document).ready(function() {
jQuery('button[name="submit"]').click(function() jQuery('button[name="submit"]').on('click', function()
{ {
if(!jQuery('#captcha').val() && !jQuery('#g-recaptcha-response').val()) { if(!jQuery('#captcha').val() && !jQuery('#g-recaptcha-response').val()) {
alert(${escapejs(LangLoader::get_message('captcha.validation_error', 'status-messages-common'))}); alert(${escapejs(LangLoader::get_message('captcha.validation_error', 'status-messages-common'))});
return false; return false;
} }
}); });
}); });
--> -->
</script> </script>
# ENDIF # # ENDIF #
</fieldset> </fieldset>
<fieldset class="fieldset-submit"> <fieldset class="fieldset-submit">
<legend>{L_SUBMIT}</legend> <legend>{L_SUBMIT}</legend>
<input type="hidden" name="is_cat" value="{IS_CAT}"> <input type="hidden" name="is_cat" value="{IS_CAT}">
<input type="hidden" name="id_edit" value="{ID_EDIT}"> <input type="hidden" name="id_edit" value="{ID_EDIT}">
<input type="hidden" name="token" value="{TOKEN}"> <input type="hidden" name="token" value="{TOKEN}">
<button type="submit" name="submit" class="submit">{L_SUBMIT}</button> <button type="submit" name="submit" class="submit">{L_SUBMIT}</button>
<button type="submit" name="preview" value="preview">{L_PREVIEW}</button> <button type="submit" name="preview" value="preview">{L_PREVIEW}</button>
<button type="reset">{L_RESET}</button> <button type="reset">{L_RESET}</button>
</fieldset> </fieldset>
</form> </form>
Editor
Original Text
Changed Text
Recommended videos