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

Last change on this file since 10791 was 10453, checked in by gbo, 13 years ago

version 2.2.b + fix bug in admin

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