Changeset 6107 for extensions/ColorStat/cstat_aip_install.class.inc.php
- Timestamp:
- May 7, 2010, 10:23:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ColorStat/cstat_aip_install.class.inc.php
r5961 r6107 10 10 See main.inc.php for release information 11 11 12 LMT_AIP : classe to manage plugin admin pages13 14 12 --------------------------------------------------------------------------- */ 13 14 if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 15 15 16 16 include_once('cstat_root.class.inc.php'); … … 128 128 $smallColorTable=ColorStat::getColorTable($this->colorTableSize['small'][0],$this->colorTableSize['small'][1]); 129 129 $largeColorTable=ColorStat::getColorTable($this->colorTableSize['large'][0],$this->colorTableSize['large'][1]); 130 $template->assign('smallTableColor', $this->htmlColorTable($smallColorTable, 19 ));131 $template->assign('largeTableColor', $this->htmlColorTable($largeColorTable, 10 ));130 $template->assign('smallTableColor', $this->htmlColorTable($smallColorTable, 19, '', 'color0px')); 131 $template->assign('largeTableColor', $this->htmlColorTable($largeColorTable, 10, '', 'color0px')); 132 132 133 133 $template->assign( … … 135 135 $this->htmlColorList( 136 136 ColorStat::getFileColors(dirname($this->getFileLocation()).'/image/sample1.png', $smallColorTable, Array('quality' => 8, 'numColors' => 16)), 137 16, 18, '', 'colorListSample '137 16, 18, '', 'colorListSample color0px' 138 138 ) 139 139 ); … … 144 144 $this->htmlColorList( 145 145 ColorStat::getFileColors(dirname($this->getFileLocation()).'/image/sample1.png', $largeColorTable, Array('quality' => 8, 'numColors' => 16)), 146 16, 18, '', 'colorListSample '146 16, 18, '', 'colorListSample color0px' 147 147 ) 148 148 ); … … 153 153 $this->htmlColorList( 154 154 ColorStat::getFileColors(dirname($this->getFileLocation()).'/image/sample2.png', $smallColorTable, Array('quality' => 8, 'numColors' => 16)), 155 16, 18, '', 'colorListSample '155 16, 18, '', 'colorListSample color0px' 156 156 ) 157 157 ); … … 162 162 $this->htmlColorList( 163 163 ColorStat::getFileColors(dirname($this->getFileLocation()).'/image/sample2.png', $largeColorTable, Array('quality' => 8, 'numColors' => 16)), 164 16, 18, '', 'colorListSample '164 16, 18, '', 'colorListSample color0px' 165 165 ) 166 166 ); … … 170 170 unset($largeColorTable); 171 171 172 $this->config['analyze .pps']=round($pps/4,0);172 $this->config['analyze_pps']=round($pps/4,0); 173 173 $this->saveConfig(); 174 174 … … 202 202 { 203 203 $this->config['newInstall']='n'; 204 $this->config['analyze .colorTable']=$tableSize;204 $this->config['analyze_colorTable']=$tableSize; 205 205 $this->saveConfig(); 206 206
Note: See TracChangeset
for help on using the changeset viewer.