aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-10 22:56:44 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-10 22:56:55 +0200
commit05f391071851ce5d83d327961535545552e36e52 (patch)
treef66c33d42108dfd7fa029771055c0d2567e968a6 /lib
parentfa102cd229554817d5736e8569e2fc923e9de1e2 (diff)
downloadnextcloud-server-05f391071851ce5d83d327961535545552e36e52.tar.gz
nextcloud-server-05f391071851ce5d83d327961535545552e36e52.zip
moved search box directly to template
Diffstat (limited to 'lib')
-rw-r--r--lib/template.php4
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{