diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-03-05 02:14:36 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-03-05 02:14:36 +0000 |
commit | a55cf25bdf2fc5b5056c5f25ecc5dd21ee17c245 (patch) | |
tree | 856a943a1df26450fc014890f0bad2c2b854edbd /template | |
parent | d3fe45c5bd472329ba083e8ca467b5c17324712b (diff) |
- added clear compiled templates maintenance task
- maintenance.tpl is smarty
- some language cleanup
git-svn-id: http://piwigo.org/svn/trunk@2251 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r-- | template/yoga/admin/maintenance.tpl | 24 | ||||
-rw-r--r-- | template/yoga/search.tpl | 9 |
2 files changed, 12 insertions, 21 deletions
diff --git a/template/yoga/admin/maintenance.tpl b/template/yoga/admin/maintenance.tpl index d9872faf0..59cf4ff82 100644 --- a/template/yoga/admin/maintenance.tpl +++ b/template/yoga/admin/maintenance.tpl @@ -1,25 +1,25 @@ -<!-- DEV TAG: not smarty migrated --> -<!-- $Id$ --> +{* $Id$ *} <div class="titrePage"> <ul class="categoryActions"> - <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> + <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> </ul> - <h2>{lang:Maintenance}</h2> + <h2>{'Maintenance'|@translate}</h2> </div> <ul> - <li><a href="{U_MAINT_CATEGORIES}" {TAG_INPUT_ENABLED}>{lang:update categories informations}</a></li> - <li><a href="{U_MAINT_IMAGES}" {TAG_INPUT_ENABLED}>{lang:update images informations}</a></li> - <li><a href="{U_MAINT_DATABASE}" {TAG_INPUT_ENABLED}>{lang:repair and optimize database}</a></li> + <li><a href="{$U_MAINT_CATEGORIES}" {$TAG_INPUT_ENABLED}>{'update categories informations'|@translate}</a></li> + <li><a href="{$U_MAINT_IMAGES}" {$TAG_INPUT_ENABLED}>{'update images informations'|@translate}</a></li> + <li><a href="{$U_MAINT_DATABASE}" {$TAG_INPUT_ENABLED}>{'repair and optimize database'|@translate}</a></li> </ul> <ul> - <li><a href="{U_MAINT_HISTORY_DETAIL}" onclick="return confirm('{lang:Are you sure?}');" {TAG_INPUT_ENABLED}>{lang:purge history detail}</a></li> - <li><a href="{U_MAINT_HISTORY_SUMMARY}" onclick="return confirm('{lang:Are you sure?}');" {TAG_INPUT_ENABLED}>{lang:purge history summary}</a></li> - <li><a href="{U_MAINT_SESSIONS}" {TAG_INPUT_ENABLED}>{lang:purge sessions}</a></li> - <li><a href="{U_MAINT_FEEDS}" {TAG_INPUT_ENABLED}>{lang:purge never used notification feeds}</a></li> + <li><a href="{$U_MAINT_HISTORY_DETAIL}" onclick="return confirm('{'Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}>{'purge history detail'|@translate}</a></li> + <li><a href="{$U_MAINT_HISTORY_SUMMARY}" onclick="return confirm('{'Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}>{'purge history summary'|@translate}</a></li> + <li><a href="{$U_MAINT_SESSIONS}" {$TAG_INPUT_ENABLED}>{'purge sessions'|@translate}</a></li> + <li><a href="{$U_MAINT_FEEDS}" {$TAG_INPUT_ENABLED}>{'purge never used notification feeds'|@translate}</a></li> + <li><a href="{$U_MAINT_COMPILED_TEMPLATES}" {$TAG_INPUT_ENABLED}>{'Purge compiled templates'|@translate}</a></li> </ul> <ul> - <li><a href="{U_MAINT_C13Y}" {TAG_INPUT_ENABLED}>{lang:c13y_maintenance}</a></li> + <li><a href="{$U_MAINT_C13Y}" {$TAG_INPUT_ENABLED}>{'c13y_maintenance'|@translate}</a></li> </ul> diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl index 1b03c34c3..dc22315a3 100644 --- a/template/yoga/search.tpl +++ b/template/yoga/search.tpl @@ -112,15 +112,6 @@ <input type="radio" name="subcats-included" value="0" />{'no'|@translate} </label></li> </ul> - <ul> - <li><label>{'search_sort'|@translate}</label></li> - <li><label> - <input type="radio" name="sd" value="AND" />{'search_ascending'|@translate} - </label></li> - <li><label> - <input type="radio" name="sd" value="d" checked="checked" />{'search_descending'|@translate} - </label></li> - </ul> </fieldset> <p> <input class="submit" type="submit" name="submit" value="{'submit'|@translate}" /> |