Changeset 15360 for extensions/ASearchEngine/ase_aip.class.inc.php
- Timestamp:
- May 27, 2012, 11:48:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ASearchEngine/ase_aip.class.inc.php
r7374 r15360 39 39 $this->tabsheet->add('search', 40 40 l10n('ase_search'), 41 $this->getAdminLink()." &fASE_tabsheet=search");41 $this->getAdminLink()."-search"); 42 42 $this->tabsheet->add('config', 43 43 l10n('ase_config'), 44 $this->getAdminLink()." &fASE_tabsheet=config");44 $this->getAdminLink()."-config"); 45 45 } 46 46 … … 58 58 parent::initEvents(); 59 59 60 if($_ REQUEST['fASE_tabsheet']=='search')60 if($_GET['tab']=='search') 61 61 { 62 62 // load request builder JS only on the search page … … 78 78 $template->set_filename('plugin_admin_content', dirname(__FILE__)."/admin/ase_admin.tpl"); 79 79 80 switch($_ REQUEST['fASE_tabsheet'])80 switch($_GET['tab']) 81 81 { 82 82 case 'search': … … 88 88 } 89 89 90 $this->tabsheet->select($_ REQUEST['fASE_tabsheet']);90 $this->tabsheet->select($_GET['tab']); 91 91 $this->tabsheet->assign(); 92 92 $selected_tab=$this->tabsheet->get_selected(); … … 94 94 95 95 $template_plugin["ASE_VERSION"] = "<i>".$this->getPluginName()."</i> ".l10n('ase_release').ASE_VERSION; 96 $template_plugin["ASE_PAGE"] = $_ REQUEST['fASE_tabsheet'];96 $template_plugin["ASE_PAGE"] = $_GET['tab']; 97 97 $template_plugin["ASE_TITLE"] = ""; 98 98 … … 118 118 if(!isset($_REQUEST['errcode'])) $_REQUEST['errcode']=''; 119 119 120 if(!isset($_ REQUEST['fASE_tabsheet']))121 { 122 $_ REQUEST['fASE_tabsheet']="search";123 } 124 125 if(!($_ REQUEST['fASE_tabsheet']!="search" or126 $_ REQUEST['fASE_tabsheet']!="config"127 )) $_ REQUEST['fASE_tabsheet']="search";120 if(!isset($_GET['tab'])) 121 { 122 $_GET['tab']="search"; 123 } 124 125 if(!($_GET['tab']!="search" or 126 $_GET['tab']!="config" 127 )) $_GET['tab']="search"; 128 128 } 129 129
Note: See TracChangeset
for help on using the changeset viewer.