source: extensions/LLGBO2/admin/llgbo_admintooltip.tpl @ 7249

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

2.1.a compliant hdshadowbox

  • Property svn:eol-style set to LF
File size: 3.5 KB
Line 
1{if !empty($LLGBOINFO)}<div class="infos" style="text-align:left;padding-left:50px;" >{$LLGBOINFO|@translate}</div>{/if}
2 <h2> {'Title'|@translate} <br>  {$LLGBO_VERSION}</h2>
3<h3>{'Step2_Title'|@translate}</h3>
4<form method="post" action="" class="properties">
5<fieldset>
6
7<div id="picker"></div>
8<!--           T O O L T I P  -->
9<div id="tooltip" style= "border:{$LLGBO_TOOLTIP_SIZE}px solid {$LLGBO_TOOLTIP_BORDERCOLOR};{$LLGBODISPTOOLTIP};background:{$LLGBO_TOOLTIP_BACKGROUNDCOLOR};color:{$LLGBO_TOOLTIP_COLOR};">  
10       
11        <table align="center"  >
12                <th    id="llgbotitle" style= "color:{$LLGBO_TOOLTIP_TITLECOLOR}">{'llgo_tooltip_setting'|@translate} </th>
13        <tr>
14                <td class="llgbolabel">{'llgo_tooltip_width'|@translate} </td>
15                <td><input type="text" name="llgbo_tooltip_width" class="llgbofield" value="{$LLGBO_TOOLTIP_WIDTH}" />  pixels. </td>
16         </tr>
17         <tr>
18                <td class="llgbolabel">{'llgo_tooltip_size'|@translate}</td>
19                <td ><input type="text" name="llgbo_tooltip_size" class="llgbofield" value="{$LLGBO_TOOLTIP_SIZE}" />  pixels. </td>
20        </tr>
21        <tr>
22                <td class="llgbolabel" >{'llgbo_tooltip_bordercolor'|@translate}</td>
23                <td ><input type="text" name="llgbo_tooltip_bordercolor"  class="colorwell" value="{$LLGBO_TOOLTIP_BORDERCOLOR}" /></td>
24        </tr>
25        <tr>
26                 <td class="llgbolabel">{'llgbo_tooltip_backgroundcolor'|@translate}</td>
27                 <td ><input type="text" name="llgbo_tooltip_backgroundcolor"  id="ttbg" class="colorwell" value="{$LLGBO_TOOLTIP_BACKGROUNDCOLOR}" /> </td>
28        </tr>   
29        <tr>
30                <td class="llgbolabel">{'llgbo_tooltip_titlecolor'|@translate}</td>
31                <td ><input type="text" name="llgbo_tooltip_titlecolor" class="colorwell" value="{$LLGBO_TOOLTIP_TITLECOLOR}" /> </td>
32        </tr>   
33        <tr>
34                <td class="llgbolabel">{'llgbo_tooltip_color'|@translate}</td>
35                <td><input type="text" name="llgbo_tooltip_color"   class="colorwell" value="{$LLGBO_TOOLTIP_COLOR}" /> </td>
36        </tr> 
37        </table>
38</div>
39
40<div align="center"><br><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" /></div>
41</fieldset>
42</form>
43
44{* -- smarty syntaxe p55 {ldelim} remplace  {  et {rdelim} remplace  }    -- *}
45<script type="text/javascript" charset="utf-8">
46  $(document).ready(function() {ldelim}
47    var f = $.farbtastic('#picker');
48    var p = $('#picker').css('opacity', 0.65);
49    var selected;
50    $('.colorwell')
51      .each(function () {ldelim}   f.linkTo(this);   $(this).css('opacity', 0.85);  {rdelim})
52      .focus(function() {ldelim}
53        if (selected) {ldelim}
54         $(selected).css('opacity', 0.85).removeClass('colorwell-selected');
55                {rdelim}
56        f.linkTo(this);
57        p.css('opacity', 1);
58                $(selected = this).css('opacity', 1).addClass('colorwell-selected');
59       
60           {rdelim});
61       
62  {rdelim});
63</script>   
64<script type="text/javascript" charset="utf-8">
65  $(document).ready(function() {ldelim}
66    var f = $.farbtastic('#framepicker');
67    var p = $('#framepicker').css('opacity', 0.45);
68    var selected;
69    $('.colorwellf')
70      .each(function () {ldelim}   f.linkTo(this);   $(this).css('opacity', 0.85);  {rdelim})
71      .focus(function() {ldelim}
72        if (selected) {ldelim}
73         $(selected).css('opacity', 0.85).removeClass('colorwell-selected');
74                {rdelim}
75        f.linkTo(this);
76        p.css('opacity', 1);
77                $(selected = this).css('opacity', 1).addClass('colorwell-selected');
78       
79           {rdelim});
80       
81  {rdelim});
82</script>
Note: See TracBrowser for help on using the repository browser.