Loading...
 

TopBarExample

Image
<!--{tr}This is{/tr} Tiki v1.8 -Polaris- ? 20022004 {tr}by the{/tr} <a href="http://tikiwiki.org">{tr}Tiki community{/tr}</a> {if $feature_calendar eq 'y' and $tiki_p_view_calendar eq 'y'} <a href="tiki-calendar.php">{$smarty.now|tiki_short_datetime}</a> {else} {$smarty.now|tiki_short_datetime} {/if} {if $tiki_p_admin eq 'y' and $feature_debug_console eq 'y'} ?//?<a href="javascript:toggle('debugconsole');">{tr}debug{/tr}</a>

{/if}-->

<!This section shows the images>

<div id="tiki-top"> <table width="100%"> <tr> <td height=100 width=308> <img src="./img/wiki/Leedsth.gif" align="left"> </td> <td align="center" valign="center"> <img src="./img/wiki/intranet_header.png"/> </td> <td height=100 width=308> <img src="./img/wiki/Nycris.gif" align="right"> </td> </tr> </table> </div>


<!This section displays the login box>

<div id="tiki-top"> <table width="100%" bgcolor=#0066CC > <tr> {if $user} <td class="tiki-top">  {tr}Welcome{/tr}: {$user} <a href="tiki-logout.php" class="tiki-top">{tr}(Logout){/tr}</a></td> {else} <form name="loginbox" action="{$login_url}" method="post" {if $feature_challenge eq 'y'}onsubmit="doChallengeResponse()"{/if}> <!-- {if $feature_challenge eq 'y'} {literal} function doChallengeResponse() { hashstr = document.loginbox.user.value + document.loginbox.pass.value + document.loginbox.email.value; str = document.loginbox.user.value + MD5(hashstr) + document.loginbox.challenge.value; document.loginbox.response.value = MD5(str); document.loginbox.pass.value=''; /* document.login.password.value = ""; document.logintrue.username.value = document.login.username.value; document.logintrue.response.value = MD5(str); document.logintrue.submit(); */ document.loginbox.submit(); return false; } {/literal} <input type="hidden" name="challenge" value="{$challenge|escape}" /> <input type="hidden" name="response" value="" /> {/if} --><td> <td class="tiki-top" align="left"> {tr}User{/tr}:</td> <td align="left"> <input type="text" name="user" size="10" /></td> <td class="tiki-top" align="left"> {tr}Password{/tr}:</td> <td align="left"> <input type="password" name="pass" size="10" /></td> <td align="left"> <input type="submit" name="login" value="{tr}Login{/tr}" /></td> {if $forgotPass eq 'y'} <td ><a class="linkmodule" href="tiki-remind_password.php">{tr}I forgot my pass{/tr}</a></td> {/if} </td> </form> {/if} <!This section displays the search box> <td align="right" class="tiki-top" width="75%"> {if $feature_search eq 'y'} <form class="forms" method="get" action="tiki-searchresults.php">{tr}Search{/tr} <input id="fuser" name="words" size="14" type="text" accesskey="s" /> {tr}in:{/tr} <select name="where"> <option value="pages">{tr}Entire Site{/tr}</option> {if $feature_wiki eq 'y'} <option value="wikis">{tr}Wiki Pages{/tr}</option> {/if} {if $feature_directory eq 'y'} <option value="directory">{tr}Directory{/tr}</option> {/if} {if $feature_galleries eq 'y'} <option value="galleries">{tr}Image Gallerys{/tr}</option> <option value="images">{tr}Images{/tr}</option> {/if} {if $feature_file_galleries eq 'y'} <option value="files">{tr}Files{/tr}</option> {/if} {if $feature_articles eq 'y'} <option value="articles">{tr}Articles{/tr}</option> {/if} {if $feature_forums eq 'y'} <option value="forums">{tr}Forums{/tr}</option> {/if} {if $feature_blogs eq 'y'} <option value="blogs">{tr}Blogs{/tr}</option> <option value="posts">{tr}Blog Posts{/tr}</option> {/if} {if $feature_faqs eq 'y'} <option value="faqs">{tr}FAQs{/tr}</option> {/if} </select> <input type="submit" class="wikiaction" name="search" value="{tr}Go{/tr}"/> </form> {/if} </td> </td> </tr> </table> </div>

Page last modified on Sunday 08 August 2004 07:48:45 GMT-0000