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

Last change on this file since 4591 was 4591, checked in by EXFTB, 14 years ago

LLGBO - version J - fix bug + language adaptation

  • Property svn:eol-style set to LF
File size: 8.8 KB
Line 
1
2<div class="infos" style="text-align:left;padding-left:45px;" >{$LLGBOINFO|@translate}</div>
3 <h2> {'Title'|@translate} <br>  {$LLGBO_VERSION}</h2>
4 <h3>{'Step3_Title'|@translate}</h3>
5<form method="post" action="{$llgbo_F_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"><selected="selected">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                </select> <input class="submit" type="submit" value="{'previewsamples'|@translate}" name="previewsample"/>
18        </div>
19        <table id="llgboframetable">
20        <tr>
21                <td   class="llgbolabel" >{'llgbo_title_frame_color'|@translate} </td>
22                <td ><input type="text" name="llgbo_title_frame_color" style="background-color:{$LLGBO_TITLE_FRAME_COLOR}" class="colorwellf" value="{$LLGBO_TITLE_FRAME_COLOR}" /> </td>
23        </tr>   
24        <tr>   
25                <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>
26                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize0"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE0}" /></td>
27        </tr>
28        <tr>
29                <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>
30                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize1"   class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE1}" /></td>
31        </tr>
32        <tr>
33                <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>
34                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize2"   class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE2}" /></td>
35        </tr>
36        <tr>   
37           <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>
38                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize3" class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE3}" /></td>
39        </tr>
40        <tr>
41                <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>
42                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize4"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE4}" /></td>
43        </tr>
44        <tr>
45                <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>
46                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdsize5"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE5}" /></td>
47        </tr>
48        <tr>   
49           <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>
50                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdsize6"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE6}" /></td>
51        </tr>
52        <tr>
53                <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>
54                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize7" class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE7}" /></td>
55        </tr>
56        <tr>
57                <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>
58                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdsize8"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE8}" /></td>
59        </tr>
60        <tr>   
61           <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>
62                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdsize9"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE9}" /></td>
63        </tr>
64        <tr>
65                <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>
66                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize10"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE10}" /></td>
67        </tr>
68        <tr>
69                <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>
70                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize11"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE11}" /></td>
71        </tr>
72                <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>
73                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize12" class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE12}" /></td>
74        </tr>
75        <tr>   
76           <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>
77                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize13"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE13}" /></td>
78        </tr>
79        <tr>
80                <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>
81                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize14"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE14}" /></td>
82        </tr>
83        <tr>
84                <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>
85                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize15"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE15}" /></td>
86         </tr>
87         
88         </table>
89        {$FRAME_END}
90<div align="center"><br> <input class="submit" type="submit" value="{'preview'|@translate}" name="preview"/> <input class="submit" type="submit" value="{'save'|@translate}" name="save" />
91 
92</div>
93</fieldset>
94</form>
95
96{* -- smarty syntaxe p55 {ldelim} remplace  {  et {rdelim} remplace  }    -- *}
97<script type="text/javascript" charset="utf-8">
98  $(document).ready(function() {ldelim}
99    var f = $.farbtastic('#framepicker');
100    var p = $('#framepicker').css('opacity', 0.65);
101    var selected;
102    $('.colorwellf')
103      .each(function () {ldelim}   f.linkTo(this);   $(this).css('opacity', 0.85);  {rdelim})
104      .focus(function() {ldelim}
105        if (selected) {ldelim}
106         $(selected).css('opacity', 0.85).removeClass('colorwell-selected');
107                {rdelim}
108        f.linkTo(this);
109        p.css('opacity', 1);
110                $(selected = this).css('opacity', 1).addClass('colorwell-selected');
111       
112           {rdelim});
113       
114  {rdelim});
115</script>
Note: See TracBrowser for help on using the repository browser.