3
* Copyright (c) 2008 Zivios, LLC.
5
* This file is part of Zivios.
7
* Zivios is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
12
* Zivios is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with Zivios. If not, see <http://www.gnu.org/licenses/>.
21
* @copyright Copyright (c) 2008 Zivios, LLC. (http://www.zivios.org)
22
* @license http://www.zivios.org/legal/license
23
* @version $Id: searchall.phtml 890 2008-08-22 11:52:49Z mhashmi $
29
border-bottom: 1px dashed #888;
34
<div id="basicsearch">
35
<div class="info" style="width: 515px; font-size: 10px;">Search Base: <b><?php echo $this->obj->getdn(); ?></b></div>
36
<form id="bsrh" method="post" action="#" onsubmit="return validateSearch(this);">
38
<legend>Search</legend>
39
<label for="searchinput">Search</label>
40
<input id="srhinput" type="text" size="45" maxlength="32" value="" name="srhinput" /><br />
42
<label for="filter">Filter</label>
43
  <select name="filter">
44
<option value="all" <?php echo $this->all; ?>>Everything</option>
45
<option value="userentry" <?php echo $this->uentry; ?>>System Users</option>
46
<option value="groupentry" <?php echo $this->gentry; ?>>System Groups</option>
47
<option value="serverentry" <?php echo $this->sentry; ?>>Enterprise Servers</option>
48
<option value="desktopentry" <?php echo $this->dentry; ?>>Enterprise Desktops</option>
49
<option value="serviceentry" <?php echo $this->serentry; ?>>Enterprise Services</option>
51
<input style="height: 22px; margin-top: 2px;" type="submit" name="search" value="Search" />
54
<input type="hidden" name="operate_dn" value="<?php echo $this->obj->getdn(); ?>" />
58
<div id="searchresults"></div>
60
<script language="javascript">
61
$('srhinput').activate();
62
validateSearch = function(f)
64
if (f.srhinput.value =="") {
65
alert("Please enter a search string");
69
callAjaxRender('bsrh', '/search/basicSearch', 'searchresults');