diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-10 22:56:44 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-10 22:56:55 +0200 |
commit | 05f391071851ce5d83d327961535545552e36e52 (patch) | |
tree | f66c33d42108dfd7fa029771055c0d2567e968a6 /lib | |
parent | fa102cd229554817d5736e8569e2fc923e9de1e2 (diff) | |
download | nextcloud-server-05f391071851ce5d83d327961535545552e36e52.tar.gz nextcloud-server-05f391071851ce5d83d327961535545552e36e52.zip |
moved search box directly to template
Diffstat (limited to 'lib')
-rw-r--r-- | lib/template.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/template.php b/lib/template.php index 2ba26eebac8..bb225bdd82f 100644 --- a/lib/template.php +++ b/lib/template.php @@ -230,9 +230,7 @@ class OC_Template{ // Decide which page we show if( $this->renderas == "user" ){ $page = new OC_Template( "core", "layout.user" ); - $search=new OC_Template( 'core', 'part.searchbox'); - $search->assign('searchurl',OC_Helper::linkTo( 'search', 'index.php' )); - $page->assign('searchbox', $search->fetchPage()); + $page->assign('searchurl',OC_Helper::linkTo( 'search', 'index.php' )); if(array_search(OC_APP::getCurrentApp(),array('settings','admin','help'))!==false){ $page->assign('bodyid','body-settings'); }else{ |