[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/standard/templates/setup/ -> cache.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  <form method="post" action={"/setup/cache/"|ezurl}>
   3  
   4  <h1>{"Cache admin"|i18n("design/standard/setup")}</h1>
   5  
   6  {section show=$cache_cleared.content}
   7  <div class="feedback">
   8  {"Content view cache was cleared."|i18n("design/standard/setup")}
   9  </div>
  10  {/section}
  11  
  12  {section show=$cache_cleared.all}
  13  <div class="feedback">
  14  {"All caches were cleared."|i18n("design/standard/setup")}
  15  </div>
  16  {/section}
  17  
  18  {section show=$cache_cleared.ini}
  19  <div class="feedback">
  20  {"Ini file cache was cleared."|i18n("design/standard/setup")}
  21  </div>
  22  {/section}
  23  
  24  {section show=$cache_cleared.template}
  25  <div class="feedback">
  26  {"Template cache was cleared."|i18n("design/standard/setup")}
  27  </div>
  28  {/section}
  29  
  30  {section show=$cache_cleared.list}
  31  <div class="feedback">
  32  {section name=Cache loop=$cache_cleared.list}
  33  {"%name was cleared."|i18n('design/standard/setup', '', hash( '%name', $:item.name ) )}
  34  {delimiter}<br/>{/delimiter}
  35  {/section}
  36  </div>
  37  {/section}
  38  
  39  <div class="objectheader">
  40  <h2>{"Cache collections"|i18n("design/standard/setup")}</h2>
  41  </div>
  42  
  43  <div class="object">
  44      <p>{"Click a button to clear a collection of caches."|i18n("design/standard/setup")}</p>
  45  
  46  
  47      <table>
  48      <tr>
  49          <td><p>{"All caches."|i18n("design/standard/setup")}</p></td>
  50          <td><div class="buttonblock">
  51          {section show=$cache_enabled.all}
  52          <input type="submit" name="ClearAllCacheButton" value="{"All caches"|i18n("design/standard/setup")}" />
  53          {section-else}
  54              <p>{"All caches are disabled"|i18n("design/standard/setup")}</p>
  55          {/section}
  56      </div></td>
  57      </tr>
  58  
  59      <tr>
  60          <td><p>{"Content views and template blocks."|i18n("design/standard/setup")}</p></td>
  61          <td>
  62          {section show=$cache_enabled.content}
  63          <input type="submit" name="ClearContentCacheButton" value="{"Content caches"|i18n("design/standard/setup")}" />
  64          {section-else}
  65              <p>{"Content caches is disabled"|i18n("design/standard/setup")}</p>
  66          {/section}
  67          </td>
  68      </tr>
  69  
  70      <tr>
  71          <td><p>{"Template overrides and template compiling."|i18n("design/standard/setup")}</p></td>
  72          <td>
  73          {section show=$cache_enabled.template}
  74          <input type="submit" name="ClearTemplateCacheButton" value="{"Template caches"|i18n("design/standard/setup")}" />
  75          {section-else}
  76              <p>{"Template caches are disabled"|i18n("design/standard/setup")}</p>
  77          {/section}
  78          </td>
  79      </tr>
  80  
  81      <tr>
  82          <td><p>{"INI caches."|i18n("design/standard/setup")}</p></td>
  83          <td>
  84          {section show=$cache_enabled.ini}
  85          <input type="submit" name="ClearINICacheButton" value="{"INI caches"|i18n("design/standard/setup")}" />
  86          {section-else}
  87              <p>{"INI cache is disabled"|i18n("design/standard/setup")}</p>
  88          {/section}
  89          </td>
  90      </tr>
  91  
  92      </table>
  93  
  94  </div>
  95  
  96  <table class="list" cellspacing="0" cellpadding="0" border="0" width="100%">
  97  <tr>
  98      <th width="50%">{"Name"|i18n("design/standard/setup")}</th>
  99      <th width="50%">{"Path"|i18n("design/standard/setup")}</th>
 100      <th width="1">{"Selection"|i18n("design/standard/setup")}</th>
 101  </tr>
 102  {section name=Cache loop=$cache_list sequence=array(bglight,bgdark)}
 103  <tr class="{$:sequence}">
 104      <td>{$:item.name}</td>
 105      <td>{$:item.path}</td>
 106  {section show=$cache_enabled.list[$:item.id]}
 107      <td align="right"><input type="checkbox" name="CacheList[]" value="{$:item.id}" /></td>
 108  {section-else}
 109      <td align="right">{"Disabled"|i18n("design/standard/setup")}</td>
 110  {/section}
 111  </tr>
 112  {/section}
 113  </table>
 114  
 115  <div class="buttonblock" align="right">
 116      <input type="submit" name="ClearCacheButton" value="{"Clear selected"|i18n("design/standard/setup")}" />
 117  </div>
 118  
 119  {*
 120  <h2>{"Content view cache"|i18n("design/standard/setup")}</h2>
 121  {section show=$view_cache_enabled}
 122  <p>
 123  {"View cache is enabled."|i18n("design/standard/setup")}
 124  </p>
 125  {section-else}
 126  <p>
 127  {"View cache is disabled."|i18n("design/standard/setup")}
 128  </p>
 129  {/section}
 130  
 131  <input type="submit" name="ClearContentCacheButton" value="{"Clear"|i18n("design/standard/setup")}" />
 132  
 133  <h2>{"Ini cache"|i18n("design/standard/setup")}</h2>
 134  <p>
 135  {"Ini cache is always enabled."|i18n("design/standard/setup")}
 136  </p>
 137  
 138  <input type="submit" name="ClearINICacheButton" value="{"Clear"|i18n("design/standard/setup")}" />
 139  
 140  <h2>{"Template cache"|i18n("design/standard/setup")}</h2>
 141  
 142  <input type="submit" name="ClearTemplateCacheButton" value="{"Clear"|i18n("design/standard/setup")}" />
 143  
 144  *}
 145  
 146  </form>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7