+ Moved ACP link from footer to header
+ Added PMs limits + Replaced ACP frames to original DSF layout > Version 9.6.25 released. git-svn-id: https://svn.pioder.pl/uf-svn/uF@33 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
@@ -289,6 +289,14 @@ if (isset($_POST['forum_path']))
|
||||
/* shoutbox_max_msgs */
|
||||
$name[] = 'shoutbox_max';
|
||||
$value[] = (!is_numeric($_POST['shoutbox_limit'])) ? '50' : $_POST['shoutbox_limit'];
|
||||
|
||||
/* pm inbox max */
|
||||
$name[] = 'pm_inbox_max';
|
||||
$value[] = (!is_numeric($_POST['pm_inbox_max'])) ? '10' : $_POST['pm_inbox_max'];
|
||||
|
||||
/* pm sentbox max */
|
||||
$name[] = 'pm_sentbox_max';
|
||||
$value[] = (!is_numeric($_POST['pm_sentbox_max'])) ? '10' : $_POST['pm_sentbox_max'];
|
||||
|
||||
$count_o = count($name);
|
||||
for($i=0;$i<$count_o;$i++)
|
||||
@@ -368,6 +376,15 @@ $skin = array(
|
||||
'L.shoutbox_limit'=>$lng['shoutbox_max_view'],
|
||||
'OPTION.shoutbox_limit'=>$forum_config['shoutbox_max'],
|
||||
|
||||
|
||||
/* pm sentbox max */
|
||||
'L.pm_sentbox_max'=>$lng['pm_sentbox_max'],
|
||||
'OPTION.pm_sentbox_max'=>$forum_config['pm_sentbox_max'],
|
||||
|
||||
/* pm inbox max */
|
||||
'L.pm_inbox_max'=>$lng['pm_inbox_max'],
|
||||
'OPTION.pm_inbox_max'=>$forum_config['pm_inbox_max'],
|
||||
|
||||
/* color mod */
|
||||
'L.color_mod'=>$lng['color_mod'],
|
||||
'OPTION.color_mod' => $forum_config['color_mod'],
|
||||
|
||||
@@ -27,7 +27,7 @@ if (User::UserInformation($_SESSION['uid'],'rank')!=2)
|
||||
admin_message_forum($lng['yournotadmin'],'../index.php');
|
||||
}
|
||||
$skin = array(
|
||||
'uf_pa'=>$lng['uf_pa_nav'],
|
||||
'uf_pa'=>$lng['uf_pa'],
|
||||
'index'=>$lng['index'],
|
||||
'gotoforum'=>$lng['go_to_forum'],
|
||||
'scriptstat'=>$lng['scriptstat'],
|
||||
|
||||
@@ -29,13 +29,13 @@ if (User::UserInformation($_SESSION['uid'],'rank')!=2)
|
||||
{
|
||||
admin_message_forum($lng['yournotadmin'],'../index.php');
|
||||
}
|
||||
/*echo '
|
||||
echo '
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="shortcut icon" href="../skins/'.$default_skin.'/images/favicon.ico">
|
||||
<link rel="favicon" href="../skins/'.$default_skin.'/images/favicon.ico">
|
||||
<title>DSF Administration</title>
|
||||
<title>µForum ACP</title>
|
||||
<frameset rows="90,*" border="2" framespacing="0" frameborder="yes">
|
||||
<frame src="header.php" name="nav" marginheight="3" scrolling="no">
|
||||
<frame src="forum_info.php" name="main" marginwidth="10" marginheight="10">
|
||||
@@ -45,8 +45,8 @@ if (User::UserInformation($_SESSION['uid'],'rank')!=2)
|
||||
Sorry, you browser doesn\'t support frames.
|
||||
</body>
|
||||
</html>
|
||||
';*/
|
||||
echo '
|
||||
';
|
||||
/*echo '
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
@@ -62,5 +62,5 @@ echo '
|
||||
Sorry, you browser doesn\'t support frames.
|
||||
</body>
|
||||
</html>
|
||||
';
|
||||
';*/
|
||||
?>
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
<input type="text" maxlength="4" name="time_antiflood" value="<?= $skin['OPTION.time_antiflood']; ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<!-- time antiflood -->
|
||||
<!-- new password length -->
|
||||
<tr>
|
||||
<td class="fitem" align="right" width="50%" height="19">
|
||||
<span class="fstandard"><?= $skin['L.newpasswd_len']; ?>: </span>
|
||||
@@ -162,6 +162,24 @@
|
||||
<input type="text" maxlength="1" name="newpasswd_len" value="<?= $skin['OPTION.newpasswd_len']; ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<!-- pm inbox max messages -->
|
||||
<tr>
|
||||
<td class="fitem" align="right" width="50%" height="19">
|
||||
<span class="fstandard"><?= $skin['L.pm_inbox_max']; ?>: </span>
|
||||
</td>
|
||||
<td class="fitem" width="50%" height="19">
|
||||
<input type="text" maxlength="2" name="pm_inbox_max" value="<?= $skin['OPTION.pm_inbox_max']; ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<!-- pm sentbox max messages -->
|
||||
<tr>
|
||||
<td class="fitem" align="right" width="50%" height="19">
|
||||
<span class="fstandard"><?= $skin['L.pm_sentbox_max']; ?>: </span>
|
||||
</td>
|
||||
<td class="fitem" width="50%" height="19">
|
||||
<input type="text" maxlength="2" name="pm_sentbox_max" value="<?= $skin['OPTION.pm_sentbox_max']; ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<span class="fverysmall"> </span>
|
||||
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,61 +3,33 @@
|
||||
<meta http-equiv="Content-Language" content="pl">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="../admin/template/skin.css" type="text/css">
|
||||
<title>DSF Administration</title>
|
||||
<title>µF Administration</title>
|
||||
</head>
|
||||
<body class="body">
|
||||
<center>
|
||||
<div align="center" style=" background-color: #F1F3FE">
|
||||
<div align="center" style="">
|
||||
<div align="center" style="width: <?= (TABLES_WIDTH+40); ?>px; background-color: #F1F3FE">
|
||||
<div align="center" style="width: <?= TABLES_WIDTH; ?>px;">
|
||||
<span class="pa_h1"><?= $skin['uf_pa']; ?></span>
|
||||
<table class="maintable" width="180">
|
||||
<table class="maintable" width="<?= TABLES_WIDTH; ?>">
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="../index.php" target="_parent" class="beam">=><?= $skin['gotoforum']; ?><=</a>
|
||||
</td>
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="forum_info.php" target="main" class="beam"><?= $skin['index']; ?></a>
|
||||
</td>
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="check_script.php" target="main" class="beam"><?= $skin['scriptstat']; ?></a>
|
||||
</td>
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="admin_script.php" target="main" class="beam"><?= $skin['scriptoptions']; ?></a>
|
||||
<a href="../index.php" target="_parent" class="beam">»<?= $skin['gotoforum']; ?>«</a> •
|
||||
<a href="forum_info.php" target="main" class="beam"><?= $skin['index']; ?></a> •
|
||||
<a href="check_script.php" target="main" class="beam"><?= $skin['scriptstat']; ?></a> •
|
||||
<a href="admin_script.php" target="main" class="beam"><?= $skin['scriptoptions']; ?></a> •
|
||||
<a href="mass_email.php" target="main" class="beam"><?= $skin['mass_email']; ?></a> •
|
||||
<a href="styles.php" target="main" class="beam"><?= $skin['admin_styles']; ?></a> •
|
||||
<a href="admin_forums.php" target="main" class="beam"><?= $skin['admin_forums']; ?></a>
|
||||
|
||||
</td>
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="mass_email.php" target="main" class="beam"><?= $skin['mass_email']; ?></a>
|
||||
</td>
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="styles.php" target="main" class="beam"><?= $skin['admin_styles']; ?></a>
|
||||
</td>
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="admin_forums.php" target="main" class="beam"><?= $skin['admin_forums']; ?></a>
|
||||
</td>
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="admin_groups.php" target="main" class="beam"><?= $skin['admin_groups']; ?></a>
|
||||
</td>
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="admin_users.php" target="main" class="beam"><?= $skin['admin_users']; ?></a>
|
||||
</td>
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="smilelist.php" target="main" class="beam"><?= $skin['admin_smilelist']; ?></a>
|
||||
</td>
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="censorlist.php" target="main" class="beam"><?= $skin['admin_censorlist']; ?></a>
|
||||
</td>
|
||||
<tr>
|
||||
<td class="beam" align="center">
|
||||
<a href="banlist.php" target="main" class="beam"><?= $skin['admin_banlist']; ?></a>
|
||||
<a href="admin_groups.php" target="main" class="beam"><?= $skin['admin_groups']; ?></a> •
|
||||
<a href="admin_users.php" target="main" class="beam"><?= $skin['admin_users']; ?></a> •
|
||||
<a href="smilelist.php" target="main" class="beam"><?= $skin['admin_smilelist']; ?></a> •
|
||||
<a href="censorlist.php" target="main" class="beam"><?= $skin['admin_censorlist']; ?></a> •
|
||||
<a href="banlist.php" target="main" class="beam"><?= $skin['admin_banlist']; ?></a>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -17,6 +17,7 @@ a:hover
|
||||
background-color: #C6D1FB;
|
||||
text-align: center;
|
||||
background-image: url('images/td_beam.jpg');
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* body class */
|
||||
|
||||
Reference in New Issue
Block a user