source: extensions/Comments_on_Albums/admin/template/config.tpl @ 9641

Last change on this file since 9641 was 9641, checked in by mistic100, 13 years ago

[plugins] Comments on Albums

  • stable version
File size: 2.1 KB
Line 
1{combine_script id='jquery' path='themes/default/js/jquery.min.js'}
2{combine_script id='jquery.cluetip' path='themes/default/js/plugins/jquery.cluetip.js'}
3{combine_css path=$COA_PATH|@cat:'admin/template/style.css'}
4
5{footer_script}
6{literal}
7        jQuery().ready(function(){
8                // Cluetip
9                jQuery('.cluetip').cluetip({
10                        width: 550,
11                        splitTitle: '|'
12                });
13{/literal}             
14                jQuery('select').change(function() {ldelim}
15                        jQuery('#' + jQuery(this).attr('name') + '_live').attr('src', '{$COA_PATH}template/s26/outline_' + jQuery(this).val() + '.png');
16                });
17        });
18
19{/footer_script}
20
21{html_head}
22<style type="text/css">
23        .cluetip:after {ldelim}
24                content:url('{$themeconf.admin_icon_dir}/help.png');
25        }
26</style>
27{/html_head}
28
29<h2 class="version_title">{$COA_VERSION}</h2>
30
31<div class="titrePage">
32        <h2>{'Configuration'|@translate}</h2>
33</div>
34
35<form method="post" action="" class="properties" id="CR_config">
36        <fieldset>
37                <legend><span class="title cluetip" title="{'COA_icon_pack'|@translate}|{'COA_help_icon_pack'|@translate}">{'COA_icon_pack'|@translate}</span></legend>
38                <table>
39                        <tr>
40                                <td><span class="title">{'COA_icon_normal'|@translate}</span></td>
41                                <td>
42                                        <select name="icon_color">
43                                        {foreach from=$COLORS item=COLOR}
44                                                <option value="{$COLOR}" style="color:#{$COLOR};" {if $COLOR == $ICON_COLOR}selected="selected"{/if}>{$COLOR}</option>
45                                        {/foreach}
46                                        </select>
47                                       
48                                        <img id="icon_color_live" class="pwg-icon" src="{$COA_PATH}template/s26/outline_{$ICON_COLOR}.png"/>
49                                </td>
50                        </tr>
51                        <tr>
52                                <td><span class="title">{'COA_icon_over'|@translate}</span></td>
53                                <td>
54                                        <select name="icon_color_over">
55                                        {foreach from=$COLORS item=COLOR}
56                                                <option value="{$COLOR}" style="color:#{$COLOR};" {if $COLOR == $ICON_COLOR_OVER}selected="selected"{/if}>{$COLOR}</option>
57                                        {/foreach}
58                                        </select>
59                                       
60                                        <img id="icon_color_over_live" class="pwg-icon" src="{$COA_PATH}template/s26/outline_{$ICON_COLOR_OVER}.png"/>
61                                </td>
62                        </tr>
63                </table>
64        </fieldset>
65
66        <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="config_submit"/></p>
67</form>
Note: See TracBrowser for help on using the repository browser.