source: extensions/Histogram/admin/hgram_config.tpl @ 31968

Last change on this file since 31968 was 8509, checked in by grum, 14 years ago

First commit for histogram plugin

  • Property svn:executable set to *
File size: 1.9 KB
Line 
1
2<h2>{'hgram_config'|@translate}</h2>
3
4<form method="POST" action="" id='iForm'>
5
6
7  <fieldset>
8    <legend>{'hgram_histosize'|@translate}</legend>
9    <label>{'hgram_width'|@translate}&nbsp;<input type="text" id='iHistoWidth' name='f_histo_width' value="{$hgramConfig.histo_width}"></label><br>
10    <label>{'hgram_height'|@translate}&nbsp;<input type="text" id='iHistoHeight' name='f_histo_height' value="{$hgramConfig.histo_height}"></label>
11  </fieldset>
12
13  <fieldset>
14    <legend>{'hgram_histo_rendering'|@translate}</legend>
15
16    <label>{'hgram_method'|@translate}&nbsp;
17      <select id='iHistoMethod' name='f_histo_method'>
18        <option value='L' {if $hgramConfig.histo_method=='L'}selected{/if}>{'hgram_luminance'|@translate} ({'hgram_like_photoshop'|@translate})</option>
19        <option value='A' {if $hgramConfig.histo_method=='A'}selected{/if}>{'hgram_average'|@translate}</option>
20        <option value='M' {if $hgramConfig.histo_method=='M'}selected{/if}>{'hgram_max'|@translate} ({'hgram_like_gimp'|@translate})</option>
21      </select>
22    </label><br>
23
24    <label>{'hgram_bg_color'|@translate}&nbsp;<input type="text" id='iColorBG' name='f_color_bg' value="{$hgramConfig.color_bg}"></label><br>
25    <label>{'hgram_global_color'|@translate}&nbsp;<input type="text" id='iColorV' name='f_color_v' value="{$hgramConfig.color_v}"></label><br>
26    <label>{'hgram_red_color'|@translate}&nbsp;<input type="text" id='iColorR' name='f_color_r' value="{$hgramConfig.color_r}"></label><br>
27    <label>{'hgram_green_color'|@translate}&nbsp;<input type="text" id='iColorG' name='f_color_g' value="{$hgramConfig.color_g}"></label><br>
28    <label>{'hgram_blue_color'|@translate}&nbsp;<input type="text" id='iColorB' name='f_color_b' value="{$hgramConfig.color_b}"></label><br>
29
30  </fieldset>
31
32
33  <div class='cfgBloc'>
34    <input type="submit" value="{'hgram_apply'|@translate}" name='submit_save_config'>
35  </div>
36
37</form>
38
Note: See TracBrowser for help on using the repository browser.