From: Reini U. <ru...@us...> - 2007-07-15 17:39:07
|
Update of /cvsroot/phpwiki/phpwiki/themes/default/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15119/themes/default/templates Modified Files: search.tmpl Log Message: silence empty args warnings Index: search.tmpl =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/default/templates/search.tmpl,v retrieving revision 1.7 retrieving revision 1.8 diff -u -2 -b -p -d -r1.7 -r1.8 --- search.tmpl 2 Jun 2007 18:39:30 -0000 1.7 +++ search.tmpl 15 Jul 2007 17:39:07 -0000 1.8 @@ -10,5 +10,5 @@ if (! USE_PATH_INFO) { ?> <?php } ?> <input type="hidden" name="auto_redirect" value="1" /> -<?= $SEARCH_BEFORE ?> +<?= empty($SEARCH_BEFORE) ? '' : $SEARCH_BEFORE ?> <input name="s" size="16" maxlength="256" value="<?=$s?>" @@ -17,5 +17,5 @@ if (! USE_PATH_INFO) { ?> onmouseover="window.status='<?=_("Quick Search")?>'; return true;" accesskey="f" -<?php if (0 and ENABLE_ACDROPDOWN) { ?> +<?php if (ENABLE_ACDROPDOWN) { ?> class="dropdown" id="searchInput" title="<?=_("LiveSearch") . " [$p-f]"?>" style="width:115px;" @@ -32,5 +32,5 @@ if (! USE_PATH_INFO) { ?> type="text" id="search" title="<?=_("TitleSearch") . " [$p-f]"?>" /> -<?php } ?> <?= $SEARCH_AFTER ?> +<?php } ?> <?= empty($SEARCH_AFTER) ? '' : $SEARCH_AFTER ?> </form> </div> |