source: extensions/pwgCumulus/template/admin.tpl @ 10991

Last change on this file since 10991 was 10991, checked in by nikrou, 13 years ago

Add sv_SE language

File size: 2.9 KB
Line 
1{combine_css path="$PWG_CUMULUS_PLUGIN_CSS/admin.css"}
2{combine_css path="$PWG_CUMULUS_PLUGIN_CSS/colorpicker.css"}
3
4{combine_script id="colorpicker" require="jquery" path="$PWG_CUMULUS_PLUGIN_JS/colorpicker.js"}
5{footer_script require="colorpicker"}{literal}
6$(function() {
7$('input.pwg-picker')
8  .each(function() {
9      if ($(this).val() !== undefined) {
10        if ($(this).val().indexOf('#',0)==-1) {
11           $(this).css('background-color', '#'+$(this).val());
12        } else {
13           $(this).css('background-color', $(this).val());
14        }
15      }
16    })
17  .ColorPicker({
18    onSubmit: function(hsb, hex, rgb, el) {
19        $(el).val(hex);
20        $(el).ColorPickerHide();
21        $(el).css('background-color', '#'+hex);
22      },
23    onBeforeShow: function () {
24        $(this).ColorPickerSetColor(this.value);
25      }
26})
27.bind('keyup', function(){
28        $(this).ColorPickerSetColor(this.value);
29});
30});
31{/literal}{/footer_script}
32
33<div class="titrePage">
34  <h2>{'Cumulus Tags Cloud Plugin'|@translate}</h2>
35</div>
36
37<p>
38{'That plugin display tags using a flash movie that rotates them in 3D. It works like a regular tags cloud but in a more amazing and exciting way.'|@translate}
39</p>
40
41<p>
42{'You can choose that mode for tags default display mode by adding (or changing) in the configuration file'|@translate}  <strong>include/config_local.inc.php</strong> :<p>
43<pre>
44$conf['tags_default_display_mode'] = 'cumulus';
45</pre>
46
47<form method="post" action="" class="general">
48  <fieldset>
49    <legend>{'Animation width and height'|@translate}</legend>
50    <p class="field">
51      <label>{'Width'|@translate}
52        <input type="text" name="pwg_cumulus_width" value="{$PWG_CUMULUS_WIDTH}">
53      </label>
54    </p>
55    <p class="field">
56      <label>{'Height'|@translate}
57      <input type="text" name="pwg_cumulus_height" value="{$PWG_CUMULUS_HEIGHT}">
58      </label>
59    </p>
60  </fieldset>
61 
62  <fieldset>
63    <legend>{'Tags size'|@translate}</legend>
64    <p class="field">
65      <label>{'Coefficient'|@translate}
66        <input type="text" name="pwg_cumulus_coeff" value="{$PWG_CUMULUS_COEFF}">
67      </label>     
68    </p>
69  </fieldset>
70 
71  <fieldset>
72    <legend>{'Animation colors'|@translate}</legend>
73    <div id="picker" style="float: right;"></div>
74    <p class="field">
75      <label>{'Color 1'|@translate}
76        <input class="pwg-picker" type="text" name="pwg_cumulus_color1" value="{$PWG_CUMULUS_COLOR1}">
77      </label>     
78    </p>
79    <p class="field">
80    <label>{'Color 2'|@translate}
81      <input class="pwg-picker" type="text" name="pwg_cumulus_color2" value="{$PWG_CUMULUS_COLOR2}">
82    </label>     
83    </p>
84    <p class="field">
85      <label>{'Mouseover color'|@translate}
86        <input class="pwg-picker" type="text" name="pwg_cumulus_hicolor" value="{$PWG_CUMULUS_HICOLOR}">
87      </label>     
88    </p>
89  </fieldset>
90  <p><input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"></p>
91</form>
Note: See TracBrowser for help on using the repository browser.