-15 Removals
+13 Additions

Created by:phpboost

1 # INCLUDE forum_top # 1 # INCLUDE forum_top #
2 2
3 <article itemscope="itemscope" itemtype="http://schema.org/Creativework" id="article-forum-moderation"> 3 <article itemscope="itemscope" itemtype="http://schema.org/Creativework" id="article-forum-moderation" class="forum-contents">
4 <header> 4 <header>
5 <h2>&bull; {U_FORUM_CAT} &raquo; {U_TITLE_T} <span><em>{DESC}</em></span> &raquo; <a href="">{L_ALERT}</a></h2> 5 <h2><a href="{U_FORUM_CAT}">{FORUM_CAT}</a> <i class="fa fa-angle-double-right" aria-hidden="true"></i> <a href="{U_TITLE_T}">{TITLE_T}</a> <span><em>{DESC}</em></span> <i class="fa fa-angle-double-right" aria-hidden="true"></i> <a href="">{L_ALERT}</a></h2>
6 </header> 6 </header>
7 7
8 # START alert_form # 8 # START alert_form #
9 <script> 9 <script>
10 <!-- 10 <!--
11 function check_form_alert(){ 11 function check_form_alert(){
12 if(document.getElementById('contents').value == "") { 12 if(document.getElementById('contents').value == "") {
13 alert("{L_REQUIRE_TEXT}"); 13 alert("{L_REQUIRE_TEXT}");
14 return false; 14 return false;
15 } 15 }
16 if(document.getElementById('title').value == "") { 16 if(document.getElementById('title').value == "") {
17 alert("{L_REQUIRE_TITLE}"); 17 alert("{L_REQUIRE_TITLE}");
18 return false; 18 return false;
19 } 19 }
20 return true; 20 return true;
21 } 21 }
22 --> 22 -->
23 </script> 23 </script>
24 24
25 <form method="post" action="alert.php" onsubmit="javascript:return check_form_alert();"> 25 <form method="post" action="alert.php" onsubmit="javascript:return check_form_alert();">
26 <fieldset> 26 <fieldset>
27 <legend>{L_ALERT}</legend> 27 <legend><h1>{L_ALERT}</h1></legend>
28 28
29 <div id="id-message-helper" class="notice">{L_ALERT_EXPLAIN}: <a title="{alert_form.TITLE}" href="{alert_form.U_TOPIC}">{alert_form.TITLE}</a></div> 29 <div class="message-helper notice">{L_ALERT_EXPLAIN}: <a title="{alert_form.TITLE}" href="{alert_form.U_TOPIC}">{alert_form.TITLE}</a></div>
30 <div class="form-element"> 30 <div class="form-element">
31 <label for="title">* {L_ALERT_TITLE}</label> 31 <label for="title">* {L_ALERT_TITLE}</label>
32 <div class="form-field"> 32 <div class="form-field">
33 <input type="text" name="title" id="title" class="field-large"> 33 <input type="text" name="title" id="title" class="field-large">
34 </div> 34 </div>
35 </div> 35 </div>
36 <div class="form-element-textarea"> 36 <div class="form-element-textarea">
37 <label for="contents">* {L_ALERT_CONTENTS}</label> 37 <label for="contents">* {L_ALERT_CONTENTS}</label>
38 {KERNEL_EDITOR} 38 {KERNEL_EDITOR}
39 <textarea rows="15" cols="40" id="contents" name="contents"></textarea> 39 <textarea rows="15" cols="40" id="contents" name="contents"></textarea>
40 <input type="hidden" name="id" value="{alert_form.ID_ALERT}"> 40 <input type="hidden" name="id" value="{alert_form.ID_ALERT}">
41 </div> 41 </div>
42 </fieldset> 42 </fieldset>
43 43
44 <fieldset class="fieldset-submit"> 44 <fieldset class="fieldset-submit">
45 <button type="submit" name="edit_msg" value="true" class="submit">{L_SUBMIT}</button> 45 <button type="submit" name="edit_msg" value="true" class="submit">{L_SUBMIT}</button>
46 <button onclick="XMLHttpRequest_preview();" type="button">{L_PREVIEW}</button> 46 <button onclick="XMLHttpRequest_preview();" type="button">{L_PREVIEW}</button>
47 <button type="reset" value="true">{L_RESET}</button> 47 <button type="reset" value="true">{L_RESET}</button>
48 <input type="hidden" name="token" value="{TOKEN}"> 48 <input type="hidden" name="token" value="{TOKEN}">
49 </fieldset> 49 </fieldset>
50 </form> 50 </form>
51 <br /> 51 <div class="spacer"></div>
52 # END alert_form # 52 # END alert_form #
53 53
54 54
55 # START alert_confirm # 55 # START alert_confirm #
56 <fieldset> 56 <fieldset>
57 <legend>{L_ALERT}</legend> 57 <legend>{L_ALERT}</legend>
58 <div class="success"> 58 <div class="message-helper success">
59 {alert_confirm.MSG} 59 {alert_confirm.MSG}
60 <br /><br />
61 <div class="center"><a href="{URL_TOPIC}">{L_BACK_TOPIC}</a></div> 60 <div class="center"><a href="{URL_TOPIC}">{L_BACK_TOPIC}</a></div>
62 </div> 61 </div>
63 </fieldset> 62 </fieldset>
64 # END alert_confirm # 63 # END alert_confirm #
65 <footer>&bull; {U_FORUM_CAT} &raquo; {U_TITLE_T} <span><em>{DESC}</em></span> &raquo; <a href="">{L_ALERT}</a></footer> 64 <footer><a href="{U_FORUM_CAT}">{FORUM_CAT}</a> <i class="fa fa-angle-double-right" aria-hidden="true"></i> <a href="{U_TITLE_T}">{TITLE_T}</a> <span><em>{DESC}</em></span> <i class="fa fa-angle-double-right" aria-hidden="true"></i> <a href="">{L_ALERT}</a></footer>
66 </article> 65 </article>
67 66
68 # INCLUDE forum_bottom # 67 # INCLUDE forum_bottom #
69
Editor
Original Text
Changed Text
Recommended videos