+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
- <title>ConTagged - {$lang.ldapab}</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>ConTagged - {$lang.ldapab}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<!--
<link rel="stylesheet" type="text/css" href="templates/layout.css" />
-
<link rel="stylesheet" type="text/css" href="templates/style.css" />
+-->
+
+ <link rel="stylesheet" type="text/css" href="styles/layout.css" />
+ <link rel="stylesheet" type="text/css" href="styles/design.css" />
+ <link rel="stylesheet" type="text/css" href="styles/scripted.css" />
+
+ <script src="scripts/jquery.js" type="text/javascript"></script>
+ <script src="scripts/interface/iutil.js" type="text/javascript"></script>
+ <script src="scripts/interface/iautocompleter.js" type="text/javascript"></script>
+ <script src="scripts/interface/imagebox.js" type="text/javascript"></script>
+ <script src="scripts/formatDate.js" type="text/javascript"></script>
+
+ {if $conf.gmapkey}
+ <script src="http://maps.google.com/maps?file=api&v=2&key={$conf.gmapkey}" type="text/javascript"></script>
+ <script src="scripts/maps.js" type="text/javascript"></script>
+ {/if}
- <script src="js/prototype.js" type="text/javascript"></script>
- <script src="js/scriptaculous.js" type="text/javascript"></script>
- <script src="js/formatDate.js" type="text/javascript"></script>
- <script src="js/gui.js" type="text/javascript"></script>
+ <script src="scripts/gui.js" type="text/javascript"></script>
- {if $LDAPERRORS != ''}
- <script>
- window.alert('{$lang.err_ldap}:\n\n{$LDAPERRORS|escape:quotes}');
- </script>
- {/if}
+ <script type="text/javascript">
+ {if $entry.dn}
+ DN = '{$entry.dn|escape:javascript}';
+ {/if}
+ {if $user}
+ USER = '{$user|escape:javascript}';
+ {/if}
+ </script>
</head>
<body>
<div id="ldapab">
+ {if $LDAPERRORS != ''}
+ <div class="ldaperror" onclick="this.style.display = 'none'">
+ <h3>{$lang.err_ldap}</h3>
+ <p>{$LDAPERRORS}</p>
+ </div>
+ {/if}
- <div id="titlerow">
- <a href="{$home}" class="logo">ConTagged</a>
- <span class="logosmall">- {$lang.ldapab}</span>
- </div>
- <div id="filterrow">
- {include file="filter.tpl"}
- </div>
+ <div id="titlerow">
+ <div class="logo">
+ <a href="{$home}">ConTagged</a>
+ <span>- {$lang.ldapab}</span>
+ </div>
- <div id="toolbar">
- {include file="toolbar.tpl"}
- </div>
+ <div class="search">
+ {include file="search.tpl"}
+ </div>
+ </div>
+ <div id="toolbar">
+ {include file="toolbar.tpl"}
+ </div>
- <div id="content">
+ <div id="filterrow">
+ <ul>
+ {foreach from=$lettertabs item=letter}
+ <li><a href="index.php?filter={$letter}">{$letter}</a></li>
+ {/foreach}
+ <li><a href="index.php?filter=other">#</a></li>
+ <li><a href="index.php?filter=*">*</a></li>
+ </ul>
+ </div>
+
+ <div id="content">
-<!--
-<table width="100%">
-<tr>
- <td class="headrow" colspan="2">
- <table width="100%"><tr>
- <td align="left" valign="bottom">
- </td>
- <td align="right" valign="bottom">
- <a href="help.php"><img src="pix/help.png" border="0" width="16" height="16" align="middle">{$lang.help}</a>
- </td>
- </tr></table>
- </td>
-</tr>
-<tr>
- <td width="30">
- </td>
- <td>
--->