+ 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:
pioder
2009-06-25 19:50:28 +00:00
parent 93e5cae6f0
commit 92e90cd55f
33 changed files with 242 additions and 255 deletions

View File

@@ -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'],

View File

@@ -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'],

View File

@@ -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>&micro;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>
';
';*/
?>

View File

@@ -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']; ?>:&nbsp;&nbsp;</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']; ?>:&nbsp;&nbsp;</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']; ?>:&nbsp;&nbsp;</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">&nbsp;</span>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">

Binary file not shown.

Binary file not shown.

View File

@@ -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>&micro;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">=&gt;<?= $skin['gotoforum']; ?>&lt;=</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">&raquo;<?= $skin['gotoforum']; ?>&laquo;</a> &#8226;
<a href="forum_info.php" target="main" class="beam"><?= $skin['index']; ?></a> &#8226;
<a href="check_script.php" target="main" class="beam"><?= $skin['scriptstat']; ?></a> &#8226;
<a href="admin_script.php" target="main" class="beam"><?= $skin['scriptoptions']; ?></a> &#8226;
<a href="mass_email.php" target="main" class="beam"><?= $skin['mass_email']; ?></a> &#8226;
<a href="styles.php" target="main" class="beam"><?= $skin['admin_styles']; ?></a> &#8226;
<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> &#8226;
<a href="admin_users.php" target="main" class="beam"><?= $skin['admin_users']; ?></a> &#8226;
<a href="smilelist.php" target="main" class="beam"><?= $skin['admin_smilelist']; ?></a> &#8226;
<a href="censorlist.php" target="main" class="beam"><?= $skin['admin_censorlist']; ?></a> &#8226;
<a href="banlist.php" target="main" class="beam"><?= $skin['admin_banlist']; ?></a>
</td>
</tr>
</table>

View File

@@ -17,6 +17,7 @@ a:hover
background-color: #C6D1FB;
text-align: center;
background-image: url('images/td_beam.jpg');
text-decoration: none;
}
/* body class */