source: extensions/Random_Header/admin/rh_admin.tpl @ 7330

Last change on this file since 7330 was 7330, checked in by repie38, 14 years ago

New admin panel

File size: 6.1 KB
Line 
1{html_head}
2<link rel="stylesheet" type="text/css" href="plugins/random_header/admin/rh_admin.css">
3{/html_head}
4
5
6<div class="titrePage"><h2>Random Header v2.2</h2></div>
7<p>{'rh_description'|@translate}</p>
8<p><i>{'rh_aide'|@translate}</i></p>
9<form method="post" action="" class="properties">
10
11
12<div id="themesContent">
13        <fieldset>
14                <legend>{'rh_active_conf'|@translate}</legend>
15               
16               
17                <div class="themeBoxes">
18                {foreach from=$rhthemes item=i}
19                {if $i.CATSELECTED!=0}
20               
21               
22                        <div class="themeBox {$i.THEMEBOXCLASS}">
23                                <div class="themeName">{$i.CURRENT_THEME_NAME}</div>
24                                <div class="themeShot"><img src="{$i.SCREENSHOT_URL}" alt=""></div>
25                                <div class="themeActions">
26                                        <div>
27                                                <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>
28                                        </div>
29                                </div> <!-- themeActions -->
30                        </div>
31                       
32               
33               
34               
35               
36               
37                <div id="light{$i.CURRENT_THEME_ID}" class="rhconfpanel">
38                <fieldset class="randomHeader_fieldset" style="float:left;">
39                       
40                        <legend>{'rh_theme'|@translate} : {$i.CURRENT_THEME_NAME}</legend>
41                       
42                        <p>
43                        <label>
44                      {'rh_headers_category'|@translate}<br />
45                      <select class="categoryDropDown" name="{$i.CURRENT_THEME_ID}selected_cat">
46                        <option value="0">{'rh_inactif'|@translate}</option>
47                        {html_options options=$categories selected=$i.CATSELECTED}
48                      </select>
49                    </label>
50                        </p>
51                       
52                        <p>
53                        <input type="checkbox" {$i.MODE_BACKGROUND} name="{$i.CURRENT_THEME_ID}mode_background">
54                        <label>{'rh_as_background'|@translate}</label>
55                        </p>
56                       
57                        <p>
58                        <input type="checkbox" {$i.ACTIVE_ON_PICTURE} name="{$i.CURRENT_THEME_ID}active_on_picture">
59                        <label>{'rh_on_picture'|@translate}</label>
60                        </p>
61                       
62                        <p>
63                        <label>{'rh_additional_css'|@translate} :<br /></label>
64                        <i>#theHeader :</i><br />
65                        <input class="rh_input" type="text" name="{$i.CURRENT_THEME_ID}head_css" value="{$i.HEAD_CSS}"><br />
66                        <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 />
67                        </p>
68                       
69                        <p>
70                        <label>{'rh_concat'|@translate} :</label>
71                        <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}
72                        </p>
73                       
74                </fieldset>
75                <div  style="float:right;">
76                        <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'" titlte="{'Close this window'|@translate}">
77                        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/exit.png" class="button" alt="exit"></a>
78                </div>
79                <br />
80                <div align="center" style="clear:left;"><input class="submit" type="submit" value="{'rh_submit'|@translate}" name="submit" /></div>
81               
82               
83               
84                </div> 
85
86
87                {/if}
88                {/foreach}
89
90        </fieldset>
91       
92       
93       
94       
95        <fieldset>
96                <legend>{'rh_inactive_conf'|@translate} : </legend>
97               
98               
99                <div class="themeBoxes">
100                {foreach from=$rhthemes item=i}
101                {if $i.CATSELECTED==0}
102               
103               
104                        <div class="themeBox {$i.THEMEBOXCLASS}">
105                                <div class="themeName">{$i.CURRENT_THEME_NAME}</div>
106                                <div class="themeShot"><img src="{$i.SCREENSHOT_URL}" alt=""></div>
107                                <div class="themeActions">
108                                        <div>
109                                                <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>
110                                        </div>
111                                </div> <!-- themeActions -->
112                        </div>
113                       
114               
115               
116               
117               
118               
119                <div id="light{$i.CURRENT_THEME_ID}" class="rhconfpanel">
120                <fieldset class="randomHeader_fieldset" style="float:left;">
121                       
122                        <legend>{'rh_theme'|@translate} : {$i.CURRENT_THEME_NAME}</legend>
123                       
124                        <p>
125                        <label>
126                      {'rh_headers_category'|@translate}<br />
127                      <select class="categoryDropDown" name="{$i.CURRENT_THEME_ID}selected_cat">
128                        <option value="0">{'rh_inactif'|@translate}</option>
129                        {html_options options=$categories selected=$i.CATSELECTED}
130                      </select>
131                    </label>
132                        </p>
133                       
134                        <p>
135                        <input type="checkbox" {$i.MODE_BACKGROUND} name="{$i.CURRENT_THEME_ID}mode_background">
136                        <label>{'rh_as_background'|@translate}</label>
137                        </p>
138                       
139                        <p>
140                        <input type="checkbox" {$i.ACTIVE_ON_PICTURE} name="{$i.CURRENT_THEME_ID}active_on_picture">
141                        <label>{'rh_on_picture'|@translate}</label>
142                        </p>
143                       
144                        <p>
145                        <label>{'rh_additional_css'|@translate} :<br /></label>
146                        <i>#theHeader :</i><br />
147                        <input class="rh_input" type="text" name="{$i.CURRENT_THEME_ID}head_css" value="{$i.HEAD_CSS}"><br />
148                        <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 />
149                        </p>
150                       
151                        <p>
152                        <label>{'rh_concat'|@translate} :</label>
153                        <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}
154                        </p>
155                       
156                </fieldset>
157                <div  style="float:right;">
158                        <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'" titlte="{'Close this window'|@translate}">
159                        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/exit.png" class="button" alt="exit"></a>
160                </div>
161                <br />
162                <div align="center" style="clear:left;"><input class="submit" type="submit" value="{'rh_submit'|@translate}" name="submit" /></div>
163               
164               
165               
166                </div> 
167
168
169                {/if}
170                {/foreach}
171
172        </fieldset>
173       
174</div> 
175<div id="fade" class="black_overlay"></div> 
176 
177<div align="center" style="clear:left"><input class="submit" type="submit" value="{'rh_submit'|@translate}" name="submit" /></div>
178</form>
Note: See TracBrowser for help on using the repository browser.