Changeset 9257


Ignore:
Timestamp:
02/17/11 10:33:04 (9 years ago)
Author:
patdenice
Message:

Escape javascript messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/admin/themes/default/template/maintenance.tpl

    r6364 r9257  
    1616 
    1717<ul> 
    18   <li><a href="{$U_MAINT_HISTORY_DETAIL}" onclick="return confirm('{'Purge history detail'|@translate}');" {$TAG_INPUT_ENABLED}>{'Purge history detail'|@translate}</a></li> 
    19   <li><a href="{$U_MAINT_HISTORY_SUMMARY}" onclick="return confirm('{'Purge history summary'|@translate}');" {$TAG_INPUT_ENABLED}>{'Purge history summary'|@translate}</a></li> 
     18  <li><a href="{$U_MAINT_HISTORY_DETAIL}" onclick="return confirm('{'Purge history detail'|@translate|@escape:'javascript'}');" {$TAG_INPUT_ENABLED}>{'Purge history detail'|@translate}</a></li> 
     19  <li><a href="{$U_MAINT_HISTORY_SUMMARY}" onclick="return confirm('{'Purge history summary'|@translate|@escape:'javascript'}');" {$TAG_INPUT_ENABLED}>{'Purge history summary'|@translate}</a></li> 
    2020  <li><a href="{$U_MAINT_SESSIONS}" {$TAG_INPUT_ENABLED}>{'Purge sessions'|@translate}</a></li> 
    2121  <li><a href="{$U_MAINT_FEEDS}" {$TAG_INPUT_ENABLED}>{'Purge never used notification feeds'|@translate}</a></li> 
    22   <li><a href="{$U_MAINT_SEARCH}"onclick="return confirm('{'Purge search history'|@translate}');" {$TAG_INPUT_ENABLED}>{'Purge search history'|@translate}</a></li> 
     22  <li><a href="{$U_MAINT_SEARCH}"onclick="return confirm('{'Purge search history'|@translate|@escape:'javascript'}');" {$TAG_INPUT_ENABLED}>{'Purge search history'|@translate}</a></li> 
    2323  <li><a href="{$U_MAINT_COMPILED_TEMPLATES}" {$TAG_INPUT_ENABLED}>{'Purge compiled templates'|@translate}</a></li> 
    2424</ul> 
Note: See TracChangeset for help on using the changeset viewer.