[5405] | 1 | {html_head} |
---|
| 2 | <link rel="stylesheet" type="text/css" href="{$PWG_CUMULUS_PLUGIN_CSS}/admin.css"> |
---|
| 3 | <link rel="stylesheet" type="text/css" href="{$PWG_CUMULUS_PLUGIN_CSS}/colorpicker.css"> |
---|
| 4 | {known_script id="jquery" src=$ROOT_URL|cat:"themes/default/js/jquery.packed.js"} |
---|
| 5 | {known_script id="colorpicker" src="$PWG_CUMULUS_PLUGIN_JS/colorpicker.js"} |
---|
| 6 | {literal} |
---|
| 7 | <script type="text/javascript"> |
---|
| 8 | $(function() { |
---|
| 9 | $('input.pwg-picker') |
---|
| 10 | .each(function() { |
---|
| 11 | if ($(this).val() !== undefined) { |
---|
[6379] | 12 | if ($(this).val().indexOf('#',0)==-1) { |
---|
| 13 | $(this).css('background-color', '#'+$(this).val()); |
---|
| 14 | } else { |
---|
| 15 | $(this).css('background-color', $(this).val()); |
---|
| 16 | } |
---|
[5405] | 17 | } |
---|
| 18 | }) |
---|
| 19 | .ColorPicker({ |
---|
| 20 | onSubmit: function(hsb, hex, rgb, el) { |
---|
| 21 | $(el).val(hex); |
---|
| 22 | $(el).ColorPickerHide(); |
---|
| 23 | $(el).css('background-color', '#'+hex); |
---|
| 24 | }, |
---|
| 25 | onBeforeShow: function () { |
---|
| 26 | $(this).ColorPickerSetColor(this.value); |
---|
| 27 | } |
---|
| 28 | }) |
---|
| 29 | .bind('keyup', function(){ |
---|
| 30 | $(this).ColorPickerSetColor(this.value); |
---|
| 31 | }); |
---|
| 32 | }); |
---|
| 33 | </script> |
---|
| 34 | {/literal} |
---|
| 35 | {/html_head} |
---|
| 36 | |
---|
[5201] | 37 | <div class="titrePage"> |
---|
[5323] | 38 | <h2>{'Cumulus Tags Cloud Plugin'|@translate}</h2> |
---|
[5201] | 39 | </div> |
---|
| 40 | |
---|
| 41 | <p> |
---|
[5323] | 42 | {'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} |
---|
[5201] | 43 | </p> |
---|
| 44 | |
---|
| 45 | <p> |
---|
[5323] | 46 | {'Vous 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> |
---|
| 47 | <pre> |
---|
| 48 | $conf['tags_default_display_mode'] = 'cumulus'; |
---|
| 49 | </pre> |
---|
[5201] | 50 | |
---|
| 51 | <form method="post" action="" class="general"> |
---|
| 52 | <fieldset> |
---|
[5323] | 53 | <legend>{'Animation width and height'|@translate}</legend> |
---|
[5201] | 54 | <p class="field"> |
---|
[5323] | 55 | <label>{'Width'|@translate} |
---|
[5201] | 56 | <input type="text" name="pwg_cumulus_width" value="{$PWG_CUMULUS_WIDTH}"> |
---|
| 57 | </label> |
---|
| 58 | </p> |
---|
| 59 | <p class="field"> |
---|
[5323] | 60 | <label>{'Height'|@translate} |
---|
[5201] | 61 | <input type="text" name="pwg_cumulus_height" value="{$PWG_CUMULUS_HEIGHT}"> |
---|
| 62 | </label> |
---|
| 63 | </p> |
---|
| 64 | </fieldset> |
---|
| 65 | |
---|
| 66 | <fieldset> |
---|
[5323] | 67 | <legend>{'Tags size'|@translate}</legend> |
---|
[5201] | 68 | <p class="field"> |
---|
[5323] | 69 | <label>{'Coefficient'|@translate} |
---|
[5201] | 70 | <input type="text" name="pwg_cumulus_coeff" value="{$PWG_CUMULUS_COEFF}"> |
---|
| 71 | </label> |
---|
| 72 | </p> |
---|
| 73 | </fieldset> |
---|
| 74 | |
---|
| 75 | <fieldset> |
---|
[5405] | 76 | <legend>{'Animation colors'|@translate}</legend> |
---|
[5201] | 77 | <div id="picker" style="float: right;"></div> |
---|
| 78 | <p class="field"> |
---|
[5323] | 79 | <label>{'Color 1'|@translate} |
---|
[5405] | 80 | <input class="pwg-picker" type="text" name="pwg_cumulus_color1" value="{$PWG_CUMULUS_COLOR1}"> |
---|
[5201] | 81 | </label> |
---|
| 82 | </p> |
---|
| 83 | <p class="field"> |
---|
[5323] | 84 | <label>{'Color 2'|@translate} |
---|
[5405] | 85 | <input class="pwg-picker" type="text" name="pwg_cumulus_color2" value="{$PWG_CUMULUS_COLOR2}"> |
---|
[5201] | 86 | </label> |
---|
| 87 | </p> |
---|
| 88 | <p class="field"> |
---|
[5323] | 89 | <label>{'Mouseover color'|@translate} |
---|
[5405] | 90 | <input class="pwg-picker" type="text" name="pwg_cumulus_hicolor" value="{$PWG_CUMULUS_HICOLOR}"> |
---|
[5201] | 91 | </label> |
---|
| 92 | </p> |
---|
| 93 | </fieldset> |
---|
| 94 | <p><input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"></p> |
---|
| 95 | </form> |
---|