aboutsummaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/search.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-03 21:52:30 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-03 21:52:30 +0000
commitd5f09b7e4d802cdc2d5f3f876c48ea918c961488 (patch)
treeaa1eb37219c17bef03b1515e5074b4743f89a9a3 /src/SemanticScuttle/search.php
parentb7345f833dea849e94f2ce23fdbe6ab58ba98be3 (diff)
downloadsemanticscuttle-d5f09b7e4d802cdc2d5f3f876c48ea918c961488.tar.gz
semanticscuttle-d5f09b7e4d802cdc2d5f3f876c48ea918c961488.tar.bz2
make the application work again
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@388 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'src/SemanticScuttle/search.php')
-rw-r--r--src/SemanticScuttle/search.php54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/SemanticScuttle/search.php b/src/SemanticScuttle/search.php
deleted file mode 100644
index ce57aea..0000000
--- a/src/SemanticScuttle/search.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-
-
-/* Managing all possible inputs */
-$select_watchlist = isset($select_watchlist)?$select_watchlist:'';
-$select_all = isset($select_all)?$select_all:'';
-
-$selected = ' selected="selected"';
-?>
-
-
-<form id="search" action="<?php echo createURL('search'); ?>" method="post">
- <table>
- <tr>
- <?php
- $currentUser = $currentUsername = null;
- if ($userservice->isLoggedOn()) {
- $currentUser = $userservice->getCurrentObjectUser();
- $currentUsername = $currentUser->getUsername();
- }
- if ($userservice->isLoggedOn() || isset($user)) {
- ?>
-
- <td><input type="text" name="terms" size="30" value="<?php $terms=!isset($terms)?T_('Search...'):$terms; echo filter($terms); ?>" onfocus="if (this.value == '<?php echo T_('Search...') ?>') this.value = '';" onblur="if (this.value == '') this.value = '<?php echo T_('Search...') ?>';"/></td>
- <td><?php echo T_('in') ?></td>
- <td>
- <select name="range">
- <?php
- if ($range == 'user' && $user!=$currentUsername) {
- ?>
- <option value="<?php echo $user ?>"><?php echo T_("this user's bookmarks"); ?></option>
- <?php
- }
- if ($userservice->isLoggedOn()) {
- ?>
- <option value="<?php echo $currentUsername; ?>"><?php echo T_('my bookmarks'); ?></option>
- <option value="watchlist" <?php echo ($range == 'watchlist')?$selected:''?> ><?php echo T_('my watchlist'); ?></option>
- <?php
- }
- ?>
- <option value="all" <?php echo ($range == 'all' || $range == '')?$selected:'' ?> ><?php echo T_('all bookmarks'); ?></option>
- </select>
- </td>
- <?php
- } else {
- ?>
- <td><input type="hidden" name="range" value="all" /></td>
- <?php
- }
- ?>
- <td><input type="submit" value="<?php echo T_('Search' /* Submit button */); ?>" /></td>
- </tr>
- </table>
-</form>