[ 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_resources.template (source)

   1  <div style="padding-left:10px;" id="resources">
   2     <!-- resources_enabled -->
   3     <div class="field">
   4      <label for="config[resources_enabled]">resources_enabled</label>
   5      <div class="formHelp">{$locale->tr("help_resources_enabled")}</div>    
   6      <input class="radio" type="radio" name="config[resources_enabled]" value="1" {if $resources_enabled == 1 } checked="checked" {/if} />{$locale->tr("yes")}
   7      <input class="radio" type="radio" name="config[resources_enabled]" value="0" {if $resources_enabled == 0 } checked="checked" {/if} />{$locale->tr("no")}
   8     </div>
   9     <!-- where resources are going to be saved -->
  10     <div class="field">
  11      <label for="config[resources_folder]">resources_folder</label>
  12      <div class="formHelp">{$locale->tr("help_resources_folder")}</div>    
  13      <input style="width:100%" type="text" name="config[resources_folder]" value="{$resources_folder}"/>
  14     </div>
  15     <!-- resources naming rule -->
  16     <div class="field">
  17      <label for="config[resources_naming_rule]">resources_naming_rule</label>
  18      <div class="formHelp">{$locale->tr("help_resources_naming_rule")}</div>    
  19       <select name="config[resources_naming_rule]">
  20        <option value="original_file_name" {if $resources_naming_rule == "original_file_name"} selected="selected" {/if} />{$locale->tr("original_file_name")}</option>
  21        <option value="encoded_file_name" {if $resources_naming_rule == "encoded_file_name"} selected="selected" {/if} />{$locale->tr("encoded_file_name")}</option>
  22       </select>
  23     </div>
  24     <!-- thumbnail_method -->
  25     <div class="field">
  26      <label for="config[thumbnail_method]">thumbnail_method</label>
  27      <div class="formHelp">{$locale->tr("help_thumbnail_method")}</div>    
  28       <select name="config[thumbnail_method]">
  29        <option value="imagemagick" {if $thumbnail_method == "imagemagick"} selected="selected" {/if} />ImageMagick</option>
  30        <option value="gd" {if $thumbnail_method == "gd"} selected="selected" {/if} />PHP's GD library</option>
  31        <option value="null" {if $thumbnail_method == "null"} selected="selected" {/if} />None</option>
  32       </select>
  33     </div>
  34     <!-- path_to_convert -->
  35     <div class="field">
  36      <label for="config[path_to_convert]">path_to_convert</label>
  37      <div class="formHelp">{$locale->tr("help_path_to_convert")}</div>    
  38      <input style="width:100%" type="text" name="config[path_to_convert]" value="{$path_to_convert}"/>
  39     </div>
  40     <!-- thumbnail_format -->
  41     <div class="field">
  42      <label for="config[thumbnail_format]">thumbnail_format</label>
  43      <div class="formHelp">{$locale->tr("help_thumbnail_format")}</div>    
  44      <select name="config[thumbnail_format]">
  45        <option value="jpg" {if $thumbnail_format == "jpg"} selected="selected" {/if} />JPG</option>
  46        <option value="png" {if $thumbnail_format == "png"} selected="selected" {/if} />PNG</option>
  47        <option value="gif" {if $thumbnail_format == "gif"} selected="selected" {/if} />GIF</option>
  48        <option value="same" {if $thumbnail_format == "same"} selected="selected" {/if} />{$locale->tr("same_as_image")}</option>            
  49       </select>
  50     </div>
  51     <!-- thumbnail_height -->
  52     <div class="field">
  53      <label for="config[thumbnail_height]">thumbnail_height</label>
  54      <div class="formHelp">{$locale->tr("help_thumbnail_height")}</div>
  55      <input style="width:100%" type="text" name="config[thumbnail_height]" value="{$thumbnail_height}"/>
  56     </div>
  57     <!-- thumbnail_width -->
  58     <div class="field">
  59      <label for="config[thumbnail_width]">thumbnail_width</label>
  60      <div class="formHelp">{$locale->tr("help_thumbnail_width")}</div>    
  61      <input style="width:100%" type="text" name="config[thumbnail_width]" value="{$thumbnail_width}"/>
  62     </div>
  63     <!-- medium_size_thumbnail_width -->
  64     <div class="field">
  65      <label for="config[medium_size_thumbnail_width]">medium_size_thumbnail_width</label>
  66      <div class="formHelp">{$locale->tr("help_medium_size_thumbnail_width")}</div>    
  67      <input style="width:100%" type="text" name="config[medium_size_thumbnail_width]" value="{$medium_size_thumbnail_width}"/>
  68     </div>
  69     <!-- medium_size_thumbnail_height -->
  70     <div class="field">
  71      <label for="config[medium_size_thumbnail_height]">medium_size_thumbnail_height</label>
  72      <div class="formHelp">{$locale->tr("help_medium_size_thumbnail_height")}</div>    
  73      <input style="width:100%" type="text" name="config[medium_size_thumbnail_height]" value="{$medium_size_thumbnail_height}"/>
  74     </div>   
  75     <!-- final_size_thumbnail_width -->
  76     <div class="field">
  77      <label for="config[final_size_thumbnail_width]">final_size_thumbnail_width</label>
  78      <div class="formHelp">{$locale->tr("help_final_size_thumbnail_width")}</div>    
  79      <input style="width:100%" type="text" name="config[final_size_thumbnail_width]" value="{$final_size_thumbnail_width}"/>
  80     </div>   
  81     <!-- final_size_thumbnail_height -->
  82     <div class="field">
  83      <label for="config[final_size_thumbnail_height]">final_size_thumbnail_height</label>
  84      <div class="formHelp">{$locale->tr("help_final_size_thumbnail_height")}</div>    
  85      <input style="width:100%" type="text" name="config[final_size_thumbnail_height]" value="{$final_size_thumbnail_height}"/>
  86     </div>   
  87     <!-- thumbnails_keep_aspect_ratio -->
  88     <div class="field">
  89      <label for="config[thumbnails_keep_aspect_ratio]">thumbnails_keep_aspect_ratio</label>
  90      <div class="formHelp">{$locale->tr("help_thumbnails_keep_aspect_ratio")}</div>
  91      <input class="radio" type="radio" name="config[thumbnails_keep_aspect_ratio]" value="1" {if $thumbnails_keep_aspect_ratio == 1 } checked="checked" {/if} />{$locale->tr("yes")}
  92      <input class="radio" type="radio" name="config[thumbnails_keep_aspect_ratio]" value="0" {if $thumbnails_keep_aspect_ratio == 0 } checked="checked" {/if} />{$locale->tr("no")}
  93     </div>
  94     <!-- thumbnail_generator_force_use_gd1 -->
  95     <div class="field">
  96      <label for="config[thumbnail_generator_force_use_gd1]">thumbnail_generator_force_use_gd1</label>
  97      <div class="formHelp">{$locale->tr("help_thumbnail_generator_force_use_gd1")}</div>
  98      <input class="radio" type="radio" name="config[thumbnail_generator_force_use_gd1]" value="1" {if $thumbnail_generator_force_use_gd1 == 1 } checked="checked" {/if} />{$locale->tr("yes")}
  99      <input class="radio" type="radio" name="config[thumbnail_generator_force_use_gd1]" value="0" {if $thumbnail_generator_force_use_gd1 == 0 } checked="checked" {/if} />{$locale->tr("no")}
 100     </div>
 101     <!-- thumbnail_generator_use_smoothing_algorithm -->
 102     <div class="field">
 103      <label for="config[thumbnail_generator_use_smoothing_algorithm]">thumbnail_generator_use_smoothing_algorithm</label>
 104      <div class="formHelp">{$locale->tr("help_thumbnail_generator_user_smoothing_algorithm")}</div>
 105      <select name="config[thumbnail_generator_use_smoothing_algorithm]">
 106       <option value="0" {if $thumbnail_generator_use_smoothing_algorithm == 0 } selected="selected" {/if} />No filter</option>
 107       <option value="1" {if $thumbnail_generator_use_smoothing_algorithm == 1 } selected="selected" {/if} />PHP ImageCopyResampled</option>
 108       <option value="2" {if $thumbnail_generator_use_smoothing_algorithm == 2 } selected="selected" {/if} />Bi-linear</option>
 109       <option value="3" {if $thumbnail_generator_use_smoothing_algorithm == 3 } selected="selected" {/if} />Bi-cubic</option>
 110      </select>
 111     </div>           
 112     <!-- resources_quota -->
 113     <div class="field">
 114      <label for="config[resources_quota]">resources_quota</label>
 115      <div class="formHelp">{$locale->tr("help_resources_quota")}</div>
 116      <input style="width:100%" type="text" name="config[resources_quota]" value="{$resources_quota}"/>
 117     </div>
 118     <!-- resource_server_http_cache_enabled -->
 119     <div class="field">
 120      <label for="config[resource_server_http_cache_enabled]">resource_server_http_cache_enabled</label>
 121      <div class="formHelp">{$locale->tr("help_resource_server_http_cache_enabled")}</div>
 122      <input class="radio" type="radio" name="config[resource_server_http_cache_enabled]" value="1" {if $resource_server_http_cache_enabled == 1 } checked="checked" {/if} />{$locale->tr("yes")}
 123      <input class="radio" type="radio" name="config[resource_server_http_cache_enabled]" value="0" {if $resource_server_http_cache_enabled == 0 } checked="checked" {/if} />{$locale->tr("no")}
 124     </div>
 125     <!-- resource_server_http_cache_lifetime -->
 126     <div class="field">
 127      <label for="config[resource_server_http_cache_lifetime]">resource_server_http_cache_lifetime</label>
 128      <div class="formHelp">{$locale->tr("help_resource_server_http_cache_lifetime")}</div>    
 129      <input style="width:100%" type="text" name="config[resource_server_http_cache_lifetime]" value="{$resource_server_http_cache_lifetime}"/>
 130     </div>
 131  </div>  


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