1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 10:44:20 +02:00

Basic user auth control, nothing fancy, dont complain if it breask something

git-svn-id: file:///svn/phpbb/trunk@633 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-07-13 00:18:53 +00:00
parent d09d393442
commit e49f543336
3 changed files with 348 additions and 253 deletions

View File

@@ -3,6 +3,13 @@
<html>
<head>
<title>phpBB - auth testing</title>
<script language="JavaScript" type="text/javascript">
<!--
function open_new_window(strURL){
weblinkswin = window.open(strURL, "_weblinks", "LEFT=2,HEIGHT=400,resizable=yes,scrollbars=yes,TOP=2,WIDTH=740");
}
//-->
</script>
<style type="text/css">
<!--
P {font-family:Verdana,serif;font-size:8pt}
@@ -17,11 +24,11 @@
TD.row1 {background-color:#DDDDDD}
TD.row2 {background-color:#EEEEEE}
TD.row1authuser {background-color:#FF8888;text-align:center}
TD.row2authuser {background-color:#EE8888;text-align:center}
TD.row1authuser {background-color:#FF8888}
TD.row2authuser {background-color:#EE8888}
TD.row1authgroup {background-color:#77FF77;text-align:center}
TD.row2authgroup {background-color:#66EE66;text-align:center}
TD.row1authgroup {background-color:#77FF77}
TD.row2authgroup {background-color:#66EE66}
SELECT.small {width:140px;font-family:"Courier New",courier;font-size:8pt;}
INPUT.text {font-family:"Courier New",courier;font-size:8pt;}
@@ -32,57 +39,45 @@
<h1>User Authorisation Control</h1>
<h2>Username: {USERNAME}</h2>
<p>This user is {USERTYPE} and {USER_GROUP_LIST}
<form method="post" action="{S_USER_AUTH_ACTION}">
<input type="checkbox" name="makeadmin" value="1"{S_ADMIN_CHECK_SELECTED}> Checked if user should be an Administrator<br>
<input type="checkbox" name="makesupermod" value="1"{S_SUPERMOD_CHECK_SELECTED}> Checked if user should be a Super Moderator</p>
<h2>Username: {USERNAME}</h2>
<p>This user is {S_USER_TYPE_SELECT} and belongs to the following groups: {USER_GROUP_LIST}</p>
<h3>Access to Forums</h3>
<p>The Min Auth Reqd. field indicates the minimum authorisation rights required to carry out one or more basic forum operation, eg. view, read, post or reply. The colour coded rows in the table whether access is granted by the user or group rights, if access is granted by group rights then you should visit the Group Auth Admin page to alter it.</p>
<p></p>
<div align="center"><table cellspacing="1" cellpadding="4" border="0">
<tr>
<th width="30%">Forum Name</th>
<th>Min Auth Reqd.</th>
<th>Simple Access Control</th>
<th>Moderator</th>
</tr>
<!-- BEGIN forums -->
<tr>
<td class="{forums.ROW_CLASS}" align="center">{forums.FORUM_NAME}</td>
<td class="{forums.ROW_CLASS}" align="center">{forums.MIN_AUTH}</td>
<td class="{forums.AUTH_TYPE_ACL}">{forums.SELECT_GRANT_LIST}</td>
<td class="{forums.AUTH_TYPE_MOD}">{forums.SELECT_MOD_LIST}</td>
<td class="{forums.ROW_CLASS}" align="center"><a href="{forums.U_FORUM_AUTH}" onClick="open_new_window('{forums.U_FORUM_AUTH}');return false" target="_new">{forums.FORUM_NAME}</a></td>
<td class="{forums.ROW_CLASS}" align="center">{forums.S_ACL_SELECT}</td>
<td class="{forums.ROW_CLASS}" align="center">{forums.S_MOD_SELECT}</td>
</tr>
<!-- END forums -->
<tr>
<td colspan="4" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="Request Update">&nbsp;&nbsp;&nbsp;<input type="reset" value="Reset Changes"></td>
<td colspan="4" align="center"><br clear="all">
{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="Request Update">&nbsp;&nbsp;&nbsp;<input type="reset" value="Reset Changes"></td>
</tr>
</table></div>
</form>
<div align="center"><p>The Min Auth Reqd. field indicates the minimum authorisation rights required to carry out one or more basic forum operation, eg. view, read or post. The colour coded rows in the table whether access is granted by the user or group rights.</p>
<table cellspacing="1" cellpadding="4" border="0">
<tr>
<td class="row1authuser">Access rights are granted by User Auth Control</td>
</tr>
<tr>
<td class="row1authgroup">Access rights are granted by Group Auth Control</td>
</tr>
</table></div>
<br clear="all">
<center>
<p><a href="forumauth.php">Forum Authorisation Admin</a></p>
<p><a href="admin_forumauth.php">Forum Authorisation Admin</a></p>
<font face="Verdana,serif" size="1">Powered By <a href="http://www.phpbb.com/" target="_phpbb">phpBB 2.0</a></font>
<br clear="all">
<font face="Verdana,serif" size="1">
Copyright &copy; 2001 phpBB Group, All Rights Reserved</font>
<br>