Changeset 15346 for extensions/Histogram/hgram_aip.class.inc.php
- Timestamp:
- May 27, 2012, 2:06:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Histogram/hgram_aip.class.inc.php
r8509 r15346 39 39 $this->tabsheet->add('config', 40 40 l10n('hgram_config'), 41 $this->getAdminLink()." &f_tabsheet=config");41 $this->getAdminLink()."-config"); 42 42 } 43 43 … … 54 54 { 55 55 parent::initEvents(); 56 if($_ REQUEST['f_tabsheet']=='search')56 if($_GET['tab']=='search') 57 57 { 58 58 // load request builder JS only on the search page … … 72 72 $template->set_filename('plugin_admin_content', dirname(__FILE__)."/admin/hgram_admin.tpl"); 73 73 74 switch($_ REQUEST['f_tabsheet'])74 switch($_GET['tab']) 75 75 { 76 76 case 'config': … … 79 79 } 80 80 81 $this->tabsheet->select($_ REQUEST['f_tabsheet']);81 $this->tabsheet->select($_GET['tab']); 82 82 $this->tabsheet->assign(); 83 83 $selected_tab=$this->tabsheet->get_selected(); … … 97 97 protected function checkRequest() 98 98 { 99 if(!isset($_ REQUEST['f_tabsheet'])) $_REQUEST['f_tabsheet']='config';99 if(!isset($_GET['tab'])) $_GET['tab']='config'; 100 100 101 if(!($_ REQUEST['f_tabsheet']=='config')) $_REQUEST['f_tabsheet']='config';101 if(!($_GET['tab']=='config')) $_GET['tab']='config'; 102 102 } 103 103
Note: See TracChangeset
for help on using the changeset viewer.