source: extensions/Random_Header/admin/rh_theme_conf.tpl @ 7358

Last change on this file since 7358 was 7358, checked in by repie38, 13 years ago

moved conf file to db (_config table)
small fix on admin panel
new maintain procedures including upgrade from 2.1 or earlier (get conf from file and delete it)
deleted themes conf is no more stocked

File size: 2.4 KB
Line 
1<div class="themeBox {$i.THEMEBOXCLASS}">
2        <div class="themeName">{$i.CURRENT_THEME_NAME}</div>
3        <div class="themeShot"><img src="{$i.SCREENSHOT_URL}" alt=""></div>
4        <div class="themeActions">
5      <div>
6
7      <a href="javascript:void(0)" onclick="document.getElementById('light{$i.CURRENT_THEME_ID}').style.display='block';document.getElementById('fade').style.display='block'" title="">Configurer</a>
8     
9      </div>
10    </div> <!-- themeActions -->
11  </div>
12<div id="light{$i.CURRENT_THEME_ID}" class="rhconfpanel">
13        <fieldset class="randomHeader_fieldset" style="float:left;">
14               
15                <legend>{'rh_theme'|@translate} : {$i.CURRENT_THEME_NAME}</legend>
16               
17                <p>
18                <label>
19                  {'rh_headers_category'|@translate}<br>
20                  <select class="categoryDropDown" name="{$i.CURRENT_THEME_ID}selected_cat">
21                        <option value="0">{'rh_inactif'|@translate}</option>
22                        {html_options options=$categories selected=$i.CATSELECTED}
23                  </select>
24                </label>
25                </p>
26               
27                <p>
28                <input type="checkbox" {$i.MODE_BACKGROUND} name="{$i.CURRENT_THEME_ID}mode_background">
29                <label>{'rh_as_background'|@translate}</label>
30                </p>
31               
32                <p>
33                <input type="checkbox" {$i.ACTIVE_ON_PICTURE} name="{$i.CURRENT_THEME_ID}active_on_picture">
34                <label>{'rh_on_picture'|@translate}</label>
35                </p>
36               
37                <p>
38                <label>{'rh_additional_css'|@translate} :<br></label>
39                <i>#theHeader :</i><br>
40                <input class="rh_input" type="text" name="{$i.CURRENT_THEME_ID}head_css" value="{$i.HEAD_CSS}"><br>
41                <i>#RandomImage : {'rh_inactif_on_bg'|@translate}</i><br><input class="rh_input"  type="text" name="{$i.CURRENT_THEME_ID}img_css" value="{$i.IMG_CSS}"><br>
42                </p>
43               
44                <p>
45                <label>{'rh_concat'|@translate} :</label>
46                <input type="checkbox" {$i.CONCAT_BEFORE} name="{$i.CURRENT_THEME_ID}concat_before"> {'rh_before'|@translate} &nbsp; <input type="checkbox" {$i.CONCAT_AFTER} name="{$i.CURRENT_THEME_ID}concat_after"> {'rh_after'|@translate}
47                </p>
48               
49        </fieldset>
50        <div  style="float:right;">
51                <a style="border:none;" href="javascript:void(0)" onclick="document.getElementById('light{$i.CURRENT_THEME_ID}').style.display='none';document.getElementById('fade').style.display='none'" title="{'Close this window'|@translate}">
52                <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/exit.png" class="button" alt="exit"></a>
53        </div>
54        <br>
55        <div style="text-align:center;clear:left;"><input class="submit" type="submit" value="{'rh_submit'|@translate}" name="submit" ></div>
56               
57</div> 
Note: See TracBrowser for help on using the repository browser.