[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* Feedbacks. *} 2 {section show=$cache_cleared.content} 3 <div class="message-feedback"> 4 <h2><span class="time">[{currentdate()|l10n( shortdatetime )}]</span> {'Content view cache was cleared'|i18n( 'design/admin/setup/cache' )}</h2> 5 </div> 6 {/section} 7 8 {section show=$cache_cleared.all} 9 <div class="message-feedback"> 10 <h2><span class="time">[{currentdate()|l10n( shortdatetime )}]</span> {'All caches were cleared'|i18n( 'design/admin/setup/cache' )}</h2> 11 </div> 12 {/section} 13 14 {section show=$cache_cleared.ini} 15 <div class="message-feedback"> 16 <h2><span class="time">[{currentdate()|l10n( shortdatetime )}]</span> {'Ini file cache was cleared'|i18n( 'design/admin/setup/cache' )}</h2> 17 </div> 18 {/section} 19 20 {section show=$cache_cleared.template} 21 <div class="message-feedback"> 22 <h2><span class="time">[{currentdate()|l10n( shortdatetime )}]</span> {'Template cache was cleared'|i18n( 'design/admin/setup/cache' )}</h2> 23 </div> 24 {/section} 25 26 {section show=$cache_cleared.static} 27 <div class="message-feedback"> 28 <h2><span class="time">[{currentdate()|l10n( shortdatetime )}]</span> {'Static content cache was regenerated'|i18n( 'design/admin/setup/cache' )}</h2> 29 </div> 30 {/section} 31 32 {section show=$cache_cleared.list} 33 <div class="message-feedback"> 34 <h2><span class="time">[{currentdate()|l10n( shortdatetime )}]</span> {'The following caches were cleared'|i18n( 'design/admin/setup/cache' )}:</h2> 35 <ul> 36 {section var=Caches loop=$cache_cleared.list} 37 <li>{'%name was cleared'|i18n( 'design/admin/setup/cache',, hash( '%name', $Caches.item.name ) )}</li> 38 {/section} 39 </ul> 40 </div> 41 {/section} 42 43 44 45 46 <form name="clearcacheform" method="post" action={"/setup/cache/"|ezurl}> 47 48 {* Clear caches window. *} 49 50 <div class="context-block"> 51 52 {* DESIGN: Header START *}<div class="box-header"><div class="box-tc"><div class="box-ml"><div class="box-mr"><div class="box-tl"><div class="box-tr"> 53 54 <h1 class="context-title">{'Clear caches'|i18n( 'design/admin/setup/cache' )}</h1> 55 56 {* DESIGN: Mainline *}<div class="header-mainline"></div> 57 58 {* DESIGN: Header END *}</div></div></div></div></div></div> 59 60 {* DESIGN: Content START *}<div class="box-bc"><div class="box-ml"><div class="box-mr"><div class="box-bl"><div class="box-br"><div class="box-content"> 61 62 <table class="list cache" cellspacing="0"> 63 64 {* Template cache. *} 65 <tr class="bglight"> 66 <th width="60%">{'Template overrides and compiled templates'|i18n( 'design/admin/setup/cache' )}:</th> 67 <td width="40%"><input class="button" type="submit" name="ClearTemplateCacheButton" value="{'Clear template caches'|i18n( 'design/admin/setup/cache' )}" title="{'This operation will clear all the template override caches and the compiled templates. It may lead to weaker performance until the caches are up and running again.'|i18n( 'design/admin/setup/cache' )}" /></td> 68 </tr> 69 70 {* Content cache. *} 71 <tr class="bgdark"> 72 <th>{'Content views and template blocks'|i18n( 'design/admin/setup/cache' )}:</th> 73 <td><input class="button" type="submit" name="ClearContentCacheButton" value="{'Clear content caches'|i18n( 'design/admin/setup/cache' )}" title="{'This operation will clear all caches that are related to either template views or cache blocks inside the pagelayout template. Use it if you have modified templates or if you have changed something inside a cache block.'|i18n( 'design/admin/setup/cache' )}"/></td> 74 </tr> 75 76 {* Configuration cache. *} 77 <tr class="bglight"> 78 <th>{'Configuration (ini) caches'|i18n( 'design/admin/setup/cache' )}:</th> 79 <td><input class="button" type="submit" name="ClearINICacheButton" value="{'Clear ini caches'|i18n( 'design/admin/setup/cache' )}" title="{'This operation will clear all the configuration caches. Use it to force the system to re-read the configuration files if you have changed some settings.'|i18n( 'design/admin/setup/cache' )}" /></td> 80 </tr> 81 82 {* All caches. *} 83 <tr class="bgdark"> 84 <th>{'Everything'|i18n( 'design/admin/setup/cache' )}:</th> 85 <td><input class="button" type="submit" name="ClearAllCacheButton" value="{'Clear all caches'|i18n( 'design/admin/setup/cache' )}" title="{'This operation will clear ALL the caches and may lead to long response times until the caches are up and running again.'|i18n( 'design/admin/setup/cache' )}" /></td> 86 </tr> 87 88 </table> 89 90 {* DESIGN: Content END *}</div></div></div></div></div></div> 91 92 </div> 93 94 95 96 97 {* Cache overview window. *} 98 99 <div class="context-block"> 100 101 {* DESIGN: Header START *}<div class="box-header"><div class="box-tc"><div class="box-ml"><div class="box-mr"><div class="box-tl"><div class="box-tr"> 102 103 <h2 class="context-title">{'Fine-grained cache control'|i18n( 'design/admin/setup/cache' )}</h2> 104 105 {* DESIGN: Mainline *}<div class="header-subline"></div> 106 107 {* DESIGN: Header END *}</div></div></div></div></div></div> 108 109 {* DESIGN: Content START *}<div class="box-ml"><div class="box-mr"><div class="box-content"> 110 111 <table class="list" cellspacing="0"> 112 <tr> 113 <th class="tight"><img src={'toggle-button-16x16.gif'|ezimage} alt="{'Invert selection.'|i18n( 'design/admin/setup/cache' )}" onclick="ezjs_toggleCheckboxes( document.clearcacheform, 'CacheList[]' ); return false;" title="{'Invert selection.'|i18n( 'design/admin/setup/cache' )}" /></th> 114 <th>{'Name'|i18n( 'design/admin/setup/cache' )}</th> 115 <th>{'Path'|i18n( 'design/admin/setup/cache' )}</th> 116 </tr> 117 {section var=Caches loop=$cache_list sequence=array( bglight, bgdark )} 118 119 {* Checkbox *} 120 <tr class="{$Caches.sequence}"> 121 {section show=$cache_enabled.list[$Caches.item.id]} 122 <td><input type="checkbox" name="CacheList[]" value="{$Caches.item.id}" title="{'Select the <%cache_name> for clearing.'|i18n( 'design/admin/setup/cache',, hash( '%cache_name', $Caches.item.name ) )|wash}" /></td> 123 {section-else} 124 <td><input type="checkbox" name="CacheList[]" value="{$Caches.item.id}" disabled="disabled" title="{'The <%cache_name> is disabled and thus it can not be marked for clearing.'|i18n( 'design/admin/setup/cache',, hash( '%cache_name', $Caches.item.name ) )|wash}" /></td> 125 {/section} 126 127 {* Name *} 128 <td>{$Caches.item.name} </td> 129 130 {* Path *} 131 <td>{$Caches.item.path} </td> 132 133 </tr> 134 {/section} 135 </table> 136 137 {* DESIGN: Content END *}</div></div></div> 138 139 <div class="controlbar"> 140 {* DESIGN: Control bar START *}<div class="box-bc"><div class="box-ml"><div class="box-mr"><div class="box-tc"><div class="box-bl"><div class="box-br"> 141 <div class="block"> 142 <input class="button" type="submit" name="ClearCacheButton" value="{'Clear selected'|i18n( 'design/admin/setup/cache' )}" title="{'Clear the selected caches.'|i18n( 'design/admin/setup/cache' )}" /> 143 </div> 144 {* DESIGN: Control bar END *}</div></div></div></div></div></div> 145 </div> 146 147 </div> 148 149 150 {* Regenerate static cache window. *} 151 152 <div class="context-block"> 153 154 {* DESIGN: Header START *}<div class="box-header"><div class="box-tc"><div class="box-ml"><div class="box-mr"><div class="box-tl"><div class="box-tr"> 155 156 <h2 class="context-title">{'Static content cache'|i18n( 'design/admin/setup/cache' )}</h2> 157 158 {* DESIGN: Mainline *}<div class="header-subline"></div> 159 160 {* DESIGN: Header END *}</div></div></div></div></div></div> 161 162 {* DESIGN: Content START *}<div class="box-bc"><div class="box-ml"><div class="box-mr"><div class="box-bl"><div class="box-br"><div class="box-content"> 163 164 <table class="list cache" cellspacing="0"> 165 166 {* Static content cache. *} 167 <tr class="bgdark"> 168 <th width="60%">{'Regenerate static content cache'|i18n( 'design/admin/setup/cache' )}:</th> 169 <td width="40%"><input class="button" type="submit" name="RegenerateStaticCacheButton" value="{'Create new'|i18n( 'design/admin/setup/cache' )}" title="{'This operation will regenerate all the static content caches that are configured. This action can take quite some time depending on the specifications of the server and the number of locations that are configured to be statically cached. If you encounter time-out problems, please use the "bin/php/makestaticcache.php" shell script.'|i18n( 'design/admin/setup/cache' )}" /></td> 170 </tr> 171 172 </table> 173 174 {* DESIGN: Content END *}</div></div></div></div></div></div> 175 176 </div> 177 178 </form>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |