DIR : /home/kozerus/public_html/piwigo/themes/smartpocket/admin/maintain.inc.php
/home/kozerus/public_html/piwigo/themes/smartpocket/admin
<?php
class smartpocket_maintain extends ThemeMaintain
{
private $installed = false;
private $default_conf = array(
'loop' => true,//true - false
'autohide' => 5000,//5000 - 0
);
function activate($theme_version, &$errors=array())
{
global $conf, $prefixeTable;
if (empty($conf['smartpocket']))
{
conf_update_param('smartpocket', $this->default_conf, true);
}
elseif (count(safe_unserialize($conf['smartpocket'])) != 2)
{
$conff = safe_unserialize($conf['smartpocket']);
$config = array(
'loop' => (!empty($conff['loop'])) ? $conff['loop'] :true,
'autohide' => (!empty($conff['autohide'])) ? $conff['autohide'] :5000,
);
conf_update_param('smartpocket', $config, true);
}
$this->installed = true;
}
function deactivate()
{
}
function delete()
{
// delete configuration
conf_delete_param('smartpocket');
}
}
?>
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer