source: extensions/LLGBO2/admin/llgbo_adminframe.tpl @ 6234

Revision 6234, 9.0 KB checked in by EXFTB, 9 years ago (diff)

2.1.a compliant hdshadowbox

  • Property svn:eol-style set to LF
Line 
1
2{if !empty($LLGBOINFO)}<div class="infos" style="text-align:left;padding-left:50px;" >{$LLGBOINFO|@translate}</div>{/if}
3 <h2> {'Title'|@translate} <br>  {$LLGBO_VERSION}</h2>
4 <h3>{'Step3_Title'|@translate}</h3>
5<form method="post" action="" class="properties">
6<fieldset>
7        <div id="framepicker"> </div>
8        <span id="gboh2" style ="background:transparent;color:{$LLGBO_TITLE_FRAME_COLOR}">{'llgbo_title_frame_color'|@translate} </span>
9        {$FRAME_BEGIN}
10        <div align="center">  <span id="llgbotitle"> {'llgbo_frame_sample'|@translate} </span> <select name="sample">
11                <option label="GOLD" value="GOLD">Gold</option>
12                <option label="BLUE" value="BLUE">Blue</option>
13                <option label="METAL" value="METAL">Metal</option>
14                <option label="BLACK" value="BLACK">Black</option>
15                <option label="WHITE" value="WHITE">White</option>
16                <option label="B_W" value="B_W">Black&White</option>
17                <option label="MY_LAST_VALUES" value="MY_LAST_VALUES"><selected="selected">MyLastValues</option>
18                </select> <input class="submit" type="submit" value="{'previewsamples'|@translate}" name="previewsample"/>
19        </div>
20        <table id="llgboframetable">
21        <tr>
22                <td   class="llgbolabel" >{'llgbo_title_frame_color'|@translate} </td>
23                <td ><input type="text" name="llgbo_title_frame_color" style="background-color:{$LLGBO_TITLE_FRAME_COLOR}" class="colorwellf" value="{$LLGBO_TITLE_FRAME_COLOR}" /> </td>
24        </tr>   
25        <tr>   
26                <td class="llgbolabel" >{'llgbo_frame_bdcolor0'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor0"  style="background-color:{$LLGBO_FRAME_BDCOLOR0}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR0}" /></td>
27                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize0"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE0}" /></td>
28        </tr>
29        <tr>
30                <td class="llgbolabel" >{'llgbo_frame_bdcolor1'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor1"  style="background-color:{$LLGBO_FRAME_BDCOLOR1}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR1}" /></td>
31                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize1"   class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE1}" /></td>
32        </tr>
33        <tr>
34                <td class="llgbolabel" >{'llgbo_frame_bdcolor2'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor2"  style="background-color:{$LLGBO_FRAME_BDCOLOR2}"  class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR2}" /></td>
35                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize2"   class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE2}" /></td>
36        </tr>
37        <tr>   
38           <td class="llgbolabel" >{'llgbo_frame_bdcolor3'|@translate}</td>     <td ><input type="text" name="llgbo_frame_bdcolor3" style="background-color:{$LLGBO_FRAME_BDCOLOR3}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR3}" /></td>
39                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize3" class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE3}" /></td>
40        </tr>
41        <tr>
42                <td class="llgbolabel" >{'llgbo_frame_bdcolor4'|@translate}</td>        <td ><input type="text" name="llgbo_frame_bdcolor4" style="background-color:{$LLGBO_FRAME_BDCOLOR4}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR4}" /></td>
43                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize4"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE4}" /></td>
44        </tr>
45        <tr>
46                <td class="llgbolabel" >{'llgbo_frame_bdcolor5'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor5" style="background-color:{$LLGBO_FRAME_BDCOLOR5}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR5}" /></td>
47                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdsize5"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE5}" /></td>
48        </tr>
49        <tr>   
50           <td class="llgbolabel" >{'llgbo_frame_bdcolor6'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor6" style="background-color:{$LLGBO_FRAME_BDCOLOR6}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR6}" /></td>
51                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdsize6"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE6}" /></td>
52        </tr>
53        <tr>
54                <td class="llgbolabel" >{'llgbo_frame_bdcolor7'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor7" style="background-color:{$LLGBO_FRAME_BDCOLOR7}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR7}" /></td>
55                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize7" class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE7}" /></td>
56        </tr>
57        <tr>
58                <td class="llgbolabel" >{'llgbo_frame_bdcolor8'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor8" style="background-color:{$LLGBO_FRAME_BDCOLOR8}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR8}" /></td>
59                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdsize8"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE8}" /></td>
60        </tr>
61        <tr>   
62           <td class="llgbolabel" >{'llgbo_frame_bdcolor9'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor9" style="background-color:{$LLGBO_FRAME_BDCOLOR9}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR9}" /></td>
63                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdsize9"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE9}" /></td>
64        </tr>
65        <tr>
66                <td class="llgbolabel" >{'llgbo_frame_bdcolor10'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor10"  style="background-color:{$LLGBO_FRAME_BDCOLOR10}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR10}" /></td>
67                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize10"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE10}" /></td>
68        </tr>
69        <tr>
70                <td class="llgbolabel" >{'llgbo_frame_bdcolor11'|@translate}</td>       <td ><input type="text" name="llgbo_frame_bdcolor11" style="background-color:{$LLGBO_FRAME_BDCOLOR11}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR11}" /></td>
71                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize11"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE11}" /></td>
72        </tr>
73                <td class="llgbolabel" >{'llgbo_frame_bdcolor12'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor12" style="background-color:{$LLGBO_FRAME_BDCOLOR12}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR12}" /></td>
74                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize12" class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE12}" /></td>
75        </tr>
76        <tr>   
77           <td class="llgbolabel" >{'llgbo_frame_bdcolor13'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor13" style="background-color:{$LLGBO_FRAME_BDCOLOR13}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR13}" /></td>
78                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize13"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE13}" /></td>
79        </tr>
80        <tr>
81                <td class="llgbolabel" >{'llgbo_frame_bdcolor14'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor14"  style="background-color:{$LLGBO_FRAME_BDCOLOR14}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR14}" /></td>
82                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize14"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE14}" /></td>
83        </tr>
84        <tr>
85                <td class="llgbolabel" >{'llgbo_frame_bdcolor15'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdcolor15" style="background-color:{$LLGBO_FRAME_BDCOLOR15}" class="colorwellf" value="{$LLGBO_FRAME_BDCOLOR15}" /></td>
86                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize15"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE15}" /></td>
87         </tr>
88         
89         </table>
90        {$FRAME_END}
91<div align="center"><br><input class="submit" type="submit" value="{'Reset_To_Default'|@translate}" name="reset"/> <input class="submit" type="submit" value="{'preview'|@translate}" name="preview"/> <input class="submit" type="submit" value="{'save'|@translate}" name="save" />
92 
93</div>
94</fieldset>
95</form>
96
97{* -- smarty syntaxe p55 {ldelim} remplace  {  et {rdelim} remplace  }    -- *}
98<script type="text/javascript" charset="utf-8">
99  $(document).ready(function() {ldelim}
100    var f = $.farbtastic('#framepicker');
101    var p = $('#framepicker').css('opacity', 0.65);
102    var selected;
103    $('.colorwellf')
104      .each(function () {ldelim}   f.linkTo(this);   $(this).css('opacity', 0.85);  {rdelim})
105      .focus(function() {ldelim}
106        if (selected) {ldelim}
107         $(selected).css('opacity', 0.85).removeClass('colorwell-selected');
108                {rdelim}
109        f.linkTo(this);
110        p.css('opacity', 1);
111                $(selected = this).css('opacity', 1).addClass('colorwell-selected');
112       
113           {rdelim});
114       
115  {rdelim});
116</script>
Note: See TracBrowser for help on using the repository browser.