# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: Joomla root # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/toolbar.comprofiler.html.php +++ administrator/components/com_comprofiler/toolbar.comprofiler.html.php @@ -65,7 +65,7 @@ /** * Writes a custom option and task button for the button bar. - * Extended version of custom() calling hideMainMenu() before submitbutton(). + * Extended version of custom() calling cbhideMainMenu() before submitbutton(). * @param string The task to perform (picked up by the switch($task) blocks * @param string The image to display * @param string The image to display when moused over @@ -73,7 +73,7 @@ * @param boolean True if required to check that a standard list item is checked */ static function customX( $task='', $icon='', $iconOver='', $alt='', $listSelect=true ) { - CBtoolmenuBar::custom ($task, $icon, $iconOver, $alt, $listSelect, 'hideMainMenu();'); + CBtoolmenuBar::custom ($task, $icon, $iconOver, $alt, $listSelect, 'cbhideMainMenu();'); } /** @@ -99,7 +99,7 @@ $script .= "if (confirm('" . addslashes( $confirmMsg ) . "')) { "; } if ( $extended ) { - $script .= 'hideMainMenu();'; + $script .= 'cbhideMainMenu();'; } $script .= "submitbutton('$task')"; if ( $confirmMsg ) { @@ -129,7 +129,7 @@ /** * Writes the common 'new' icon for the button bar. - * Extended version of addNew() calling hideMainMenu() before submitbutton(). + * Extended version of addNew() calling cbhideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text */ @@ -227,7 +227,7 @@ /** * Writes a common 'edit' button for a list of records. - * Extended version of editList() calling hideMainMenu() before submitbutton(). + * Extended version of editList() calling cbhideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text */ @@ -248,7 +248,7 @@ /** * Writes a common 'edit' button for a template html. - * Extended version of editHtml() calling hideMainMenu() before submitbutton(). + * Extended version of editHtml() calling cbhideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text */ @@ -269,7 +269,7 @@ /** * Writes a common 'edit' button for a template css. - * Extended version of editCss() calling hideMainMenu() before submitbutton(). + * Extended version of editCss() calling cbhideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text */ @@ -292,7 +292,7 @@ /** * Writes a common 'delete' button for a list of records. - * Extended version of deleteList() calling hideMainMenu() before submitbutton(). + * Extended version of deleteList() calling cbhideMainMenu() before submitbutton(). * @param string Postscript for the 'are you sure' message * @param string An override for the task * @param string An override for the alt text @@ -879,11 +879,14 @@ CBtoolmenuBar::spacer(); } if ( CBuser::getMyInstance()->authoriseAction( 'core.edit' ) ) { + CBtoolmenuBar::editList('editPlugin'); + /* if (is_callable(array("CBtoolmenuBar","editListX"))) { // Mambo 4.5.0 support: CBtoolmenuBar::editListX('editPlugin'); } else { CBtoolmenuBar::editList('editPlugin'); } + */ \ No newline at end of file CBtoolmenuBar::spacer(); } if ( CBuser::getMyInstance()->authoriseAction( 'core.admin' ) ) {