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

Last change on this file since 13250 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: 3.0 KB
Line 
1{$stylett}
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>{'Step2_Title'|@translate}</h3>
5<form method="post" action="" class="properties">
6<fieldset>
7{combine_css path=$LLGBO_PATH|@cat:"css/look_like_gbo2_admin.css" order="+02"}
8{combine_css path=$LLGBO_PATH|@cat:"farbtastic/farbtastic.css" order="+0"}
9{combine_script id='jquery.farbtastic'  require='jquery'   path=$LLGBO_PATH|@cat:"farbtastic/farbtastic.js"}
10<div id="picker"></div>
11
12<!--           T O O L T I P  -->
13<div id="toolTip" >  
14       
15        <table align="center"  >
16                <th    id="llgbotitle" style= "color:{$LLGBO_TOOLTIP_TITLECOLOR}">{'llgo_tooltip_setting'|@translate} </th>
17        <tr>
18                <td class="llgbolabel">{'llgo_tooltip_width'|@translate} </td>
19                <td><input type="text" name="llgbo_tooltip_width" class="llgbofield" value="{$LLGBO_TOOLTIP_WIDTH}" />  pixels. </td>
20         </tr>
21         <tr>
22                <td class="llgbolabel">{'llgo_tooltip_size'|@translate}</td>
23                <td ><input type="text" name="llgbo_tooltip_size" class="llgbofield" value="{$LLGBO_TOOLTIP_SIZE}" />  pixels. </td>
24        </tr>
25        <tr>
26                <td class="llgbolabel" >{'llgbo_tooltip_bordercolor'|@translate}</td>
27                <td ><input type="text" name="llgbo_tooltip_bordercolor"  class="colorwell" value="{$LLGBO_TOOLTIP_BORDERCOLOR}" /></td>
28        </tr>
29        <tr>
30                 <td class="llgbolabel">{'llgbo_tooltip_backgroundcolor'|@translate}</td>
31                 <td ><input type="text" name="llgbo_tooltip_backgroundcolor"  id="ttbg" class="colorwell" value="{$LLGBO_TOOLTIP_BACKGROUNDCOLOR}" /> </td>
32        </tr>   
33        <tr>
34                <td class="llgbolabel">{'llgbo_tooltip_titlecolor'|@translate}</td>
35                <td ><input type="text" name="llgbo_tooltip_titlecolor" class="colorwell" value="{$LLGBO_TOOLTIP_TITLECOLOR}" /> </td>
36        </tr>   
37        <tr>
38                <td class="llgbolabel">{'llgbo_tooltip_color'|@translate}</td>
39                <td><input type="text" name="llgbo_tooltip_color"   class="colorwell" value="{$LLGBO_TOOLTIP_COLOR}" /> </td>
40        </tr> 
41        </table>
42</div>
43
44<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>
45</fieldset>
46</form>
47
48{* -- smarty syntaxe p55 {ldelim} remplace  {  et {rdelim} remplace  }    -- *}
49<script type="text/javascript" charset="utf-8">
50  $(document).ready(function() {ldelim}
51    var f = $.farbtastic('#picker');
52    var p = $('#picker').css('opacity', 0.65);
53    var selected;
54    $('.colorwell')
55      .each(function () {ldelim}   f.linkTo(this);   $(this).css('opacity', 0.85);  {rdelim})
56      .focus(function() {ldelim}
57        if (selected) {ldelim}
58         $(selected).css('opacity', 0.85).removeClass('colorwell-selected');
59                {rdelim}
60        f.linkTo(this);
61        p.css('opacity', 1);
62                $(selected = this).css('opacity', 1).addClass('colorwell-selected');
63       
64           {rdelim});
65       
66  {rdelim});
67</script>   
Note: See TracBrowser for help on using the repository browser.