Changeset 14775 for branches/MidCOM_2_8/midcom.admin.aegir/view.php
- Timestamp:
- 02/06/08 23:06:05 (1 year ago)
- Files:
-
- branches/MidCOM_2_8/midcom.admin.aegir/view.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/MidCOM_2_8/midcom.admin.aegir/view.php
r14545 r14775 11 11 var $msg; 12 12 13 /* the current topic we are in14 * @var current_topic15 * @access public16 **/17 var $_current_topic = 0;13 /* the current topic we are in 14 * @var current_topic 15 * @access public 16 **/ 17 var $_current_topic = 0; 18 18 19 19 /* pointer to midcom_session_object */ … … 37 37 38 38 39 function midcom_admin_aegir_viewer($topic, $config)40 { 41 //$page = mgd_get_object_by_guid($config->get("root_page"));39 function midcom_admin_aegir_viewer($topic, $config) 40 { 41 //$page = mgd_get_object_by_guid($config->get("root_page")); 42 42 parent::midcom_baseclasses_components_request($topic, $config); 43 43 … … 46 46 } 47 47 48 function _on_initialize() {49 50 51 $_MIDCOM->cache->content->no_cache();48 function _on_initialize() { 49 50 51 $_MIDCOM->cache->content->no_cache(); 52 52 $_MIDCOM->skip_page_style = true; 53 53 54 54 55 //$_MIDCOM->auth->require_valid_user();56 // todo: move this somwhere else.57 /* Check for aegir or normal style: */55 //$_MIDCOM->auth->require_valid_user(); 56 // todo: move this somwhere else. 57 /* Check for aegir or normal style: */ 58 58 $style_attributes = array ( 'rel' => "stylesheet" , 59 59 'type' => "text/css" , … … 61 61 ); 62 62 63 63 64 64 $style_attributes['href'] = MIDCOM_STATIC_URL ."/midcom.helper.datamanager/datamanager.css"; 65 65 $_MIDCOM->add_link_head( $style_attributes); 66 66 $style_attributes['href'] = MIDCOM_STATIC_URL ."/midcom.admin.content/ais.css"; 67 $_MIDCOM->add_link_head( $style_attributes);67 $_MIDCOM->add_link_head( $style_attributes); 68 68 $style_attributes['href'] = MIDCOM_STATIC_URL ."/midcom.admin.content/midcom_toolbar.css"; 69 69 $_MIDCOM->add_link_head( $style_attributes); … … 347 347 348 348 349 function _handler_index()350 { 351 return true;352 }349 function _handler_index() 350 { 351 return true; 352 } 353 353 354 354 function _show_index() … … 406 406 function show() 407 407 { 408 debug_push_class(__CLASS__,__FILE__);408 debug_push_class(__CLASS__,__FILE__); 409 409 410 410
