[siesta-commit] siesta/website/php _footer.php,NONE,1.1 _header.php,NONE,1.1 _navigation.php,NONE,1.1 _quick_formatter.php,NONE,1.1 admin.php,NONE,1.1 admin_list_create.php,NONE,1.1 admin_list_details.php,NONE,1.1 admin_list_list.php,NONE,1.1 admin_list_main.php,NONE,1.1 admin_list_module_settings.php,NONE,1.1 admin_list_modules.php,NONE,1.1 admin_list_tasks.php,NONE,1.1 admin_list_users.php,NONE,1.1 admin_module_install.php,NONE,1.1 admin_module_list.php,NONE,1.1 admin_module_settings.php,NONE,1.1 admin_tasks.php,NONE,1.1 admin_user_add.php,NONE,1.1 admin_user_details.php,NONE,1.1 admin_user_list.php,NONE,1.1 admin_user_main.php,NONE,1.1 admin_user_module_settings.php,NONE,1.1 admin_user_modules.php,NONE,1.1 index.php,NONE,1.1 siesta.css,NONE,1.1 siesta.zip,NONE,1.1 siesta_404.php,NONE,1.1 siesta_500.php,NONE,1.1 siesta_about.php,NONE,1.1 siesta_help.php,NONE,1.1 test.php,NONE,1.1 user.php,NONE,1.1 user_details.php,NONE,1.1 user_list_module_settings.php,NONE,1.1 user_list_modules.php,NONE,1.1 user_lists.php,NONE,1.1 user_module_settings.php,NONE,1.1 user_modules.php,NONE,1.1 user_password.php,NONE,1.1

[prev] [thread] [next] [lurker] [Date index for 2003/03/14]

From: muttley
Subject: [siesta-commit] siesta/website/php _footer.php,NONE,1.1 _header.php,NONE,1.1 _navigation.php,NONE,1.1 _quick_formatter.php,NONE,1.1 admin.php,NONE,1.1 admin_list_create.php,NONE,1.1 admin_list_details.php,NONE,1.1 admin_list_list.php,NONE,1.1 admin_list_main.php,NONE,1.1 admin_list_module_settings.php,NONE,1.1 admin_list_modules.php,NONE,1.1 admin_list_tasks.php,NONE,1.1 admin_list_users.php,NONE,1.1 admin_module_install.php,NONE,1.1 admin_module_list.php,NONE,1.1 admin_module_settings.php,NONE,1.1 admin_tasks.php,NONE,1.1 admin_user_add.php,NONE,1.1 admin_user_details.php,NONE,1.1 admin_user_list.php,NONE,1.1 admin_user_main.php,NONE,1.1 admin_user_module_settings.php,NONE,1.1 admin_user_modules.php,NONE,1.1 index.php,NONE,1.1 siesta.css,NONE,1.1 siesta.zip,NONE,1.1 siesta_404.php,NONE,1.1 siesta_500.php,NONE,1.1 siesta_about.php,NONE,1.1 siesta_help.php,NONE,1.1 test.php,NONE,1.1 user.php,NONE,1.1 user_details.php,NONE,1.1 user_list_module_settings.php,NONE,1.1 user_list_modules.php,NONE,1.1 user_lists.php,NONE,1.1 user_module_settings.php,NONE,1.1 user_modules.php,NONE,1.1 user_password.php,NONE,1.1
Date: 14:40 on 14 Mar 2003
Update of /cvsroot/siesta/siesta/website/php
In directory sc8-pr-cvs1:/tmp/cvs-serv30203

Added Files:
	_footer.php _header.php _navigation.php _quick_formatter.php 
	admin.php admin_list_create.php admin_list_details.php 
	admin_list_list.php admin_list_main.php 
	admin_list_module_settings.php admin_list_modules.php 
	admin_list_tasks.php admin_list_users.php 
	admin_module_install.php admin_module_list.php 
	admin_module_settings.php admin_tasks.php admin_user_add.php 
	admin_user_details.php admin_user_list.php admin_user_main.php 
	admin_user_module_settings.php admin_user_modules.php 
	index.php siesta.css siesta.zip siesta_404.php siesta_500.php 
	siesta_about.php siesta_help.php test.php user.php 
	user_details.php user_list_module_settings.php 
	user_list_modules.php user_lists.php user_module_settings.php 
	user_modules.php user_password.php 
Log Message:
A php prototype of the web site. 


--- NEW FILE: _footer.php ---
		
			<p>&nbsp;</p>
		</td>
		<td colspan='3' width='50%'></td>
	</tr>
	
	<tr><td colspan='6'><img src='dot_invis.png' width='2' height='10'/></td></tr>
	<tr><td colspan='6' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td></tr>
	<tr><td colspan='6' bgcolor='#8a7b68'><img src='images/dot_invis.png' width='2' height='5'/></td></tr>
	<tr>
		<td colspan='6' bgcolor='#8a7b68' align='center'>
			<span class='clsSmall'><a href=''>Siesta v0.1</a></span> 
			&nbsp; | &nbsp; 
			<span class='clsSmall'>Powered by <a href=''>Perl Template Toolkit</a></span> 
			&nbsp; | &nbsp; 
			<span class='clsSmall'>© Copyright <a href=''>SlutCorp</a> 2003</span>
		</td>
	</tr>
	<tr><td colspan='6' bgcolor='#8a7b68'><img src='images/dot_invis.png' width='2' height='5'/></td></tr>
</table>

</body>
</html>
--- NEW FILE: _header.php ---

<?
	include ("_navigation.php");
	include ("_quick_formatter.php");
	function print_header( $page_title, $page_description, $breadcrumbs, $signed_in ){
		print("
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
	<title>Siesta - $page_title</title>
	<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
	<link href='siesta.css' type='text/css' rel='stylesheet'/>
</head>
<body>
	<table width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'>
		<tr>
			<td bgcolor='#8a7b68' width='50%'><a href=''><img src='images/siesta_logo.gif' border='0' width='165' height='117'/></a></td>
			<td bgcolor='#8a7b68'><img src='images/dot_invis.png' width='10' height='2'/></td>
			<td bgcolor='#8a7b68'>
				&nbsp;
				<table width='400' border='0' cellpadding='0' cellspacing='0'>
					<tr><td colspan='3' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='400' height='2'/></td></tr>
					<tr>
						<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='80'/></td>
						<td bgcolor='#978d72' width='396'>
							<div class='clsBreadcrumbs'><img src='images/dot_invis.png' width='10' height='1'/>".$breadcrumbs."</div>
							<div><img src='images/dot_invis.png' width='2' height='2'/></div>
							<div class='clsPageTitle'><img src='images/dot_invis.png' width='10' height='1'/>".$page_title."</div>
							<div><img src='images/dot_invis.png' width='2' height='2'/></div>
							<div><img src='images/dot_invis.png' width='10' height='1'/>".$page_description."</div>
						</td>
						<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
					</tr>
					<tr><td colspan='3' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td></tr>
				</table>
			</td>
			<td bgcolor='#8a7b68'><img src='images/dot_invis.png' width='10' height='2'/></td>
			<td bgcolor='#8a7b68' width='50%'>
				<div align='right'>
				<table width='200' border='0' cellpadding='0' cellspacing='0'>
					<tr><td colspan='3' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='200' height='2'/></td></tr>
					<tr>
						<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='95'/></td>
						<td bgcolor='#978d72' width='196'>
							");
							
							if ( $signed_in == 1 ){
								print("
									<div><img src='images/dot_invis.png' width='2' height='10'/></div>
									<div class='clsAuthStatus'>&nbsp;&nbsp; signed in as: admin</div>
									<div><img src='images/dot_invis.png' width='2' height='4'/></div>
									<div class='clsAuthEmail'>&nbsp;&nbsp; simon@xxxxxxxxxxx.xxx</div>
									<div><img src='images/dot_invis.png' width='2' height='10'/></div>
									<div align='right'><a href=''><img src='images/sign_out.png' width='92' height='25' border='0'/></a>&nbsp;&nbsp;&nbsp;&nbsp;</div>
								");
							} else if ( $signed_in == 2 ){
								print("
									<div><img src='images/dot_invis.png' width='2' height='10'/></div>
									<div class='clsAuthStatus'>&nbsp;&nbsp; signed in as: user</div>
									<div><img src='images/dot_invis.png' width='2' height='4'/></div>
									<div class='clsAuthEmail'>&nbsp;&nbsp; simon@xxxxxxxxxxx.xxx</div>
									<div><img src='images/dot_invis.png' width='2' height='10'/></div>
									<div align='right'><a href=''><img src='images/sign_out.png' width='92' height='25' border='0'/></a>&nbsp;&nbsp;&nbsp;&nbsp;</div>
								");
							} else {
								print("
									<div align='center'>
										<table border='0' cellpadding='0' cellspacing='0'>
											<tr align='right'>
												<td align='right' class='clsLoginText'>email</td>
												<td>&nbsp;<input type='text' class='clsLoginBox'/><img src='images/dot_invis.png' width='1' height='1'/></td>
											</tr>
											<tr>
												<td align='right' class='clsLoginText'>password</td>
												<td>&nbsp;<input type='password' class='clsLoginBox'/><img src='images/dot_invis.png' width='1' height='20'/></td>
											</tr>
											<tr><td colspan='2'><img src='images/dot_invis.png' width='2' height='5'/></td></tr>
											<tr>
												<td><a href=''>register</a><br/><a href='user.php'>user</a></td>
												<td align='right'><a href='admin.php'><img src='images/sign_in.png' width='92' height='25' border='0'/></a></td>
											</tr>
										</table>
									</div>
								");
							}
							
							print("</div>
						</td>
						<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
					</tr>
					<tr><td colspan='3' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td></tr>
				</table>
				</div>
			</td>
			<td bgcolor='#8a7b68'><img src='images/dot_invis.png' width='10' height='2'/></td>
		</tr>
		<tr height='2'><td colspan='6' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td><tr>
		<tr><td colspan='6'><img src='images/dot_invis.png' width='2' height='5'/></td><tr>
		<tr height='100%' valign='top'>
			<td colspan='2' width='50%' valign='top'>
				".build_navigation( $page_title, $page_description, $signed_in )."
			</td>
			<td>
				<div><img src='images/dot_invis' width='400' height='1'/></div>
				<div class='text'>
");
}
?>

--- NEW FILE: _navigation.php ---


<?
	
	function build_navigation( $page_title, $page_description, $signed_in ){
		
		$buffer = "";
		
		$buffer .= "

			<table width='200' border='0' cellpadding='0' cellspacing='0'>
				<tr><td colspan='7'><img src='images/dot_invis.png' width='2' height='10'/></td></tr>
				<tr>
					<td><img src='images/dot_invis.png' width='10' height='2'/></td>
					<td colspan='5' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
					<td><img src='images/dot_invis.png' width='20' height='2'/></td>
				</tr>
				<tr>
					<td><img src='images/dot_invis.png' width='2' height='2'/></td>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='30'/></td>
					<td bgcolor='#978d72'><img src='images/dot_invis.png' width='10' height='2'/></td>
					<td bgcolor='#978d72' width='396'>
						<div class='clsParagraphTitle'>siesta <img src='images/help_small.gif' width='19' height='19' style='position:relative;top:3'/></div>
						<hr />
						<div><img src='images/dot_invis.png' width='2' height='5'/></div>
						";
		
						if ( $signed_in == 1 ){
							$buffer .= "
								<div><a href='admin.php' class='clsNavFirst'>home</a></div>
								<div><img src='images/dot_invis.png' width='2' height='5'/></div>
								<div>&nbsp; <a href='admin_tasks.php' class='clsNavSecond'>- admin tasks</a></div>
								<div><img src='images/dot_invis.png' width='2' height='5'/></div>
								<div>&nbsp; <a href='admin_list_list.php' class='clsNavSecond'>- manage lists</a></div>
								<div>&nbsp; &nbsp; &nbsp;<a href='admin_list_create.php' class='clsNavThird'>- create a new list</a></div>
								<div><img src='images/dot_invis.png' width='2' height='5'/></div>
								<div>&nbsp; <a href='admin_user_list.php' class='clsNavSecond'>- manage users</a></div>
								<div>&nbsp; &nbsp; &nbsp;<a href='admin_user_add.php' class='clsNavThird'>- add a new user</a></div>
								<div><img src='images/dot_invis.png' width='2' height='5'/></div>
								<div>&nbsp; <a href='admin_module_list.php' class='clsNavSecond'>- manage modules</a></div>
								<div>&nbsp; &nbsp; &nbsp;<a href='admin_module_install.php' class='clsNavThird'>- install new modules</a></div>
							";
						} else if ( $signed_in == 2 ){
							$buffer .= "
								<div><a href='user.php' class='clsNavFirst'>home</a></div>
								<div><img src='images/dot_invis.png' width='2' height='5'/></div>
								<div>&nbsp; <a href='user_details.php' class='clsNavSecond'>- edit details</a></div>
								<div><img src='images/dot_invis.png' width='2' height='5'/></div>
								<div>&nbsp; <a href='user_password.php' class='clsNavSecond'>- change password</a></div>
								<div><img src='images/dot_invis.png' width='2' height='5'/></div>
								<div>&nbsp; <a href='user_lists.php' class='clsNavSecond'>- manage lists</a></div>
								<div><img src='images/dot_invis.png' width='2' height='5'/></div>
								<div>&nbsp; <a href='user_modules.php' class='clsNavSecond'>- default list settings</a></div>
							";
						} else {
							$buffer .= "
								<div><a href='siesta_register.php' class='clsNavFirst'>register</a></div>
								<div><img src='images/dot_invis.png' width='2' height='5'/></div>
								<hr />
								<div><img src='images/dot_invis.png' width='2' height='5'/></div>
								<div><a href='siesta_signin.php' class='clsNavFirst'>sign in</a></div>
							";
						}
						
		$buffer .= "
						<div><img src='images/dot_invis.png' width='2' height='5'/></div>
						<hr />
						<div><img src='images/dot_invis.png' width='2' height='5'/></div>
						<div><a href='user.php' class='clsNavFirst'>siesta</a></div>
						<div><img src='images/dot_invis.png' width='2' height='5'/></div>
						<div>&nbsp; <a href='siesta_about.php' class='clsNavSecond'>- about</a></div>
						<div><img src='images/dot_invis.png' width='2' height='5'/></div>
						<div>&nbsp; <a href='siesta_help.php' class='clsNavSecond'>- help</a></div>
						<div><img src='images/dot_invis.png' width='2' height='10'/></div>
					</td>
					<td bgcolor='#978d72'><img src='images/dot_invis.png' width='10' height='2'/></td>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
					<td><img src='images/dot_invis.png' width='2' height='2'/></td>
				</tr>
				<tr>
					<td><img src='images/dot_invis.png' width='2' height='2'/></td>
					<td colspan='5' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
					<td><img src='images/dot_invis.png' width='2' height='2'/></td>
				</tr>
				<tr><td colspan='7'><img src='images/dot_invis.png' width='2' height='10'/></td></tr>
			</table>	
		";
		
		return $buffer;
	}
?>

--- NEW FILE: _quick_formatter.php ---


<?

if ($included==1) {
	return;	
}

$included=1;


function print_paragraph_title( $para_name, $para_description ){
	print("
		<p>
			<table width='400' border='0' cellpadding='0' cellspacing='0'>
				<tr><td colspan='5' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='400' height='2'/></td></tr>
				<tr>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='30'/></td>
					<td bgcolor='#978d72'><img src='images/dot_invis.png' width='10' height='2'/></td>
					<td bgcolor='#978d72' width='396'>
						<div class='clsParagraphTitle'>".$para_name." <img src='images/help_small.gif' width='19' height='19' style='position:relative;top:3'/></div>
						<div>".$para_description."</div>
						<div><img src='images/dot_invis.png' width='2' height='5'/></div>
					</td>
					<td bgcolor='#978d72'><img src='images/dot_invis.png' width='10' height='2'/></td>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
				</tr>
				<tr><td colspan='5' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td></tr>
			</table>
		</p>
	");
}

function print_plugin_admin_list( $plugin_name, $plugin_description ){
	print_plugin( $plugin_name, $plugin_description, "admin_list_module_settings.php", true, true );
}

function print_plugin_user( $plugin_name, $plugin_description ){
	print_plugin( $plugin_name, $plugin_description, "user_module_settings.php", false, false );
}

function print_plugin_user_list( $plugin_name, $plugin_description ){
	print_plugin( $plugin_name, $plugin_description, "user_list_module_settings.php", false, false );
}

function print_plugin_admin_user( $plugin_name, $plugin_description ){
	print_plugin( $plugin_name, $plugin_description, "admin_user_module_settings.php", false, false );
}

function print_plugin_default( $plugin_name, $plugin_description ){
	print_plugin( $plugin_name, $plugin_description, "admin_module_settings.php", false, false );
}



function print_plugin( $plugin_name, $plugin_description, $button_URL, $display_enable, $display_userconfig ){

	print("
		<div><img src='dot_invis.png' width='2' height='5'/></div>
		<div>
			<table border='0' cellpadding='0' cellspacing='0' width='400'>
			
				<tr>
					<td colspan='3' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
					<td rowspan='3' bgcolor='#4c4c4c'><img src='images/plugin_scoop.gif' width='100' height='43'/></td>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
				</tr>
				
				<tr>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
					<td colspan='2' bgcolor='#8a7b68' width='100%' class='clsPluginTitle'> &nbsp; ".$plugin_name." <img src='images/help_small.gif' width='19' height='19' style='position:relative;top:3'/></td>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
				</tr>
				
				<tr>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
					<td colspan='2' bgcolor='#8a7b68'> &nbsp; &nbsp;- ".$plugin_description."</td>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
				</tr>
				
				<tr>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
					<td rowspan='2' bgcolor='#8a7b68'><img src='images/dot_invis.png' width='25' height='25'/></td>
					<td bgcolor='#8a7b68' width='100%' valign='bottom'>");
					
						if ($display_enable){
							print("
							<input type='checkbox'/>enable");
						}
						print("	
					</td>
					<td rowspan='2' bgcolor='#8a7b68' align='left'>
						<div><img src='images/dot_invis.png' width='1' height='10'/></div>
						<div><a href='".$button_URL."'><img src='images/button_settings.gif' width='97' height='25' border='0' /></a></div>
						<div><img src='images/dot_invis.png' width='1' height='10'/></div>
					</td>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
				</tr>
				
				<tr>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
					<td bgcolor='#8a7b68' valign='top'>");
					
						if ($display_userconfig){
							print("
							<input type='checkbox'/>user configurable");
						}
						print("
					</td>
					<td bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td>
				</tr>
			
				<tr><td colspan='5' bgcolor='#4c4c4c'><img src='images/dot_invis.png' width='2' height='2'/></td></tr>
				
			</table>
		</div>
	");
}



function print_plugin_ok( $ok_action, $comment_text ){

	print("
		<p>
			<table border='0' cellpadding='0' cellspacing='0' width='400'>
				<tr>
					<td><img src='images/dot_invis.png' width='308' height='1'/></td>
					<td><img src='images/dot_invis.png' width='10' height='1'/></td>
					<td><img src='images/dot_invis.png' width='82' height='1'/></td>
				</tr>
				<tr>
					<td align='right'>".$comment_text."</td>
					<td><img src='images/dot_invis.png' width='10' height='1'/></td>
					<td><a href='".$ok_action."'><img src='images/button_ok.png' width='57' height='57' border='0'/></a><img src='dot_invis.png' width='25' height='2'/></td>
				</tr>
			</table>
		</p>
	");
}

?>

--- NEW FILE: admin.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<b>home</b>";
	print_header($HTTP_HOST." admin","You're signed in as administrator",$breadcrumbs,1);
?>



<p>
	You're now logged in with administrator privilages. Tread carefully,
	for few paths lead to enlightenment.
</p>
<p>
	Last logged in: Fri 3rd January 2003.
</p>


<? print_paragraph_title("admin tasks","Manage system requests"); ?>



<ul>
	<li>You have <a href='admin_tasks.php'><b>5 Administrative tasks pending</b></a>.</li>
</ul>

<? print_paragraph_title("lists","Mailing list details and settings"); ?>

<ul>
	<li><a href="admin_list_create.php"><b>Create</b> a new list</a></li>
	<li><a href="admin_list_list.php"><b>Manage</b> an existing list</a></li>
</ul>


<? print_paragraph_title("users","Subscriber details and settings"); ?>

<ul>
	<li><a href="admin_user_add.php"><b>Add</b> a new user</a></li>
	<li><a href="admin_user_list.php"><b>Manage</b> an existing user</a></li>
</ul>


<? print_paragraph_title("modules","Manage default module settings"); ?>

<ul>
	<li><a href="admin_module_list.php"><b>Manage</b> default module configurations</a></li>
	<li><a href="">Learn how to install a new module</a></li>
</ul>

<table width="100%"  border="0" cellpadding="0" cellspacing="0">
	<tr height="2">
		<td colspan='2' bgcolor="#4d4d4d"></td>
	<tr>
	<tr height="10">
		<td colspan='2'></td>
	<tr>
</table>
<?
		include ("_footer.php");
?>

--- NEW FILE: admin_list_create.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> / 
					<a href='admin_list_list.php'>manage lists</a> / 
					<b>create list</b>";
	print_header("create list","Make a new mailing list",$breadcrumbs, 1);
?>


<? print_paragraph_title("list name","Type in a name and hit the button to create a list"); ?>

<p>
	Names must be alphanumerical (only contain letters and numbers). No spaces or other characters
	are allowed.
</p>

<form action="admin_list_details.php">
<div>List name : <input type='text' size='30'/></div>
<div><img src='images/dot_invis.png' width='92' height='10' border="0"/></div>
<div align='right'><input type="image" src="images/create.png" width="92" height="25" border="0"/></div>
</form>


<?
		include ("_footer.php");
?>

--- NEW FILE: admin_list_details.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> / 
					<a href='admin_lists_list.php'>manage lists</a> / 
					<a href='admin_list_main.php'>[list_name]</a> / <b>edit details</b>";
	print_header("edit list details","Change basic values and settings",$breadcrumbs, 1);
?>

<p>
	<table border='0' cellpadding='0' cellspacing='0' width='400'>
	
		<tr><td colspan='3'><? print_paragraph_title("basic details","Name and description"); ?></td></tr>
		
		<tr><td colspan='3'><img src='images/dot_invis.png' width='1' height='10'/></td><tr>
		<tr>
			<td width='1'>Name:&nbsp;</td>
			<td colspan='2'>
				<div><input type='text' size='40' /></div>
				<div class='clsSmall'>(Up to 30 alphanumeric characters)</div>
			</td>
		</tr>
		<tr><td colspan='3'><img src='images/dot_invis.png' width='1' height='10'/></td><tr>
		<tr>
			<td>Description:&nbsp;</td>
			<td colspan='2'>
				
				<div><textarea rows='5' cols='35'/></textarea></div>
				<div class='clsSmall'>(Up to 1000 characters of any type)</div>
			</td>
		</tr>
		<tr><td colspan='3'><img src='images/dot_invis.png' width='1' height='10'/></td><tr>
		
		<tr><td colspan='3'><? print_paragraph_title("privacy options","Name and description"); ?></td></tr>
		
		<tr><td colspan='3'><img src='images/dot_invis.png' width='1' height='10'/></td><tr>
		
		<tr>
			<td>Mode: </td>
			<td nowrap>
					&nbsp;<input name='privacy' type="radio" checked /> Public
		    </td>
		    <td width='300'><div class='clsSmall'>- available to anyone registered on this server</div></td>
		</tr>
		<tr>
			<td></td>
			<td nowrap>
					&nbsp;<input name='privacy' type="radio" /> Private
		    </td>
		    <td width='300'><div class='clsSmall'>- available only to specific users</div></td>
		</tr>
		<tr>
			<td></td>
			<td nowrap>
					&nbsp;<input name='privacy' type="radio" /> Invite only &nbsp;
		    </td>
		    <td width='300'><div class='clsSmall'>- available only to invited users</div></td>
		</tr>
		
		<tr><td colspan='3'><img src='images/dot_invis.png' width='1' height='10'/></td><tr>
		
		<tr><td colspan='3'>[WHAT'S THE DIFFERENCE BETWEEN "private" AND "invite only"?]</td><tr>
		
		<tr><td colspan='3'><img src='images/dot_invis.png' width='1' height='10'/></td><tr>
		
		<tr>
			<td colspan="3">
				<div align='right'>
					<a href='admin_list_main.php'><img src='images/button_ok_long_blue.png' width='92' height='25' border='0'/></a>
					<img src='dot_invis.png' width='10' height='2'/>
				</div>
			</td>
		</tr>
		
		
	</table>
</p>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_list_list.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> / 
					<b>manage lists</b>";
	print_header("manage lists","Choose a list to administer",$breadcrumbs, 1);
?>


<? print_paragraph_title("select list","Find the mailing list in the drop-down box"); ?>


<p>
	<form action="admin_list_main.php">
	<select>
		<option>Slags</option>
		<option>Tarts</option>
		<option>Vicars</option>
	</select>
	<input type="submit" value="manage">
	</form>
</p>

<p>
	Should the number of lists be greater than (pulling numbers out of arse) 
	50 or 100 it would probably be best to implement a different method
	of selecting your desired list (see commented-out stuff below).
</p>

<!--

<? print_paragraph_title("[not yet] Search","Find mailing list by name"); ?>
<p>
	<form action="admin_list_main.php">
		<input type='text'/>
		<input type='submit' value='search'/>
	</form>
</p>

<? print_paragraph_title("Browse","Find it alphabetically"); ?>

<p>
	<a href='admin_list_main.php'>A-C</a> | 
	<a href='admin_list_main.php'>D-F</a> | 
	<a href='admin_list_main.php'>whatever</a>
</p>

-->

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_list_main.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> / 
					<a href='admin_list_list.php'>manage lists</a> / 
					<b>[list_name]</b>";
	print_header("[list_name]","The email list for people who like email lists",$breadcrumbs, 1);
?>

<? print_paragraph_title("details",""); ?>

<div align='center'>
	<table cellpadding='0' cellspacing='0' border='0'>
		<tr>
			<td align='right' valign='top'><b>Description :</b></td>
			<td></td>
			<td>
				This is a list for hairy people like hairy Simon, 
				who are also hairy, like wot he is. They
				must be shaved.
			</td>
		</tr>
		<tr><td colspan='3'><img src='images/dot_invis.png' width='1' height='5'/></td></tr>
		<tr>
			<td align='right' valign='top'><b>Subscription :</b></td>
			<td></td>
			<td>
				Invite only
			</td>
		</tr>
	</table>
</div>
<div align='right'><a href='admin_list_details.php'>Edit list details</a></div>

<? print_paragraph_title("admin tasks",""); ?>

<p>This list has <b>7</b> admin tasks pending</p>

<p align='right'><a href='admin_list_tasks.php'>Manage list admin tasks</a></p>

<? print_paragraph_title("subscribers",""); ?>

<p>There are currently <b>34 subscribers</b> to this list.</p>

<p align='right'><a href='admin_list_users.php'>Manage list subscribers</a></p>

<? print_paragraph_title("modules",""); ?>

<p align='right'><a href='admin_list_modules.php'>Manage list modules</a></p>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_list_module_settings.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> / 
					<a href='admin_list_list.php'>manage lists</a> / 
					<a href='admin_list_main.php'>[list_name]</a> / 
					<a href='admin_list_modules.php'>modules</a> / <b>[module_name]</b>";
	print_header("edit modules","Edit module configuration for this list",$breadcrumbs, 1);
?>

<p>This edits the <b>per-list</b> options for [ plugin_name ].</p>

<p>
	This can be overridden by the <b>per-user</b> 
	or <b>per-user-per-list</b> configuration.
</p>

<? print_paragraph_title("module settings","Default settings for the [module_name] module"); ?>

<p>
	This is the module that filters out all of the hair that Simon
	seems to leave all over his emails. That's what happens if you're
	as hairy as he is.
</p>

<p>
	<table>
		<tr>
			<td>Some Detail </td><td>&nbsp;<input type="text" /></td>
		</tr>
		<tr>
			<td>Something else</td>
			<td>
				&nbsp;foo:<input type="radio" name="foo"/>
				&nbsp;bar:<input type="radio" name="foo"/>
				&nbsp;qux:<input type="radio" name="foo"/>
			</td>
		</tr>
		<tr>
			<td>Drop Down List </td>
			<td>
				<select>
					<option>foo</option>
					<option>bar</option>
					<option>qux</option>
				</select>
			</td>
		</tr>
		<tr>
			<td>Checkbox </td><td>&nbsp;<input type="checkbox" /></td>
		</tr>
	</table>
</p>

<p align='right'><a href='admin_list_modules.php'><img src='images/button_ok_long_blue.png' width='92' height='25' border='0'/></a></p>



<?
		include ("_footer.php");
?>

--- NEW FILE: admin_list_modules.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> / 
					<a href='admin_list_list.php'>manage lists</a> / 
					<a href='admin_list_main.php'>[list_name]</a> / <b>modules</b>";
	print_header("manage modules","Control the way this list behaves",$breadcrumbs, 1);
?>

<p>
	Siesta modules are configurable filters that process incoming messages and send them
	on to list subscribers.
</p>

<p>
	<? print_paragraph_title("preprocessors","These filters are applied to mail as it arrives at the server"); ?>
	<? print_plugin_admin_list( "pgp decrypt", "decrypts mails based on list private key" ); ?>
	<? print_plugin_admin_list( "strip html", "removes HTML formatting" ); ?>
</p>

<? print_plugin_ok( "admin_list_main.php", "Save changes to all module types:" ); ?>

<p>
	<? print_paragraph_title("validators","These filters remove unwanted messages"); ?>
	<? print_plugin_admin_list( "members only", "blocks incoming mail from non-subscribers" ); ?>
	<? print_plugin_admin_list( "spam", "identifies and blocks spam messages" ); ?>
</p>

<? print_plugin_ok( "admin_list_main.php", "Save changes to all module types:" ); ?>

<p>
	<? print_paragraph_title("postprocessors","These filters make final preparations and send the messages"); ?>
	<? print_plugin_admin_list( "reply-to munging", "reply-to list instead of to individual" ); ?>
	<? print_plugin_admin_list( "sig adding", "adds list signatures to messages" ); ?>
	<? print_plugin_admin_list( "subject line munging", "adds list ID to subject" ); ?>
	<? print_plugin_admin_list( "pgp encrypt", "encrypts messages using users' public keys" ); ?>
</p>

<? print_plugin_ok( "admin_list_main.php", "Save changes to all module types:" ); ?>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_list_tasks.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> / 
					<a href='admin_list_list.php'>manage lists</a> / 
					<a href='admin_list_main.php'>[list_name]</a> / <b>tasks</b>";
	print_header("admin tasks","Jobs that require the list admin's attention",$breadcrumbs, 1);
?>

<p>
	When the system needs clarification from the LIST administrator, this is where
	requests appear.
</p>

<? print_paragraph_title("tasks","Get of your arse, you lazy bum!"); ?>

<p>You have <b>no</b> administrative tasks remaining.</p>

<p align='right'><a href='admin_list_main.php'><img src='images/button_ok_long_blue.png' width='92' height='25' border='0'/></a></p>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_list_users.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> / 
					<a href='admin_list_list.php'>manage lists</a> / 
					<a href='admin_list_main.php'>[list_name]</a> / <b>manage users</b>";
	print_header("manage users","Control your minions",$breadcrumbs, 1);
?>
		
<p>
	This page allows you to subscribe and unsubscribe users from this list, as
	well as manage list-specific settings for that user.
</p>

<? print_paragraph_title("select user","Find the user in the drop-down box"); ?>


<p>
	<form action="list_about.php">
	<select>
		<option>Rich</option>
		<option>Simon</option>
		<option>Celia</option>
	</select>
	&nbsp;
	<input type="button" value="manage settings">
	&nbsp;
	<input type="button" value="unsubscribe">
	</form>
</p>

<p>
	Here you can only edit a user's LIST-SPECIFIC settings.
</p>
<p>
	To edit their DEFAULT settings you must go to the <a href='admin_user.php'>user management pages</a>.
</p>

<p align='right'><a href='admin_list_main.php'><img src='images/button_ok_long_blue.png' width='92' height='25' border='0'/></a></p>


<?
		include ("_footer.php");
?>

--- NEW FILE: admin_module_install.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> /
					<a href='admin_module_list.php'>manage modules</a> /
					<b>install new modules</b>";
	print_header( "install new modules","How to install a new module",$breadcrumbs,1);
?>



<p>
	Instructions for finding, downloading, and installing new modules
</p>

<p>
	Online resources:
	<ul>
		<li>master module list</li>
		<li>configuration advice per-module</li>
	</ul>
</p>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_module_list.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> /
					<b>manage modules</b>";
	print_header( "manage modules","Choose a plugin to configure",$breadcrumbs,1);
?>

<p>
	Use this area to set defaults for modules. These can be overridden either 
	<a href="admin_list_list.php"><b>per-list</b></a> or
	for individual <a href="admin_user_list.php"><b>users</b></a>.
</p>


<p>
	<? print_paragraph_title("preprocessors","These filters are applied to mail as it arrives at the server"); ?>
	<? print_plugin_default( "pgp decrypt", "decrypts mails based on list private key" ); ?>
	<? print_plugin_default( "strip html", "removes HTML formatting" ); ?>
</p>

<? print_plugin_ok( "admin.php", "Module changes complete:" ); ?>

<p>
	<? print_paragraph_title("validators","These filters remove unwanted messages"); ?>
	<? print_plugin_default( "members only", "blocks incoming mail from non-subscribers" ); ?>
	<? print_plugin_default( "spam", "identifies and blocks spam messages" ); ?>
</p>

<? print_plugin_ok( "admin.php", "Module changes complete:" ); ?>

<p>
	<? print_paragraph_title("postprocessors","These filters make final preparations and send the messages"); ?>
	<? print_plugin_default( "reply-to munging", "reply-to list instead of to individual" ); ?>
	<? print_plugin_default( "sig adding", "adds list signatures to messages" ); ?>
	<? print_plugin_default( "subject line munging", "adds list ID to subject" ); ?>
	<? print_plugin_default( "pgp encrypt", "encrypts messages using users' public keys" ); ?>
</p>

<? print_plugin_ok( "admin.php", "Module changes complete:" ); ?>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_module_settings.php ---
#!/usr/local/bin/php


 <? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> / 
					<a href='admin_module_list.php'>manage modules</a> / 
					<b>[module_name]</b>";
	print_header("edit module defaults","Change default configuration options",$breadcrumbs, 1);	
?>


<p>This edits the <b>default</b> options for [ module_name ].</p>

<p>
	This can be overridden by the <b>per-list</b>, <b>per-user</b> 
	or <b>per-user-per-list</b> configuration.
</p>

<? print_paragraph_title("module settings","Default settings for the [module_name] module"); ?>

<p>
	This is the module that filters out all of the hair that Simon
	seems to leave all over his emails. That's what happens if you're
	as hairy as he is.
</p>

<p>
	<table>
		<tr>
			<td>Some Detail </td><td>&nbsp;<input type="text" /></td>
		</tr>
		<tr>
			<td>Something else</td>
			<td>
				&nbsp;foo:<input type="radio" name="foo"/>
				&nbsp;bar:<input type="radio" name="foo"/>
				&nbsp;qux:<input type="radio" name="foo"/>
			</td>
		</tr>
		<tr>
			<td>Drop Down List </td>
			<td>
				<select>
					<option>foo</option>
					<option>bar</option>
					<option>qux</option>
				</select>
			</td>
		</tr>
		<tr>
			<td>Checkbox </td><td>&nbsp;<input type="checkbox" /></td>
		</tr>
	</table>
</p>

<p align='right'><a href='admin_module_list.php'><img src='images/button_ok_long_blue.png' width='92' height='25' border='0'/></a></p>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_tasks.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> / 
					<b>tasks</b>";
	print_header("admin tasks","Jobs that require the list admin's attention",$breadcrumbs, 1);
?>

<p>
	When the system needs clarification from the SERVER administrator, this is where
	requests appear.
</p>

<? print_paragraph_title("tasks","Get of your arse, you lazy bum!"); ?>

<p>You have <b>no</b> administrative tasks remaining.</p>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_user_add.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> / 
					<b>add user</b>";
	print_header("add user","add a new user",$breadcrumbs, 1);
?>

<? print_paragraph_title("user name","Type in a name and hit the button to create a user"); ?>

<p>
	Names must be alphanumerical (only contain letters and numbers). No spaces or other characters
	are allowed.
</p>

<form action="admin_user_main.php">
<div>User name : <input type='text' size='30'/></div>
<div><img src='images/dot_invis.png' width='92' height='10' border="0"/></div>
<div align='right'><input type="image" src="images/create.png" width="92" height="25" border="0"/></div>
</form>




<?
		include ("_footer.php");
?>

--- NEW FILE: admin_user_details.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> /
					<a href='users_list.php'>manage user</a> /
					<b>[user_name]</b>";
	print_header("manage user","Edit details for user [user_name]",$breadcrumbs,1);
?>


<? print_paragraph_title("details","Edit user's particulars"); ?>

<p align='center'>
	<table>
		<tr>
			<td align='right'>Name&nbsp;</td><td><input type="text" /></td>
		</tr>
		<tr>
			<td align='right'>Email Address&nbsp;</td><td><input type="text" /></td>
		</tr>
		<tr>
			<td align='right'>Password&nbsp;</td><td><input type="password" /></td>
		</tr>
		<tr>
			<td colspan='2'>&nbsp;</td>
		</tr>
		<tr>
			<td align='right' valign='top'>Admin password&nbsp;</td>
			<td>
				<div><input type="password" /></div>
				<div class='clsSmall'>(required to change user login details)</div>
			</td>
		</tr>
	</table>
</p>

<? print_plugin_ok( "admin_user_main.php", "Save changes to user details:" ); ?>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_user_list.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> /
					<b>manage user</b>";
	print_header("manage user","Choose user to edit",$breadcrumbs,1);
?>

<? print_paragraph_title("search for user","Find the user by name or email"); ?>


<p>
	<form action="list_about.php">
	<div>
		Search for: 
		<select>
			<option>email address</option>
			<option>name</option>
		</select>
		&nbsp;containing: <input type='text'/>
	</div>
	<div><img src='images/dot_invis.png' width='2' height='10'/></div>
	<div align='right'>
		<a href='admin_user_main.php'><img src='images/button_search_long_blue.png' width='92' height='25' border='0'/></a>
	</div>
	</form>
</p>

<? print_paragraph_title("browse for user","Find the user alphabetically"); ?>

<p>
	<a href='admin_user_main.php'>A-C</a> | 
	<a href='admin_user_main.php'>D-F</a> | 
	<a href='admin_user_main.php'>whatever</a>
</p>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_user_main.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> /
					<a href='admin_user_list.php'>manage user</a> /
					<b>[user_name]</b>";
	print_header("manage user","Edit details for user [user_name]",$breadcrumbs,1);
?>

<? print_paragraph_title("details","Name, email, etc."); ?>

<p align='center'>
	<table>
		<tr>
			<td>Name</td>
			<td>&nbsp;</td>
			<td>Simon T Slag</td>
		</tr>
		<tr>
			<td>Email</td>
			<td></td>
			<td>big@xxxxxx.xx.xx</td>
		</tr>
	</table>
</p>

<p align='right'><a href='admin_user_details.php'><img src='images/button_update_long_blue.png' width='92' height='25' border='0'/></a></p>

<? print_paragraph_title("lists","Manage current list memberships"); ?>

<p align='center'>
	<table>
		<tr>
			<td>Rich's Toe Sucking List&nbsp;</td>
			<td>&nbsp;|&nbsp;<a href='#'>per-list settings</a></td>
			<td>&nbsp;|&nbsp;<a href='#'>unsubscribe</a>&nbsp;|&nbsp;</td>
		</tr>
		<tr>
			<td>Simian Tending&nbsp;</td>
			<td>&nbsp;|&nbsp;<a href='#'>per-list settings</a></td>
			<td>&nbsp;|&nbsp;<a href='#'>unsubscribe</a>&nbsp;|&nbsp;</td>
		</tr>
	</table>
</p>

<? print_paragraph_title("modules","Manage default settings for this user"); ?>

<p align='right'><a href='admin_user_modules.php'>edit default module settings</a></p>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_user_module_settings.php ---
#!/usr/local/bin/php


 <? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> /
					<a href='admin_user_list.php'>manage user</a> /
					<a href='admin_user_main.php'>[username]</a> /
					<a href='admin_user_modules.php'>modules</a> /
					<b>[module_name]</b>";
	print_header("edit module defaults","Change default configuration options",$breadcrumbs, 1);	
?>


<p>This edits the <b>default</b> options for [ module_name ].</p>

<p>
	This can be overridden by the <b>per-list</b>, <b>per-user</b> 
	or <b>per-user-per-list</b> configuration.
</p>

<? print_paragraph_title("module settings","Default settings for the [module_name] module"); ?>

<p>
	This is the module that filters out all of the hair that Simon
	seems to leave all over his emails. That's what happens if you're
	as hairy as he is.
</p>

<p>
	<table>
		<tr>
			<td>Some Detail </td><td>&nbsp;<input type="text" /></td>
		</tr>
		<tr>
			<td>Something else</td>
			<td>
				&nbsp;foo:<input type="radio" name="foo"/>
				&nbsp;bar:<input type="radio" name="foo"/>
				&nbsp;qux:<input type="radio" name="foo"/>
			</td>
		</tr>
		<tr>
			<td>Drop Down List </td>
			<td>
				<select>
					<option>foo</option>
					<option>bar</option>
					<option>qux</option>
				</select>
			</td>
		</tr>
		<tr>
			<td>Checkbox </td><td>&nbsp;<input type="checkbox" /></td>
		</tr>
	</table>
</p>

<p align='right'><a href='admin_user_modules.php'><img src='images/button_ok_long_blue.png' width='92' height='25' border='0'/></a></p>

<?
		include ("_footer.php");
?>

--- NEW FILE: admin_user_modules.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='admin.php'>home</a> /
					<a href='admin_user_list.php'>manage user</a> /
					<a href='admin_user_main.php'>[username]</a> /
					<b>modules</b>";
	print_header( "manage modules","Choose a plugin to configure",$breadcrumbs,1);
?>

<p>
	Use this area to set defaults for user. These override all settings except
	for <a href="admin_user_main.php"><b>per-user per-list settings</b></a>.
</p>


<p>
	<? print_paragraph_title("preprocessors","These filters are applied to mail as it arrives at the server"); ?>
	<? print_plugin_admin_user( "pgp decrypt", "decrypts mails based on list private key" ); ?>
	<? print_plugin_admin_user( "strip html", "removes HTML formatting" ); ?>
</p>

<? print_plugin_ok( "admin_user_main.php", "Module changes complete:" ); ?>

<p>
	<? print_paragraph_title("validators","These filters remove unwanted messages"); ?>
	<? print_plugin_admin_user( "members only", "blocks incoming mail from non-subscribers" ); ?>
	<? print_plugin_admin_user( "spam", "identifies and blocks spam messages" ); ?>
</p>

<? print_plugin_ok( "admin_user_main.php", "Module changes complete:" ); ?>

<p>
	<? print_paragraph_title("postprocessors","These filters make final preparations and send the messages"); ?>
	<? print_plugin_admin_user( "reply-to munging", "reply-to list instead of to individual" ); ?>
	<? print_plugin_admin_user( "sig adding", "adds list signatures to messages" ); ?>
	<? print_plugin_admin_user( "subject line munging", "adds list ID to subject" ); ?>
	<? print_plugin_admin_user( "pgp encrypt", "encrypts messages using users' public keys" ); ?>
</p>

<? print_plugin_ok( "admin_user_main.php", "Module changes complete:" ); ?>

<?
		include ("_footer.php");
?>

--- NEW FILE: index.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<b>not signed in</b>";
	print_header( $HTTP_HOST." siesta server","Siesta mailing list manager",$breadcrumbs,0);
?>
	<p>
		Siesta is a highly configurable and extensable, open-source mailing list manager.
	</p>
	
	<p>
		If you do not have a login already you may be able to create one yourself, 
		as long as the <a href='mailto:'>system administrator</a> allows it.
	</p>
	
	<? print_paragraph_title("public mailing lists","Publically visible mailing lists on the system"); ?>
	
	<p>
		These are the publicly available mailing lists on this system -
		some of them may have publicly available archive.
	</p>
	
	<p>
		By logging in you may be able to see more mailing lists and view more archives.
	</p>
	
	<p>
		<table>
			<tr>
				<td class='clsSubNav'>Rich's Toe Sucking List</td>
				<td class='clsDescription'>&nbsp;I like to suck toes</td>
				<td class='clsSmallLink'>&nbsp; &lt;n/a&gt;</td>
			</tr>
			<tr>
				<td class='clsSubNav'>Monkeys and how to keep them</td>
				<td class='clsDescription'>&nbsp;Simian tending</td>
				<td class='clsSmallLink'>&nbsp; &lt; <a href=#>archives</a> &gt;</td>
			</tr>
		</table>
	</p>



<?
		include ("_footer.php");
?>

--- NEW FILE: siesta.css ---
 
/**************************************************
 *   Standard tags
 *************************************************/

body {
	font-family: 		Tahoma, Arial, Helvetica;
	font-size: 			smaller;
	color: 				#333333;
	background-color:	#7b8cf7;
	margin: 			0;
}
p {
	font-family: 		Tahoma, Arial, Helvetica;
	color: 				#333333;
}
td {
	font-family: 		Tahoma, Arial, Helvetica;
	font-size: 			smaller;
	color: 				#333333;
}
li {
	font-family: 		Tahoma, Arial, Helvetica;
	text-align: 		justify;
	color: 				#333333;
}
a {
	color: 				#FFFFFF;
}
a:visited {
	color: 				#FFFFFF;
}
a:hover {
	color: 				#000099;
}



/**************************************************
 *   Custom classes
 *************************************************/


/***********   Page header classes  ***************/

.clsPageTitle {
	font-family: 		Tahoma, Arial, Helvetica;
	font-size: 			large;
	text-decoration: 	none;
}
.clsBreadcrumbs{
	font-family: 		Tahoma, Arial, Helvetica;
	color:				white;
	text-decoration: 	none;
}
.clsAuthStatus{
	text-decoration: 	none;
	font-weight: 		bold;
}
.clsAuthEmail{
	text-decoration: 	none;
}
.clsLoginBox{
	width: 				100px;
	border: 			2px solid #4c4c4c;
}
.clsLoginText{
	font-weight: 		bold;
}



/***********   Navigation classes  ***************/

.clsNavFirst {
	font-family: 		Tahoma, Arial, Helvetica;
	text-decoration: 	none;
	font-weight: 		bold;
	font-size: 			smallest;
	color:				white;
}
.clsNavSecond{
	font-family: 		Tahoma, Arial, Helvetica;
	text-decoration: 	none;
	font-size: 			smallest;
	color:				white;
}
.clsNavThird{
	font-family: 		Tahoma, Arial, Helvetica;
	font-size: 			smallest;
	text-decoration:	none;
	color:				white;
	
}



/***********   Page body classes  *****************/

.clsParagraphTitle {
	font-family: Tahoma, Arial, Helvetica;
	font-size: large;
	font-weight: normal;
}
.clsBlockTitle {
	font-family: Tahoma, Arial, Helvetica;
	font-weight: normal;
}
.clsSmall {
	font-family: Tahoma, Arial, Helvetica;
	font-size: smaller;
	text-decoration: none;
}

/*********** Plugin page classes ****************/

.clsPluginTitle{
	font-family: Tahoma, Arial, Helvetica;
	font-size: 14pt;
	text-decoration: none;
}


--- NEW FILE: siesta.zip ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: siesta_404.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<b>not signed in</b>";
	print_header( "404","Dude, where's my page?",$breadcrumbs,0);
?>

	<p>
		404
	</p>

<?
		include ("_footer.php");
?>

--- NEW FILE: siesta_500.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<b>not signed in</b>";
	print_header( "500","Dude, sweet, dude, sweet, dude, sweet...",$breadcrumbs,0);
?>

	<p>
		500
	</p>

<?
		include ("_footer.php");
?>

--- NEW FILE: siesta_about.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<b>not signed in</b>";
	print_header( "about siesta","Siesta mailing list manager",$breadcrumbs,0);
?>

	<p>
		[MOCKUP-FLAW] Navigating to this page signs you out, which it obviously shouldn't.
	</p>
	
	<? print_paragraph_title("about siesta","Probably the best mailing list manager in the world"); ?>

	<p>
		This is what it's all about, init! Shake it about baby yeah! We is tha mac daddies!
	</p>
	
	<? print_paragraph_title("tasks completed","Stuff I've done since Perigian"); ?>
	
	<p><b>- Filenames reorganised</b> so that they reflect their breadcrumbs values.</p>
	
	<p><b>- Text is now relatively sized</b> so that people with poor vision can resize it.</p>
	
	<p><b>- 'Plugin' changed to 'module'</b> throughout.</p>
	
	<p>
		<b>- Breadcrumbs re-organised</b> so that 'home' takes you to either 'admin home' or 'user home'
		depending on your login. This means that the breadcrumbs no longer appear to sign you out.
	</p>
	
	<p><b>- Persistent navigation added</b>. I don't think we can justify leaving it out any more.</p>
	
	<p>
		<b>- References to multiple admins removed</b>. Things like changing list passwords and stuff
		doesn't seem applicable since ... oh shit... I suppose list passwords might be needed to make lists
		invite only/members only... oops.
	</p>
	
	<p>
		<b>- Listing mechanisms rationalised</b> so that only the most applicable ways of finding 
		users/lists are shown.
	</p>
	
	<p>
		<b>- Refactored the include files</b> so that pages only need to include '_header.php', and code 
		replication is reduced in '_quick_formatter.php'.
	</p>
	
	<p>
		<b>- Tinkered with some interface elements</b>, because I like to fiddle.
	</p>
	
	<? print_paragraph_title("tasks left to-do","We can keep a list here while we're working on it"); ?>
	
	<p>
		<b>- Mock up error pages</b> so that it looks nice when everything goes wrong.
	</p>
	
	<p>
		<b>- Mock up help system</b>. All these little question marks have to point somewhere useful.
	</p>
	
	<p>
		<b>- Sign in, sign up, and sign in failure pages</b> for completeness.
	</p>
	
	<p>
		<b>- UI for subscribing</b> to a particular list from scratch, including configuring
		plugins used by that list. Some kind of wizard like a good idea.
	</p>



<?
		include ("_footer.php");
?>

--- NEW FILE: siesta_help.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<b>not signed in</b>";
	print_header( "siesta help","Siesta mailing list manager",$breadcrumbs,0);
?>

	<p>
		[MOCKUP-FLAW] Navigating to this page signs you out, which it obviously shouldn't.
	</p>
	
	<? print_paragraph_title(" = admin ? admin docs : user docs","Docs appropriate to wot you is signed in as, innit"); ?>

	<p>
		This is what it's all about, init! Shake it about baby yeah! We is tha mac daddies!
	</p>
	
	<? print_paragraph_title("sign-in help","Problems signing in"); ?>

	<p>
		This is what it's all about, init! Shake it about baby yeah! We is tha mac daddies!
	</p>
	
	<? print_paragraph_title("modules help","The module system and how to use it"); ?>
	
	<p>
		It's up to you if you want to leave it in the final version though...
	</p>
	
	<ul>
		<li>mock up error pages</li>
		<li>sign in and sign in failure pages (email your password, etc.)</li>
		<li>mock up some kind of subscription UI</li>
	</ul>



<?
		include ("_footer.php");
?>

--- NEW FILE: test.php ---
#!/usr/local/bin/php

<html>

<? print 'foo' ?>

</html>

--- NEW FILE: user.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<b>home</b>";
	print_header( "[user_name] home","Your place to change subscriptions and settings",$breadcrumbs,2);
?>

<p>Last logged in: Fri 3rd January 2003</p>

<? print_paragraph_title("details","Housekeeping stuff"); ?>
<p>
	<table>
		<tr>
			<td>Name</td>
			<td>&nbsp;</td>
			<td>Simon T Slag</td>
		</tr>
		<tr>
			<td>Email</td>
			<td></td>
			<td>simon@xxxx.xxx</td>
		</tr>
	</table>
</p>
<p>
	<a href="user_details.php"><b>Edit</b> your details.</a> &nbsp; | &nbsp; <a href="user_password.php"><b>Change</b> your password.</a>
</p>



<? print_paragraph_title("subscriptions","Manage subscriptions and per-list settings"); ?>
<p>
	<table>
		<tr>
			<td>Dirty arse banditos</td>
			<td>&nbsp;</td>
			<td>The only dedicated gay moustache fetish list...</td>
		</tr>
		<tr>
			<td>Turkish prisons</td>
			<td></td>
			<td>Middle-east incarceration gossip and photos ...</td>
		</tr>
		<tr>
			<td>The Hairy Ones</td>
			<td></td>
			<td>Simon's group for folicle-based discussions a...</td>
		</tr>
	</table>
</p>
<p>
	<a href="user_lists.php"><b>Manage</b> lists.</a> <br/>
</p>



<? print_paragraph_title("modules","Change default settings"); ?>
<p>
	Manage your <a href="user_modules.php"><b>default settings</b></a> here. For per-list 
	exceptions, check the subscriptions section above.
</p>


<?
		include ("_footer.php");
?>

--- NEW FILE: user_details.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='user.php'>home</a> /
					<b>edit details</b>";
	print_header( "edit details","Change login names and passwords and stuff",$breadcrumbs,2);
?>

<p>
	Change any details you wish altered, then click 'OK'.
</p>

<? print_paragraph_title("details","Change your particulars"); ?>

<p>
	<table>
		<tr>
			<td>Name </td><td>&nbsp;<input type="text" /></td>
		</tr>
		<tr>
			<td>Email Address </td><td>&nbsp;<input type="text" /></td>
		</tr>
		<tr><td colspan='2'>&nbsp;</td></tr>
		<tr>
			<td>Password </td><td>&nbsp;<input type="password" /></td>
		</tr>
	</table>
</p>
<p align='right'><a href='user.php'><img src='images/button_ok.png' border='0'/></a></p>

<?
		include ("_footer.php");
?>

--- NEW FILE: user_list_module_settings.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='user.php'>home</a> /
					<a href='user_lists.php'>manage lists</a> /
					<a href='user_lists.php'>[list_name]</a> /
					<a href='user_list_modules.php'>settings</a> /
					<b>[module_name]</b>";
	print_header("Edit Plugins","Edit plugin configuration for this list",$breadcrumbs, 1);
?>


<p>This edits the <b>default</b> options for [ module_name ].</p>

<p>
	This can be overridden by the <b>per-list</b>, <b>per-user</b> 
	or <b>per-user-per-list</b> configuration.
</p>

<? print_paragraph_title("module settings","Default settings for the [module_name] module"); ?>

<p>
	This is the module that filters out all of the hair that Simon
	seems to leave all over his emails. That's what happens if you're
	as hairy as he is.
</p>

<p>
	<table>
		<tr>
			<td>Some Detail </td><td>&nbsp;<input type="text" /></td>
		</tr>
		<tr>
			<td>Something else</td>
			<td>
				&nbsp;foo:<input type="radio" name="foo"/>
				&nbsp;bar:<input type="radio" name="foo"/>
				&nbsp;qux:<input type="radio" name="foo"/>
			</td>
		</tr>
		<tr>
			<td>Drop Down List </td>
			<td>
				<select>
					<option>foo</option>
					<option>bar</option>
					<option>qux</option>
				</select>
			</td>
		</tr>
		<tr>
			<td>Checkbox </td><td>&nbsp;<input type="checkbox" /></td>
		</tr>
	</table>
</p>

<p align='right'><a href='user_list_modules.php'><img src='images/button_ok_long_blue.png' width='92' height='25' border='0'/></a></p>

<?
		include ("_footer.php");
?>

--- NEW FILE: user_list_modules.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='user.php'>home</a> /
					<a href='user_lists.php'>manage lists</a> /
					<a href='user_lists.php'>[list_name]</a> /
					<b>settings</b>";
	print_header( "per-list settings","Settings that apply only to [list_name]",$breadcrumbs,2);
?>


<p>
	These settings override default settings, and do not effect any other lists
	you may be subscribed to.
</p>

<p>
	<? print_paragraph_title("preprocessors","These filters are applied to mail as it arrives at the server"); ?>
	<? print_plugin_user_list( "pgp decrypt", "decrypts mails based on list private key" ); ?>
	<? print_plugin_user_list( "strip html", "removes HTML formatting" ); ?>
</p>
</p>

<? print_plugin_ok( "user_lists.php", "Module changes complete:" ); ?>

<p>
	<? print_paragraph_title("validators","These filters remove unwanted messages"); ?>
	<? print_plugin_user_list( "members only", "blocks incoming mail from non-subscribers" ); ?>
	<? print_plugin_user_list( "spam", "identifies and blocks spam messages" ); ?>
</p>

<? print_plugin_ok( "user_lists.php", "Module changes complete:" ); ?>

<p>
	<? print_paragraph_title("postprocessors","These filters make final preparations and send the messages"); ?>
	<? print_plugin_user_list( "reply-to munging", "reply-to list instead of to individual" ); ?>
	<? print_plugin_user_list( "sig adding", "adds list signatures to messages" ); ?>
	<? print_plugin_user_list( "subject line munging", "adds list ID to subject" ); ?>
	<? print_plugin_user_list( "pgp encrypt", "encrypts messages using users' public keys" ); ?>
</p>

<? print_plugin_ok( "user_lists.php", "Module changes complete:" ); ?>

<?
		include ("_footer.php");
?>

--- NEW FILE: user_lists.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='user.php'>home</a> /
					<b>manage lists</b>";
	print_header( "Manage subscriptions","Subscribe to mailing lists",$breadcrumbs,2);
?>

<? print_paragraph_title("Lists","manage your subscriptions"); ?>

<p>
	<table width='100%'>
		<tr>
			<td class='clsSubNav'>Rich's Toe Sucking List</td>
			<td class='clsSmallLink'>&nbsp;<a href='#'>unsubscribe</a></td>
			<td class='clsSmallLink'>&nbsp;<a href='user_list_modules.php'>module settings</a></td>
		</tr>
		<tr>
			<td class='clsSubNav'>Simian Tending</td>
			<td class='clsSmallLink'>&nbsp;<a href='#'>unsubscribe</a></td>
			<td class='clsSmallLink'>&nbsp;<a href='user_list_modules.php'>module settings</a></td>
		</tr>
	</table>
</p>

<?
	include ("_footer.php");
?>

--- NEW FILE: user_module_settings.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='user.php'>home</a> /
					<a href='user_modules.php'>modules</a> /
					<b>[module_name]</b>";
	print_header("default module settings","Edit your default module configuration",$breadcrumbs,1);	
?>

<p>This edits the <b>default</b> options for [ module_name ].</p>

<p>
	Options set here can be overridden on a per-list basis in
	the <a href='user_lists.php'>list management area</a>.
</p>

<? print_paragraph_title("module settings","Default settings for the [module_name] module"); ?>

<p>
	This is the module that filters out all of the hair that Simon
	seems to leave all over his emails. That's what happens if you're
	as hairy as he is.
</p>

<p>
	<table>
		<tr>
			<td>Some Detail </td><td>&nbsp;<input type="text" /></td>
		</tr>
		<tr>
			<td>Something else</td>
			<td>
				&nbsp;foo:<input type="radio" name="foo"/>
				&nbsp;bar:<input type="radio" name="foo"/>
				&nbsp;qux:<input type="radio" name="foo"/>
			</td>
		</tr>
		<tr>
			<td>Drop Down List </td>
			<td>
				<select>
					<option>foo</option>
					<option>bar</option>
					<option>qux</option>
				</select>
			</td>
		</tr>
		<tr>
			<td>Checkbox </td><td>&nbsp;<input type="checkbox" /></td>
		</tr>
	</table>
</p>

<p align='right'><a href='user_list_modules.php'><img src='images/button_ok_long_blue.png' width='92' height='25' border='0'/></a></p>



<?
		include ("_footer.php");
?>

--- NEW FILE: user_modules.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='user.php'>home</a> / 
					<b>modules</b>";
	print_header( "Default settings","Edit your default plugin settings",$breadcrumbs,2);
?>

<div class='clsTitleDetail'>
		<p>This allows you to edit your default options for plugins.</p>
		
		<p>
			This will override the  <b>default</b> and <b>per-list</b> options 
			set by the administrator but can be overridden on a 
			<a href='user_list_plugin_list.php'>per list basis</a>.
		</p>
</div>

<p>
	<? print_paragraph_title("Preprocessors","These filters are applied to mail as it arrives at the server"); ?>
	<? print_plugin_user( "pgp decrypt", "decrypts mails based on list private key" ); ?>
	<? print_plugin_user( "strip html", "removes HTML formatting" ); ?>
</p>

<? print_plugin_ok( "user.php", "Save changes to all module types:" ); ?>

<p>
	<? print_paragraph_title("Validators","These filters remove unwanted messages"); ?>
	<? print_plugin_user( "members only", "blocks incoming mail from non-subscribers" ); ?>
	<? print_plugin_user( "spam", "identifies and blocks spam messages" ); ?>
</p>

<? print_plugin_ok( "user.php", "Save changes to all module types:" ); ?>

<p>
	<? print_paragraph_title("Postprocessors","These filters make final preparations and send the messages"); ?>
	<? print_plugin_user( "reply-to munging", "reply-to list instead of to individual" ); ?>
	<? print_plugin_user( "sig adding", "adds list signatures to messages" ); ?>
	<? print_plugin_user( "subject line munging", "adds list ID to subject" ); ?>
	<? print_plugin_user( "pgp encrypt", "encrypts messages using users' public keys" ); ?>
</p>

<? print_plugin_ok( "user.php", "Save changes to all module types:" ); ?>

<?
		include ("_footer.php");
?>

--- NEW FILE: user_password.php ---
#!/usr/local/bin/php


<? 
	include ("_header.php");
	$breadcrumbs = "<a href='user.php'>home</a> /
					<b>change password</b>";
	print_header( "change password","Change login names and passwords and stuff",$breadcrumbs,2);
?>

<? print_paragraph_title("new password","Enter your old password, then the new one"); ?>

<p>
	Passwords must be at least X characters long, and contain blah blah blah
</p>

<p>
	<table>
		<tr>
			<td>Old password </td><td>&nbsp;<input type="text" /></td>
		</tr>
		<tr>
			<td>New password </td><td>&nbsp;<input type="text" /></td>
		</tr>
		<tr>
			<td>Confirm new password </td><td>&nbsp;<input type="text" /></td>
		</tr>
	</table>
</p>

<p align='right'><a href='user.php'><img src='images/button_ok.png' border='0'/></a></p>


<?
		include ("_footer.php");
?>



Generated at 13:57 on 01 Jul 2004 by mariachi 0.52