[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Summary view] [Print] [Text view]
1 <!-- INCLUDE overall_header.html --> 2 3 <a id="maincontent"></a> 4 5 <!-- IF S_EDIT_MODULE --> 6 7 <script> 8 // <![CDATA[ 9 function display_options(value) 10 { 11 if (value == 'category') 12 { 13 phpbb.toggleDisplay('modoptions', -1); 14 } 15 else 16 { 17 phpbb.toggleDisplay('modoptions', 1); 18 } 19 } 20 21 function display_modes(value) 22 { 23 // Find the old select tag 24 var item = document.getElementById('module_mode'); 25 26 // Create the new select tag 27 var new_node = document.createElement('select'); 28 new_node.setAttribute('id', 'module_mode'); 29 new_node.setAttribute('name', 'module_mode'); 30 31 // Substitute it for the old one 32 item.parentNode.replaceChild(new_node, item); 33 34 // Reset the variable 35 item = document.getElementById('module_mode'); 36 37 var j = 0; 38 <!-- BEGIN m_names --> 39 40 if (value == '{m_names.A_NAME}') 41 { 42 <!-- BEGIN modes --> 43 item.options[j] = new Option('{m_names.modes.A_VALUE}'); 44 item.options[j].value = '{m_names.modes.A_OPTION}'; 45 j++; 46 <!-- END modes --> 47 } 48 <!-- END m_names --> 49 50 // select first item 51 item.options[0].selected = true; 52 } 53 54 // ]]> 55 </script> 56 57 <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> 58 59 <h1>{L_TITLE} :: {MODULENAME}</h1> 60 61 <p>{L_EDIT_MODULE_EXPLAIN}</p> 62 63 <!-- IF S_ERROR --> 64 <div class="errorbox"> 65 <h3>{L_WARNING}</h3> 66 <p>{ERROR_MSG}</p> 67 </div> 68 <!-- ENDIF --> 69 70 <form id="moduleedit" method="post" action="{U_EDIT_ACTION}"> 71 72 <fieldset> 73 <legend>{L_GENERAL_OPTIONS}</legend> 74 <dl> 75 <dt><label for="module_langname">{L_MODULE_LANGNAME}{L_COLON}</label><br /> 76 <span>{L_MODULE_LANGNAME_EXPLAIN}</span></dt> 77 <dd><input name="module_langname" type="text" class="text medium" id="module_langname" value="{MODULE_LANGNAME}" /></dd> 78 </dl> 79 <dl> 80 <dt><label for="module_type">{L_MODULE_TYPE}{L_COLON}</label></dt> 81 <dd><select name="module_type" id="module_type" onchange="display_options(this.value);"><option value="category"<!-- IF S_IS_CAT --> selected="selected"<!-- ENDIF -->>{L_CATEGORY}</option><option value="module"<!-- IF not S_IS_CAT --> selected="selected"<!-- ENDIF -->>{L_MODULE}</option></select></dd> 82 </dl> 83 <dl> 84 <dt><label for="parent_id">{L_PARENT}{L_COLON}</label></dt> 85 <dd><select name="module_parent_id" id="parent_id">{S_CAT_OPTIONS}</select></dd> 86 </dl> 87 <hr /> 88 <dl> 89 <dt><label for="module_enabled">{L_MODULE_ENABLED}{L_COLON}</label></dt> 90 <dd><label><input type="radio" class="radio" name="module_enabled" id="module_enabled" value="1"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> 91 <label><input type="radio" class="radio" name="module_enabled" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 92 </dl> 93 <div id="modoptions"<!-- IF S_IS_CAT --> style="display: none;"<!-- ENDIF -->> 94 <dl> 95 <dt><label for="module_display">{L_MODULE_DISPLAYED}{L_COLON}</label><br /><span>{L_MODULE_DISPLAYED_EXPLAIN}</span></dt> 96 <dd><label><input type="radio" class="radio" name="module_display" id="module_display" value="1"<!-- IF MODULE_DISPLAY --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> 97 <label><input type="radio" class="radio" name="module_display" value="0"<!-- IF not MODULE_DISPLAY --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 98 </dl> 99 <dl> 100 <dt><label for="module_basename">{L_CHOOSE_MODULE}{L_COLON}</label><br /> 101 <span>{L_CHOOSE_MODULE_EXPLAIN}</span></dt> 102 <dd><select name="module_basename" id="module_basename" onchange="display_modes(this.value);">{S_MODULE_NAMES}</select></dd> 103 </dl> 104 <dl> 105 <dt><label for="module_mode">{L_CHOOSE_MODE}{L_COLON}</label><br /> 106 <span>{L_CHOOSE_MODE_EXPLAIN}</span></dt> 107 <dd><select name="module_mode" id="module_mode">{S_MODULE_MODES}</select></dd> 108 </dl> 109 </div> 110 111 <p class="submit-buttons"> 112 <input type="hidden" name="action" value="{ACTION}" /> 113 <input type="hidden" name="m" value="{MODULE_ID}" /> 114 115 <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" /> 116 <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" /> 117 </p> 118 {S_FORM_TOKEN} 119 </fieldset> 120 </form> 121 122 <!-- ELSE --> 123 124 <h1>{L_ACP_MODULE_MANAGEMENT}</h1> 125 126 <p>{L_ACP_MODULE_MANAGEMENT_EXPLAIN}</p> 127 128 <!-- IF S_ERROR --> 129 <div class="errorbox"> 130 <h3>{L_WARNING}</h3> 131 <p>{ERROR_MSG}</p> 132 </div> 133 <!-- ENDIF --> 134 135 <table class="table1"> 136 <tbody> 137 <tr> 138 <td class="row3">{NAVIGATION}<!-- IF S_NO_MODULES --> [<a href="{U_EDIT}">{L_EDIT}</a> | <a href="{U_DELETE}">{L_DELETE}</a> | <!-- IF MODULE_ENABLED --><a href="{U_DISABLE}">{L_DISABLE}</a><!-- ELSE --><a href="{U_ENABLE}">{L_ENABLE}</a><!-- ENDIF -->]<!-- ENDIF --></td> 139 </tr> 140 </tbody> 141 </table> 142 143 <!-- IF .modules --> 144 <table class="table1"> 145 <col class="row1" /><col class="row1" /><col class="row2" /><col class="row2" /> 146 <tbody> 147 <!-- BEGIN modules --> 148 <tr> 149 <td style="width: 5%; text-align: center;">{modules.MODULE_IMAGE}</td> 150 <td><a href="{modules.U_MODULE}">{modules.MODULE_TITLE}</a><!-- IF not modules.MODULE_DISPLAYED --> <span class="small">[{L_HIDDEN_MODULE}]</span><!-- ENDIF --></td> 151 <td style="width: 15%; white-space: nowrap; text-align: center; vertical-align: middle;"> <!-- IF modules.MODULE_ENABLED --><a href="{modules.U_DISABLE}">{L_DISABLE}</a><!-- ELSE --><a href="{modules.U_ENABLE}">{L_ENABLE}</a><!-- ENDIF --> </td> 152 <td class="actions"> 153 <span class="up-disabled" style="display:none;">{ICON_MOVE_UP_DISABLED}</span> 154 <span class="up"><a href="{modules.U_MOVE_UP}" data-ajax="row_up">{ICON_MOVE_UP}</a></span> 155 <span class="down-disabled" style="display:none;">{ICON_MOVE_DOWN_DISABLED}</span> 156 <span class="down"><a href="{modules.U_MOVE_DOWN}" data-ajax="row_down">{ICON_MOVE_DOWN}</a></span> 157 <a href="{modules.U_EDIT}">{ICON_EDIT}</a> 158 <a href="{modules.U_DELETE}" data-ajax="row_delete">{ICON_DELETE}</a> 159 </td> 160 </tr> 161 <!-- END modules --> 162 </tbody> 163 </table> 164 <!-- ENDIF --> 165 166 <div class="clearfix"> </div> 167 168 <form id="quick" method="post" action="{U_ACTION}"> 169 170 <fieldset class="quick" style="float: {S_CONTENT_FLOW_END};"> 171 <input type="hidden" name="action" value="quickadd" /> 172 173 <select name="quick_install">{S_INSTALL_OPTIONS}</select> 174 <input class="button2" name="quickadd" type="submit" value="{L_ADD_MODULE}" /> 175 </fieldset> 176 177 </form> 178 179 <form id="module" method="post" action="{U_ACTION}"> 180 181 <fieldset class="quick" style="float: {S_CONTENT_FLOW_BEGIN};"> 182 <input type="hidden" name="action" value="add" /> 183 <input type="hidden" name="module_parent_id" value="{PARENT_ID}" /> 184 185 <input type="text" name="module_langname" maxlength="255" /> 186 <input class="button2" name="addmodule" type="submit" value="{L_CREATE_MODULE}" /> 187 </fieldset> 188 189 </form> 190 191 <div class="clearfix"> </div><br style="clear: both;" /> 192 193 <form id="mselect" method="post" action="{U_SEL_ACTION}"> 194 <fieldset class="quick"> 195 {L_SELECT_MODULE}{L_COLON} <select name="parent_id" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{MODULE_BOX}</select> 196 197 <input class="button2" type="submit" value="{L_GO}" /> 198 </fieldset> 199 </form> 200 201 <!-- ENDIF --> 202 203 <!-- INCLUDE overall_footer.html -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |