File: //opt/alt/php54/usr/share/pear/RVSeagullMod/modules/photogallery/classes/PhotogalleryAdminMgr.php
<?php
class PhotogalleryAdminMgr extends SGL_Manager
{
function PhotogalleryAdminMgr()
{
SGL::logMessage(null, PEAR_LOG_DEBUG);
parent::SGL_Manager();
$this->pageTitle = 'Photogallery';
$this->template = 'photogallery.html';
$this->_aActionsMapping = array(
'list' => array('list')
);
}
function validate($req, &$input)
{
SGL::logMessage(null, PEAR_LOG_DEBUG);
$this->validated = true;
$input->error = array();
$input->pageTitle = $this->pageTitle;
$input->masterTemplate = 'masterLeftCol.html';
$input->template = $this->template;
$input->action = ($req->get('action')) ? $req->get('action') : 'list';
}
function _cmd_list($input, &$output)
{
}
function display(&$output)
{
$output->addJavascriptFile('js/rvPhotoGalleria/photogallery.js');
$output->addjQueryEvent('click','#testGallary',"jQuery.sitebuilder.photogallery.testphoto(jQuery(this))");
}
}
?>