Changeset 2223 for trunk/template
- Timestamp:
- Feb 28, 2008, 3:41:48 AM (16 years ago)
- Location:
- trunk/template/yoga
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/about.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 1 {* $Id$ *} 2 2 <div id="content"> 3 3 <div class="titrePage"> 4 4 <ul class="categoryActions"> 5 5 <li> 6 <a href="{ U_HOME}" title="{lang:return to homepage}">7 <img src="{ themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/>6 <a href="{$U_HOME}" title="{'return to homepage'|@translate}"> 7 <img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/> 8 8 </a> 9 9 </li> 10 10 </ul> 11 <h2>{ lang:About}</h2>11 <h2>{'About'|@translate}</h2> 12 12 </div> 13 13 <ul> 14 { ABOUT_MESSAGE}15 <!-- BEGIN theme -->16 <li>{ theme.ABOUT}</li>17 <!-- END theme -->14 {$ABOUT_MESSAGE} 15 {if isset($THEME_ABOUT) } 16 <li>{$THEME_ABOUT}</li> 17 {/if} 18 18 </ul> 19 19 </div> -
trunk/template/yoga/admin/advanced_feature.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:Advanced_features}</h2>6 <h2>{'Advanced_features'|@translate}</h2> 8 7 </div> 9 8 10 9 <ul> 11 <!-- BEGIN advanced_features --> 12 <!-- BEGIN advanced_feature --> 13 <li><a href="{advanced_features.advanced_feature.URL}" {TAG_INPUT_ENABLED}>{advanced_features.advanced_feature.CAPTION}</a></li> 14 <!-- END advanced_feature --> 15 <!-- END advanced_features --> 10 {foreach from=$advanced_features item=feature} 11 <li><a href="{$feature.URL}" {$TAG_INPUT_ENABLED}>{$feature.CAPTION}</a></li> 12 {/foreach} 16 13 </ul> -
trunk/template/yoga/admin/cat_list.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 3 <h2>{lang:title_categories}</h2> 1 {* $Id$ *} 2 <h2>{'title_categories'|@translate}</h2> 4 3 5 <h3>{ CATEGORIES_NAV}</h3>4 <h3>{$CATEGORIES_NAV}</h3> 6 5 7 <form id="addVirtual" action="{ F_ACTION}" method="post">6 <form id="addVirtual" action="{$F_ACTION}" method="post"> 8 7 <p> 9 { L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />10 <input class="submit" type="submit" value="{ L_SUBMIT}" name="submitAdd" {TAG_INPUT_ENABLED} />11 <!-- BEGIN eop_link -->12 <a href="#EoP" class="button"><img src="{ themeconf:icon_dir}/page_end.png" class="button" alt="{lang:page_end}" /></a>13 <!-- END eop_link -->8 {'cat_add'|@translate} : <input type="text" name="virtual_name" /> 9 <input class="submit" type="submit" value="{'submit'|@translate}" name="submitAdd" {$TAG_INPUT_ENABLED} /> 10 {if count($categories)>9 } 11 <a href="#EoP" class="button"><img src="{$themeconf.icon_dir}/page_end.png" class="button" alt="{'page_end'|@translate}" /></a> 12 {/if} 14 13 </p> 15 14 </form> 16 15 17 <!-- BEGIN categories --> 18 <form id="categoryOrdering" action="{ F_ACTION}" method="post">16 {if count($categories) } 17 <form id="categoryOrdering" action="{$F_ACTION}" method="post"> 19 18 <p> 20 <input class="submit" name="submitOrder" type="submit" value="{ lang:Save order}" {TAG_INPUT_ENABLED} />21 <input class="submit" name="submitOrderAlphaNum" type="submit" value="{ lang:Order alphanumerically}" {TAG_INPUT_ENABLED} />19 <input class="submit" name="submitOrder" type="submit" value="{'Save order'|@translate}" {$TAG_INPUT_ENABLED} /> 20 <input class="submit" name="submitOrderAlphaNum" type="submit" value="{'Order alphanumerically'|@translate}" {$TAG_INPUT_ENABLED} /> 22 21 </p> 23 22 <ul class="categoryUl"> 24 23 25 <!-- BEGIN category --> 26 <li class="categoryLi 27 <!-- BEGIN virtual --> 28 {categories.category.virtual.CLASS} 29 <!-- END virtual --> 30 "> <!-- category {category.ID} --> 31 24 {foreach from=$categories item=category} 25 <li class="categoryLi{if $category.IS_VIRTUAL} virtual_cat{/if}"> 26 <!-- category {$category.ID} --> 32 27 <ul class="categoryActions"> 33 <li><a href="{ categories.category.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>34 <li><a href="{ categories.category.U_EDIT}" title="{lang:edit category informations}"><img src="{themeconf:icon_dir}/category_edit.png" class="button" alt="{lang:edit}"/></a></li>35 <!-- BEGIN elements -->36 <li><a href="{ categories.category.elements.URL}" title="{lang:manage category elements}"><img src="{themeconf:icon_dir}/category_elements.png" class="button" alt="{lang:elements}" /></a></li>37 <!-- END elements -->38 <li><a href="{ categories.category.U_CHILDREN}" title="{lang:manage sub-categories}"><img src="{themeconf:icon_dir}/category_children.png" class="button" alt="{lang:sub-categories}" /></a></li>39 <!-- BEGIN permissions -->40 <li><a href="{ categories.category.permissions.URL}" title="{lang:edit category permissions}" ><img src="{themeconf:icon_dir}/category_permissions.png" class="button" alt="{lang:permissions}" /></a></li>41 <!-- END permissions -->42 <!-- BEGIN delete -->43 <li><a href="{ categories.category.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>44 <!-- END delete -->28 <li><a href="{$category.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> 29 <li><a href="{$category.U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/></a></li> 30 {if isset($category.U_MANAGE_ELEMENTS) } 31 <li><a href="{$category.U_MANAGE_ELEMENTS}" title="{'manage category elements'|@translate}"><img src="{$themeconf.icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}" /></a></li> 32 {/if} 33 <li><a href="{$category.U_CHILDREN}" title="{'manage sub-categories'|@translate}"><img src="{$themeconf.icon_dir}/category_children.png" class="button" alt="{'sub-categories'|@translate}" /></a></li> 34 {if isset($category.U_MANAGE_PERMISSIONS) } 35 <li><a href="{$category.U_MANAGE_PERMISSIONS}" title="{'edit category permissions'|@translate}" ><img src="{$themeconf.icon_dir}/category_permissions.png" class="button" alt="{'permissions'|@translate}" /></a></li> 36 {/if} 37 {if isset($category.U_DELETE) } 38 <li><a href="{$category.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> 39 {/if} 45 40 </ul> 46 41 47 42 <p> 48 <strong><a href="{ categories.category.U_CHILDREN}" title="{lang:manage sub-categories}">{categories.category.NAME}</a></strong>49 <!-- BEGIN virtual -->50 <img src="{ themeconf:icon_dir}/virt_category.png" class="button" alt="{lang:virtual_category}" />51 <!-- END virtual -->43 <strong><a href="{$category.U_CHILDREN}" title="{'manage sub-categories'|@translate}">{$category.NAME}</a></strong> 44 {if $category.IS_VIRTUAL} 45 <img src="{$themeconf.icon_dir}/virt_category.png" class="button" alt="{'virtual_category'|@translate}" /> 46 {/if} 52 47 </p> 53 48 54 49 <p> 55 50 <label> 56 { lang:Position} :57 <input type="text" size="4" name="catOrd[{ categories.category.ID}]" maxlength="4" value="{categories.category.RANK}" />51 {'Position'|@translate} : 52 <input type="text" size="4" name="catOrd[{$category.ID}]" maxlength="4" value="{$category.RANK}" /> 58 53 </label> 59 54 </p> 60 55 61 56 </li> 62 <!-- END category -->57 {/foreach} 63 58 </ul> 64 59 <p> 65 <input class="submit" name="submitOrder" type="submit" value="{ lang:Save order}" {TAG_INPUT_ENABLED} />66 <input class="submit" name="submitOrderAlphaNum" type="submit" value="{ lang:Order alphanumerically}" {TAG_INPUT_ENABLED} />60 <input class="submit" name="submitOrder" type="submit" value="{'Save order'|@translate}" {$TAG_INPUT_ENABLED} /> 61 <input class="submit" name="submitOrderAlphaNum" type="submit" value="{'Order alphanumerically'|@translate}" {$TAG_INPUT_ENABLED} /> 67 62 </p> 68 63 69 64 </form> 70 <!-- END categories --> 71 65 {/if} -
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> -
trunk/template/yoga/admin/cat_move.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 2 3 3 <div class="titrePage"> 4 4 <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>5 <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 6 </ul> 7 <h2>{ lang:Move categories}</h2>7 <h2>{'Move categories'|@translate}</h2> 8 8 </div> 9 9 10 <form method="post" action="{ F_ACTION}" class="filter" id="catMove">10 <form method="post" action="{$F_ACTION}" class="filter" id="catMove"> 11 11 <fieldset> 12 <legend>{ lang:Virtual categories movement}</legend>12 <legend>{'Virtual categories movement'|@translate}</legend> 13 13 14 14 <label> 15 { lang:Virtual categories to move}15 {'Virtual categories to move'|@translate} 16 16 17 17 <select class="categoryList" name="selection[]" multiple="multiple"> 18 <!-- BEGIN category_option_selection --> 19 <option {category_option_selection.SELECTED} value="{category_option_selection.VALUE}">{category_option_selection.OPTION}</option> 20 <!-- END category_option_selection --> 18 {html_options options=$category_to_move_options} 21 19 </select> 22 20 </label> 23 21 24 22 <label> 25 { lang:New parent category}23 {'New parent category'|@translate} 26 24 27 25 <select class="categoryDropDown" name="parent"> 28 <!-- BEGIN category_option_parent --> 29 <option {category_option_parent.SELECTED} value="{category_option_parent.VALUE}">{category_option_parent.OPTION}</option> 30 <!-- END category_option_parent --> 26 <option value="0">------------</option> 27 {html_options options=$category_parent_options} 31 28 </select> 32 29 </label> … … 35 32 36 33 <p> 37 <input class="submit" type="submit" name="submit" value="{ lang:Submit}" {TAG_INPUT_ENABLED}>38 <input class="submit" type="reset" name="reset" value="{ lang:Reset}">34 <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> 35 <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> 39 36 </p> 40 37 -
trunk/template/yoga/admin/cat_options.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:cat_options_title} {TABSHEET_TITLE}</h2>8 { TABSHEET}6 <h2>{'cat_options_title'|@translate} {$TABSHEET_TITLE}</h2> 7 {include file='admin/tabsheet.tpl'} 9 8 </div> 10 9 11 <form method="post" action="{ F_ACTION}" id="cat_options">10 <form method="post" action="{$F_ACTION}" id="cat_options"> 12 11 <fieldset> 13 <legend>{ L_SECTION}</legend>14 { DOUBLE_SELECT}12 <legend>{$L_SECTION}</legend> 13 {$DOUBLE_SELECT} 15 14 </fieldset> 16 15 </form> 17 16 18 <p class="information">{L_CAT_OPTIONS_INFO}</p>19 -
trunk/template/yoga/admin/cat_perm.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 1 {* $Id$ *} 2 2 <div class="titrePage"> 3 3 <ul class="categoryActions"> 4 <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> 5 5 </ul> 6 <h2>{ lang:Manage permissions for a category}</h2>6 <h2>{'Manage permissions for a category'|@translate}</h2> 7 7 </div> 8 8 9 <h3>{ CATEGORIES_NAV}</h3>9 <h3>{$CATEGORIES_NAV}</h3> 10 10 11 <form action="{ F_ACTION}" method="post" id="categoryPermissions">11 <form action="{$F_ACTION}" method="post" id="categoryPermissions"> 12 12 13 <h4>{ lang:Groups}</h4>13 <h4>{'Groups'|@translate}</h4> 14 14 15 15 <fieldset> 16 <legend>{ lang:Permission granted}</legend>16 <legend>{'Permission granted'|@translate}</legend> 17 17 <ul> 18 <!-- BEGIN group_granted -->19 <li><label><input type="checkbox" name="deny_groups[]" value="{ group_granted.ID}" /> {group_granted.NAME}</label></li>20 <!-- END group_granted -->18 {foreach from=$group_granted_ids item=id} 19 <li><label><input type="checkbox" name="deny_groups[]" value="{$id}" /> {$all_groups[$id]}</label></li> 20 {/foreach} 21 21 </ul> 22 <input class="submit" type="submit" name="deny_groups_submit" value="{ lang:Deny selected groups}" {TAG_INPUT_ENABLED}/>22 <input class="submit" type="submit" name="deny_groups_submit" value="{'Deny selected groups'|@translate}" {$TAG_INPUT_ENABLED}/> 23 23 </fieldset> 24 24 25 25 <fieldset> 26 <legend>{ lang:Permission denied}</legend>26 <legend>{'Permission denied'|@translate}</legend> 27 27 <ul> 28 <!-- BEGIN group_denied -->29 <li><label><input type="checkbox" name="grant_groups[]" value="{ group_denied.ID}"> {group_denied.NAME}</label></li>30 <!-- END group_denied -->28 {foreach from=$group_denied_ids item=id} 29 <li><label><input type="checkbox" name="grant_groups[]" value="{$id}"> {$all_groups[$id]}</label></li> 30 {/foreach} 31 31 </ul> 32 <input class="submit" type="submit" name="grant_groups_submit" value="{ lang:Grant selected groups}" {TAG_INPUT_ENABLED}/>32 <input class="submit" type="submit" name="grant_groups_submit" value="{'Grant selected groups'|@translate}" {$TAG_INPUT_ENABLED}/> 33 33 </fieldset> 34 34 35 <h4>{ lang:Users}</h4>36 35 <h4>{'Users'|@translate}</h4> 36 37 37 <fieldset> 38 <legend>{ lang:Permission granted}</legend>38 <legend>{'Permission granted'|@translate}</legend> 39 39 <ul> 40 <!-- BEGIN user_granted -->41 <li><label><input type="checkbox" name="deny_users[]" value="{ user_granted.ID}" /> {user_granted.NAME}</label></li>42 <!-- END user_granted -->40 {foreach from=$user_granted_direct_ids item=id} 41 <li><label><input type="checkbox" name="deny_users[]" value="{$id}" /> {$all_users[$id]}</label></li> 42 {/foreach} 43 43 </ul> 44 <input class="submit" type="submit" name="deny_users_submit" value="{ lang:Deny selected users}" {TAG_INPUT_ENABLED}/>44 <input class="submit" type="submit" name="deny_users_submit" value="{'Deny selected users'|@translate}" {$TAG_INPUT_ENABLED}/> 45 45 </fieldset> 46 46 47 47 <fieldset> 48 <legend>{lang:Permission granted thanks to a group}</legend> 48 <legend>{'Permission granted thanks to a group'|@translate}</legend> 49 {if isset($user_granted_indirects) } 49 50 <ul> 50 <!-- BEGIN user_granted_indirect -->51 <li>{ user_granted_indirect.NAME} ({user_granted_indirect.GROUP})</li>52 <!-- END user_granted_indirect -->51 {foreach from=$user_granted_indirects item=user_group} 52 <li>{$user_group.USER} ({$user_group.GROUP})</li> 53 {/foreach} 53 54 </ul> 55 {/if} 54 56 </fieldset> 55 57 56 58 <fieldset> 57 <legend>{ lang:Permission denied}</legend>59 <legend>{'Permission denied'|@translate}</legend> 58 60 <ul> 59 <!-- BEGIN user_denied -->60 <li><label><input type="checkbox" name="grant_users[]" value="{ user_denied.ID}"> {user_denied.NAME}</label></li>61 <!-- END user_denied -->61 {foreach from=$user_denied_ids item=id} 62 <li><label><input type="checkbox" name="grant_users[]" value="{$id}"> {$all_users[$id]}</label></li> 63 {/foreach} 62 64 </ul> 63 <input class="submit" type="submit" name="grant_users_submit" value="{ lang:Grant selected users}" {TAG_INPUT_ENABLED}/>65 <input class="submit" type="submit" name="grant_users_submit" value="{'Grant selected users'|@translate}" {$TAG_INPUT_ENABLED}/> 64 66 </fieldset> 65 67 -
trunk/template/yoga/admin/permalinks.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 1 {* $Id$ *} 2 2 <div class="titrePage"> 3 3 <ul class="categoryActions"> 4 <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> 5 5 </ul> 6 <h2>{ lang:Permalinks}</h2>6 <h2>{'Permalinks'|@translate}</h2> 7 7 </div> 8 8 9 <form method="post" action="{ F_ACTION}">10 <fieldset><legend>{ lang:Add/delete a permalink}</legend>11 <label>{ lang:Category}:9 <form method="post" action="{$F_ACTION}"> 10 <fieldset><legend>{'Add/delete a permalink'|@translate}</legend> 11 <label>{'Category'|@translate}: 12 12 <select name="cat_id"> 13 13 <option value="0">------</option> 14 <!-- BEGIN categories --> 15 <option value="{categories.VALUE}" {categories.SELECTED}>{categories.OPTION}</option> 16 <!-- END categories --> 14 {html_options options=$categories selected=$categories_selected} 17 15 </select> 18 16 </label> 19 17 20 <label>{ lang:Permalink}:18 <label>{'Permalink'|@translate}: 21 19 <input name="permalink" /> 22 20 </label> 23 21 24 <label>{ lang:Save to permalink history}:22 <label>{'Save to permalink history'|@translate}: 25 23 <input type="checkbox" name="save" checked="checked" /> 26 24 </label> 27 25 28 26 <p> 29 <input type="submit" class="submit" name="set_permalink" value="{ lang:submit}" {TAG_INPUT_ENABLED}/>27 <input type="submit" class="submit" name="set_permalink" value="{'submit'|@translate}" {$TAG_INPUT_ENABLED}/> 30 28 </p> 31 29 </fieldset> 32 30 </form> 33 31 34 <h3>{ lang:Permalinks}</h3>32 <h3>{'Permalinks'|@translate}</h3> 35 33 <table class="table2"> 36 34 <tr class="throw"> 37 <td>Id { SORT_ID}</td>38 <td>{ lang:Category} {SORT_NAME}</td>39 <td>{ lang:Permalink} {SORT_PERMALINK}</td>35 <td>Id {$SORT_ID}</td> 36 <td>{'Category'|@translate} {$SORT_NAME}</td> 37 <td>{'Permalink'|@translate} {$SORT_PERMALINK}</td> 40 38 </tr> 41 <!-- BEGIN permalink --> 39 {foreach from=$permalinks item=permalink} 42 40 <tr> 43 <td>{ permalink.id}</td>44 <td>{ permalink.name}</td>45 <td>{ permalink.permalink}</td>41 <td>{$permalink.id}</td> 42 <td>{$permalink.name}</td> 43 <td>{$permalink.permalink}</td> 46 44 </tr> 47 <!-- END permalink --> 45 {/foreach} 48 46 </table> 49 47 50 <h3>{ lang:Permalink history} <a name="old_permalinks"></a></h3>48 <h3>{'Permalink history'|@translate} <a name="old_permalinks"></a></h3> 51 49 <table class="table2"> 52 50 <tr class="throw"> 53 <td>Id { SORT_OLD_CAT_ID}</td>54 <td>{ lang:Category}</td>55 <td>{ lang:Permalink} {SORT_OLD_PERMALINK}</td>56 <td>Deleted on { SORT_OLD_DATE_DELETED}</td>57 <td>Last hit { SORT_OLD_LAST_HIT}</td>58 <td>Hit { SORT_OLD_HIT}</td>51 <td>Id {$SORT_OLD_CAT_ID}</td> 52 <td>{'Category'|@translate}</td> 53 <td>{'Permalink'|@translate} {$SORT_OLD_PERMALINK}</td> 54 <td>Deleted on {$SORT_OLD_DATE_DELETED}</td> 55 <td>Last hit {$SORT_OLD_LAST_HIT}</td> 56 <td>Hit {$SORT_OLD_HIT}</td> 59 57 <td></td> 60 58 </tr> 61 <!-- BEGIN deleted_permalink --> 59 {foreach from=$deleted_permalinks item=permalink} 62 60 <tr> 63 <td>{ deleted_permalink.cat_id}</td>64 <td>{ deleted_permalink.name}</td>65 <td>{ deleted_permalink.permalink}</td>66 <td>{ deleted_permalink.date_deleted}</td>67 <td>{ deleted_permalink.last_hit}</td>68 <td>{ deleted_permalink.hit}</td>69 <td><a href="{ deleted_permalink.U_DELETE}" {TAG_INPUT_ENABLED}><img src="{pwg_root}{themeconf:icon_dir}/delete.png" alt="Delete"></a></td>61 <td>{$permalink.cat_id}</td> 62 <td>{$permalink.name}</td> 63 <td>{$permalink.permalink}</td> 64 <td>{$permalink.date_deleted}</td> 65 <td>{$permalink.last_hit}</td> 66 <td>{$permalink.hit}</td> 67 <td><a href="{$permalink.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt="Delete"></a></td> 70 68 </tr> 71 <!-- END deleted_permalink --> 69 {/foreach} 72 70 </table> -
trunk/template/yoga/admin/rating.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 2 <h2>{ lang:Rating} [{NB_ELEMENTS} {lang:elements}]</h2>1 {* $Id$ *} 2 <h2>{'Rating'|@translate} [{$NB_ELEMENTS} {'elements'|@translate}]</h2> 3 3 4 <form action="{ F_ACTION}" method="GET" id="update" class="filter">4 <form action="{$F_ACTION}" method="GET" id="update" class="filter"> 5 5 <fieldset> 6 <legend>{ lang:Filter}</legend>6 <legend>{'Filter'|@translate}</legend> 7 7 8 8 <label> 9 { lang:Sort by}9 {'Sort by'|@translate} 10 10 <select name="order_by"> 11 <!-- BEGIN order_by --> 12 <option value="{order_by.VALUE}" {order_by.SELECTED}>{order_by.CONTENT}</option> 13 <!-- END order_by --> 11 {html_options options=$order_by_options selected=$order_by_options_selected} 14 12 </select> 15 13 </label> 16 14 17 15 <label> 18 { lang:Users}16 {'Users'|@translate} 19 17 <select name="users"> 20 <!-- BEGIN user_option --> 21 <option value="{user_option.VALUE}" {user_option.SELECTED}>{user_option.CONTENT}</option> 22 <!-- END user_option --> 18 {html_options options=$user_options selected=$user_options_selected} 23 19 </select> 24 20 </label> 25 21 26 22 <label> 27 { lang:Number of items}28 <input type="text" name="display" size="2" value="{ DISPLAY}">23 {'Number of items'|@translate} 24 <input type="text" name="display" size="2" value="{$DISPLAY}"> 29 25 </label> 30 26 31 <input class="submit" type="submit" name="submit_filter" value="{ lang:Submit}" />27 <input class="submit" type="submit" name="submit_filter" value="{'Submit'|@translate}" /> 32 28 <input type="hidden" name="page" value="rating" /> 33 29 </fieldset> 34 30 </form> 35 31 36 <div class="navigationBar">{ NAVBAR}</div>32 <div class="navigationBar">{$NAVBAR}</div> 37 33 <table width="99%"> 38 34 <tr class="throw"> 39 <td>{ lang:File}</td>40 <td>{ lang:Number of rates}</td>41 <td>{ lang:Average rate}</td>42 <td>{ lang:Controversy}</td>43 <td>{ lang:Sum of rates}</td>44 <td>{ lang:Rate}</td>45 <td>{ lang:Username}</td>46 <td>{ lang:Rate date}</td>35 <td>{'File'|@translate}</td> 36 <td>{'Number of rates'|@translate}</td> 37 <td>{'Average rate'|@translate}</td> 38 <td>{'Controversy'|@translate}</td> 39 <td>{'Sum of rates'|@translate}</td> 40 <td>{'Rate'|@translate}</td> 41 <td>{'Username'|@translate}</td> 42 <td>{'Rate date'|@translate}</td> 47 43 <td></td> 48 44 </tr> 49 <!-- BEGIN image --> 45 {foreach from=$images item=image} 50 46 <tr valign="bottom"> 51 <td rowspan="{ image.NB_RATES_PLUS1}"><a href="{image.U_URL}"><img src="{image.U_THUMB}" alt="{image.FILE}" title="{image.FILE}"></a></td>52 <td rowspan="{ image.NB_RATES_PLUS1}"><strong>{image.NB_RATES}/{image.NB_RATES_TOTAL}</strong></td>53 <td rowspan="{ image.NB_RATES_PLUS1}"><strong>{image.AVG_RATE}</strong></td>54 <td rowspan="{ image.NB_RATES_PLUS1}"><strong>{image.STD_RATE}</strong></td>55 <td rowspan="{ image.NB_RATES_PLUS1}" style="border-right: 1px solid;" ><strong>{image.SUM_RATE}</strong></td>47 <td rowspan="{$image.NB_RATES_TOTAL+1}"><a href="{$image.U_URL}"><img src="{$image.U_THUMB}" alt="{$image.FILE}" title="{$image.FILE}"></a></td> 48 <td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.NB_RATES}/{$image.NB_RATES_TOTAL}</strong></td> 49 <td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.AVG_RATE}</strong></td> 50 <td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.STD_RATE}</strong></td> 51 <td rowspan="{$image.NB_RATES_TOTAL+1}" style="border-right: 1px solid;" ><strong>{$image.SUM_RATE}</strong></td> 56 52 </tr> 57 <!-- BEGIN rate --> 53 {foreach from=$image.rates item=rate} 58 54 <tr> 59 <td>{ image.rate.RATE}</td>60 <td><b>{ image.rate.USER}</b></td>61 <td><span class="date">{ image.rate.DATE}</span></td>62 <td><a href="{ image.rate.U_DELETE}" {TAG_INPUT_ENABLED}><img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{lang:delete}]"/></a></td>55 <td>{$rate.RATE}</td> 56 <td><b>{$rate.USER}</b></td> 57 <td><span class="date">{$rate.DATE}</span></td> 58 <td><a href="{$rate.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{'delete'|@translate}]"/></a></td> 63 59 </tr> 64 <!-- END rate --> 65 <!-- END image --> 60 {/foreach} {*rates*} 61 {/foreach} {*images*} 66 62 </table> 67 63 68 <div class="navigationBar">{ NAVBAR}</div>64 <div class="navigationBar">{$NAVBAR}</div> -
trunk/template/yoga/admin/tabsheet.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 2 {if isset($tabsheet) and count($tabsheet)} 3 3 <ul class="tabsheet"> 4 <!-- BEGIN tab --> 5 <li class="{ tab.CLASSNAME}"><a href="{tab.URL}">{tab.CAPTION}</a></li>6 <!-- END tab --> 4 {foreach from=$tabsheet item=tab} 5 <li class="{if isset($tab.selected) and $tab.selected}selected_tab{else}normal_tab{/if}"><a href="{$tab.url}">{$tab.caption}</a></li> 6 {/foreach} 7 7 </ul> 8 {/if} -
trunk/template/yoga/comments.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 3 2 <div id="content"> 4 3 5 4 <div class="titrePage"> 6 5 <ul class="categoryActions"> 7 <li><a href="{ U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>6 <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> 8 7 </ul> 9 <h2>{ lang:User comments}</h2>8 <h2>{'User comments'|@translate}</h2> 10 9 </div> 11 10 12 <form class="filter" action="{ F_ACTION}" method="get">11 <form class="filter" action="{$F_ACTION}" method="get"> 13 12 14 13 <fieldset> 15 <legend>{ lang:Filter}</legend>14 <legend>{'Filter'|@translate}</legend> 16 15 17 <label>{ lang:Keyword}<input type="text" name="keyword" value="{F_KEYWORD}" /></label>16 <label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}" /></label> 18 17 19 <label>{ lang:Author}<input type="text" name="author" value="{F_AUTHOR}" /></label>18 <label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}" /></label> 20 19 21 20 <label> 22 { lang:Category}21 {'Category'|@translate} 23 22 <select name="cat"> 24 <!-- BEGIN category --> 25 <option {category.SELECTED} value="{category.VALUE}">{category.OPTION}</option> 26 <!-- END category --> 23 <option value="0">------------</option> 24 {html_options options=$categories selected=$categories_selected} 27 25 </select> 28 26 </label> 29 27 30 28 <label> 31 { lang:Since}29 {'Since'|@translate} 32 30 <select name="since"> 33 <!-- BEGIN since_option --> 34 <option {since_option.SELECTED} value="{since_option.VALUE}">{since_option.CONTENT}</option> 35 <!-- END since_option --> 31 {html_options options=$since_options selected=$since_options_selected} 36 32 </select> 37 33 </label> … … 41 37 <fieldset> 42 38 43 <legend>{ lang:Display}</legend>39 <legend>{'Display'|@translate}</legend> 44 40 45 41 <label> 46 { lang:Sort by}42 {'Sort by'|@translate} 47 43 <select name="sort_by"> 48 <!-- BEGIN sort_by_option --> 49 <option value="{sort_by_option.VALUE}" {sort_by_option.SELECTED} >{sort_by_option.CONTENT}</option> 50 <!-- END sort_by_option --> 44 {html_options options=$sort_by_options selected=$sort_by_options_selected} 51 45 </select> 52 46 </label> 53 47 54 48 <label> 55 { lang:Sort order}49 {'Sort order'|@translate} 56 50 <select name="sort_order"> 57 <!-- BEGIN sort_order_option --> 58 <option value="{sort_order_option.VALUE}" {sort_order_option.SELECTED} >{sort_order_option.CONTENT}</option> 59 <!-- END sort_order_option --> 51 {html_options options=$sort_order_options selected=$sort_order_options_selected} 60 52 </select> 61 53 </label> 62 54 63 55 <label> 64 { lang:Number of items}56 {'Number of items'|@translate} 65 57 <select name="items_number"> 66 <!-- BEGIN items_number_option --> 67 <option value="{items_number_option.VALUE}" {items_number_option.SELECTED} >{items_number_option.CONTENT}</option> 68 <!-- END items_option --> 58 {html_options options=$item_number_options selected=$item_number_options_selected} 69 59 </select> 70 60 </label> … … 72 62 </fieldset> 73 63 74 <p><input class="submit" type="submit" value="{ lang:Filter and display}"></p>64 <p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p> 75 65 76 66 </form> 77 67 78 <div class="navigationBar">{ NAVBAR}</div>68 <div class="navigationBar">{$NAVBAR}</div> 79 69 70 {if isset($comments)} 80 71 <div id="comments"> 81 72 82 <!-- BEGIN comment -->73 {foreach from=$comments item=comment} 83 74 <div class="comment"> 84 <a class="illustration" href="{comment.U_PICTURE}"><img src="{comment.TN_SRC}" alt="{comment.ALT}" /></a> 85 <p class="commentHeader"><span class="author">{comment.AUTHOR}</span> - <span class="date">{comment.DATE}</span> 86 <!-- BEGIN action_delete --> 87 <a href="{comment.action_delete.U_DELETE}" title="{lang:comments_del}"> 88 <img src="{pwg_root}{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{lang:delete}]"/> 75 <a class="illustration" href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /></a> 76 <p class="commentHeader"><span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span> 77 78 {if isset($comment.U_DELETE)} 79 <a href="{$comment.U_DELETE}" title="{'comments_del'|@translate}"> 80 <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{'delete'|@translate}]"/> 89 81 </a> 90 <!-- END action_delete --> 91 <!-- BEGIN action_validate --> 92 <a href="{comment.action_validate.U_VALIDATE}" title="validate this comment"> 93 <img src="{pwg_root}{themeconf:icon_dir}/validate_s.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[validate]"/> 82 {/if} 83 84 {if isset($comment.U_VALIDATE)} 85 <a href="{$comment.U_VALIDATE}" title="validate this comment"> 86 <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[validate]"/> 94 87 </a> 95 <!-- END action_validate --> 88 {/if} 89 96 90 </p> 97 <blockquote>{ comment.CONTENT}</blockquote>91 <blockquote>{$comment.CONTENT}</blockquote> 98 92 <hr class="separation"> 99 93 </div> 100 101 <!-- END comment --> 102 94 95 {/foreach} 103 96 </div> 97 {/if} 104 98 105 99 </div> <!-- content --> -
trunk/template/yoga/identification.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 3 2 <div id="content"> 4 3 5 4 <div class="titrePage"> 6 5 <ul class="categoryActions"> 7 <li><a href="{ U_LOST_PASSWORD}" title="{lang:Forgot your password?}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt="{lang:Forgot your password?}"></a></li>8 <!-- BEGIN register --> 9 <li><a href="{ U_REGISTER}" title="{lang:Create a new account}"><img src="{themeconf:icon_dir}/register.png" class="button" alt="{lang:register}"/></a></li>10 <!-- END register --> 11 <li><a href="{ U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>6 <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li> 7 {if isset($U_REGISTER) } 8 <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$themeconf.icon_dir}/register.png" class="button" alt="{'register'|@translate}"/></a></li> 9 {/if} 10 <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> 12 11 </ul> 13 <h2>{ lang:Identification}</h2>12 <h2>{'Identification'|@translate}</h2> 14 13 </div> 15 14 16 <!-- BEGIN errors -->15 {if isset($errors) } 17 16 <div class="errors"> 18 17 <ul> 19 <!-- BEGIN error -->20 <li>{ errors.error.ERROR}</li>21 <!-- END error -->18 {foreach from=$errors item=error} 19 <li>{$error}</li> 20 {/foreach} 22 21 </ul> 23 22 </div> 24 <!-- END errors -->23 {/if} 25 24 26 <form action="{ F_LOGIN_ACTION}" method="post" name="login_form" class="properties">25 <form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties"> 27 26 <fieldset> 28 <legend>{ lang:Connection settings}</legend>27 <legend>{'Connection settings'|@translate}</legend> 29 28 30 <input type="hidden" name="redirect" value="{ U_REDIRECT}">29 <input type="hidden" name="redirect" value="{$U_REDIRECT}"> 31 30 32 31 <ul> 33 32 <li> 34 33 <span class="property"> 35 <label for="username">{ lang:Username}</label>34 <label for="username">{'Username'|@translate}</label> 36 35 </span> 37 <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" value="{USERNAME}"/>36 <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" /> 38 37 </li> 39 38 40 39 <li> 41 40 <span class="property"> 42 <label for="password">{ lang:Password}</label>41 <label for="password">{'Password'|@translate}</label> 43 42 </span> 44 43 <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" /> 45 44 </li> 46 45 47 <!-- BEGIN remember_me -->46 {if $authorize_remembering } 48 47 <li> 49 48 <span class="property"> 50 <label for="remember_me">{ lang:remember_me}</label>49 <label for="remember_me">{'remember_me'|@translate}</label> 51 50 </span> 52 51 <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1"> 53 52 </li> 54 <!-- END remember_me -->53 {/if} 55 54 </ul> 56 55 </fieldset> 57 56 58 <p><input class="submit" tabindex="4" type="submit" name="login" value="{ lang:submit}"></p>57 <p><input class="submit" tabindex="4" type="submit" name="login" value="{'submit'|@translate}"></p> 59 58 </form> 60 59 … … 64 63 65 64 <p> 66 <!-- BEGIN register --> 67 <a href="{ U_REGISTER}" title="{lang:Create a new account}"><img src="{themeconf:icon_dir}/register.png" class="button" alt=""> {lang:Register}</a>68 <!-- END register --> 69 <a href="{ U_LOST_PASSWORD}" title="{lang:Forgot your password?}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt=""> {lang:Forgot your password?}</a>65 {if isset($U_REGISTER) } 66 <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$themeconf.icon_dir}/register.png" class="button" alt=""> {'Register'|@translate}</a> 67 {/if} 68 <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$themeconf.icon_dir}/lost_password.png" class="button" alt=""> {'Forgot your password?'|@translate}</a> 70 69 </p> 71 70 -
trunk/template/yoga/notification.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 1 {* $Id$ *} 2 2 <div id="content"> 3 3 4 4 <div class="titrePage"> 5 5 <ul class="categoryActions"> 6 <li><a href="{ U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>6 <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> 7 7 </ul> 8 <h2>{ lang:Notification}</h2>8 <h2>{'Notification'|@translate}</h2> 9 9 </div> 10 10 11 <p>{ lang:The RSS notification feed provides notification on news from this website : new pictures, updated categories, new comments. Use a RSS feed reader.}</p>11 <p>{'The RSS notification feed provides notification on news from this website : new pictures, updated categories, new comments. Use a RSS feed reader.'|@translate}</p> 12 12 13 <p><a href="{ U_FEED_IMAGE_ONLY}">{lang:Image only RSS feed}</a></p>14 <p><a href="{ U_FEED}">{lang:Complete RSS feed}</a></p>13 <p><a href="{$U_FEED_IMAGE_ONLY}">{'Image only RSS feed'|@translate}</a></p> 14 <p><a href="{$U_FEED}">{'Complete RSS feed'|@translate}</a></p> 15 15 </div> -
trunk/template/yoga/password.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 3 2 <div id="content"> 4 3 5 4 <div class="titrePage"> 6 5 <ul class="categoryActions"> 7 <li><a href="{ U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>6 <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> 8 7 </ul> 9 <h2>{ lang:Password forgotten}</h2>8 <h2>{'Password forgotten'|@translate}</h2> 10 9 </div> 11 10 12 <!-- BEGIN errors -->11 {if count($errors)} 13 12 <div class="errors"> 14 13 <ul> 15 <!-- BEGIN error -->16 <li>{ errors.error.ERROR}</li>17 <!-- END error -->14 {foreach from=$errors item=error} 15 <li>{$error}</li> 16 {/foreach} 18 17 </ul> 19 18 </div> 20 <!-- END errors -->19 {/if} 21 20 22 <!-- BEGIN infos -->21 {if count($infos)} 23 22 <div class="infos"> 24 23 <ul> 25 <!-- BEGIN info -->26 <li>{ infos.info.INFO}</li>27 <!-- END info -->24 {foreach from=$infos item=info} 25 <li>{$info}</li> 26 {/foreach} 28 27 </ul> 29 28 </div> 30 <!-- END infos -->29 {/if} 31 30 32 <form action="{ F_ACTION}" method="post" class="properties">31 <form action="{$F_ACTION}" method="post" class="properties"> 33 32 <fieldset> 34 <legend>{ lang:Retrieve password}</legend>33 <legend>{'Retrieve password'|@translate}</legend> 35 34 36 35 <ul> 37 36 <li> 38 37 <span class="property"> 39 <label for="mail_address">{ lang:Email address}</label>38 <label for="mail_address">{'Email address'|@translate}</label> 40 39 </span> 41 40 <input class="login" type="text" name="mail_address" id="mail_address" size="40" maxlength="40" > … … 43 42 <li> 44 43 <span class="property"> 45 <label for="no_mail_address">{ lang:No email address}</label>44 <label for="no_mail_address">{'No email address'|@translate}</label> 46 45 </span> 47 46 <input type="checkbox" id="no_mail_address" name="no_mail_address" value="1"> … … 50 49 </fieldset> 51 50 52 <p><input class="submit" type="submit" name="submit" value="{ lang:Send new password}"></p>51 <p><input class="submit" type="submit" name="submit" value="{'Send new password'|@translate}"></p> 53 52 </form> 54 53 -
trunk/template/yoga/picture.tpl
r2222 r2223 58 58 </div> 59 59 {NAV_BUTTONS} 60 </div>61 62 60 </div> <!-- imageToolBar --> 63 61 -
trunk/template/yoga/popuphelp.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 1 {* $Id$ *} 2 2 <div id="content"> 3 { HELP_CONTENT}3 {$HELP_CONTENT} 4 4 </div> <!-- content --> 5 5 6 <p id="pageBottomActions"><a href="#" onclick="window.close();" title="{ lang:Close this window}"><img src="{themeconf:icon_dir}/exit.png" class="button" alt="close"></a></p>6 <p id="pageBottomActions"><a href="#" onclick="window.close();" title="{'Close this window'|@translate}"><img src="{$themeconf.icon_dir}/exit.png" class="button" alt="close"></a></p> -
trunk/template/yoga/search.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 3 2 <div id="content"> 4 3 5 4 <div class="titrePage"> 6 5 <ul class="categoryActions"> 7 <li><a href="{ U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}" rel="nofollow"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>8 <li><a href="{ U_HOME}" title="{lang:return to homepage}" rel="home"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>6 <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> 7 <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}" rel="home"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> 9 8 </ul> 10 <h2>{ lang:Search}</h2>9 <h2>{'Search'|@translate}</h2> 11 10 </div> 12 11 13 <form class="filter" method="post" name="search" action="{S_SEARCH_ACTION}"> 14 <!-- BEGIN errors --> 12 {if isset($errors) } 15 13 <div class="errors"> 16 14 <ul> 17 <!-- BEGIN error -->18 <li>{ errors.error.ERROR}</li>19 <!-- END error -->15 {foreach from=$errors item=error} 16 <li>{$error}</li> 17 {/foreach} 20 18 </ul> 21 19 </div> 22 <!-- END errors --> 20 {/if} 21 22 <form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}"> 23 23 <fieldset> 24 <legend>{ lang:Filter}</legend>25 <label>{ lang:search_keywords}24 <legend>{'Filter'|@translate}</legend> 25 <label>{'search_keywords'|@translate} 26 26 <input type="text" style="width: 300px" name="search_allwords" size="30" /> 27 27 </label> 28 28 <ul> 29 29 <li><label> 30 <input type="radio" name="mode" value="AND" checked="checked" />{ lang:search_mode_and}30 <input type="radio" name="mode" value="AND" checked="checked" />{'search_mode_and'|@translate} 31 31 </label></li> 32 32 <li><label> 33 <input type="radio" name="mode" value="OR" />{ lang:search_mode_or}33 <input type="radio" name="mode" value="OR" />{'search_mode_or'|@translate} 34 34 </label></li> 35 35 </ul> 36 <label>{ lang:search_author}36 <label>{'search_author'|@translate} 37 37 <input type="text" style="width: 300px" name="search_author" size="30" /> 38 38 </label> 39 39 </fieldset> 40 40 41 <!-- BEGIN tags --> 41 {if isset($TAG_SELECTION)} 42 42 <fieldset> 43 <legend>{ lang:Search tags}</legend>44 { TAG_SELECTION}45 <label><span><input type="radio" name="tag_mode" value="AND" checked="checked" /> { lang:All tags}</span></label>46 <label><span><input type="radio" name="tag_mode" value="OR" /> { lang:Any tag}</span></label>43 <legend>{'Search tags'|@translate}</legend> 44 {$TAG_SELECTION} 45 <label><span><input type="radio" name="tag_mode" value="AND" checked="checked" /> {'All tags'|@translate}</span></label> 46 <label><span><input type="radio" name="tag_mode" value="OR" /> {'Any tag'|@translate}</span></label> 47 47 </fieldset> 48 <!-- END tags --> 48 {/if} 49 49 50 50 <fieldset> 51 <legend>{ lang:search_date}</legend>51 <legend>{'search_date'|@translate}</legend> 52 52 <ul> 53 <li><label>{ lang:search_date_type}</label></li>53 <li><label>{'search_date_type'|@translate}</label></li> 54 54 <li><label> 55 <input type="radio" name="date_type" value="date_creation" checked="checked" />{ lang:Creation date}55 <input type="radio" name="date_type" value="date_creation" checked="checked" />{'Creation date'|@translate} 56 56 </label></li> 57 57 <li><label> 58 <input type="radio" name="date_type" value="date_available" />{ lang:Post date}58 <input type="radio" name="date_type" value="date_available" />{'Post date'|@translate} 59 59 </label></li> 60 60 </ul> 61 61 <ul> 62 <li><label>{ lang:search_date_from}</label></li>62 <li><label>{'search_date_from'|@translate}</label></li> 63 63 <li> 64 64 <select name="start_day"> 65 <!-- BEGIN start_day --> 66 <option {start_day.SELECTED} value="{start_day.VALUE}">{start_day.OPTION}</option> 67 <!-- END start_day --> 65 <option value="0">--</option> 66 {section name=day start=1 loop=31} 67 <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$START_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option> 68 {/section} 68 69 </select> 69 70 <select name="start_month"> 70 <!-- BEGIN start_month --> 71 <option {start_month.SELECTED} value="{start_month.VALUE}">{start_month.OPTION}</option> 72 <!-- END start_month --> 71 {html_options options=$month_list selected=$START_MONTH_SELECTED} 73 72 </select> 74 73 <input name="start_year" type="text" size="4" maxlength="4" > 75 74 </li> 76 75 <li> 77 <a href="#" onClick="document.search.start_day.value={ TODAY_DAY};document.search.start_month.value={TODAY_MONTH};document.search.start_year.value={TODAY_YEAR};return false;">{lang:today}</a>76 <a href="#" onClick="document.search.start_day.value={$smarty.now|date_format:"%d"};document.search.start_month.value={$smarty.now|date_format:"%m"};document.search.start_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a> 78 77 </li> 79 78 </ul> 80 79 <ul> 81 <li><label>{ lang:search_date_to}</label></li>80 <li><label>{'search_date_to'|@translate}</label></li> 82 81 <li> 83 82 <select name="end_day"> 84 <!-- BEGIN end_day --> 85 <option {end_day.SELECTED} value="{end_day.VALUE}">{end_day.OPTION}</option> 86 <!-- END end_day --> 83 <option value="0">--</option> 84 {section name=day start=1 loop=31} 85 <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$END_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option> 86 {/section} 87 87 </select> 88 88 <select name="end_month"> 89 <!-- BEGIN end_month --> 90 <option {end_month.SELECTED} value="{end_month.VALUE}">{end_month.OPTION}</option> 91 <!-- END end_month --> 89 {html_options options=$month_list selected=$END_MONTH_SELECTED} 92 90 </select> 93 91 <input name="end_year" type="text" size="4" maxlength="4" > 94 92 </li> 95 93 <li> 96 <a href="#" onClick="document.search.end_day.value={ TODAY_DAY};document.search.end_month.value={TODAY_MONTH};document.search.end_year.value={TODAY_YEAR};return false;">{lang:today}</a>94 <a href="#" onClick="document.search.end_day.value={$smarty.now|date_format:"%d"};document.search.end_month.value={$smarty.now|date_format:"%m"};document.search.end_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a> 97 95 </li> 98 96 </ul> … … 100 98 101 99 <fieldset> 102 <legend>{ lang:search_options}</legend>103 <label>{ lang:search_categories}100 <legend>{'search_options'|@translate}</legend> 101 <label>{'search_categories'|@translate} 104 102 <select class="categoryList" name="cat[]" multiple="multiple" > 105 <!-- BEGIN category_option --> 106 <option value="{category_option.VALUE}">{category_option.OPTION}</option> 107 <!-- END category_option --> 103 {html_options options=$category_options selected=$category_options_selected} 108 104 </select> 109 105 </label> 110 106 <ul> 111 <li><label>{ lang:search_subcats_included}</label></li>107 <li><label>{'search_subcats_included'|@translate}</label></li> 112 108 <li><label> 113 <input type="radio" name="subcats-included" value="1" checked="checked" />{ lang:yes}109 <input type="radio" name="subcats-included" value="1" checked="checked" />{'yes'|@translate} 114 110 </label></li> 115 111 <li><label> 116 <input type="radio" name="subcats-included" value="0" />{ lang:no}112 <input type="radio" name="subcats-included" value="0" />{'no'|@translate} 117 113 </label></li> 118 114 </ul> 119 115 <ul> 120 <li><label>{ lang:search_sort}</label></li>116 <li><label>{'search_sort'|@translate}</label></li> 121 117 <li><label> 122 <input type="radio" name="sd" value="AND" />{ lang:search_ascending}118 <input type="radio" name="sd" value="AND" />{'search_ascending'|@translate} 123 119 </label></li> 124 120 <li><label> 125 <input type="radio" name="sd" value="d" checked="checked" />{ lang:search_descending}121 <input type="radio" name="sd" value="d" checked="checked" />{'search_descending'|@translate} 126 122 </label></li> 127 123 </ul> 128 124 </fieldset> 129 125 <p> 130 <input class="submit" type="submit" name="submit" value="{ lang:submit}" />131 <input class="submit" type="reset" value="{ lang:reset}" />126 <input class="submit" type="submit" name="submit" value="{'submit'|@translate}" /> 127 <input class="submit" type="reset" value="{'reset'|@translate}" /> 132 128 </p> 133 129 </form> -
trunk/template/yoga/search_rules.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 1 {* $Id$ *} 2 2 <div id="content"> 3 <h2>{ lang:Search rules}</h2>3 <h2>{'Search rules'|@translate}</h2> 4 4 5 <p>{INTRODUCTION}</p> 5 {if isset($INTRODUCTION) } 6 <p>{$INTRODUCTION}</p> 7 {/if} 6 8 7 9 <ul> 8 10 9 <!-- BEGIN words --> 10 <li>{words.CONTENT}</li> 11 <!-- END words --> 11 {if isset($search_words) } 12 {foreach from=$search_words item=v} 13 <li>{$v}</li> 14 {/foreach} 15 {/if} 12 16 13 <!-- BEGIN tags -->17 {if isset($SEARCH_TAGS_MODE) } 14 18 <li> 15 <p>{tags.LIST_INTRO}</p> 19 <p>{if 'AND'==$SEARCH_TAGS_MODE}{'All tags must match'|@translate}{else}{'At least one tag must match'|@translate}{/if}</p> 20 <ul> 21 {foreach from=$search_tags item=v} 22 <li>{$v}</li> 23 {/foreach} 24 </ul> 25 </li> 26 {/if} 27 28 {if isset($DATE_CREATION) } 29 <li>{$DATE_CREATION}</li> 30 {/if} 31 32 {if isset($DATE_AVAILABLE) } 33 <li>{$DATE_AVAILABLE}</li> 34 {/if} 35 36 {if isset($search_categories) } 37 <li> 38 <p>{'Categories'|@translate}</p> 16 39 17 40 <ul> 18 <!-- BEGIN tag -->19 <li>{ tags.tag.NAME}</li>20 <!-- END tag -->41 {foreach from=$search_categories item=v} 42 <li>{$v}</li> 43 {/foreach} 21 44 </ul> 22 45 </li> 23 <!-- END tags --> 24 25 <!-- BEGIN author --> 26 <li>{author.CONTENT}</li> 27 <!-- END author --> 28 29 <!-- BEGIN date_creation --> 30 <li>{date_creation.CONTENT}</li> 31 <!-- END date_creation --> 32 33 <!-- BEGIN date_available --> 34 <li>{date_available.CONTENT}</li> 35 <!-- END date_available --> 36 37 <!-- BEGIN categories --> 38 <li> 39 <p>{categories.LIST_INTRO}</p> 40 41 <ul> 42 <!-- BEGIN category --> 43 <li>{categories.category.NAME}</li> 44 <!-- END category --> 45 </ul> 46 </li> 47 <!-- END categories --> 46 {/if} 48 47 49 48 </ul> … … 52 51 53 52 <p id="pageBottomActions"> 54 <a href="#" onclick="window.close();" title="{ lang:Close this window}">55 <img src="{ themeconf:icon_dir}/exit.png" class="button" alt="close">53 <a href="#" onclick="window.close();" title="{'Close this window'|@translate}"> 54 <img src="{$themeconf.icon_dir}/exit.png" class="button" alt="close"> 56 55 </a> 57 56 </p> -
trunk/template/yoga/tags.tpl
r2222 r2223 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 3 2 <div id="content"> 4 3 5 4 <div class="titrePage"> 6 5 <ul class="categoryActions"> 7 <li><a href="{ U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>6 <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> 8 7 </ul> 9 <h2>{ lang:Tags}</h2>8 <h2>{'Tags'|@translate}</h2> 10 9 </div> 11 10 11 {if isset($tags)} 12 12 <ul id="fullTagCloud"> 13 <!-- BEGIN tag --> 14 <li><a href="{tag.URL}" class="{tag.CLASS}" title="{tag.TITLE}">{tag.NAME}</a></li> 15 <!-- END tag --> 16 <li> </li> <!-- FIXME W3C HTML Conformity said: No empty UL --> 13 {foreach from=$tags item=tag} 14 <li><a href="{$tag.URL}" class="{$tag.CLASS}" title="{$tag.TITLE}">{$tag.NAME}</a></li> 15 {/foreach} 17 16 </ul> 17 {/if} 18 18 19 19 </div> <!-- content -->
Note: See TracChangeset
for help on using the changeset viewer.