';
echo '';
echo '';
echo '';
printf('',$entry['format']);
printf('',$ldapserver->server_id);
echo '
';
if ($entry['predefined'])
$selected_q_number = intval($entry['predefined']);
else
$selected_q_number = null;
printf('%s |
',_('Predefined Searches'));
$ss = $_SESSION['plaConfig']->isCommandAvailable('search', 'simple_search');
$as = $_SESSION['plaConfig']->isCommandAvailable('search', 'advanced_search');
if ($ss | $as) {
echo '(';
if ($ss) {
printf('%s', $ldapserver->server_id,_('Simple Search Form'));
if ($as) echo ' | ';
}
if ($as) {
printf('%s', $ldapserver->server_id,_('Advanced Search Form'));
}
echo ') |
';
}
echo ' |
';
if (! isset($_SESSION['plaConfig']->queries) || ! is_array($_SESSION['plaConfig']->queries) || count($_SESSION['plaConfig']->queries) == 0) {
printf('%s |
',_('No queries have been defined in config.php.'));
} else {
echo '';
printf('%s: | ',_('Select a predefined search'));
echo '';
echo '';
echo ' |
';
echo ' |
';
printf(' |
',_('Search'));
}
echo '
';
?>