[ 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/ -> clear_cache.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {let selected_cache_type=ezpreference( 'admin_clearcache_type' )
   3       caches_list=array( array( 'All', 'All caches'|i18n( 'design/standard/pagelayout' )|wash, false ),
   4                          array( 'Content', 'Content'|i18n( 'design/standard/pagelayout' )|wash, false ),
   5                          array( 'ContentNode', 'Content - node'|i18n( 'design/standard/pagelayout' )|wash, true ),
   6                          array( 'ContentSubtree', 'Content - subtree'|i18n( 'design/standard/pagelayout' )|wash, true ),
   7                          array( 'Template', 'Template'|i18n( 'design/standard/pagelayout' )|wash, false ),
   8                          array( 'TemplateContent', 'Template & content'|i18n( 'design/standard/pagelayout' )|wash, false),
   9                          array( 'Ini', 'Ini settings'|i18n( 'design/standard/pagelayout' )|wash, false ),
  10                          array( 'Static', 'Static'|i18n( 'design/standard/pagelayout' )|wash, false ) )}
  11  
  12  <form name="clearcache" action={'setup/cachetoolbar'|ezurl} method="post">
  13  <div class="block">
  14  <select{eq( $ui_context, 'edit' )|choose( '', ' disabled="disabled"' )} name="CacheTypeValue">
  15     {section loop=$caches_list}
  16        {section show=eq( $:item.2, false )}
  17          <option{eq( $selected_cache_type, $:item.0 )|choose( '', ' selected="selected"' )} value="{$:item.0}">{$:item.1}</option>
  18        {section-else}
  19         {section show=is_set( $module_result.content_info )}
  20          <option{eq( $selected_cache_type, $:item.0 )|choose( '', ' selected="selected"' )} value="{$:item.0}">{$:item.1}</option>
  21         {/section}
  22        {/section}
  23     {/section}
  24  </select>
  25  </div>
  26      {section show=is_set( $module_result.content_info )}
  27        <input type="hidden" name="NodeID" value="{$module_result.content_info.node_id}" />
  28        <input type="hidden" name="ObjectID" value="{$module_result.content_info.object_id}" />
  29      {/section}
  30  <div class="block">
  31      <input {eq( $ui_context, 'edit' )|choose( 'class="button"', 'class="button-disabled"' )}{eq( $ui_context, 'edit' )|choose( '', ' disabled="disabled"' )} type="submit" name="ClearCacheButton" value="{'Clear'|i18n( 'design/standard/pagelayout' )}" />
  32  </div>
  33  </form>
  34  {/let}


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