[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/templates/admin/ -> globalsettings_templates.template (source)

   1   <div style="padding-left:10px;" id="templates">
   2     <!-- template_folder -->
   3     <div class="field">
   4      <label for="config[template_folder]">template_folder</label>
   5      <div class="formHelp">{$locale->tr("help_template_folder")}</div>  
   6      <input style="width:100%" type="text" name="config[template_folder]" value="{$template_folder}"/>
   7     </div>
   8     <!-- default_template -->
   9     <div class="field">
  10      <label for="config[default_template]">default_template</label>
  11      <div class="formHelp">{$locale->tr("help_default_template")}</div>
  12       <select name="config[default_template]">
  13        {foreach from=$templates item=template}
  14         <option value="{$template}" {if $template == $default_template} selected="selected" {/if} />{$template}</option>
  15        {/foreach}
  16       </select>
  17     </div>   
  18     <!-- users_can_add_templates -->
  19     <div class="field">
  20      <label for="config[users_can_add_templates]">users_can_add_templates</label>
  21      <div class="formHelp">{$locale->tr("help_users_can_add_templates")}</div>
  22      <input class="radio" type="radio" id="config[users_can_add_templates]" name="config[users_can_add_templates]" value="1" {if $users_can_add_templates == 1 } checked="checked" {/if} />{$locale->tr("yes")}
  23      <input class="radio" type="radio" id="config[users_can_add_templates]" name="config[users_can_add_templates]" value="0" {if $users_can_add_templates == 0 } checked="checked" {/if} />{$locale->tr("no")}
  24     </div>
  25     <!-- allow_php_code_in_templates -->
  26     <div class="field">
  27      <label for="config[allow_php_code_in_templates]">allow_php_code_in_templates</label>
  28      <div class="formHelp">{$locale->tr("help_allow_php_code_in_templates")}</div>
  29      <input class="radio" type="radio" id="config[allow_php_code_in_templates]" name="config[allow_php_code_in_templates]" value="1" {if $allow_php_code_in_templates == 1 } checked="checked" {/if} />{$locale->tr("yes")}
  30      <input class="radio" type="radio" id="config[allow_php_code_in_templates]" name="config[allow_php_code_in_templates]" value="0" {if $allow_php_code_in_templates == 0 } checked="checked" {/if} />{$locale->tr("no")}
  31     </div>   
  32     <!-- template_compile_check -->
  33     <div class="field">
  34      <label for="config[template_compile_check]">template_compile_check</label>
  35      <div class="formHelp">{$locale->tr("help_template_compile_check")}</div>
  36      <input class="radio" type="radio" id="config[template_compile_check]" name="config[template_compile_check]" value="1" {if $template_compile_check == 1 } checked="checked" {/if} />{$locale->tr("yes")}
  37      <input class="radio" type="radio" id="config[template_compile_check]" name="config[template_compile_check]" value="0" {if $template_compile_check == 0 } checked="checked" {/if} />{$locale->tr("no")}        
  38     </div>   
  39     <!-- template_cache_enabled -->
  40     <div class="field">
  41      <label for="config[template_cache_enabled]">template_cache_enabled</label>
  42      <div class="formHelp">{$locale->tr("help_template_cache_enabled")}</div>
  43      <input class="radio" type="radio" id="config[template_cache_enabled]" name="config[template_cache_enabled]" value="1" {if $template_cache_enabled == 1 } checked="checked" {/if} />{$locale->tr("yes")}
  44      <input class="radio" type="radio" id="config[template_cache_enabled]" name="config[template_cache_enabled]" value="0" {if $template_cache_enabled == 0 } checked="checked" {/if} />{$locale->tr("no")}
  45     </div>
  46     <!-- template_cache_lifetime -->
  47     <div class="field">
  48      <label for="config[template_cache_lifetime]">template_cache_lifetime</label>
  49      <div class="formHelp">{$locale->tr("help_template_cache_lifetime")}</div>
  50      <input style="width:100%" type="text" id="config[template_cache_lifetime]" name="config[template_cache_lifetime]" value="{$template_cache_lifetime}"/>
  51     </div>
  52     <!-- summary_template_cache_lifetime -->
  53     <div class="field">
  54      <label for="config[summary_template_cache_lifetime]">summary_template_cache_lifetime</label>
  55      <div class="formHelp">{$locale->tr("help_summary_template_cache_lifetime")}</div>
  56      <input style="width:100%" type="text" id="config[summary_template_cache_lifetime]" name="config[summary_template_cache_lifetime]" value="{$summary_template_cache_lifetime}"/>
  57     </div>   
  58     <!-- template_http_cache_enabled -->
  59     <div class="field">
  60      <label for="config[template_http_cache_enabled]">template_http_cache_enabled</label>
  61      <div class="formHelp">{$locale->tr("help_template_http_cache_enabled")}</div>
  62      <input class="radio" type="radio" id="config[template_http_cache_enabled]" name="config[template_http_cache_enabled]" value="1" {if $template_http_cache_enabled == 1 } checked="checked" {/if} />{$locale->tr("yes")}
  63      <input class="radio" type="radio" id="config[template_http_cache_enabled]" name="config[template_http_cache_enabled]" value="0" {if $template_http_cache_enabled == 0 } checked="checked" {/if} />{$locale->tr("no")}
  64     </div>
  65     <!-- http_cache_lifetime -->
  66     <div class="field">
  67      <label for="config[http_cache_lifetime]">http_cache_lifetime</label>
  68      <div class="formHelp">{$locale->tr("help_http_cache_lifetime")}</div>
  69      <input style="width:100%" type="text" id="config[http_cache_lifetime]" name="config[http_cache_lifetime]" value="{$http_cache_lifetime}"/>
  70     </div>
  71     <!-- template_load_order -->
  72     <div class="field">
  73      <label for="config[template_load_order]">template_load_order</label>
  74      <div class="formHelp">{$locale->tr("help_template_load_order")}</div>
  75       <select name="config[template_load_order]">
  76         <option value="1" {if $template_load_order == 1} selected="selected" {/if} />{$locale->tr("template_load_order_user_first")}</option>
  77         <option value="2" {if $template_load_order == 2} selected="selected" {/if} />{$locale->tr("template_load_order_default_first")}</option>
  78       </select>
  79     </div>
  80   </div>


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics