Ignore:
Timestamp:
Mar 27, 2010, 5:57:14 PM (15 years ago)
Author:
nikrou
Message:

Change farbtastic by color picker to choose animation's colors
Make plugin compatible with piwigo 2.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pwgCumulus/include/pwgCumulusContent.class.php

    r5323 r5405  
    4646    $GLOBALS['template']->assign('PWG_CUMULUS_HREF', get_root_url().'tags.php?display_mode=cumulus');
    4747
    48     $GLOBALS['template']->assign('PWG_CUMULUS_COLOR1', '0x'.substr($this->plugin_config->pwg_cumulus_color1,1));
    49     $GLOBALS['template']->assign('PWG_CUMULUS_COLOR2', '0x'.substr($this->plugin_config->pwg_cumulus_color2,1));
    50     $GLOBALS['template']->assign('PWG_CUMULUS_HICOLOR', '0x'.substr($this->plugin_config->pwg_cumulus_hicolor,1));
     48    $GLOBALS['template']->assign('PWG_CUMULUS_COLOR1', '0x'.$this->plugin_config->pwg_cumulus_color1);
     49    $GLOBALS['template']->assign('PWG_CUMULUS_COLOR2', '0x'.$this->plugin_config->pwg_cumulus_color2);
     50    $GLOBALS['template']->assign('PWG_CUMULUS_HICOLOR', '0x'.$this->plugin_config->pwg_cumulus_hicolor);
    5151
    5252    if (!empty($GLOBALS['template']->smarty->_tpl_vars['tags'])) {
Note: See TracChangeset for help on using the changeset viewer.