// Transfert
- `sudo /usr/local/bin/remountmac`;
$this->_rsync(WS_COLLECTIONS . '/resources/' . $collection->collection_id . '/' . $os, "/mnt/macbox" . $this->_iosProjectDir($collection->settings['namespace']) . '/' . CubeIT_Text::str2URL($collection->nom) . '/Resources', false);
}
public $book;
protected $pages;
protected $theme;
- protected $version;
+ public $version;
public $book_id;
protected $themeRoot;
protected $multiApp = false;
protected $pageLabels = array();
+
function __construct($book_id, $version = 'stable', $phonegap = false, $phonegapVersion = 'latest', $dir = null, $standalone = false, $appcache = false, $home = false) {
global $core;
$this->phonegapVersion = self::getPhonegapVersion($phonegapVersion);
$this->appcache = $appcache;
$this->multiApp = $this->home = $home;
+ $this->version = $version;
if ($version == 'stable') {
$this->assets = WS_COMPILE_ASSETS . '/_html5prod';
case 12:
return new basketLink($id, $init, $compiler);
- case 13:
- return null;
+ case 13: // zoom area
+ if ($compiler->version == 'stable') {
+ return null;
+ }
+ return new zoomLink($id, $init, $compiler);
case 14:
return new colorLink($id, $init, $compiler);
case 15:
}
-?>
+class zoomLink extends normalLink {
+
+ public function getDefaultTooltip() {
+ return 'zoom in';
+ }
+
+ public function __construct($id, $init, $compiler) {
+ parent::__construct($id, $init, $compiler);
+
+ fb($id, 'ID');
+ fb($init, 'INIT');
+ fb($compiler, 'COMPILER');
+ }
+
+ public function getClasses() {
+ return array_merge(['zoomPopup'], parent::getClasses());
+ }
+
+
+}
\ No newline at end of file