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

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

code cleanup

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