{combine_css path="$PWG_PHOTO_WIDGET_PLUGIN_CSS/admin.css"} {combine_css path="$PWG_PHOTO_WIDGET_PLUGIN_CSS/colorpicker.css"} {combine_script id="colorpicker" require="jquery" path="$PWG_PHOTO_WIDGET_PLUGIN_JS/colorpicker.js"} {footer_script require="colorpicker"} {literal} $(function() { $('input[name=pw_all_categories]').change(function() { if ($(this).attr('value')==0) { $('#pw-select-categories').removeClass('hide'); } else { $('#pw-select-categories').addClass('hide'); } }); $('input.pwg-picker') .each(function() { if ($(this).val() !== undefined) { $(this).css('background-color', '#'+$(this).val()); } }) .ColorPicker({ onSubmit: function(hsb, hex, rgb, el) { $(el).val(hex); $(el).ColorPickerHide(); $(el).css('background-color', '#'+hex); }, onBeforeShow: function () { $(this).ColorPickerSetColor(this.value); } }) .bind('keyup', function(){ $(this).ColorPickerSetColor(this.value); }); }); {/literal} {/footer_script}

{'Photo Widget Plugin'|@translate}

{'That plugin display pictures using a flash movie that rotates them in 3D. It works like regulars categories but in a more amazing and exciting way.'|@translate}

{'You can choose that mode for displaying one, severals or all categories'|@translate}

{'Main configuration'|@translate}

{'All categories'|@translate} ? {html_radios name="pw_all_categories" options=$PW_CAT_CHOICES selected=$PW_ALL_CATEGORIES}

{'Animation size'|@translate}

{'Animation background color'|@translate}