Fixed a problem where the operations menu was showing up at inappropriate times (a problem we already solved, but accidentally left commented out on an earlier checkin). Also, since the sitemap is a top level operation that is not based on gridView, enabled the site operations menu explicitly from within the maps controller.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@773 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -272,7 +272,7 @@ class AppController extends Controller {
|
||||
Configure::write('debug', '0');
|
||||
|
||||
$this->addDefaultSideMenuLinks();
|
||||
//$this->sideMenuEnable('SITE', $this->op_area, false);
|
||||
$this->sideMenuEnable('SITE', $this->op_area, false);
|
||||
|
||||
foreach ($this->sidemenu['areas'] AS $area_name => $area) {
|
||||
if (empty($this->params['dev']))
|
||||
|
||||
@@ -52,6 +52,7 @@ class MapsController extends AppController {
|
||||
$this->Session->setFlash(__('Invalid Item.', true));
|
||||
$this->redirect(array('action'=>'index'));
|
||||
}
|
||||
$this->sideMenuEnable('SITE', $this->op_area);
|
||||
$this->set('info', $this->mapInfo($id, $requested_width));
|
||||
$this->set('title', "Site Map");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user