Changeset 2223 for trunk/template/yoga/admin/cat_modify.tpl
- Timestamp:
- Feb 28, 2008, 3:41:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/admin/cat_modify.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 3 2 <div class="titrePage"> 4 3 <ul class="categoryActions"> 5 <li><a href="{ U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>4 <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> 6 5 </ul> 7 <h2>{ lang:title_edit_cat}</h2>6 <h2>{'title_edit_cat'|@translate}</h2> 8 7 </div> 9 8 10 <h3>{ CATEGORIES_NAV}</h3>9 <h3>{$CATEGORIES_NAV}</h3> 11 10 12 11 <ul class="categoryActions"> 13 <li><a href="{ U_JUMPTO}" title="{lang:jump to category}"><img src="{themeconf:icon_dir}/category_jump-to.png" class="button" alt="{lang:jump to category}" /></a></li>14 <!-- BEGIN elements -->15 <li><a href="{ elements.URL}" title="{lang:manage category elements}"><img src="{themeconf:icon_dir}/category_elements.png" class="button" alt="{lang:elements}" /></a></li>16 <!-- END elements -->17 <li><a href="{ U_CHILDREN}" title="{lang:manage sub-categories}"><img src="{themeconf:icon_dir}/category_children.png" class="button" alt="{lang:sub-categories}" /></a></li>18 <!-- BEGIN permissions -->19 <li><a href="{ permissions.URL}" title="{lang:edit category permissions}" ><img src="{themeconf:icon_dir}/category_permissions.png" class="button" alt="{lang:permissions}" /></a></li>20 <!-- END permissions -->21 <!-- BEGIN delete -->22 <li><a href="{ delete.URL}" title="{lang:delete category}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/category_delete.png" class="button" alt="{lang:delete}" /></a></li>23 <!-- END delete -->12 <li><a href="{$U_JUMPTO}" title="{'jump to category'|@translate}"><img src="{$themeconf.icon_dir}/category_jump-to.png" class="button" alt="{'jump to category'|@translate}" /></a></li> 13 {if isset($U_MANAGE_ELEMENTS) } 14 <li><a href="{$U_MANAGE_ELEMENTS}" title="{'manage category elements'|@translate}"><img src="{$themeconf.icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}" /></a></li> 15 {/if} 16 <li><a href="{$U_CHILDREN}" title="{'manage sub-categories'|@translate}"><img src="{$themeconf.icon_dir}/category_children.png" class="button" alt="{'sub-categories'|@translate}" /></a></li> 17 {if isset($U_MANAGE_PERMISSIONS) } 18 <li><a href="{$U_MANAGE_PERMISSIONS}" title="{'edit category permissions'|@translate}" ><img src="{$themeconf.icon_dir}/category_permissions.png" class="button" alt="{'permissions'|@translate}" /></a></li> 19 {/if} 20 {if isset($U_DELETE) } 21 <li><a href="{$U_DELETE}" title="{'delete category'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}" /></a></li> 22 {/if} 24 23 </ul> 25 24 26 <form action="{ F_ACTION}" method="POST" id="catModify">25 <form action="{$F_ACTION}" method="POST" id="catModify"> 27 26 28 27 <fieldset> 29 <legend>{lang:Informations}</legend> 30 <table> 31 <!-- BEGIN server --> 32 <tr> 33 <td><strong>{L_REMOTE_SITE}</strong></td> 34 <td>{server.SITE_URL}</td> 35 </tr> 36 <!-- END server --> 37 <!-- BEGIN storage --> 38 <tr> 39 <td><strong>{L_STORAGE}</strong></td> 40 <td class="row1">{storage.CATEGORY_DIR}</td> 41 </tr> 42 <!-- END storage --> 43 <tr> 44 <td><strong>{L_EDIT_NAME}</strong></td> 45 <td> 46 <input type="text" name="name" value="{CAT_NAME}" maxlength="60"/> 47 </td> 48 </tr> 49 <tr> 50 <td><strong>{L_EDIT_COMMENT}</strong></td> 51 <td> 52 <textarea cols="50" rows="5" name="comment" class="description">{CAT_COMMENT}</textarea> 53 </td> 54 </tr> 55 </table> 56 </fieldset> 57 58 <!-- BEGIN move --> 28 <legend>{'Informations'|@translate}</legend> 29 <table> 30 31 {if isset($CAT_FULL_DIR) } 32 <tr> 33 <td><strong>{'storage'|@translate}</strong></td> 34 <td class="row1">{$CAT_FULL_DIR}</td> 35 </tr> 36 {/if} 37 38 <tr> 39 <td><strong>{'name'|@translate}</strong></td> 40 <td> 41 <input type="text" name="name" value="{$CAT_NAME}" maxlength="60"/> 42 </td> 43 </tr> 44 <tr> 45 <td><strong>{'description'|@translate}</strong></td> 46 <td> 47 <textarea cols="50" rows="5" name="comment" class="description">{$CAT_COMMENT}</textarea> 48 </td> 49 </tr> 50 </table> 51 </fieldset> 52 53 {if isset($move_cat_options) } 59 54 <fieldset id="move"> 60 <legend>{ lang:Move}</legend>61 { lang:Parent category}55 <legend>{'Move'|@translate}</legend> 56 {'Parent category'|@translate} 62 57 <select class="categoryDropDown" name="parent"> 63 <!-- BEGIN parent_option --> 64 <option class="{move.parent_option.CLASS}" {move.parent_option.SELECTED} value="{move.parent_option.VALUE}">{move.parent_option.OPTION}</option> 65 <!-- END parent_option --> 58 <option value="0">------------</option> 59 {html_options options=$move_cat_options selected=$move_cat_options_selected } 66 60 </select> 67 61 </fieldset> 68 <!-- END move --> 62 {/if} 69 63 70 64 <fieldset id="options"> 71 <legend>{lang:Options}</legend> 72 <table> 73 <tr> 74 <td><strong>{L_EDIT_STATUS}</strong> 75 <td> 76 <input type="radio" name="status" value="public" {STATUS_PUBLIC} />{L_STATUS_PUBLIC} 77 <input type="radio" name="status" value="private" {STATUS_PRIVATE} />{L_STATUS_PRIVATE} 78 </td> 79 </tr> 80 <tr> 81 <td><strong>{L_EDIT_LOCK}</strong> 82 <td> 83 <input type="radio" name="visible" value="false" {LOCKED} />{L_YES} 84 <input type="radio" name="visible" value="true" {UNLOCKED} />{L_NO} 85 </td> 86 </tr> 87 <tr> 88 <td><strong>{L_EDIT_COMMENTABLE}</strong> 89 <td> 90 <input type="radio" name="commentable" value="true" {COMMENTABLE_TRUE} />{L_YES} 91 <input type="radio" name="commentable" value="false" {COMMENTABLE_FALSE} />{L_NO} 92 </td> 93 </tr> 94 <!-- BEGIN upload --> 95 <tr> 96 <td><strong>{L_EDIT_UPLOADABLE}</strong> 97 <td> 98 <input type="radio" name="uploadable" value="true" {UPLOADABLE_TRUE} />{L_YES} 99 <input type="radio" name="uploadable" value="false" {UPLOADABLE_FALSE} />{L_NO} 100 </td> 101 </tr> 102 <!-- END upload --> 65 <legend>{'Options'|@translate}</legend> 66 <table> 67 <tr> 68 <td><strong>{'conf_access'|@translate}</strong> 69 <td> 70 {html_radios name='status' values=$status_values output=$status_values|translate selected=$CAT_STATUS} 71 </td> 72 </tr> 73 <tr> 74 <td><strong>{'lock'|@translate}</strong> 75 <td> 76 {html_radios name='visible' values=$false_true output=$no_yes|translate selected=$CAT_VISIBLE} 77 </td> 78 </tr> 79 <tr> 80 <td><strong>{'comments'|@translate}</strong> 81 <td> 82 {html_radios name='commentable' values=$false_true output=$no_yes|translate selected=$CAT_COMMENTABLE} 83 </td> 84 </tr> 85 {if isset($SHOW_UPLOADABLE) } 86 <tr> 87 <td><strong>{'editcat_uploadable'|@translate}</strong> 88 <td> 89 {html_radios name='uploadable' values=$false_true output=$no_yes|translate selected=$CAT_UPLOADABLE} 90 </td> 91 </tr> 92 {/if} 103 93 </table> 104 94 </fieldset> 105 95 106 96 <fieldset id="image_order"> 107 <legend>{ lang:Sort order}</legend>108 <input type="checkbox" name="image_order_default" id="image_order_default" { IMG_ORDER_DEFAULT} />109 <label for="image_order_default">{ lang:Use default sort order}</label>97 <legend>{'Sort order'|@translate}</legend> 98 <input type="checkbox" name="image_order_default" id="image_order_default" {$IMG_ORDER_DEFAULT} /> 99 <label for="image_order_default">{'Use default sort order'|@translate}</label> 110 100 <br/> 111 101 <input type="checkbox" name="image_order_subcats" id="image_order_subcats" /> 112 <label for="image_order_subcats">{ lang:Apply to subcategories}</label>102 <label for="image_order_subcats">{'Apply to subcategories'|@translate}</label> 113 103 <br/> 114 <!-- BEGIN image_order --> 115 <select name="order_field_{image_order.NUMBER}"> 116 <!-- BEGIN field --> 117 <option value="{image_order.field.VALUE}" {image_order.field.SELECTED}>{image_order.field.OPTION}</option> 118 <!-- END field --> 104 105 {foreach from=$image_orders item=order} 106 <select name="order_field_{$order.ID}"> 107 {html_options options=$image_order_field_options selected=$order.FIELD }} 119 108 </select> 120 <select name="order_direction_{image_order.NUMBER}"> 121 <!-- BEGIN order --> 122 <option value="{image_order.order.VALUE}" {image_order.order.SELECTED}>{image_order.order.OPTION}</option> 123 <!-- END order --> 109 <select name="order_direction_{$order.ID}"> 110 {html_options options=$image_order_direction_options selected=$order.DIRECTION }} 124 111 </select><br/> 125 <!-- END image_order --> 112 {/foreach} 113 126 114 </fieldset> 127 115 128 116 <p style="text-align:center;"> 129 <input class="submit" type="submit" value="{ L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/>130 <input class="submit" type="reset" value="{ lang:Reset}" name="reset" />117 <input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}/> 118 <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset" /> 131 119 </p> 132 120 133 <!-- BEGIN representant --> 121 {if isset($representant) } 134 122 <fieldset id="representant"> 135 <legend>{ lang:Representant}</legend>123 <legend>{'Representant'|@translate}</legend> 136 124 <table> 137 125 <tr> 138 126 <td align="center"> 139 <!-- BEGIN picture --> 140 <a href="{representant.picture.URL}"><img src="{representant.picture.SRC}" alt="" class="miniature" /></a> 141 <!-- END picture --> 142 143 <!-- BEGIN random --> 144 <img src="{themeconf:icon_dir}/category_representant_random.png" class="button" alt="{lang:Random picture}" class="miniature" /> 145 <!-- END random --> 146 </td> 147 <td> 148 <!-- BEGIN set_random --> 149 <p><input class="submit" type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" {TAG_INPUT_ENABLED}/></p> 150 <!-- END set_random --> 151 152 <!-- BEGIN delete_representant --> 153 <p><input class="submit" type="submit" name="delete_representant" value="{lang:Delete Representant}" /></p> 154 <!-- END delete_representant --> 155 </td> 156 </tr> 157 </table> 158 </fieldset> 159 <!-- END representant --> 127 {if isset($representant.picture) } 128 <a href="{$representant.picture.URL}"><img src="{$representant.picture.SRC}" alt="" class="miniature" /></a> 129 {else} 130 <img src="{$themeconf.icon_dir}/category_representant_random.png" class="button" alt="{'Random picture'|@translate}" class="miniature" /> 131 {/if} 132 </td> 133 <td> 134 {if $representant.ALLOW_SET_RANDOM } 135 <p><input class="submit" type="submit" name="set_random_representant" value="{'cat_representant'|@translate}" {$TAG_INPUT_ENABLED}/></p> 136 {/if} 137 138 {if isset($representant.ALLOW_DELETE) } 139 <p><input class="submit" type="submit" name="delete_representant" value="{'Delete Representant'|@translate}" /></p> 140 {/if} 141 </td> 142 </tr> 143 </table> 144 </fieldset> 145 {/if} 160 146 161 147 </form> 162 148 163 <form action="{ F_ACTION}" method="POST" id="links">149 <form action="{$F_ACTION}" method="POST" id="links"> 164 150 165 151 <fieldset id="linkAllNew"> 166 <legend>{ lang:Link all category elements to a new category}</legend>167 168 <table> 169 <tr> 170 <td>{ lang:Virtual category name}</td>152 <legend>{'Link all category elements to a new category'|@translate}</legend> 153 154 <table> 155 <tr> 156 <td>{'Virtual category name'|@translate}</td> 171 157 <td><input type="text" name="virtual_name"></td> 172 158 </tr> 173 159 174 160 <tr> 175 <td>{ lang:Parent category}</td>161 <td>{'Parent category'|@translate}</td> 176 162 <td> 177 163 <select class="categoryDropDown" name="parent"> 178 <!-- BEGIN category_option_parent --> 179 <option {category_option_parent.SELECTED} value="{category_option_parent.VALUE}">{category_option_parent.OPTION}</option> 180 <!-- END category_option_parent --> 164 <option value="0">------------</option> 165 {html_options options=$create_new_parent_options } 181 166 </select> 182 167 </td> … … 185 170 186 171 <p> 187 <input class="submit" type="submit" value="{ lang:Submit}" name="submitAdd" {TAG_INPUT_ENABLED}/>188 <input class="submit" type="reset" value="{ lang:Reset}" name="reset" />172 <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitAdd" {$TAG_INPUT_ENABLED}/> 173 <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset" /> 189 174 </p> 190 175 … … 192 177 193 178 <fieldset id="linkAllExist"> 194 <legend>{ lang:Link all category elements to some existing categories}</legend>195 196 <table> 197 <tr> 198 <td>{ lang:Categories}</td>179 <legend>{'Link all category elements to some existing categories'|@translate}</legend> 180 181 <table> 182 <tr> 183 <td>{'Categories'|@translate}</td> 199 184 <td> 200 185 <select class="categoryList" name="destinations[]" multiple="multiple" size="5"> 201 <!-- BEGIN category_option_destination --> 202 <option {category_option_destination.SELECTED} value="{category_option_destination.VALUE}">{category_option_destination.OPTION}</option> 203 <!-- END category_option_destination --> 186 {html_options options=$category_destination_options } 204 187 </select> 205 188 </td> … … 208 191 209 192 <p> 210 <input class="submit" type="submit" value="{ lang:Submit}" name="submitDestinations" {TAG_INPUT_ENABLED}/>211 <input class="submit" type="reset" value="{ lang:Reset}" name="reset" />193 <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitDestinations" {$TAG_INPUT_ENABLED}/> 194 <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset" /> 212 195 </p> 213 196 214 197 </fieldset> 215 198 216 <!-- BEGIN group_mail --> 199 {if isset($group_mail_options)} 217 200 <fieldset id="emailCatInfo"> 218 <legend>{ lang:Send an information email to group members}</legend>219 220 <table> 221 <tr> 222 <td><strong>{ lang:Group}</strong></td>201 <legend>{'Send an information email to group members'|@translate}</legend> 202 203 <table> 204 <tr> 205 <td><strong>{'Group'|@translate}</strong></td> 223 206 <td> 224 207 <select name="group"> 225 <!-- BEGIN group_option --> 226 <option value="{group_mail.group_option.VALUE}">{group_mail.group_option.OPTION}</option> 227 <!-- END group_option --> 208 {html_options options=$group_mail_options} 228 209 </select> 229 210 </td> 230 211 </tr> 231 212 <tr> 232 <td><strong>{ lang:mail_content}</strong></td>233 <td> 234 <textarea cols="50" rows="5" name="mail_content" class="description">{ MAIL_CONTENT}</textarea>213 <td><strong>{'mail_content'|@translate}</strong></td> 214 <td> 215 <textarea cols="50" rows="5" name="mail_content" class="description">{$MAIL_CONTENT}</textarea> 235 216 </td> 236 217 </tr> … … 239 220 240 221 <p> 241 <input class="submit" type="submit" value="{ lang:Submit}" name="submitEmail" {TAG_INPUT_ENABLED}/>242 <input class="submit" type="reset" value="{ lang:Reset}" name="reset" />222 <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitEmail" {$TAG_INPUT_ENABLED}/> 223 <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset" /> 243 224 </p> 244 225 245 226 </fieldset> 246 <!-- END group_mail --> 227 {/if} 247 228 248 229 </form>
Note: See TracChangeset
for help on using the changeset viewer.