BUG "Al exportar el plugin se agrega una nueva pestaña dentro del submenu llamada Relative"

SOLVED
This commit is contained in:
Erik Amaru Ortiz
2010-12-17 20:40:40 +00:00
parent 2948a8539e
commit 09a7399838

View File

@@ -141,10 +141,10 @@ class Menu
* @access public * @access public
* @param string $strLabel label to show * @param string $strLabel label to show
* @param string $strURL link * @param string $strURL link
* @param string $strType type, defualt value ='relative' * @param string $strType type, defualt value ='plugins'
* @return void * @return void
*/ */
function AddOption( $strLabel, $strURL, $strType = "relative" ) function AddOption( $strLabel, $strURL, $strType = "plugins" )
{ {
$pos = $this->OptionCount(); $pos = $this->OptionCount();
$this->Options[$pos] = $strURL; $this->Options[$pos] = $strURL;
@@ -163,10 +163,10 @@ class Menu
* @param string $strId menu id * @param string $strId menu id
* @param string $strLabel label to show * @param string $strLabel label to show
* @param string $strURL link * @param string $strURL link
* @param string $strType type, defualt value ='relative' * @param string $strType type, defualt value ='plugins'
* @return void * @return void
*/ */
function AddIdOption( $strId, $strLabel, $strURL, $strType = "relative" ) function AddIdOption( $strId, $strLabel, $strURL, $strType = "plugins" )
{ {
$pos = $this->OptionCount(); $pos = $this->OptionCount();
$this->Options[$pos] = $strURL; $this->Options[$pos] = $strURL;
@@ -188,10 +188,10 @@ class Menu
* @author Fernando Ontiveros Lira <fernando@colosa.com> * @author Fernando Ontiveros Lira <fernando@colosa.com>
* @access public * @access public
* @param string $strURL link * @param string $strURL link
* @param string $strType type, defualt value ='relative' * @param string $strType type, defualt value ='plugins'
* @return void * @return void
*/ */
function AddRawOption( $strURL = "", $strType = "relative" ) function AddRawOption( $strURL = "", $strType = "plugins" )
{ {
$pos = $this->OptionCount(); $pos = $this->OptionCount();
$this->Options[$pos] = $strURL; $this->Options[$pos] = $strURL;
@@ -210,11 +210,11 @@ class Menu
* @param string $strId menu id * @param string $strId menu id
* @param string $strLabel label to show * @param string $strLabel label to show
* @param string $strURL link * @param string $strURL link
* @param string $strType type, defualt value ='relative' * @param string $strType type, defualt value ='plugins'
* @param string $elementClass default value ='' * @param string $elementClass default value =''
* @return void * @return void
*/ */
function AddIdRawOption( $strId, $strURL = "", $label = "", $icon = "",$js = "", $strType = "relative",$elementClass = '' ) function AddIdRawOption( $strId, $strURL = "", $label = "", $icon = "",$js = "", $strType = "plugins",$elementClass = '' )
{ {
$pos = $this->OptionCount(); $pos = $this->OptionCount();
$this->Options[$pos] = $strURL; $this->Options[$pos] = $strURL;