1 | <div class="titrePage"> |
---|
2 | <h2>Look Like GBo -> {$LLGBO_VERSION}</h2> |
---|
3 | </div> |
---|
4 | <h3></h3> |
---|
5 | <form method="post" action="" class="properties"> |
---|
6 | <fieldset> |
---|
7 | <legend>{'llgbo_admin_tooltip_title'|@translate}</legend> |
---|
8 | {combine_css path=$LLGBO_PATH|@cat:"css/look_like_gbo2_admin.css" order="+02"} |
---|
9 | {combine_css path=$LLGBO_PATH|@cat:"farbtastic/farbtastic.css" order="+0"} |
---|
10 | {combine_script id='jquery.farbtastic' require='jquery' path=$LLGBO_PATH|@cat:"farbtastic/farbtastic.js"} |
---|
11 | |
---|
12 | {$LLGBO_DISPLAY_THIS_TOOLTIP} |
---|
13 | <!-- T O O L T I P --> |
---|
14 | <div id="configcontent"> |
---|
15 | <div id="leftpart"> |
---|
16 | <div id="toolTip" > |
---|
17 | <div id="picker"></div> |
---|
18 | <ul> |
---|
19 | <li> |
---|
20 | <label class="no-bold"> |
---|
21 | <span id="llgbotitle" style="color:{$LLGBO_SETTINGS.tooltip_titlecolor}">{'llgo_tooltip_setting'|@translate} </span> |
---|
22 | </label> |
---|
23 | </li> |
---|
24 | <li> |
---|
25 | <label class="no-bold"> |
---|
26 | <span style="color:{$LLGBO_SETTINGS.tooltip_textcolor}">{'llgo_tooltip_width'|@translate} </span> |
---|
27 | <input type="text" name="llgbo_tooltip_width" size="4" maxlength="3" value="{$LLGBO_SETTINGS.tooltip_width}" /> px |
---|
28 | </label> |
---|
29 | </li> |
---|
30 | <li> |
---|
31 | <label class="no-bold"> |
---|
32 | <span style="color:{$LLGBO_SETTINGS.tooltip_textcolor}">{'llgo_tooltip_size'|@translate} </span> |
---|
33 | <input type="text" name="llgbo_tooltip_size" size="4" maxlength="3" value="{$LLGBO_SETTINGS.tooltip_size}" /> px |
---|
34 | </label> |
---|
35 | </li> |
---|
36 | <li> |
---|
37 | <label class="no-bold"> |
---|
38 | <span style="color:{$LLGBO_SETTINGS.tooltip_textcolor}">{'llgbo_tooltip_bordercolor'|@translate} </span> |
---|
39 | <input type="text" name="llgbo_tooltip_bordercolor" size="7" maxlength="7" class="colorwell" value="{$LLGBO_SETTINGS.tooltip_bordercolor}" /> |
---|
40 | </label> |
---|
41 | </li> |
---|
42 | <li> |
---|
43 | <label class="no-bold"> |
---|
44 | <span style="color:{$LLGBO_SETTINGS.tooltip_textcolor}">{'llgbo_tooltip_bgcolor'|@translate} </span> |
---|
45 | <input type="text" name="llgbo_tooltip_bgcolor" size="7" maxlength="7" id="ttbg" class="colorwell" value="{$LLGBO_SETTINGS.tooltip_bgcolor}" /> |
---|
46 | </label> |
---|
47 | </li> |
---|
48 | <li> |
---|
49 | <label class="no-bold"> |
---|
50 | <span style="color:{$LLGBO_SETTINGS.tooltip_textcolor}">{'llgbo_tooltip_titlecolor'|@translate} </span> |
---|
51 | <input type="text" name="llgbo_tooltip_titlecolor" size="7" maxlength="7" class="colorwell" value="{$LLGBO_SETTINGS.tooltip_titlecolor}" /> |
---|
52 | </label> |
---|
53 | </li> |
---|
54 | <li> |
---|
55 | <label class="no-bold"> |
---|
56 | <span style="color:{$LLGBO_SETTINGS.tooltip_textcolor}">{'llgbo_tooltip_textcolor'|@translate} </span> |
---|
57 | <input type="text" name="llgbo_tooltip_textcolor" size="7" maxlength="7" class="colorwell" value="{$LLGBO_SETTINGS.tooltip_textcolor}" /> |
---|
58 | </label> |
---|
59 | </li> |
---|
60 | </ul> |
---|
61 | |
---|
62 | </div> |
---|
63 | |
---|
64 | </div> |
---|
65 | |
---|
66 | </div> |
---|
67 | </fieldset> |
---|
68 | <div class="clearmargin"> </div> |
---|
69 | <p style="text-align: center;"> |
---|
70 | <br /> |
---|
71 | <input class="submit" type="submit" value="{'Reset_To_Default'|@translate}" name="reset"/> |
---|
72 | <input class="submit" type="submit" value="{'preview'|@translate}" name="preview"/> |
---|
73 | <input class="submit" type="submit" value="{'save'|@translate}" name="save" /> |
---|
74 | </p> |
---|
75 | <div align="center"><br><br></div> |
---|
76 | |
---|
77 | </form> |
---|
78 | |
---|
79 | {* -- smarty syntaxe p55 {ldelim} remplace { et {rdelim} remplace } -- *} |
---|
80 | <script type="text/javascript" charset="utf-8"> |
---|
81 | $(document).ready(function() {ldelim} |
---|
82 | var f = $.farbtastic('#picker'); |
---|
83 | var p = $('#picker').css('opacity', 0.65); |
---|
84 | var selected; |
---|
85 | $('.colorwell') |
---|
86 | .each(function () {ldelim} f.linkTo(this); $(this).css('opacity', 0.85); {rdelim}) |
---|
87 | .focus(function() {ldelim} |
---|
88 | if (selected) {ldelim} |
---|
89 | $(selected).css('opacity', 0.85).removeClass('colorwell-selected'); |
---|
90 | {rdelim} |
---|
91 | f.linkTo(this); |
---|
92 | p.css('opacity', 1); |
---|
93 | $(selected = this).css('opacity', 1).addClass('colorwell-selected'); |
---|
94 | |
---|
95 | {rdelim}); |
---|
96 | |
---|
97 | {rdelim}); |
---|
98 | </script> |
---|