1 <form id="search" action="<?php echo createURL('search'); ?>" method="post">
6 if ($userservice->isLoggedOn()) {
7 $currentUser = $userservice->getCurrentUser();
8 $currentUsername = $currentUser[$userservice->getFieldName('username')];
11 if (!$logged_on && !isset($user)) {
13 <td><input type="hidden" name="range" value="all" /></td>
17 <td><?php echo T_('Search' /* Search ... for */); ?></td>
20 <?php if (isset($currentUsername) && $user != $currentUsername): ?>
21 <option value="<?php echo $user ?>"><?php echo T_("this user's bookmarks"); ?></option>
26 <option value="<?php echo $currentUsername; ?>"><?php echo T_('my bookmarks'); ?></option>
27 <option value="watchlist"<?php if (isset($select_watchlist)) { echo $select_watchlist; } ?>><?php echo T_('my watchlist'); ?></option>
31 <option value="all"<?php if (isset($select_all)) { echo $select_all; } ?>><?php echo T_('all bookmarks'); ?></option>
34 <td><?php echo T_('for' /* Search ... for */); ?></td>
38 <td><input type="text" name="terms" size="50" value="<?php if (isset($terms)) { echo filter($terms); } ?>" /></td>
39 <td><input type="submit" value="<?php echo T_('Search' /* Submit button */); ?>" /></td>