Changeset 482
- Timestamp:
- 02/18/08 21:20:27 (11 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
module.inc (modified) (5 diffs)
-
modules/base/reportDashboard.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/module.inc
r479 r482 65 65 66 66 // Public folder URL 67 define('OWA_PUBLIC_URL', $gallery_base_url.' /modules/owa/public/');67 define('OWA_PUBLIC_URL', $gallery_base_url.'modules/owa/public/'); 68 68 69 69 // Gallery specific config overrides array 70 70 71 $owa_config['report_wrapper'] = 'wrapper_gallery .tpl';71 $owa_config['report_wrapper'] = 'wrapper_gallery2.tpl'; 72 72 $owa_config['images_url'] = OWA_PUBLIC_URL.'i/'; 73 73 $owa_config['images_absolute_url'] = $owa_config['images_url']; … … 86 86 // create owa instance 87 87 $owa = new owa_php($owa_config); 88 $gallery->debug('hello from owa after');88 $gallery->debug('new owa instance created'); 89 89 90 90 return $owa; … … 373 373 374 374 $params = array(); 375 $params['view'] = 'base.report';376 $params[' subview'] = 'base.reportDashboard';375 //$params['view'] = 'base.report'; 376 $params['action'] = 'base.reportDashboard'; 377 377 $params['period'] = 'today'; 378 378 $page = $owa->handleRequest($params); … … 410 410 } 411 411 412 413 GalleryCoreApi::requireOnce('modules/core/classes/GalleryController.class'); 412 414 class owaControlController extends GalleryController { 413 415 … … 447 449 function renderImmediate($status, $error) { 448 450 451 global $gallery; 449 452 $owa = owa_factory(); 450 453 454 $gallery->debug('hello from owaAction'); 451 455 owa_set_priviledges(); 452 456 -
trunk/modules/base/reportDashboard.php
r438 r482 57 57 $data = array(); 58 58 $data['params'] = $this->params; 59 59 60 60 switch ($this->params['period']) { 61 61
