Changeset 11974
- Timestamp:
- 09/03/07 16:06:35 (1 year ago)
- Files:
-
- trunk/midcom/midcom.admin.folder/handler/edit.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.admin.folder/handler/edit.php
r11714 r11974 224 224 } 225 225 226 if ($handler_id == '____ais-folder-create') 227 { 228 $data['title'] = sprintf($_MIDCOM->i18n->get_string('create folder', 'midcom.admin.folder')); 229 230 // Hide the button in toolbar 231 $this->_node_toolbar->hide_item('__ais/folder/create.html'); 232 } 233 else 234 { 235 $data['title'] = sprintf($_MIDCOM->i18n->get_string('edit folder %s', 'midcom.admin.folder'), $data['topic']->extra); 236 237 // Hide the button in toolbar 238 $this->_node_toolbar->hide_item('__ais/folder/edit.html'); 239 } 240 226 241 // Add the view to breadcrumb trail 227 242 $tmp = array(); … … 229 244 ( 230 245 MIDCOM_NAV_URL => '__ais/folder/edit.html', 231 MIDCOM_NAV_NAME => $ _MIDCOM->i18n->get_string('edit folder', 'midcom.admin.folder'),246 MIDCOM_NAV_NAME => $data['title'] 232 247 ); 233 248 234 249 $_MIDCOM->set_custom_context_data('midcom.helper.nav.breadcrumb', $tmp); 235 250 236 // Hide the button in toolbar237 $this->_node_toolbar->hide_item('__ais/folder/edit.html');238 251 239 252 $data['topic'] =& $this->_topic; … … 241 254 242 255 // Set page title 243 $data['title'] = sprintf($_MIDCOM->i18n->get_string('edit folder %s', 'midcom.admin.folder'), $data['topic']->extra);244 256 $_MIDCOM->set_pagetitle($data['title']); 245 257
