'js/libs/jquery/jquery.transit.js',
'js/widget.js'
);
+ public $specialCSS = array();
public $phonegapStandardPlugins = array('ios' => array('ExternalFileUtil'),
'android' => array('webintent'));
public $pluginCSS = array();
for ($i = 0; $i < $numCSS; $i++) {
$sheets[] = 'data/style/style_' . $i . '.css';
}
- $sheets = array_merge($sheets, $this->pluginCSS);
+ $sheets = array_merge($sheets, $this->pluginCSS, $this->specialCSS);
$style = array();
foreach ($sheets as $sheet) {
global $core;
if ($this->book->parametres->customLinkClass == 'WescoSalesLink') {
+ $this->specialJsFiles[] = 'js/libs/interact.js';
$this->specialJsFiles[] = 'js/libs/fluidbook/special/wescosales.js';
+ $this->specialCSS[] = 'style/special/wescosales.css';
}
$this->config->links = array();
$uglify->setArg('no-copyright');
$uglify->setArg(null, $tmp);
$uglify->execute();
- $uglify->debug();
+ //$uglify->debug();
}
$js = file_get_contents($minimized);
$this->config->iconsDimensions = array();
$makepng = !$this->supportSVG();
foreach ($icons as $icon => $color) {
- wsTools::colorizeAndRasterizeIcon($this->theme->parametres->iconSet, $icon, $color, $this->vdir . '/data/images/', 4, $w, $h, $makepng);
+ wsTools::colorizeAndRasterizeIcon($this->theme->parametres->iconSet, $icon, $color, $this->vdir . '/data/images/', $w, $h);
$this->config->iconsDimensions[$icon] = array($w, $h);
}
return $res;
$url = $baseUrl . $view['url'];
$out = $dir . '/' . $k . '.jpeg';
- $cl = new cubeCommandLine('xvfb-run');
+ $cl = new CubeIT_CommandLine('xvfb-run');
$cl->setArg('server-args', '-screen 0, ' . $screenWidth . 'x' . $screenHeight . 'x24');
- $cl->setArg(null, 'CutyCapt');
+ $cl->setArg(null, '/usr/bin/cutycapt');
$cl->setArg('min-width', $screenWidth);
$cl->setArg('min-height', $screenHeight);
$cl->setArg('zoom-factor', $z);