source: extensions/Comments_on_Albums/template/config.tpl @ 11874

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

rename language keys

File size: 2.1 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:'template/style_admin.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<div class="titrePage">
28  <h2>Comments on Albums</h2>
29</div>
30
31<form method="post" action="" class="properties" id="CR_config">
32  <fieldset>
33    <legend><span class="title cluetip" title="{'Icons pack'|@translate}|{'COA_help_icon_pack'|@translate}">{'Icons pack'|@translate}</span></legend>
34    <table> 
35      <tr>
36        <td><span class="title">{'Basic state'|@translate}</span></td>
37        <td>
38          <select name="icon_color">
39          {foreach from=$COLORS item=COLOR}
40            <option value="{$COLOR}" {if $COLOR == $ICON_COLOR}selected="selected"{/if}>{$COLOR}</option>
41          {/foreach}
42          </select>
43         
44          <img id="icon_color_live" class="pwg-icon" src="{$COA_PATH}template/s26/{$ICON_COLOR}"/>
45        </td>
46      </tr>
47      <tr>
48        <td><span class="title">{'Over state'|@translate}</span></td>
49        <td>
50          <select name="icon_color_over">
51          {foreach from=$COLORS item=COLOR}
52            <option value="{$COLOR}" style="color:#{$COLOR};" {if $COLOR == $ICON_COLOR_OVER}selected="selected"{/if}>{$COLOR}</option>
53          {/foreach}
54          </select>
55         
56          <img id="icon_color_over_live" class="pwg-icon" src="{$COA_PATH}template/s26/{$ICON_COLOR_OVER}"/>
57        </td>
58      </tr>
59    </table>
60  </fieldset>
61
62  <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="config_submit"/></p>
63</form>
64
65<p>{'COA_comment_validation_link'|@translate}</p>
Note: See TracBrowser for help on using the repository browser.