From: Reini U. <ru...@us...> - 2007-06-02 18:39:30
|
Update of /cvsroot/phpwiki/phpwiki/themes/default/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32397/default/templates Modified Files: search.tmpl Log Message: add accesskeys Index: search.tmpl =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/default/templates/search.tmpl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -2 -b -p -d -r1.6 -r1.7 --- search.tmpl 17 Feb 2007 14:17:27 -0000 1.6 +++ search.tmpl 2 Jun 2007 18:39:30 -0000 1.7 @@ -5,4 +5,5 @@ <?php $s = $request->getArg('s') ? $request->getArg('s') : _("Search"); +$p = $WikiTheme->tooltipAccessKeyPrefix(); if (! USE_PATH_INFO) { ?> <input type="hidden" name="pagename" value="<?= _("TitleSearch")?>" /> @@ -15,11 +16,12 @@ if (! USE_PATH_INFO) { ?> onmouseout="window.status=''; return true;" onmouseover="window.status='<?=_("Quick Search")?>'; return true;" -<?php if (ENABLE_ACDROPDOWN) { ?> - class="dropdown" id="searchInput" title="<?=_("LiveSearch")?>" + accesskey="f" +<?php if (0 and ENABLE_ACDROPDOWN) { ?> + class="dropdown" id="searchInput" title="<?=_("LiveSearch") . " [$p-f]"?>" style="width:115px;" acdropdown="true" autocomplete_complete="false" autocomplete_matchsubstring="false" autocomplete_list="xmlrpc:wiki.titleSearch [S] 4" /> <?php } elseif (ENABLE_LIVESEARCH) { ?> - type="text" id="livesearch" title="<?=_("LiveSearch")?>" + type="text" id="livesearch" title="<?=_("LiveSearch") . " [$p-f]"?>" onKeypress="liveSearchStart()" onblur="setTimeout('closeResults()',2000); if (this.value == '') {this.value = '<?=_("Search")?>';}" /> @@ -29,5 +31,5 @@ if (! USE_PATH_INFO) { ?> <?php } else { ?> type="text" id="search" - title="<?=_("TitleSearch")?>" /> + title="<?=_("TitleSearch") . " [$p-f]"?>" /> <?php } ?> <?= $SEARCH_AFTER ?> </form> |