home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
FAQ
/
discus_admin_1357211388
/
template
/
ui
/
usrlogin.tmpl
< prev
Wrap
Text File
|
2009-11-06
|
9KB
|
252 lines
# FILE: usrlogin.tmpl
# DESCRIPTION: Log in to profile editor or board
# Copyright (c) 2002, DiscusWare, LLC, all rights reserved
# -------------------------------------------------------------------------------------------
# Translation note: This file is drawn from language.conf and should not itself need
# to be translated.
<!--BEGIN-->
<#simple variables#>
<#if $general->{screen} eq "uilogin"#>
<#define $pagetitle = "$L{UILOGIN_TITLE}"#>
<#define $instr = "$L{UILOGIN_LOGIN}"#>
<#define $pageaction = "uilogin"#>
<#define $extratext = "<#unescape "$GLOBAL_OPTIONS{login_message}"#>"#>
<#define $logintext = "$L{PROFILE_LOGIN_BUTTON}"#>
<#else#>
<#if $general->{messagecode} == 0#>
<#define $pagetitle = "$L{PROFEDIT_TITLE}"#>
<#define $instr = "$L{PROFILE_LOGIN}"#>
<#define $logintext = "$L{PROFILE_LOGIN_BUTTON}"#>
<#else#>
<#if $general->{messagecode} >= 1 && $general->{messagecode} <= 3#>
<#if $editor->{action} eq "editpost"#>
<#define $pagetitle = "$L{PED_TITLE}"#>
<#define $logintext = "$L{PED_TITLE}"#>
<#else#>
<#define $pagetitle = "$L{DELETEPOST_TITLE}"#>
<#define $logintext = "$L{DELETEPOST_TITLE}"#>
<#endif#>
<#else#>
<#define $pagetitle = "$L{QUICK_ADMIN_TITLE}"#>
<#define $logintext = "$L{QUICK_ADMIN_BUTTON}"#>
<#if $editor->{auth} == 1#>
<#define $extratext = "$L{QUICK_ADMIN_AUTH_MESSAGE}"#>
<#else#>
<#define $extratext = "$L{QUICK_ADMIN_DESCR}"#>
<#endif#>
<#endif#>
<#endif#>
<#endif#>
<html>
<head>
<title>$pagetitle</title>
<style>
<!--
body { font-family: $color->{face}; line-spacing: 0 }
td.nb { font: 10pt $color->{face} }
-->
</style>
<#define $pagetitle = "$pagetitle"#>
<#insert part () "cookie_icons_offset"#>
<#define $onLoadJS = "document.lif.username.focus()"#>
<#insert part () "dynamic_top"#>
<#if $browser->{dhtml} == 0#><font face="$color->{face}" size="$color->{size}">
<#if $general->{error}#>
<p>
<b>$L{PROFILE_LOG_IN_DESCRIPTION}</b>
</p>
<#endif#>
<#if $general->{messagecode} > 0#>
<p>
<#if $general->{messagecode} == 1#>
<#if $editor->{action} eq "editpost"#>
$L{ENTER_USERNAME_TO_EDIT}
<#else#>
$L{ENTER_USERNAME_TO_DELETE}
<#endif#>
<#endif#>
<#if $general->{messagecode} == 2#>
<#if $editor->{action} eq "editpost"#>
$L{PRED_EDIT_SORRY_NOAUTHOR}
<#else#>
$L{DELETE_SORRY_NOAUTHOR}
<#endif#>
<#endif#>
<#if $general->{messagecode} == 3#>
$L{EDITING_PROHIBITED_QUEUE}
<#endif#>
</p>
<#endif#>
<#if $general->{screen} eq "uilogin"#>
<form action="$script_url/discus.$cgi_extension" method="post" name="lif">
<#else#>
<form action="$script_url/board-profile.$cgi_extension" method="post" name="lif">
<#endif#>
<input type="hidden" name="forcedest" value="$general->{forcedest}">
<#if $general->{authentication_error}#>
<p>
<table border=0 width="600" bgcolor="#a03333">
<tr>
<td width="25" align="center" valign="center"><img src="$icon_url/attention.gif" height="20" width="20" border="0" alt="!!"></td>
<td><font face="$color->{face}" size="2" color="#ffffff">
<b>$L{SHORT_SWEET_AUTHENTICATION_ERROR_BOLD_PART}</b>
$L{SHORT_SWEET_AUTHENTICATION_ERROR_NORMAL_PART}
</font><br>
<font face="$color->{face}" size="1" color="#ffffff">
$L{SHORT_SWEET_AUTHENTICATION_ERROR_SECOND_LINE}</font>
</td>
</tr>
</table>
</p>
<#endif#>
<#if $editor->{arg} == 1#>
<p>
<table border=0 width="600" bgcolor="#a03333">
<tr>
<td width="25" align="center" valign="center"><img src="$icon_url/attention.gif" height="20" width="20" border="0" alt="!!"></td>
<td><font face="$color->{face}" size="2" color="#ffffff">
<b>Error:</b>
Privilege Denied
</font><br>
<font face="$color->{face}" size="1" color="#ffffff">
You are not authorized to perform this administrative action within this topic.</font>
</td>
</tr>
</table>
</p>
<#endif#>
<#if $general->{messagecode} == 0#>
<input type="hidden" name="action" value="login">
<input type="hidden" name="script" value="<#form escape "$calling_script"#>">
<input type="hidden" name="query_string" value="<#escape "$ENV{QUERY_STRING}"#>">
<#else#>
<#if $general->{messagecode} >= 1 && $general->{messagecode} <= 3#>
<input type="hidden" name="action" value="$editor->{action}">
<input type="hidden" name="page" value="$editor->{page}">
<input type="hidden" name="postid" value="$editor->{postid}">
<#else#>
<input type="hidden" name="action" value="$editor->{action}">
<input type="hidden" name="HTTP_REFERER" value="$editor->{HTTP_REFERER}">
<input type="hidden" name="postindex" value="$editor->{postindex}">
<input type="hidden" name="do" value="$editor->{do}">
<#endif#>
<#endif#>
<#if $pageaction ne ""#>
<input type="hidden" name="pg" value="$pageaction">
<#endif#>
<#if $extra->{reqd} > 0#>
<p>
<#if $extra->{reqd} == 1#>$L{FUNCTION_RESTRICTION_USER}
<#if $extra->{reqd} == 2#>$L{FUNCTION_RESTRICTION_MODERATOR}
</p>
<#else#>
<p>$extratext</p>
<#if $GLOBAL_OPTIONS{login_message_hide_default} == 0 && $general->{messagecode} == 0#>
<p>$instr</p>
<#endif#>
<#endif#>
<table border=1 width=600 cellpadding=5 cellspacing=0 bordercolor="$color->{alt_10}" bordercolordark="$color->{alt_9}" bordercolorlight="$color->{alt_10}">
<tr>
<td height=20 width=600 bgcolor="$color->{alt_1}" colspan=2><font color="$color->{alt_2}" face="$color->{face}" size="$color->{size}"><b>$L{UILOGIN_TITLE}</b></font></td>
</tr>
<tr>
<td width=100 valign=center align=right bgcolor="$color->{alt_10}"><font color="$color->{text}" face="$color->{face}" size="$color->{size}"><b>$L{PROFILE_USERNAME}</b></font></td>
<td width=475 valign=center bgcolor="$color->{alt_10}"><input type=text name="username" size=15 value="$fill->{user}"></td>
</tr>
<tr>
<td width=100 valign=center align=right bgcolor="$color->{alt_10}"><font color="$color->{text}" face="$color->{face}" size="$color->{size}"><b>$L{PROFILE_PASSWORD}</b></font></td>
<td width=475 valign=center bgcolor="$color->{alt_10}"><input type=password name="password" size=15 value="$fill->{pass}"></td>
</tr>
<tr>
<td width=100 valign=center align=right bgcolor="$color->{alt_10}"> </td>
<td width=475 valign=center bgcolor="$color->{alt_10}">
<input type="submit" value="$logintext">
<#if $arg->{escape_url} ne ""#>
<input type="button" value="{#if $editor->{action} eq "editpost"#}$L{EDITING_POST_CANCEL}{#else#}$L{DELETING_POST_CANCEL}{#endif#}" onClick="self.location = '$arg->{escape_url}';">
<#endif#>
<#if $editor->{escape_url_2} ne ""#>
<input type="button" value="$L{QUICK_ADMIN_CANCEL}" onClick="self.location = '$editor->{escape_url_2}';">
<#endif#>
</td>
</tr>
<#if pro && $general->{messagecode} != 4 && $GLOBAL_OPTIONS{forgotten_pw_util}#>
<tr>
<td width=100 valign=center align=right bgcolor="$color->{alt_10}"> </td>
<td width=475 valign=center bgcolor="$color->{alt_10}">
<font color="$color->{text}" face="$color->{face}" size="$color->{size}">
<#define $l = "$L{PROFILE_FORGOT_PASSWORD_AS_TEXT}"#>
<#replace "%aopen" with "<a href="$script_url/board-profile.$cgi_extension?action=forgot">" in $l#>
<#replace "%aclose" with "</a>" in $l#>
$l
</font>
</td>
</tr>
<#endif#>
<#if pro && $general->{messagecode} != 4 && $GLOBAL_OPTIONS{allow_selfreg}#>
<tr>
<td height=20 width=600 bgcolor="$color->{alt_1}" colspan=2><font color="$color->{alt_2}" face="$color->{face}" size="$color->{size}"><b>$L{PROFILE_REGISTER_WORD}</b></font></td>
</tr>
<tr>
<td width=100 valign=center align=right bgcolor="$color->{alt_10}"> </td>
<td width=475 valign=center bgcolor="$color->{alt_10}">
<font color="$color->{text}" face="$color->{face}" size="$color->{size}">
$L{PROFILE_REGISTER_SCREEN_FRONT}
</font>
</td>
</tr>
<tr>
<td width=100 valign=center align=right bgcolor="$color->{alt_10}"> </td>
<td width=475 valign=center bgcolor="$color->{alt_10}">
<#if $browser->{mozilla} >= 2#>
<input type=button onClick="self.location = '$script_url/board-profile.$cgi_extension?action=register';" value="$L{PROFILE_REGISTER_BUTTON}">
<#else#>
<a href="$script_url/board-profile.$cgi_extension?action=register">$L{PROFILE_REGISTER_BUTTON}</a>
<#endif#>
</td>
</tr>
<#endif#>
<#if pro && $general->{messagecode} != 4 && $GLOBAL_OPTIONS{secure_topics_file} == 2#>
<tr>
<td height=20 width=600 bgcolor="$color->{alt_1}" colspan=2><font color="$color->{alt_2}" face="$color->{face}" size="$color->{size}"><b>$L{UILOGIN_GUEST_ACCESS}</b></font></td>
</tr>
<tr>
<td width=100 valign=center align=right bgcolor="$color->{alt_10}"> </td>
<td width=475 valign=center bgcolor="$color->{alt_10}">
<font color="$color->{text}" face="$color->{face}" size="$color->{size}">
$L{UILOGIN_GUEST_INSTR}
</font>
</td>
</tr>
<tr>
<td width=100 valign=center align=right bgcolor="$color->{alt_10}"> </td>
<td width=475 valign=center bgcolor="$color->{alt_10}">
<#if $browser->{mozilla} >= 2#>
<input type=button onClick="self.location = '$script_url/discus.$cgi_extension?pg=topics&access=guest';" value="$L{UILOGIN_GUEST}">
<#else#>
<a href="$script_url/discus.$cgi_extension?pg=topics&access=guest">$L{UILOGIN_GUEST}</a>
<#endif#>
</td>
</tr>
<#endif#>
</table>
</form>
<#insert part () "dynamic_bottom"#>
<#if $arg->{back} ne ""#> <!-- $arg->{back} --> <#endif#>
<!--END-->