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><?php echo T_('Search' /* Search ... for */); ?></td>
16 <?php if (!in_array($range, array($currentUsername, 'all', 'watchlist')) && $user != $currentUsername): ?>
17 <option value="<?php echo $user ?>"<?php echo $selectUser; ?>><?php echo T_("this user's bookmarks"); ?></option>
22 <option value="<?php echo $currentUsername; ?>"<?php echo $selectMy; ?>><?php echo T_('my bookmarks'); ?></option>
23 <option value="watchlist"<?php echo $select_watchlist; ?>><?php echo T_('my watchlist'); ?></option>
27 <option value="all"<?php echo $select_all; ?>><?php echo T_('all bookmarks'); ?></option>
30 <td><?php echo T_('for' /* Search ... for */); ?></td>
34 <td><input type="hidden" name="range" value="all" /></td>
38 <td><input type="text" name="terms" size="50" value="<?php echo filter($terms); ?>" /></td>
39 <td><input type="submit" value="<?php echo T_('Search' /* Submit button */); ?>" /></td>