Changeset 12030
- Timestamp:
- 09/06/07 10:59:38 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.core/midcom/services/toolbars.php
r11888 r12030 387 387 array 388 388 ( 389 MIDCOM_TOOLBAR_URL => "__mfa/ replication/object/{$topic->guid}.html",389 MIDCOM_TOOLBAR_URL => "__mfa/asgard_midcom.helper.replicator/object/{$topic->guid}.html", 390 390 MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('replication information', 'midcom.helper.replicator'), 391 391 MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/repair.png', … … 508 508 MIDCOM_TOOLBAR_ACCESSKEY => 'a', 509 509 ) 510 );511 512 // Safety513 if (!isset($GLOBALS['midcom_config']['staging2live_staging']))514 {515 $GLOBALS['midcom_config']['staging2live_staging'] = false;516 }517 $toolbar->add_item518 (519 array520 (521 MIDCOM_TOOLBAR_URL => "{$_MIDGARD['self']}midcom-exec-midcom/runreplication.php",522 MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('run replication', 'midcom'),523 MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/stock_jump-to.png',524 MIDCOM_TOOLBAR_ENABLED => $GLOBALS['midcom_config']['staging2live_staging'],525 MIDCOM_TOOLBAR_POST => true,526 MIDCOM_TOOLBAR_POST_HIDDENARGS => Array527 (528 'return_to' => $_SERVER['REQUEST_URI'],529 ),530 )531 510 ); 532 511 … … 557 536 array 558 537 ( 559 MIDCOM_TOOLBAR_URL => "{$_MIDGARD['self']}__mfa/ replication/",538 MIDCOM_TOOLBAR_URL => "{$_MIDGARD['self']}__mfa/asgard_midcom.helper.replicator/", 560 539 MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('manage replication', 'midcom.helper.replicator'), 561 540 MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/stock_folder-properties.png', … … 658 637 array 659 638 ( 660 MIDCOM_TOOLBAR_URL => "http://www.midgard-project.org/discussion ",639 MIDCOM_TOOLBAR_URL => "http://www.midgard-project.org/discussion/user-forum/", 661 640 MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('User forum', 'midcom'), 662 641 MIDCOM_TOOLBAR_OPTIONS => array('target' => '_blank'), … … 667 646 array 668 647 ( 669 MIDCOM_TOOLBAR_URL => "http://www.midgard-project.org/documentation ",648 MIDCOM_TOOLBAR_URL => "http://www.midgard-project.org/documentation/", 670 649 MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('Online docs', 'midcom'), 671 650 MIDCOM_TOOLBAR_OPTIONS => array('target' => '_blank'), … … 781 760 array 782 761 ( 783 MIDCOM_TOOLBAR_URL => "{$prefix}__mfa/ replication/object/{$object->guid}.html",762 MIDCOM_TOOLBAR_URL => "{$prefix}__mfa/asgard_midcom.helper.replicator/object/{$object->guid}.html", 784 763 MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('replication information', 'midcom.helper.replicator'), 785 764 MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/repair.png',
