1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +02:00

minor change to admin login page to match standard login page better.

This commit is contained in:
CaMer0n 2007-08-25 05:48:53 +00:00
parent 7f581a5638
commit 9b49897eda
2 changed files with 26 additions and 14 deletions

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/auth.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:11 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-08-25 05:48:53 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@ -95,14 +95,16 @@ class auth
# - scope public
*/
global $use_imagecode, $sec_img;
global $use_imagecode, $sec_img,$imode;
$text = "<div style='text-align:center'>
$text = "<div style='padding:20px;text-align:center'>
<form method='post' action='".e_SELF."'>\n
<table style='width:50%' class='fborder'>
<tr>
<td rowspan='4' style='vertical-align:middle;width:65px'>".(file_exists(THEME."images/password.png") ? "<img src='".THEME_ABS."images/password.png' alt='' />\n" : "<img src='".e_IMAGE."packs/".$imode."/generic/password.png' alt='' />\n" )."</td>
<td style='width:35%' class='forumheader3'>".ADLAN_89."</td>
<td class='forumheader3' style='text-align:center'><input class='tbox' type='text' name='authname' size='30' value='$authname' maxlength='20' />\n</td>
</tr>
<tr>
<td style='width:35%' class='forumheader3'>".ADLAN_90."</td>

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_themes/jayya/admin_template.php,v $
| $Revision: 1.3 $
| $Date: 2006-12-08 08:36:47 $
| $Author: sweetas $
| $Revision: 1.4 $
| $Date: 2007-08-25 05:48:53 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@ -82,7 +82,10 @@ if (ADMIN) {
}
$ADMIN_HEADER .= "<table class='main_section'>
<tr>
<tr>";
if(ADMIN)
{
$ADMIN_HEADER .= "
<td class='left_menu'>
<table style='width:100%; border-collapse: collapse; border-spacing: 0px;'>
<tr>
@ -93,21 +96,28 @@ $ADMIN_HEADER .= "<table class='main_section'>
{ADMIN_MSG}
{ADMIN_PLUGINS}";
if (!ADMIN) {
/* if (!ADMIN)
{
$style='leftmenu';
$ADMIN_HEADER .= $ns -> tablerender('Welcome', '', '', TRUE);
$style='default';
}
}*/
if ($prehelp!='') {
if ($prehelp!='')
{
$ADMIN_HEADER .= $prehelp;
} else {
}
else
{
$ADMIN_HEADER .= "{ADMIN_UPDATE} {ADMIN_SITEINFO}";
}
$ADMIN_HEADER .= "<br />
</td></tr></table>
</td>
</td>";
}
$ADMIN_HEADER .= "
<td class='default_menu'>
{SETSTYLE=default}
";