Ignore:
Timestamp:
12/07/13 20:40:29 (6 years ago)
Author:
mistic100
Message:

better control over session cache for multiview data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdminTools/template/public_controller.tpl

    r25817 r25818  
    3434AdminTools.urlWS = '{$ROOT_URL}ws.php?format=json&method='; 
    3535AdminTools.multiView = { 
    36   'view_as': "{$ato.MULTIVIEW.view_as}", 
    37   'theme': "{$ato.MULTIVIEW.theme}", 
    38   'lang': "{$ato.MULTIVIEW.lang}" 
     36  view_as: {$ato.MULTIVIEW.view_as}, 
     37  theme: '{$ato.MULTIVIEW.theme}', 
     38  lang: '{$ato.MULTIVIEW.lang}' 
    3939}; 
    4040 
    41 AdminTools.init(); 
     41{if $ato.DELETE_CACHE} 
     42  AdminTools.deleteCache(); 
     43{/if} 
     44  AdminTools.init(); 
    4245{if $themeconf.mobile} 
    4346  AdminTools.initMobile(); 
     
    5154{if isset($ato.QUICK_EDIT)} 
    5255  AdminTools.initQuickEdit({intval(isset($ato.IS_PICTURE))}, { 
    53     hintText: '{'Type in a search term'|@translate}', 
    54     noResultsText: '{'No results'|@translate}', 
    55     searchingText: '{'Searching...'|@translate}', 
    56     newText: ' ({'new'|@translate})' 
     56    hintText: '{'Type in a search term'|translate|escape:javascript}', 
     57    noResultsText: '{'No results'|translate|escape:javascript}', 
     58    searchingText: '{'Searching...'|translate|escape:javascript}', 
     59    newText: ' ({'new'|translate|escape:javascript})' 
    5760  }); 
    5861{/if} 
Note: See TracChangeset for help on using the changeset viewer.