From 1a5c004e96b92fd2f9deea9ebd50595efccdf1d9 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 5 Mar 2007 07:21:10 +0000 Subject: [PATCH] Whoops accidentally checked insome head stuff I shouldn have. --- mod/data/tabs.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/mod/data/tabs.php b/mod/data/tabs.php index efc6f40fa07..eb558d3be9a 100755 --- a/mod/data/tabs.php +++ b/mod/data/tabs.php @@ -36,9 +36,6 @@ $row[] = new tabobject('list', $CFG->wwwroot.'/mod/data/view.php?d='.$data->id, get_string('list','data'), '', true); - //Add an advanced search tab. - $row[] = new tabobject('asearch', $CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&mode=asearch', get_string('advancedsearch', 'data'), '', true); - if (isset($record)) { $row[] = new tabobject('single', $CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&rid='.$record->id, get_string('single','data'), '', true); } else { @@ -55,8 +52,6 @@ $defaultemplate = 'listtemplate'; } else if ($currenttab == 'add') { $defaultemplate = 'addtemplate'; - } else if ($currenttab == 'asearch') { - $defaultemplate = 'asearchtemplate'; } else { $defaultemplate = 'singletemplate'; } @@ -75,7 +70,7 @@ if ($currenttab == 'templates' and isset($mode)) { $inactive[] = 'templates'; - $templatelist = array ('listtemplate', 'asearchtemplate' , 'singletemplate', 'addtemplate', 'rsstemplate', 'csstemplate', 'jstemplate'); + $templatelist = array ('listtemplate', 'singletemplate', 'addtemplate', 'rsstemplate', 'csstemplate', 'jstemplate'); $row = array(); $currenttab ='';