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 /core/templates/layout.user.php | |
parent | fa102cd229554817d5736e8569e2fc923e9de1e2 (diff) | |
download | nextcloud-server-05f391071851ce5d83d327961535545552e36e52.tar.gz nextcloud-server-05f391071851ce5d83d327961535545552e36e52.zip |
moved search box directly to template
Diffstat (limited to 'core/templates/layout.user.php')
-rw-r--r-- | core/templates/layout.user.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index f172e894e76..326ead74995 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -30,7 +30,9 @@ <body id="<?php echo $_['bodyid'];?>"> <header><div id="header"> <a href="<?php echo link_to('', 'index.php'); ?>" title="" id="owncloud"><img src="<?php echo image_path('', 'owncloud-logo-small-white.png'); ?>" alt="ownCloud" /></a> - <?php echo $_['searchbox']?> + <form class="searchbox" action="#" method="post"> + <input id='searchbox' type="search" name="query" value="<?php if(isset($_POST['query'])){echo $_POST['query'];};?>" class="prettybutton" autocomplete="off" /> + </form> <ul id="metanav"> <li><a href="<?php echo link_to('', 'index.php'); ?>?logout=true" title="<?php echo $l->t('Log out');?>"><img class='svg' src="<?php echo image_path('', 'actions/logout.svg'); ?>" /></a></li> </ul> |