Second pass at adding key files
This commit is contained in:
78
site/glist/templates/gossamer/admin_initial_setup_first.html
Normal file
78
site/glist/templates/gossamer/admin_initial_setup_first.html
Normal file
@ -0,0 +1,78 @@
|
||||
<%GList::Config::tpl_load%>
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<head>
|
||||
<title>Gossamer List Setup: Step 1</title>
|
||||
<%include include_style.txt%>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF">
|
||||
<form method="POST" action="glist.cgi" name="myform">
|
||||
<input type="hidden" name="prefix" value="glist_" />
|
||||
<input type="hidden" name="password" value="" />
|
||||
<input type="hidden" name="login" value="" />
|
||||
<input type="hidden" name="database" value="GList" />
|
||||
<input type="hidden" name="host" value="localhost" />
|
||||
<input type="hidden" name="server" value="mysql" />
|
||||
<input type="hidden" name="initial_step" value="2" />
|
||||
<input type="hidden" name="page" value="admin_initial_setup_second.html" />
|
||||
<%hidden_objects%>
|
||||
<table width="520" border="0" cellspacing="0" cellpadding="0" align="center" height=90%>
|
||||
<tr>
|
||||
<td valign=middle>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class=bold_white height=20>
|
||||
<td width=1><img src="<%image_url%>/icons/sqlserver.gif" hspace=2></td>
|
||||
<td width=100% class=bold_white><b> GList Setup - Step 1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#FFFFFF">
|
||||
<td>
|
||||
<table border="0" cellpadding="1" cellspacing="1" width="100%">
|
||||
<tr class=body>
|
||||
<td class=body>
|
||||
<blockquote>
|
||||
<p class=body>Welcome to GList. Before you can begin to use the program, we need to setup GList to work with your
|
||||
SQL server. You will need to know the following information before proceeding:</p>
|
||||
<ul><li>SQL Server Type - common types include mysql, MS-SQL, Oracle<BR>
|
||||
<li>SQL Hostname - which computer your sql server resides on, typically this is localhost.<BR>
|
||||
<li>SQL Database Name - which database you want GList to use.<BR>
|
||||
<li>SQL Username/Password - a username/password to log on to the SQL database.
|
||||
</ul>
|
||||
<p class=body>If you don't know the answer to any of this, please contact your ISP. If you are still stuck, please visit our support page at:</p>
|
||||
<blockquote>
|
||||
<p class=body><a href="http://gossamer-threads.com/scripts/support/"><font face="Tahoma,Arial,Helvetica" size="2">http://gossamer-threads.com/scripts/support/</a></p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
<p align="center"><input type="submit" class=button value="Next >>" /></p><br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><b>Copyright 2002 <a href="http://gossamer-threads.com/">Gossamer Threads Inc.</a></b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
114
site/glist/templates/gossamer/admin_initial_setup_second.html
Normal file
114
site/glist/templates/gossamer/admin_initial_setup_second.html
Normal file
@ -0,0 +1,114 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<head>
|
||||
<title>Gossamer List Setup: Step 2</title>
|
||||
<%include include_style.txt%>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF">
|
||||
<form method="POST" action="glist.cgi">
|
||||
<table width="520" border="0" cellspacing="0" cellpadding="0" align="center" height=90%>
|
||||
<tr>
|
||||
<td valign=middle>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class=bold_white height=20>
|
||||
<td width=1><img src="<%image_url%>/icons/sqlserver.gif" hspace=2></td>
|
||||
<td width=100% class=bold_white><b> GList Setup - Step 2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#FFFFFF">
|
||||
<td><BR />
|
||||
<table border="0" cellpadding="1" cellspacing="1" width="100%">
|
||||
<tr class=body>
|
||||
<td class=body>
|
||||
<blockquote>
|
||||
<%if error%>
|
||||
<p class=body><b><font color="red">Error:</b><%error%></font></p>
|
||||
<p class=body>Please fix the error below and try again:</p>
|
||||
<%else%>
|
||||
Please enter the following information:
|
||||
<%endif%>
|
||||
<table border="0" cellpadding="2" cellspacing="3">
|
||||
<tr class=body>
|
||||
<td valign="top" align="left" width="150" class=body>SQL Server Type:</td>
|
||||
<td valign="top" align="left" width="300">
|
||||
<select size="1" name="driver" class=object>
|
||||
<option value="mysql"<%if driver eq 'mysql'%> selected<%endif%>>Mysql</option>
|
||||
<option value="ODBC"<%if driver eq 'ODBC'%> selected<%endif%>>MS SQL 7</option>
|
||||
<option value="Oracle"<%if driver eq 'Oracle'%> selected<%endif%>>Oracle</option>
|
||||
<option value="Pg"<%if driver eq 'Pg'%> selected<%endif%>>Postgres</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td valign="top" align="left" width="150" class=body>SQL Hostname:</td>
|
||||
<td valign="top" align="left" width="300">
|
||||
<input type="text" name="host" size="25" class=object value="<%if host%><%host%><%else%>localhost<%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td valign="top" align="left" width="150" class=body>SQL Database:</td>
|
||||
<td valign="top" align="left" width="300">
|
||||
<input type="text" name="database" class=object size="25" value="<%if database%><%database%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td valign="top" align="left" width="150" class=body>SQL Username:</font></td>
|
||||
<td valign="top" align="left" width="300">
|
||||
<input type="text" name="login" size="25" class=object value="<%if login%><%login%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td valign="top" align="left" width="150" class=body>SQL Password:</font></td>
|
||||
<td valign="top" align="left" width="300">
|
||||
<input type="password" name="password" class=object value="" size="25" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class="body">Prefix:</td>
|
||||
<td><input class=object name="prefix" type=text value="<%if prefix%><%prefix%><%else%>glist_<%endif%>" size=25 /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td valign="top" align="left" width="150" class=body>Overwrite</td>
|
||||
<td valign="top" align="left" width="300">
|
||||
<input type="checkbox" name="overwrite" value="ON"<%if overwrite%> CHECKED<%endif%> />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p class=body>GList will verify the program and create your SQL tables. If you have existing tables
|
||||
and would like GList to drop and remove your data, click on Overwrite.</p>
|
||||
</blockquote>
|
||||
<p align="center"><center> <input type="submit" name='bnext' value="Next >>" class=button /></p><br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><b>Copyright 2002 <a href="http://gossamer-threads.com/">Gossamer Threads Inc.</a></b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="admin_initial_setup" />
|
||||
<input type=hidden name="initial_step" value="3" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
69
site/glist/templates/gossamer/admin_initial_setup_third.html
Normal file
69
site/glist/templates/gossamer/admin_initial_setup_third.html
Normal file
@ -0,0 +1,69 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<head>
|
||||
<title>Gossamer List Setup: Step 3</title>
|
||||
<%include include_style.txt%>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF">
|
||||
<form action="glist.cgi" method="GET">
|
||||
<table width="520" border="0" cellspacing="0" cellpadding="0" align="center" height=90%>
|
||||
<tr>
|
||||
<td valign=middle>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class=bold_white height=20>
|
||||
<td width=1><img src="<%image_url%>/icons/sqlserver.gif" hspace=2></td>
|
||||
<td width=100% class=bold_white><b> GList Setup - Step 3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#FFFFFF">
|
||||
<td><BR />
|
||||
<table border="0" cellpadding="1" cellspacing="1" width="100%">
|
||||
<tr class=body>
|
||||
<td class=body>
|
||||
<blockquote>
|
||||
<%if message%>
|
||||
<p class=body><font color=green><%message%></font>
|
||||
<%endif%>
|
||||
<p class=body><br />
|
||||
You can now proceed and use the
|
||||
program, but are advised to look through the other setup options available by
|
||||
clicking on setup above. If you had any problems, please hit back on your browser
|
||||
and resubmit the form.
|
||||
</p>
|
||||
</blockquote>
|
||||
<p align="center"><input type="submit" value="Next >>" class=button /></p>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><b>Copyright 2002 <a href="http://gossamer-threads.com/">Gossamer Threads Inc.</a></b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%if usr_email and !$use_cookie%>
|
||||
<input type=hidden name="sid" value="<%sid%>" />
|
||||
<%endif%>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
61
site/glist/templates/gossamer/admin_initial_sql.html
Normal file
61
site/glist/templates/gossamer/admin_initial_sql.html
Normal file
@ -0,0 +1,61 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<head>
|
||||
<title>Gossamer List Setup SQL Database</title>
|
||||
<%include include_style.txt%>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF">
|
||||
<form method="POST" action="glist.cgi">
|
||||
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center" height=90%>
|
||||
<tr>
|
||||
<td valign=middle>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class=bold_white height=20>
|
||||
<td width=1><img src="<%image_url%>/icons/sqlserver.gif" hspace=2></td>
|
||||
<td width=100% class=bold_white><b> GList Setup SQL Database</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#FFFFFF">
|
||||
<td><BR />
|
||||
<table border="0" cellpadding="1" cellspacing="1" width="100%">
|
||||
<tr class="body">
|
||||
<td class="body">
|
||||
<blockquote>
|
||||
<%if msg%><pre class="body"><%msg%></pre><%endif%>
|
||||
Please enter the following information:
|
||||
<%include admin_setup_include_sql.html%>
|
||||
</blockquote>
|
||||
<p align="center"><center> <input type="submit" name='setup_sql' value=" Submit " class=button /></p><br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body"><b>Copyright 2002 <a href="http://gossamer-threads.com/">Gossamer Threads Inc.</a></b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="do" value="admin_initial_sql" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
65
site/glist/templates/gossamer/admin_initial_sql_results.html
Normal file
65
site/glist/templates/gossamer/admin_initial_sql_results.html
Normal file
@ -0,0 +1,65 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<head>
|
||||
<title>Gossamer List Setup SQL Database</title>
|
||||
<%include include_style.txt%>
|
||||
<script>
|
||||
function open_url(options) {
|
||||
var url = window.location.protocol + '//' + window.location.host + window.location.pathname + '?' + options;
|
||||
window.location = url;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF">
|
||||
<form method="POST" action="glist.cgi">
|
||||
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center" height=90%>
|
||||
<tr>
|
||||
<td valign=middle>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class=bold_white height=20>
|
||||
<td width=1><img src="<%image_url%>/icons/sqlserver.gif" hspace=2></td>
|
||||
<td width=100% class=bold_white><b> GList Setup SQL Database</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#FFFFFF">
|
||||
<td><BR />
|
||||
<table border="0" cellpadding="1" cellspacing="1" width="100%">
|
||||
<tr class="body">
|
||||
<td class="body">
|
||||
<blockquote>
|
||||
<uL><pre class="body"><font color="green"><%msg%></font></pre></uL>
|
||||
</blockquote>
|
||||
<p align="center"><center> <input type="button" name='setup_sql' value=" Next >> " class=button onclick="open_url('do=msg_home')" /></p><br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body"><b>Copyright 2002 <a href="http://gossamer-threads.com/">Gossamer Threads Inc.</a></b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="do" value="admin_initial_sql" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
15
site/glist/templates/gossamer/admin_setup_home.html
Normal file
15
site/glist/templates/gossamer/admin_setup_home.html
Normal file
@ -0,0 +1,15 @@
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr class=body >
|
||||
<td class=body height="97%" colspan="3" valign="top">
|
||||
<ul><BR />From here you can alter any of the options that GList uses, from your database settings to your email address.
|
||||
Also, if you have made a mistake, with a simple click you can restore the system defaults.<BR /><BR /></ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
34
site/glist/templates/gossamer/admin_setup_include_menu.html
Normal file
34
site/glist/templates/gossamer/admin_setup_include_menu.html
Normal file
@ -0,0 +1,34 @@
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="24">
|
||||
<tr class=body_bold>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_setup_sql_form<%hidden_query%>">SQL Server</a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_setup_form<%hidden_query%>">Paths & URLs</a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_setup_form&pg=admin_setup_misc.html<%hidden_query%>">Misc Options</a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_setup_form&pg=admin_setup_signup.html<%hidden_query%>">User Signup</a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_stoplist<%hidden_query%>">Stop List</a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_setup_form&pg=admin_setup_mailing.html<%hidden_query%>">Global Header & Footer</a>
|
||||
</td>
|
||||
<td align=right>
|
||||
<a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=setup.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" title="Help" border=0 vspace=2 hspace=2></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body_bold">
|
||||
<td colspan="7" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
68
site/glist/templates/gossamer/admin_setup_include_sql.html
Normal file
68
site/glist/templates/gossamer/admin_setup_include_sql.html
Normal file
@ -0,0 +1,68 @@
|
||||
<ul>
|
||||
<li><b>Current Settings<br><br></b>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr>
|
||||
<td width="20%" class="body">SQL Server Type</td>
|
||||
<td width="80%">
|
||||
<select class="object" size="1" name="sql_driver">
|
||||
<option value="mysql" <%if sql_driver eq 'mysql'%>selected<%endif%>>Mysql</option>
|
||||
<option value="ODBC" <%if sql_driver eq 'ODBC'%>selected<%endif%>>MS SQL 7</option>
|
||||
<option value="Oracle" <%if sql_driver eq 'Oracle'%>selected<%endif%>>Oracle</option>
|
||||
<option value="Pg" <%if sql_driver eq 'Pg'%>selected<%endif%>>Postgres</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">SQL Hostname</td>
|
||||
<td><input class="object" name="sql_host" type="text" value="<%if sql_host%><%sql_host%><%endif%>" size=35 /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">SQL Database</td>
|
||||
<td><input class="object" name="sql_database" type="text" value="<%if sql_database%><%sql_database%><%endif%>" size=35 /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">SQL Username</td>
|
||||
<td><input class="object" name="sql_login" type="text" value="<%if sql_login%><%sql_login%><%endif%>" size=35 /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">SQL Password</td>
|
||||
<td><input class="object" name="sql_password" type="password" value="<%if sql_password%><%sql_password%><%endif%>" size=35 /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">Prefix</td>
|
||||
<td><input class="object" name="sql_prefix" type="text" value="<%if sql_prefix%><%sql_prefix%><%endif%>" size=35 /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
<b class="body">If you make changes here, Mailing Lists needs to examine the new database. Your choices are<br /><br></b>
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="3">
|
||||
<tr>
|
||||
<td width="5%" height="23">
|
||||
<input type="radio" name="action" value="create" checked />
|
||||
</td>
|
||||
<td width="95%" height="23" class="body">Create new default Mailing Lists tables in this database
|
||||
but do not overwrite any existing data.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="5%">
|
||||
<input type="radio" name="action" value="overwrite" />
|
||||
</td>
|
||||
<td width="95%" class="body">Create new default Mailing Lists tables in this database <b>and overwrite/erase
|
||||
any existing data.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="5%">
|
||||
<input type="radio" name="action" value="load" />
|
||||
</td>
|
||||
<td width="95%" class="body">Load table info from an existing set of tables (or resync the def
|
||||
files if you have changed your defs manually).
|
||||
</td>
|
||||
</tr>
|
||||
</table><br />
|
||||
</li>
|
||||
</ul>
|
63
site/glist/templates/gossamer/admin_setup_mailing.html
Normal file
63
site/glist/templates/gossamer/admin_setup_mailing.html
Normal file
@ -0,0 +1,63 @@
|
||||
<%set set_focus = 'myform.header_html'%>
|
||||
<%set book_mark = 'misc_options'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" align="center">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/options.gif" hspace="2" vspace="0" align="texttop">Misc Options</td>
|
||||
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
|
||||
</tr>
|
||||
</table><br/>
|
||||
<%if msg%><%msg%><%else%>These are global header and footer that you can change:<%endif%><br /> <br />
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table cellspacing="1" cellpadding="2" align=center width=600>
|
||||
<tr><td colspan=2 class=body>HTML header</td></tr>
|
||||
<tr>
|
||||
<td class="body" width=20%><b>header_html</b></td>
|
||||
<td><textarea name="header_html" class="object" cols="50" rows="4"><%if cfg_header_html%><%cfg_header_html%><%endif%></textarea></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>HTML footer</td></tr>
|
||||
<tr>
|
||||
<td class="body" width=20%><b>footer_html</b></td>
|
||||
<td><textarea name="footer_html" class="object" cols="50" rows="4"><%if cfg_footer_html%><%cfg_footer_html%><%endif%></textarea></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Text header</td></tr>
|
||||
<tr>
|
||||
<td class="body" width=20%><b>header_text</b></td>
|
||||
<td><textarea name="header_text" class="object" cols="50" rows="4"><%if cfg_header_text%><%cfg_header_text%><%endif%></textarea></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Text footer</td></tr>
|
||||
<tr>
|
||||
<td class="body" width=20%><b>footer_text</b></td>
|
||||
<td><textarea name="footer_text" class="object" cols="50" rows="4"><%if cfg_footer_text%><%cfg_footer_text%><%endif%></textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p align=center>
|
||||
<input type="submit" name="bsubmit" value=" Submit Changes " class=button />
|
||||
<input type="submit" name="brestore" value="Restore System Defaults" class=button />
|
||||
<br /><BR /></p>
|
||||
<input name=do type=hidden value="admin_setup" />
|
||||
<input name=pg type=hidden value="admin_setup_mailing.html" />
|
||||
<input name=misc type=hidden value="1" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
150
site/glist/templates/gossamer/admin_setup_misc.html
Normal file
150
site/glist/templates/gossamer/admin_setup_misc.html
Normal file
@ -0,0 +1,150 @@
|
||||
<%set set_focus = 'myform.reg_number'%>
|
||||
<%set book_mark = 'misc_options'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" align="center">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/options.gif" hspace="2" vspace="0" align="texttop">Misc Options</td>
|
||||
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
|
||||
</tr>
|
||||
</table><br/>
|
||||
<%if msg%><%msg%><%else%>These are other options that you can change:<%endif%><br /> <br />
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table cellspacing="1" cellpadding="2" align=center width=600>
|
||||
<tr><td colspan=2 class=body>Template set to use</td></tr>
|
||||
<tr>
|
||||
<td class="body" width=20%><b>template_set</b></td>
|
||||
<td><%GList::Tools::_template_dir_select('template_set')%></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Create backup templates (.bak)</td></tr>
|
||||
<tr>
|
||||
<td class="body" width=20%><b>template_backups</b></td>
|
||||
<td>
|
||||
<select name="template_backups" class="object">
|
||||
<option value="1" <%if template_backups%>selected<%endif%>>Yes</option>
|
||||
<option value="0" <%ifnot template_backups%>selected<%endif%>>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Registration Number</td></tr>
|
||||
<tr>
|
||||
<td class="body" width=20%><b>reg_number</b></td>
|
||||
<td><input class=object name="reg_number" type=text value="<%if cfg_reg_number%><%cfg_reg_number%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Mail setup. If your server has sendmail, you should set mail_path to the path to sendmail. If you do not have sendmail (typically, Windows servers do not) or do not wish to use it, set smtp_server to the name of your SMTP server. <b>Only one should be set!</b></td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>smtp_server</b></td>
|
||||
<td><input class=object name="smtp_server" type=text value="<%if cfg_smtp_server%><%cfg_smtp_server%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body"><b>mail_path</b></td>
|
||||
<td><input class=object name="mail_path" type=text value="<%if cfg_mail_path%><%cfg_mail_path%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Allowed size for attachments, in KB</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>max_attachments_size</b></td>
|
||||
<td><input class=object name="max_attachments_size" type=text value="<%if cfg_max_attachments_size%><%cfg_max_attachments_size%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>The number bounced emails in POP account that you can check from the web.</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>max_bounced_emails</b></td>
|
||||
<td><input class=object name="max_bounced_emails" type=text value="<%if cfg_max_bounced_emails%><%cfg_max_bounced_emails%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Mailing Lists Debug Level. This will display debug information into the error logs, and also show debug information on any fatal error.</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>debug_level</b></td>
|
||||
<td>
|
||||
<select name="debug_level" class="object">
|
||||
<option value="0" <%ifnot cfg_debug_level%>selected<%endif%>>disabled</option>
|
||||
<option value="1" <%if cfg_debug_level%>selected<%endif%>>enabled</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td colspan=2 class=body>
|
||||
Choose whether or not to generate a session_id. If this is set to "No", users will have to configure their browsers to allow cookies to view the database.
|
||||
</td></tr>
|
||||
<tr class="body">
|
||||
<td class="body"><b>user_session</b></td>
|
||||
<td class="body">
|
||||
<select name="user_session" class="object">
|
||||
<option value="0" <%ifnot cfg_user_session%>selected<%endif%>>No</option>
|
||||
<option value="1" <%if cfg_user_session%>selected<%endif%>>Yes</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Session expiry time, in hours</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>session_exp</b></td>
|
||||
<td><input class=object name="session_exp" type=text value="<%if cfg_session_exp%><%cfg_session_exp%><%endif%>" size='3' maxlength="3" /></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Highlight Color </td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>highlight_color</b></td>
|
||||
<td class="body">
|
||||
<select name="highlight_color" class="object">
|
||||
<option value="0" <%ifnot cfg_highlight_color%>selected<%endif%>>No</option>
|
||||
<option value="1" <%if cfg_highlight_color%>selected<%endif%>>Yes</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Display the limit bar</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>display_limit_bar</b></td>
|
||||
<td class="body">
|
||||
<select name="display_limit_bar" class="object">
|
||||
<option value="0" <%ifnot cfg_display_limit_bar%>selected<%endif%>>No</option>
|
||||
<option value="1" <%if cfg_display_limit_bar%>selected<%endif%>>Yes</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Use IFRAME for Open Message tracking</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>iframe_tracking</b></td>
|
||||
<td class="body">
|
||||
<select name="iframe_tracking" class="object">
|
||||
<option value="0" <%ifnot cfg_iframe_tracking%>selected<%endif%>>No</option>
|
||||
<option value="1" <%if cfg_iframe_tracking%>selected<%endif%>>Yes</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Custom Error Handler. Mailing Lists will display the following HTML on any error message that is generated. If left blank, the default error will be shown. You can only use two template tags in this: <%error%> for the error message, and <%environment%> for a complete debug message.</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>error_message</b></td>
|
||||
<td><textarea class=object name="error_message" cols=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> rows=3><%if cfg_error_message%><%cfg_error_message%><%endif%></textarea></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>This should be HTML code, you can add the code below to your website to get new subscribers on the list.</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>html_code</b></td>
|
||||
<td><textarea class=object name="html_code" cols=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> rows=5><%if cfg_html_code%><%cfg_html_code%><%endif%></textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p align=center>
|
||||
<input type="submit" name="bsubmit" value=" Submit Changes " class=button />
|
||||
<input type="submit" name="brestore" value="Restore System Defaults" class=button />
|
||||
<br /><BR /></p>
|
||||
<input name=do type=hidden value="admin_setup" />
|
||||
<input name=pg type=hidden value="admin_setup_misc.html" />
|
||||
<input name=misc type=hidden value="1" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
64
site/glist/templates/gossamer/admin_setup_path.html
Normal file
64
site/glist/templates/gossamer/admin_setup_path.html
Normal file
@ -0,0 +1,64 @@
|
||||
<%set set_focus = 'myform.priv_path'%>
|
||||
<%set book_mark = 'path_options'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<form name="myform" action="glist.cgi" method="post">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/paths_urls.gif" hspace="2" vspace="0" align="texttop">Paths & URLs</td>
|
||||
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
|
||||
</tr>
|
||||
</table><br/>
|
||||
<table cellspacing="1" cellpadding="2" border=0 width=95% align=center>
|
||||
<tr>
|
||||
<td class="body" align="center">
|
||||
<%if msg%><%msg%><%else%>These are the only paths you should need to set in the program. Most should be set properly and should not require changing.<%endif%><br /> <br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing="1" cellpadding="4" align=center>
|
||||
<tr><td colspan=2 class=body>This should be the PATH to the directory where your library is. No trailing slash please.</td></tr>
|
||||
<tr>
|
||||
<td class="body" width=20%><b>priv_path</b></td>
|
||||
<td class="body"><input class=object name="priv_path" type=text value="<%if cfg_priv_path%><%cfg_priv_path%><%endif%>" size=35 /><font color="green">*</font></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>This should be the URL to where your public cgi scripts are.</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>cgi_url</b></td>
|
||||
<td class="body"><input class=object name="cgi_url" type=text value="<%if cfg_cgi_url%><%cfg_cgi_url%><%endif%>" size=35 /><font color="green">*</font></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>This should be the URL to where your public images are.</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>image_url</b></td>
|
||||
<td class="body"><input class=object name="image_url" type=text value="<%if cfg_image_url%><%cfg_image_url%><%endif%>" size=35 /><font color="green">*</font></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>This should be the path to perl. NT Users should use drive letter as well.</td></tr>
|
||||
<tr><td colspan=2 class=body align=right><font color="green">*: required</font></td></tr>
|
||||
</table>
|
||||
<p align="center">
|
||||
<input type="submit" name="bsubmit" value=" Submit Changes " class=button />
|
||||
<input type="submit" name="brestore" value="Restore System Defaults" class=button />
|
||||
<br /><BR/></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input name=do type=hidden value="admin_setup" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
92
site/glist/templates/gossamer/admin_setup_signup.html
Normal file
92
site/glist/templates/gossamer/admin_setup_signup.html
Normal file
@ -0,0 +1,92 @@
|
||||
<%set set_focus = 'myform.signup_restricted_email'%>
|
||||
<%set book_mark = 'misc_options'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" align="center">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/options.gif" hspace="2" vspace="0" align="texttop">User Signup Options</td>
|
||||
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
|
||||
</tr>
|
||||
</table><BR/>
|
||||
<%if msg%><%msg%><%else%>These are other options that you can change:<%endif%><br /> <br />
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table cellspacing="2" cellpadding="3" align=center width=600>
|
||||
<tr><td colspan=2 class=body>If enabled, users can signup to the system.</td></tr>
|
||||
<tr>
|
||||
<td class="body" width=20%><b>signup_enable</b></td>
|
||||
<td class="body">
|
||||
<input type="radio" name="signup_enable" value="1" <%if cfg_signup_enable%>checked<%endif%>>Yes
|
||||
<input type="radio" name="signup_enable" value="0" <%ifnot cfg_signup_enable%>checked<%endif%>>No
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Enter email addresses that users will not be able to use to signup. Enter restricted addresses one per line.</td></tr>
|
||||
<tr>
|
||||
<td valign="top" class="body" width=20%><b>signup_restricted_email</b></td>
|
||||
<td><textarea name="signup_restricted_email" class="object" cols="<%if is_ie or is_mozilla%>48<Mouse>C!<21>!:<Mouse>C!<21>!9<Mouse>C!<21>!7<Mouse>C!<21>!5<%else%>30<%endif%>" rows="3"><%if cfg_signup_restricted_email%><%cfg_signup_restricted_email%><%endif%></textarea></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>If enabled, users will be sent an e-mail containing a validation code when they sign up.</td></tr>
|
||||
<tr>
|
||||
<td class="body" width=20%><b>signup_email_validate</b></td>
|
||||
<td class="body">
|
||||
<input type="radio" name="signup_email_validate" value="1" <%if cfg_signup_email_validate%>checked<%endif%>>Yes
|
||||
<input type="radio" name="signup_email_validate" value="0" <%ifnot cfg_signup_email_validate%>checked<%endif%>>No
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>If enabled, users must be validated by administrator user.</td></tr>
|
||||
<tr>
|
||||
<td class="body" width=20%><b>signup_admin_validate</b></td>
|
||||
<td class="body">
|
||||
<input type="radio" name="signup_admin_validate" value="1" <%if cfg_signup_admin_validate%>checked<%endif%>>Yes
|
||||
<input type="radio" name="signup_admin_validate" value="0" <%ifnot cfg_signup_admin_validate%>checked<%endif%>>No
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Enter a regex that will ensure that the usernames new users signup with are compatible with email. Note: If you are unfamiliar with regexes, do not alter this field.</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>signup_username_regex</b></td>
|
||||
<td><input class=object name="signup_username_regex" type=text value="<%if cfg_signup_username_regex%><%cfg_signup_username_regex%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Enter limit number of list.</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>signup_limit_list</b></td>
|
||||
<td><input class=object name="signup_limit_list" type=text value="<%if cfg_signup_limit_list%><%cfg_signup_limit_list%><%endif%>" size="10" /></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Enter limit number of subscriber per list.</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>signup_limit_sublist</b></td>
|
||||
<td><input class=object name="signup_limit_sublist" type=text value="<%if cfg_signup_limit_sublist%><%cfg_signup_limit_sublist%><%endif%>" size="10" /></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 class=body>Enter limit number of email in the last 30 days.</td></tr>
|
||||
<tr>
|
||||
<td class="body"><b>signup_limit_email30</b></td>
|
||||
<td><input class=object name="signup_limit_email30" type=text value="<%if cfg_signup_limit_email30%><%cfg_signup_limit_email30%><%endif%>" size="10" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p align=center>
|
||||
<input type="submit" name="bsubmit" value=" Submit Changes " class=button />
|
||||
<input type="submit" name="brestore" value="Restore System Defaults" class=button />
|
||||
<br /><BR /></p>
|
||||
<input name=do type=hidden value="admin_setup" />
|
||||
<input name=pg type=hidden value="admin_setup_signup.html" />
|
||||
<input name=misc type=hidden value="1" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
48
site/glist/templates/gossamer/admin_setup_sql_form.html
Normal file
48
site/glist/templates/gossamer/admin_setup_sql_form.html
Normal file
@ -0,0 +1,48 @@
|
||||
<%set set_focus = 'myform.sql_driver'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/sqlserver.gif" hspace="2" vspace="0" align="texttop">SQL Server Settings</td>
|
||||
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
|
||||
</tr>
|
||||
</table><br/>
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table border="0" cellspacing="1" cellpadding="1" align="center">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<%if msg%><uL><pre><%msg%></uL></pre><%else%><p class="body" align="center">All data in GList stored in an SQL database. This screen allows you to change which SQL server to use:</p><BR><%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td colspan="2" class="body">
|
||||
<%include admin_setup_include_sql.html%>
|
||||
<p align="center"><center>
|
||||
<input type="submit" name="Submit2" value=" Submit Changes " class=button />
|
||||
<br /><BR /></p></center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input name=do type=hidden value="admin_setup_sql" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
102
site/glist/templates/gossamer/admin_stoplist.html
Normal file
102
site/glist/templates/gossamer/admin_stoplist.html
Normal file
@ -0,0 +1,102 @@
|
||||
<html>
|
||||
<body>
|
||||
<%include include_header.html%>
|
||||
<%set book_mark = 'stop_list'%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td class="bold_white" height="20"><img src="<%image_url%>/icons/stop.gif" hspace="2" vspace="0" align="texttop">Stop List</td>
|
||||
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
|
||||
</tr>
|
||||
</table><BR />
|
||||
<form name="sub_search" action="glist.cgi" method=post>
|
||||
<table border="0" cellspacing="2" cellpadding="3" align="center">
|
||||
<tr>
|
||||
<td class="body"><b>Search</b></td>
|
||||
<td class="body">
|
||||
<input type="text" name="stl_email" value="<%if stl_email%><%stl_email%><%endif%>" class="object" size="40">
|
||||
<input type="submit" class="button" name="sub_search" value="Search">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body"><b>Quick Search</b></td>
|
||||
<td class="body"><%search_bar%></td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="do" value="admin_stoplist" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
<table width="600" align="center" border="0" cellspacing="0">
|
||||
<%if msg%><tr><td class="body"><%msg%></td></tr><%endif%>
|
||||
<%if hits > $mh and $mh != -1%>
|
||||
<tr class="body">
|
||||
<td class="body"><%include include_toolbar.html%></td>
|
||||
<tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table width="600" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#007BA4">
|
||||
<tr>
|
||||
<td bgcolor="#7a9f54">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="body_bold">
|
||||
<td width="30%" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>Email
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=admin_stoplist;<%if query%><%query%><%endif%>;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
|
||||
<%ifnot sb%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC' or so eq ''%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td bgcolor="#256A19" align="center" width="1%"><input type=checkbox name=c_all value='1' onclick="check_all()" /></td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<input type="hidden" name="<%row_num%>-stl_id" value="<%stl_id%>" />
|
||||
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
|
||||
<td class="body"><%stl_email%></td>
|
||||
<td align="center"><input type="checkbox" name="modify" value='<%row_num%>' onclick="check_item(this)"/></td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<%if hits > $mh and $mh != -1%>
|
||||
<tr class="body">
|
||||
<td class="body"><%include include_toolbar.html%></td>
|
||||
<tr>
|
||||
<%endif%>
|
||||
<td align="right">
|
||||
<input name="badd" type="button" value="Add Emails" class="button" onclick="open_url('do=admin_stoplist;form=1<%hidden_query%>')" />
|
||||
<%if hits%><input name="bdelete" type="button" value="Delete Emails" class="button" onclick="init_do('myform', 'admin_stoplist_delete', null, null, 'admin_', null, 2)" /><%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="do" value="admin_stoplist" />
|
||||
<%hidden_query%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
||||
|
81
site/glist/templates/gossamer/admin_stoplist_form.html
Normal file
81
site/glist/templates/gossamer/admin_stoplist_form.html
Normal file
@ -0,0 +1,81 @@
|
||||
<html>
|
||||
<body>
|
||||
<%include include_header.html%>
|
||||
<%set book_mark = 'stop_list'%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td class="bold_white" height="20"><img src="<%image_url%>/icons/stop.gif" align="texttop" hspace="2" vspace="0">Add Stop List</td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_stoplist<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table><BR />
|
||||
<form name="myform" action="glist.cgi" method=post>
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="80%" align="center">
|
||||
<%if msg%><tr><td class="body"><%msg%><br /><br /></td></tr><%endif%>
|
||||
<%if confirmation%>
|
||||
<tr>
|
||||
<td class="body">
|
||||
<font color="red">The new Stop List will permanently remove <b><%found_emails%></b> addresses from active lists.</font><BR/><BR/>
|
||||
<div style="position: relative; width:500px; height:<%if loop_hits >5%>200px<%else%>100px<%endif%>; overflow:auto;">
|
||||
<table cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td class="body"><b>Email</b></td>
|
||||
<td class="body" align="center"><b>Delete</b></td>
|
||||
</tr>
|
||||
<%loop loop_results%>
|
||||
<tr>
|
||||
<td class="body"><%email%></td>
|
||||
<td class="body" align="center"><%if found%><%found%><%endif%></td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" align="center">
|
||||
<b>Are you sure you want to add above email(s) to your Stop List?</b> <BR />
|
||||
<input type="hidden" value="<%data%>" name="emails">
|
||||
<input type="submit" value=" Yes " class="button">
|
||||
<input type="button" value=" No " class="button" onclick="window.history.back()">
|
||||
</td>
|
||||
</tr>
|
||||
<%else%>
|
||||
<tr>
|
||||
<td height="60%"class="body">Email Addresses<BR/>
|
||||
<textarea name="emails" class="object" cols="60" rows="20"><%if emails%><%emails%><%endif%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center height="20%" valign=top><BR />
|
||||
<input name="bsearch" type=submit value="Add Emails" class="button" />
|
||||
<input name="breset" type=reset value=" Reset " class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
<input type="hidden" name="do" value="admin_stoplist_<%if confirmation%>add<%else%>confirm<%endif%>" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
||||
|
50
site/glist/templates/gossamer/admin_stoplist_success.html
Normal file
50
site/glist/templates/gossamer/admin_stoplist_success.html
Normal file
@ -0,0 +1,50 @@
|
||||
<%set book_mark = 'stop_list'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td height="20" class="bold_white"><img src="<%image_url%>/icons/stop.gif" align="texttop" hspace="2" vspace="0">Stop List</td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_stoplist<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<center>
|
||||
<div style="position: relative; width:500px; height:300px; overflow:auto;">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="95%">
|
||||
<tr>
|
||||
<td class="body" colspan="2"><br /><font color="green"><b><%successful%></b> out of <b><%hits%></b> email addresses were added.</font>
|
||||
<%if invalid%><br /><font color="red"><b><%invalid%></b> invalid email addresses.</font><%endif%>
|
||||
<%if duplicate%><br /><b><%duplicate%></b> duplicate email addresses.<%endif%>
|
||||
<br /><br />
|
||||
</td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<tr class=body>
|
||||
<td><%email%></td>
|
||||
<td> [ <%if status%><%status%><%else%><font color="green"><b>Added</b></font><%endif%> ]</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</div>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
||||
|
148
site/glist/templates/gossamer/admin_template_default.html
Normal file
148
site/glist/templates/gossamer/admin_template_default.html
Normal file
@ -0,0 +1,148 @@
|
||||
<%set set_focus = 'myform.tpl_dir'%>
|
||||
<%set book_mark = 'tpl_email'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_template_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/glist.gif" hspace="2" vspace="0" align="texttop">Edit Templates</td>
|
||||
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
|
||||
</tr>
|
||||
</table>
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table width="" border="0" cellspacing="0" cellpadding="0" align=center>
|
||||
<tr valign="middle" class=body>
|
||||
<td height="0" class=body><br />
|
||||
<%GList::Tools::default_email_editor%>
|
||||
<%if bsave%>
|
||||
<%if save_as%>
|
||||
<%set template_file = $save_as%>
|
||||
<%else%>
|
||||
<%set template_file = $tpl_file%>
|
||||
<%endif%>
|
||||
<%if demo%>
|
||||
<%set msg = '<font color="red">Template Editor has been disabled in the demo!</font>'%>
|
||||
<%else%>
|
||||
<%if tpl_to eq '' or tpl_from eq '' or tpl_subject eq '' or tpl_body eq ''%>
|
||||
<%set error = '<font color="red">Required fields are not specified!</font>'%>
|
||||
<%else%>
|
||||
<%GT::Mail::Editor::tpl_save(
|
||||
dir => $tpl_dir,
|
||||
template => $selected_dir,
|
||||
file => $template_file,
|
||||
header => To => $tpl_to,
|
||||
header => Subject => $tpl_subject,
|
||||
header => From => $tpl_from,
|
||||
extra_headers => $extra_headers,
|
||||
body => $tpl_body
|
||||
)%>
|
||||
<%endif%>
|
||||
<%if error%>
|
||||
<%set msg = $error%>
|
||||
<%set color = red%>
|
||||
<%else%>
|
||||
<%set msg = "Template saved successfully."%>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
<%elsif bload%>
|
||||
<%GT::Mail::Editor::tpl_load(
|
||||
dir => $tpl_dir,
|
||||
template => $selected_dir,
|
||||
file => $tpl_file,
|
||||
header => To,
|
||||
header => From,
|
||||
header => Subject
|
||||
)%>
|
||||
<%if error%>
|
||||
<%set msg = $error%>
|
||||
<%set color = red%>
|
||||
<%else%>
|
||||
<%set loaded = 1%>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
<table border="0" cellspacing="2" cellpadding="2" align=center>
|
||||
<tr class=body>
|
||||
<td class=body>Templates Set</td>
|
||||
<td class=body>
|
||||
<%dir_select%>
|
||||
<input name="bchange" value="Change" type=submit class=button />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Templates</td>
|
||||
<td class=body>
|
||||
<%select_list%>
|
||||
<input name="bload" value=" Load " type=submit class=button />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>To</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="tpl_to" size="<%if is_ie or is_mozilla%>70<%else%>50<%endif%>" value="<%if loaded%><%escape_html header_To%><%elsif tpl_to%><%tpl_to%><%endif%>" /> *
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Subject</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="tpl_subject" size="<%if is_ie or is_mozilla%>70<%else%>50<%endif%>" value="<%if loaded%><%escape_html header_Subject%><%elsif tpl_subject%><%tpl_subject%><%endif%>" /> *
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>From</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="tpl_from" size="<%if is_ie or is_mozilla%>70<%else%>50<%endif%>" value="<%if loaded%><%escape_html header_From%><%elsif tpl_from%><%tpl_from%><%endif%>" /> *
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Extra Headers</td>
|
||||
<td>
|
||||
<textarea name="extra_headers" cols=70 rows=2 class=object><%if loaded%><%loop extra_headers%><%escape_html name%>: <%escape_html value%><%endloop%><%elsif extra_headers%><%extra_headers%><%endif%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>E-mail body *</td>
|
||||
<td align=right>
|
||||
<font color="green">*: required</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td colspan=2>
|
||||
<textarea cols="<%if is_ie%>120<%elsif is_mozilla%>100<%else%>90<%endif%>" rows=16 name="tpl_body" class=object><%if loaded%><%escape_html body%><%elsif tpl_body%><%tpl_body%><%endif%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td valign=top class=body colspan="2">
|
||||
<%if tpl_file%>
|
||||
<input name="save_as" type=hidden size=30 class="object" value="<%tpl_file%>" />
|
||||
<input type="submit" name="bsave" value=" Save Template " class="button" />
|
||||
<%endif%>
|
||||
<%if msg%><font color="<%if color%><%color%><%else%>green<%endif%>"><%msg%></font><%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="admin_page" />
|
||||
<input type=hidden name="pg" value="admin_template_default.html" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
62
site/glist/templates/gossamer/admin_template_global.html
Normal file
62
site/glist/templates/gossamer/admin_template_global.html
Normal file
@ -0,0 +1,62 @@
|
||||
<%set book_mark = 'tpl_global'%>
|
||||
<%GList::Tools::global_editor%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_template_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" align="center">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/globals.gif" hspace="2" vspace="0" align="texttop">Globals</td>
|
||||
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
|
||||
</tr>
|
||||
</table><br />
|
||||
<%if message%><%message%><%else%>From here you can quickly edit globals that can be used in any template.<%endif%><br /><br />
|
||||
<form name="myform" action="glist.cgi" method="post">
|
||||
<table border="0" cellPadding="3" cellSpacing="3" width="500" valign="top" align=center>
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td class=body><b>Global Name</b></td>
|
||||
<td class=body><b>Value</b></td>
|
||||
<td class=body><b>Delete/<br />Restore</b></td>
|
||||
</tr>
|
||||
<%global_table%>
|
||||
<tr>
|
||||
<td valign="top" class="body">
|
||||
<nobr>New:
|
||||
<input name="new" size="10" value="" class="object">
|
||||
</nobr>
|
||||
</td>
|
||||
<td>
|
||||
<textarea wrap="off" rows="5" cols="50" name="new-val" class="object"><%if new-val%><%new-val%><%endif%></textarea>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><center><input type="submit" value="Save Changes" class=button name="save" /></center></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="admin_template_global.html" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
36
site/glist/templates/gossamer/admin_template_home.html
Normal file
36
site/glist/templates/gossamer/admin_template_home.html
Normal file
@ -0,0 +1,36 @@
|
||||
<%set set_focus = 'myform.tpl_dir'%>
|
||||
<%set book_mark = 'template'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_template_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/template.gif" hspace="2" vspace="0" align="texttop">Edit Templates</td>
|
||||
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include admin_template_include_record.html%>
|
||||
<input name=do type=hidden value="admin_page" />
|
||||
<input name=pg type=hidden value="admin_template_home.html" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
@ -0,0 +1,26 @@
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="24">
|
||||
<tr class=body>
|
||||
<td class=body_bold class="body">
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_page&pg=admin_template_home.html<%hidden_query%>">Templates</a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_page&pg=admin_template_default.html<%hidden_query%>">Default Email Templates</a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_page&pg=admin_template_language.html<%hidden_query%>">Language</a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_page&pg=admin_template_global.html<%hidden_query%>">Template Globals</a>
|
||||
</td>
|
||||
<td align=right>
|
||||
<a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=templates.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" title="Help" border=0 vspace=2 hspace=2></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body_bold">
|
||||
<td colspan="5" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
165
site/glist/templates/gossamer/admin_template_include_record.html
Normal file
165
site/glist/templates/gossamer/admin_template_include_record.html
Normal file
@ -0,0 +1,165 @@
|
||||
<script language="JavaScript" src="<%static_url%>/js/overlib_mini.js"><!-- overLIB (c) Erik Bosrup --></script>
|
||||
<script>
|
||||
function switch_wrap() {
|
||||
if (document.myform.tpl_text.wrap == 'off') {
|
||||
document.myform.tpl_text.wrap = 'soft';
|
||||
document.myform.bswitch.value = 'Enable Wrap ';
|
||||
}
|
||||
else {
|
||||
document.myform.tpl_text.wrap = 'off';
|
||||
document.myform.bswitch.value = 'Disable Wrap';
|
||||
}
|
||||
}
|
||||
|
||||
function resize() {
|
||||
var obj = document.myform.tpl_text;
|
||||
var rows = document.myform.nrows.value;
|
||||
var cols = document.myform.ncols.value;
|
||||
if ( isNaN(rows) || isNaN(cols) || rows < 0 || cols < 0 ) {
|
||||
alert("Rows and Cols should be greater than 0")
|
||||
return;
|
||||
}
|
||||
obj.cols = cols;
|
||||
obj.rows = rows;
|
||||
}
|
||||
|
||||
function gotoLine() {
|
||||
var obj = document.myform.tpl_text;
|
||||
var line = document.myform.line.value;
|
||||
if (obj.innerText) {
|
||||
var items = obj.innerText.split("\n");
|
||||
if ( ( isNaN(line) )|| ( line > items.length ) || ( line <=0 ) || !line) {
|
||||
alert('Please enter a number between 1 to ' + items.length);
|
||||
return;
|
||||
}
|
||||
var lineContent = items[line-1];
|
||||
var rangContent = '';
|
||||
for (var i=0; i<line; i++) rangContent += items[i];
|
||||
|
||||
var items = rangContent.split(lineContent);
|
||||
var numTimes = (items.length > 1) ? ( items.length-1 ) : 1;
|
||||
|
||||
var txtRange = obj.createTextRange();
|
||||
var found = txtRange.findText(rangContent);
|
||||
if (found) {
|
||||
var tmp = 0;
|
||||
while (txtRange.findText(lineContent)) {
|
||||
tmp++;
|
||||
if ( tmp == numTimes ) {
|
||||
txtRange.select();
|
||||
break;
|
||||
}
|
||||
txtRange.moveStart("character",1);
|
||||
}
|
||||
txtRange.scrollIntoView();
|
||||
}
|
||||
}
|
||||
else alert('The content is empty!')
|
||||
}
|
||||
</script>
|
||||
<%GList::Tools::template_editor%>
|
||||
<%if readme%><p class="body"><%readme%></p><%endif%>
|
||||
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000; width:500px"></div>
|
||||
<table border="0" cellPadding="1" cellSpacing="1" valign="top" align=center>
|
||||
<tr class="body">
|
||||
<td class="body" colspan="2"><br />
|
||||
<%if success_message%><font color="green"><%success_message%></font><%elsif error_message%><font color="red"><b><%error_message%></b></font><%else%>From here you can quickly edit any of your user or admin templates.<%endif%><br /><br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" width=20%>Template Set</td>
|
||||
<td colspan=2>
|
||||
<%dir_select%>
|
||||
<input type="submit" value="Change" name="bchange" class=button />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" width=20% valign="top">Available templates</td>
|
||||
<td colspan=2><%file_select%>
|
||||
<input type="submit" value="Load" name="load" class=button /> <br />
|
||||
(* denotes a modified or non-standard template)
|
||||
</td>
|
||||
</tr>
|
||||
<%if tpl_name%>
|
||||
<tr class="body">
|
||||
<td class="body">Currently working on</td>
|
||||
<td class="body" colspan="2">
|
||||
<a href="javascript:void(0)" onmouseover="return overlib(' \
|
||||
<table cellpadding="0" cellspacing="0" bgcolor="#256A19" border="0" width="100%"><tr><td> \
|
||||
<table border="0" cellspacing="1" cellpadding="3" width="500"> \
|
||||
<tr> \
|
||||
<td colspan="2" class="body"><font color="white"><b><u>File information</u></b></font></td> \
|
||||
</tr> \
|
||||
<tr> \
|
||||
<td bgcolor="#CCCCCC" width="1%" class="body">Template path</td> \
|
||||
<td bgcolor="white" class="body"><%file_path%></td> \
|
||||
</tr> \
|
||||
<tr> \
|
||||
<td bgcolor="#CCCCCC" class="body">File size</td> \
|
||||
<td bgcolor="white" class="body"><%file_size%></td> \
|
||||
</tr> \
|
||||
<tr> \
|
||||
<td bgcolor="#CCCCCC" class="body">Status</td> \
|
||||
<td bgcolor="white" class="body"><%if file_restore%>Modified from system default<%elseif file_local%>Custom template<%else%>System default<%endif%></td> \
|
||||
</tr> \
|
||||
<tr> \
|
||||
<td bgcolor="#CCCCCC" class="body">Last modified</td> \
|
||||
<td bgcolor="white" class="body"><%file_mod_time%></td> \
|
||||
</tr> \
|
||||
</table> \
|
||||
', FULLHTML, WIDTH, 300<%-- This doesn't actually affect the display with, but does affect the positioning --%>, CENTER);" onmouseout="return nd();"><%tpl_name%></a>
|
||||
<%if file_local%>
|
||||
<%if file_restore%> (<a href="javascript:rs('Help','glist.cgi?do=admin_template_diff;cmd_do=cmd_diff;txt_input=local/<%tpl_name%>;c_edit=<%tpl_name%>;work_path=<%template_set%>;hide_back_button=1', 550,650,0,20,'Yes')">diff</a>) <%endif%>
|
||||
<input type="submit" class="button" <%if file_restore%>value="Restore" name="restore=<%tpl_name%>"<%else%>value="Delete" name="delete=<%tpl_name%>"<%endif%> />
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class="body">
|
||||
<td class="body">Save template as</td>
|
||||
<td colspan=2>
|
||||
<input type="text" name="tpl_name" value="<%tpl_name%>" size="40" class=object />
|
||||
<input type="submit" value="Save" name="saveas" class=button />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=3>
|
||||
<%if is_ie or is_mozilla%>
|
||||
<textarea rows="<%if is_ie%>22<%else%>15<%endif%>" name="tpl_text" cols="<%if is_ie%>120<%else%>100<%endif%>" class=object wrap='soft'><%tpl_text%></textarea><br /><br />
|
||||
<%else%> <!-- Your browser is Netscape -->
|
||||
<textarea rows="<%if rows%><%rows%><%else%>18<%endif%>" name="tpl_text" cols="<%if cols%><%cols%><%else%>90<%endif%>" wrap='on'><%tpl_text%></textarea><br /><br />
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td colspan=3>
|
||||
<table width=100% border=0 cellPadding="0" cellSpacing="0">
|
||||
<tr class="body">
|
||||
<td class="body">
|
||||
<%if is_ie or is_mozilla%>
|
||||
<%if is_ie%>
|
||||
<input type=button class=button name=bswitch value="Enable Wrap" onclick="switch_wrap()" />
|
||||
<%endif%>
|
||||
<input type=button class=button name=bresize value="Resize" onclick="resize()" />
|
||||
<input type="text" name="nrows" value="<%if is_ie%>22<%else%>15<%endif%>" size="3" maxlength=3 class=object /> rows
|
||||
<input type="text" name="ncols" value="<%if is_ie%>120<%else%>100<%endif%>" size="3" maxlength=3 class=object /> cols
|
||||
<%else%>
|
||||
<input type=submit class=button name=bresize value="Resize" />
|
||||
<input type="text" name="nrows" value="<%if rows%><%rows%><%else%>18<%endif%>" size="3" maxlength=3 class=object /> rows
|
||||
<input type="text" name="ncols" value="<%if cols%><%cols%><%else%>90<%endif%>" size="3" maxlength=3 class=object /> cols
|
||||
<%endif%>
|
||||
</td>
|
||||
<td align=right class="body">
|
||||
<%if is_ie%>
|
||||
<script>
|
||||
document.write("Line <input name='line' size=3 maxlength=4 class='object' /> <input name=goto value=' Go ' type=button onclick='gotoLine()' class=button />")
|
||||
</script>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
74
site/glist/templates/gossamer/admin_template_language.html
Normal file
74
site/glist/templates/gossamer/admin_template_language.html
Normal file
@ -0,0 +1,74 @@
|
||||
<%set set_focus = 'myform.tpl_dir'%>
|
||||
<%set book_mark = 'tpl_language'%>
|
||||
<%GList::Tools::language_editor%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_template_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" align="center">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/language.gif" hspace="2" vspace="0" align="texttop">Language</td>
|
||||
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<%if message%><%message%><%else%>From here you can quickly edit the language settings of your templates.<%endif%><br /><br />
|
||||
<table border="0" cellPadding="3" cellSpacing="3" valign="top" align=center align=center>
|
||||
<tr class=body>
|
||||
<td class=body >Template Set:
|
||||
<%dir_select%>
|
||||
<input type="submit" value="Change" name="bchange" class=button />
|
||||
<hr color="#97ACBD">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class=body><%prefix_list%></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellPadding="3" cellSpacing="3" valign="top" align=center width=500 align=center>
|
||||
<tr class=body>
|
||||
<td class=body>
|
||||
<%if prefix%>
|
||||
<table border=0 width=100%>
|
||||
<tr>
|
||||
<td class="body"><b>Language Code</b></font></td>
|
||||
<td class="body"><b>Value</b></font></td>
|
||||
<td class="body"><b>Delete/<br />Restore</b></font></td>
|
||||
</tr>
|
||||
<%language_table%>
|
||||
<tr>
|
||||
<td valign=top class="body"><nobr>New: <input name="new" size="10" value="" /></font></nobr></td>
|
||||
<td><textarea rows="5" cols="50" class="object" name="new-val"><%if new-val%><%new-val%><%endif%></textarea></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><center><input type="submit" value="Save Changes" name="save" class=button /></center></p>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="admin_template_language.html" />
|
||||
<input type="hidden" name="prefix" value="<%prefix%>" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
49
site/glist/templates/gossamer/admin_user_add_form.html
Normal file
49
site/glist/templates/gossamer/admin_user_add_form.html
Normal file
@ -0,0 +1,49 @@
|
||||
<%set set_focus = 'myform.mod_usr_username'%>
|
||||
<%set book_mark = 'add_user'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Add a New User</td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_user<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=100%>
|
||||
<form name=myform action="glist.cgi" method="post">
|
||||
<tr valign="middle" class=body>
|
||||
<td height="0" height=80% class=body><br />
|
||||
<%if msg%><pre class=body align=center><p align=center><%msg%></p></pre><%else%><%endif%>
|
||||
<%include admin_user_include_record.html%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30%" align=center valign=top>
|
||||
<input type="submit" name="Submit" value="Add User" class="button" />
|
||||
<input type="button" name="Submit2" value=" Cancel " class="button" onclick="open_url('do=admin_user')"/><br /><br />
|
||||
</td>
|
||||
</tr>
|
||||
<input type=hidden name="do" value="admin_user_add" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<%include include_footer.html%>
|
99
site/glist/templates/gossamer/admin_user_home.html
Normal file
99
site/glist/templates/gossamer/admin_user_home.html
Normal file
@ -0,0 +1,99 @@
|
||||
<html><body>
|
||||
<%set book_mark = 'user_management'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align=center>
|
||||
<tr>
|
||||
<td bgcolor="#FFFFFF"><img src="<%image_url%>/pics/1pixel.gif" height=4></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#7a9f54">
|
||||
<%set log_usr_type = $usr_type%>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" height="100%">
|
||||
<tr class="body_bold">
|
||||
<td width=15% bgcolor="#256A19"class="body_white">
|
||||
<a href="glist.cgi?do=admin_user&sb=usr_type&so=<%if so eq 'ASC' or so eq ''%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Type</font></a>
|
||||
<%if sb eq 'usr_type' or sb eq ''%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width=20% bgcolor="#256A19"class="body_white">
|
||||
<a href="glist.cgi?do=admin_user&sb=usr_username&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Username</font></a>
|
||||
<%if sb eq 'usr_username'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width=30% bgcolor="#256A19"class="body_bold">
|
||||
<a href="glist.cgi?do=admin_user&sb=usr_email&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
|
||||
<%if sb eq 'usr_email'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width=32% bgcolor="#256A19" class="body_bold">
|
||||
<a href="glist.cgi?do=admin_user&sb=pro_first_name&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Full Name</font></a>
|
||||
<%if sb eq 'pro_first_name'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>up.gif<%else%>down.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width=3% align="center" bgcolor="#256A19"><input name=c_all type=checkbox onclick="check_all()" /></td>
|
||||
</tr>
|
||||
<%set usr_current = $usr_username%>
|
||||
<%loop results%>
|
||||
<tr class="body" bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
|
||||
<td class="body">
|
||||
<%if usr_type == 1%>Administrator<%elsif usr_type == 2%>Limited User<%elsif usr_type == 3%>Unlimited User<%else%>Unvalidated User<%endif%>
|
||||
</td>
|
||||
<td class="body">
|
||||
<a href="glist.cgi?do=admin_user_modify_form&uid=<%usr_username%><%hidden_query%>"><%usr_username%></a>
|
||||
</td>
|
||||
<td class="body">
|
||||
<a href="mailto:<%usr_email%>"><%usr_email%></a>
|
||||
</td>
|
||||
<td class="body"><%pro_first_name%> <%pro_last_name%></td>
|
||||
<td align="center">
|
||||
<%if usr_current ne $usr_username%>
|
||||
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" />
|
||||
<input type="hidden" name="<%row_num%>-usr_username" value="<%usr_username%>" />
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
<table width="100%" bgcolor="#FFFFFF" border="0" cellspacing="1"cellpadding="1">
|
||||
<%if hits > $mh%>
|
||||
<tr align="right" class="body">
|
||||
<td colspan="2"><%include include_toolbar.html%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr>
|
||||
<td class="body"><%if msg%><%msg%><%endif%></td>
|
||||
<td align="right">
|
||||
<input name="badd" type="button" value="Add a User" onclick="open_url('do=admin_page;pg=admin_user_add_form.html<%hidden_query%>')" class="button" />
|
||||
<%if hits%>
|
||||
<input type="button" name="bdelete" value="Delete Users" onclick="init_do('myform', 'admin_user_delete', '', '', 'admin_user_')" class="button" />
|
||||
<%if signup_enable%>
|
||||
<input type="button" name="bvalidate" value="Validate Users" onclick="init_do('myform', 'admin_user_validate', '', '', 'admin_user_', '','', 'Please choose one or more user to validate by checking the boxes to the right of the user(s).')" class="button" />
|
||||
<%endif%>
|
||||
<input name="bsearch" type="button" value="Search Users" onclick="open_url('do=admin_page;pg=admin_user_search_form.html<%hidden_query%>')" class="button">
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input name=do value="delete" type="hidden" />
|
||||
<%hidden_query%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
10
site/glist/templates/gossamer/admin_user_include_menu.html
Normal file
10
site/glist/templates/gossamer/admin_user_include_menu.html
Normal file
@ -0,0 +1,10 @@
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="24">
|
||||
<tr class=body>
|
||||
<td class=body_bold width="30%"> <img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=admin_user<%hidden_query%>">User Management</a></td>
|
||||
<td class=body_bold><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=admin_user_table">Customize Profile</a></td>
|
||||
<td align=right><a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=users.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" title="Help" border=0 vspace=2 hspace=2></a></td>
|
||||
</tr>
|
||||
<tr class="body_bold">
|
||||
<td colspan="<%if usr_type == 1%>6<%else%>4<%endif%>" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
199
site/glist/templates/gossamer/admin_user_include_record.html
Normal file
199
site/glist/templates/gossamer/admin_user_include_record.html
Normal file
@ -0,0 +1,199 @@
|
||||
<script>
|
||||
function reload_limit(obj) {
|
||||
var form = document.myform;
|
||||
if (obj.options[obj.selectedIndex].value == 1 || obj.options[obj.selectedIndex].value == 3) {
|
||||
form.mod_usr_limit_list.value = 0;
|
||||
form.mod_usr_limit_sublist.value = 0;
|
||||
form.mod_usr_limit_email30.value = 0;
|
||||
}
|
||||
else {
|
||||
var num_list = <%if mod_usr_limit_list%><%mod_usr_limit_list%><%elsif signup_limit_list%><%signup_limit_list%><%else%>10<%endif%>;
|
||||
var num_sublist = <%if mod_usr_limit_sublist%><%mod_usr_limit_sublist%><%elsif signup_limit_sublist%><%signup_limit_sublist%><%else%>10<%endif%>;
|
||||
var num_email30 = <%if mod_usr_limit_email30%><%mod_usr_limit_email30%><%elsif signup_limit_email30%><%signup_limit_email30%><%else%>100<%endif%>;
|
||||
form.mod_usr_limit_list.value = num_list;
|
||||
form.mod_usr_limit_sublist.value = num_sublist;
|
||||
form.mod_usr_limit_email30.value = num_email30;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<table border="0" cellspacing="2" cellpadding="2" align="center" width=550>
|
||||
<tr class=body>
|
||||
<td class=body colspan="2"><li><b>Account Infomation</b></li></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td width="30%"><ul/>Username</td>
|
||||
<td>
|
||||
<%if modify%><b><%mod_usr_username%></b>
|
||||
<input type="hidden" name="mod_usr_username" size="30" value="<%if mod_usr_username%><%mod_usr_username%><%endif%>" />
|
||||
<input type="hidden" name="uid" size="30" value="<%if mod_usr_username%><%mod_usr_username%><%endif%>" />
|
||||
<%else%>
|
||||
<input class="object" type="text" name="mod_usr_username" size="20" value="<%if mod_usr_username%><%mod_usr_username%><%endif%>" /><font color=green>*</font>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%if modify%>
|
||||
<tr class="body">
|
||||
<td class="body"><ul/>New Password</td>
|
||||
<td>
|
||||
<input class="object" type="text" name="mod_usr_password" size="20" value="" />
|
||||
</td>
|
||||
</tr>
|
||||
<%else%>
|
||||
<tr class="body">
|
||||
<td class="body"><ul/>Password</td>
|
||||
<td>
|
||||
<input class="object" type="text" name="mod_usr_password" size="20" /><font color=green>*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Email Address</td>
|
||||
<td>
|
||||
<input class="object" type="text" name="mod_usr_email" size="<%if is_ie or is_mozilla%>35<%else%>25<%endif%>" value="<%if mod_usr_email%><%mod_usr_email%><%endif%>" /><font color=green>*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Reply-to Email</td>
|
||||
<td>
|
||||
<input class="object" type="text" name="mod_usr_reply_email" size="<%if is_ie or is_mozilla%>35<%else%>25<%endif%>" value="<%if mod_usr_reply_email%><%mod_usr_reply_email%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Bounce Email</td>
|
||||
<td>
|
||||
<input class="object" type="text" name="mod_usr_bounce_email" size="<%if is_ie or is_mozilla%>35<%else%>25<%endif%>" value="<%if mod_usr_bounce_email%><%mod_usr_bounce_email%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Type</td>
|
||||
<td class=body>
|
||||
<%if mod_usr_username eq $usr_username%>
|
||||
<%if usr_type == 1%>Administrator<%elsif usr_type == 2%>Limited User<%elsif usr_type == 3%>Unlimited User<%else%>Unvalidated User<%endif%>
|
||||
<%else%>
|
||||
<select name="mod_usr_type" class="object" onchange="reload_limit(this)">
|
||||
<option value="1" <%if mod_usr_type == 1%>selected<%endif%>>Administrator</option>
|
||||
<option value="2" <%if mod_usr_type == 2%>selected<%endif%>>Limited User</option>
|
||||
<option value="3" <%if mod_usr_type == 3%>selected<%endif%>>Unlimitted User</option>
|
||||
<option value="4" <%if mod_usr_type == 4%>selected<%endif%>>Unvalidated User</option>
|
||||
</select>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%if usr_type == 1%>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Status</td>
|
||||
<td>
|
||||
<select name="mod_usr_status" class=object>
|
||||
<option value="1" <%if mod_usr_status == 1%>selected<%endif%>>Active</option>
|
||||
<option value="2" <%if mod_usr_status == 2%>selected<%endif%>>Inactive</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%if mod_usr_username ne $usr_username%>
|
||||
<tr class=body>
|
||||
<td class=body colspan="2"><li><b>Account Limits</b></li></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body"><ul/>Number of list</td>
|
||||
<td>
|
||||
<input class="object" type="text" name="mod_usr_limit_list" size="20" maxlength="10" value="<%if mod_usr_limit_list%><%mod_usr_limit_list%><%elsif pg eq 'admin_user_add_form.html'%><%if signup_limit_list%><%signup_limit_list%><%else%>10<%endif%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body"><ul/>Number of subscriber per list</td>
|
||||
<td>
|
||||
<input class="object" type="text" name="mod_usr_limit_sublist" size="20" maxlength="10" value="<%if mod_usr_limit_sublist%><%mod_usr_limit_sublist%><%elsif pg eq 'admin_user_add_form.html'%><%if signup_limit_sublist%><%signup_limit_sublist%><%else%>10<%endif%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body"><ul/>Number of email in the last 30 days</td>
|
||||
<td>
|
||||
<input class="object" type="text" name="mod_usr_limit_email30" size="20" maxlength="10" value="<%if mod_usr_limit_email30%><%mod_usr_limit_email30%><%elsif pg eq 'admin_user_add_form.html'%><%if signup_limit_email30%><%signup_limit_email30%><%else%>100<%endif%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class=body>
|
||||
<td class=body colspan="2"><li><b>Profile Infomation</b></li></td>
|
||||
</tr>
|
||||
<%--
|
||||
This auto generates the profile form, so if you add profile options it
|
||||
will automatically appear.
|
||||
--%>
|
||||
<%GList::GUI::gui_profile_form(
|
||||
td_l => 'class="body" align="left"',
|
||||
td_r => 'class="body" align="left"',
|
||||
required => '<font color="green">*</font>',
|
||||
prefix => 'mod_'
|
||||
)%>
|
||||
<%--
|
||||
Now add any extra application fields needed.
|
||||
--%>
|
||||
<tr class=body>
|
||||
<td class=body colspan="2"><li><b>Default Values</b></li></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" valign="top"><ul/>Compose Mode</td>
|
||||
<td>
|
||||
<select name="mod_usr_compose_mode" class="object">
|
||||
<option value="text" <%if mod_usr_compose_mode eq 'text'%>selected<%endif%>>Text Only</option>
|
||||
<option value="html" <%if mod_usr_compose_mode eq 'html'%>selected<%endif%>>HTML Only</option>
|
||||
<option value="multi" <%if mod_usr_compose_mode eq 'multi'%>selected<%endif%>>Text & HTML</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" valign="top"><ul/>Advanced Editor</td>
|
||||
<td>
|
||||
<select name="mod_usr_editor_advanced" class="object">
|
||||
<option value="1" <%if mod_usr_editor_advanced%>selected<%endif%>>Yes</option>
|
||||
<option value="0" <%ifnot mod_usr_editor_advanced%>selected<%endif%>>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Date format</td>
|
||||
<td>
|
||||
<select name="mod_usr_date_format" class=object onchange="preview_date(this, document.myform.date_preview)">
|
||||
<option value="">----</option>
|
||||
<option value="%dd%-%mm%-%yyyy%" <%if mod_usr_date_format eq '%dd%-%mm%-%yyyy%'%>selected<%endif%>>dd-mm-yyyy</option>
|
||||
<option value="%mm%-%dd%-%yyyy%" <%if mod_usr_date_format eq '%mm%-%dd%-%yyyy%' or not $mod_usr_date_format%>selected<%endif%>>mm-dd-yyyy</option>
|
||||
<option value="%yyyy%-%mm%-%dd%" <%if mod_usr_date_format eq '%yyyy%-%mm%-%dd%'%>selected<%endif%>>yyyy-mm-dd</option>
|
||||
<option value="%dd%/%mm%/%yyyy%" <%if mod_usr_date_format eq '%dd%/%mm%/%yyyy%'%>selected<%endif%>>dd/mm/yyyy</option>
|
||||
<option value="%mm%/%dd%/%yyyy%" <%if mod_usr_date_format eq '%mm%/%dd%/%yyyy%' or not $mod_usr_date_format%>selected<%endif%>>mm/dd/yyyy</option>
|
||||
<option value="%yyyy%/%mm%/%dd%" <%if mod_usr_date_format eq '%yyyy%/%mm%/%dd%'%>selected<%endif%>>yyyy/mm/dd</option>
|
||||
</select><BR/>
|
||||
<input name="date_preview" class="object" value="<%if mod_usr_date_format%><%mod_usr_date_format%><%elsif pg eq 'admin_user_add_form.html'%>%mm%/%dd%/%yyyy%<%endif%>" size="<%if is_ie or is_mozilla%>35<%else%>25<%endif%>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" colspan="2"><ul/><br>The pop settings below are for bounced emails.</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Server mail (POP3)</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="mod_usr_mail_host" size="<%if is_ie or is_mozilla%>35<%else%>25<%endif%>" value="<%if mod_usr_mail_host%><%mod_usr_mail_host%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Port</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="mod_usr_mail_port" size=3 maxlength=3 value="<%if mod_usr_mail_port%><%mod_usr_mail_port%><%else%>110<%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Account Name</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="mod_usr_mail_account" size=<%if is_ie or is_mozilla%>35<%else%>25<%endif%> value="<%if mod_usr_mail_account%><%mod_usr_mail_account%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Account Password</td>
|
||||
<td>
|
||||
<input type="password" class="object" name="mod_usr_mail_password" size=<%if is_ie or is_mozilla%>35<%else%>25<%endif%> value="<%if mod_usr_mail_password%><%mod_usr_mail_password%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body colspan="2" align=right><font color=green>(*): Required</font></td>
|
||||
</tr>
|
||||
</table>
|
57
site/glist/templates/gossamer/admin_user_modify_form.html
Normal file
57
site/glist/templates/gossamer/admin_user_modify_form.html
Normal file
@ -0,0 +1,57 @@
|
||||
<%set set_focus = 'myform.mod_pro_first_name'%>
|
||||
<%set book_mark = 'modify_user'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Modify User</td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_user:<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<form name=myform action="glist.cgi" method="post">
|
||||
<table width="600" border="0" cellspacing="0" cellpadding="0" height=100% align="center">
|
||||
<tr valign="middle">
|
||||
<td height="0" height=70%><br />
|
||||
<%if msg%><pre><p align=center><%msg%></pre></p><%endif%>
|
||||
<%include admin_user_include_record.html%>
|
||||
</td>
|
||||
</tr>
|
||||
<%if usr_type == 3 and $mod_usr_validate_code%>
|
||||
<tr>
|
||||
<td class="body">
|
||||
<ul/>Do you want to email validate this user?
|
||||
<input type="Radio" name="email_validate" value="1">Yes
|
||||
<input type="Radio" name="email_validate" value="0" checked>No<BR/><BR/>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr valign="top">
|
||||
<td height="30%" align="center" class="body">
|
||||
<input type="submit" name="Submit" value="Update User" class="button" />
|
||||
<input type="button" name="Submit2" value=" Cancel " class="button" onclick="open_url('do=admin_user')" /><br /><br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="admin_user_modify" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
116
site/glist/templates/gossamer/admin_user_search_form.html
Normal file
116
site/glist/templates/gossamer/admin_user_search_form.html
Normal file
@ -0,0 +1,116 @@
|
||||
<%set set_focus = 'myform.usr_username'%>
|
||||
<%set book_mark = 'search_user'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Search User</td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_user<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<form name="myform" action="glist.cgi" method="post">
|
||||
<table width=100% cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td valign=middle>
|
||||
<%if msg%><p align=center class="body"><br /><%msg%></p><%endif%><br />
|
||||
<table align=center border="0" cellspacing="0" cellpadding="3">
|
||||
<tr class="body">
|
||||
<td colspan="3"><li><b>Search Info</b></li></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td><ul/>Type</td>
|
||||
<td colspan=2>
|
||||
<select class="object" name="usr_type">
|
||||
<option value="1">Administrator</option>
|
||||
<option value="2">Limited User</option>
|
||||
<option value="3">Unlimited User</option>
|
||||
<option value="4">Unvalidated User</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td><ul/>Username</td>
|
||||
<td colspan=2>
|
||||
<input class="object" name="usr_username" type=text size=17 value="" />
|
||||
<input class="object" name="usr_username-opt" type=hidden size=40 value="=" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td><ul/>Email</td>
|
||||
<td colspan=2>
|
||||
<input class="object" name="usr_email" type=text size=35 value="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td><ul/>Reply-to Email</td>
|
||||
<td colspan=2><input class="object" type="text" name="usr_reply_email" size="35" /></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td><ul/>Bounce Email</td>
|
||||
<td colspan=2><input class="object" type="text" name="usr_bounce_email" size="35" /></td>
|
||||
</tr>
|
||||
<%GList::GUI::gui_profile_form(
|
||||
td_l => 'class="body" align="left"',
|
||||
td_r => 'class="body" colspan="2" align="left"',
|
||||
mode => 'search',
|
||||
required => ''
|
||||
)%>
|
||||
<tr class="body">
|
||||
<td colspan="3"><li><b>Search Options</b></li></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td><ul/>Maximum hits</td>
|
||||
<td><input class="object" name=mh value="<%if mh%><%mh%><%else%>25<%endif%>" size=1 maxlength=2 /></td>
|
||||
<td>Match Any: <input name="ma" value=1 type=checkbox /></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td><ul/>Sort by</td>
|
||||
<td colspan=2>
|
||||
<select class="object" name=sb>
|
||||
<option value="usr_username">Username </option>
|
||||
<option value="usr_email">Email</option>
|
||||
<option value="pro_first_name">First Name</option>
|
||||
<option value="pro_last_name">Last Name</option>
|
||||
<option value="usr_reply_email">Reply to Email</option>
|
||||
<option value="usr_type">User Type</option>
|
||||
</select>
|
||||
<select class="object" name="so">
|
||||
<option value="">---</option>
|
||||
<option value="DESC">Descending</option>
|
||||
<option value="ASC">Ascending</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center colspan="3"><BR />
|
||||
<input name="bsearch" type=submit value=" Search " class="button" />
|
||||
<input name="breset" type=reset value=" Reset " class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table><BR />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="admin_user_search" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
57
site/glist/templates/gossamer/admin_user_table.html
Normal file
57
site/glist/templates/gossamer/admin_user_table.html
Normal file
@ -0,0 +1,57 @@
|
||||
<html><body>
|
||||
<%set book_mark = 'user_management'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align=center>
|
||||
<tr>
|
||||
<td bgcolor="#FFFFFF"><img src="<%image_url%>/pics/1pixel.gif" height=4></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#7a9f54">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" height="100%">
|
||||
<tr class="body_bold">
|
||||
<td width="30%" bgcolor="#256A19" class="body_white">Column Name</td>
|
||||
<td width="20%" bgcolor="#256A19" class="body_white">Column Type</td>
|
||||
<td width="10%" bgcolor="#256A19" class="body_white" align="center">Not Null</td>
|
||||
<td width="10%" bgcolor="#256A19" class="body_white" align="center">Default</td>
|
||||
<td width="30%" bgcolor="#256A19" class="body_white">Regex</td>
|
||||
</tr>
|
||||
<%loop loop_fields%>
|
||||
<tr class="body" bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
|
||||
<td class="body"><a href="glist.cgi?do=admin_user_table_modify;form=1;column=<%name%>"><%name%></a></td>
|
||||
<td class="body"><%type%><%if size%> (<%size%>)<%endif%></td>
|
||||
<td class="body" align="center"><%if not_null%>Yes<%else%>No<%endif%></td>
|
||||
<td class="body" align="center"><%if default%><%default%><%else%> <%endif%></td>
|
||||
<td align="center"><%if regex%><%regex%><%else%> <%endif%></td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
<table width="100%" bgcolor="#FFFFFF" border="0" cellspacing="1"cellpadding="1">
|
||||
<tr class="body" height=30>
|
||||
<td align=right colspan="5" >
|
||||
<input name="badd" type="button" value="Add a Field" onclick="open_url('do=admin_user_table_add;form=1<%hidden_query%>')" class="button" />
|
||||
<input name="badd" type="submit" value="Resync Database" class="button" i/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" class="body"><%if msg%><%msg%><%else%>Click on a "Column Name" to modify or delete an existing column, or click the "Add A Field" button.<%endif%></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input name=do value="admin_user_table_resync" type="hidden" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
49
site/glist/templates/gossamer/admin_user_table_add.html
Normal file
49
site/glist/templates/gossamer/admin_user_table_add.html
Normal file
@ -0,0 +1,49 @@
|
||||
<%set set_focus = 'myform.mod_usr_username'%>
|
||||
<%set book_mark = 'add_user'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Add a Field</td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_user_table<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="600" border="0" cellspacing="0" cellpadding="0" height=100% align="center">
|
||||
<form name=myform action="glist.cgi" method="post">
|
||||
<tr valign="middle" class=body>
|
||||
<td height="0" height="80%" class=body align="center"><br />
|
||||
<%if msg%><%msg%><%else%>Add a profile field<%endif%><br/><br/>
|
||||
<%include admin_user_table_include_record.html%><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30%" align=center valign=top>
|
||||
<input type="submit" name="bmodify" value="Add a Field" class="button" />
|
||||
<input type="button" name="Submit2" value=" Cancel " class="button" onclick="open_url('do=admin_user_table<%hidden_query%>')"/><br /><br />
|
||||
</td>
|
||||
</tr>
|
||||
<input type=hidden name="do" value="admin_user_table_add" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<%include include_footer.html%>
|
@ -0,0 +1,108 @@
|
||||
<table border="0" cellspacing="2" cellpadding="2" align="center" width=550>
|
||||
<tr class=body>
|
||||
<td class=body colspan="2"><li><b>Database Infomation</b></li></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td width="40%"><ul/>Column Name</td>
|
||||
<td>
|
||||
<%if column%>
|
||||
<b><%column%></b>
|
||||
<input name="column" type="hidden" class="object" size="20" value="<%if column%><%column%><%endif%>">
|
||||
<%else%>
|
||||
<input name="column" type="text" class="object" size="20" value="<%if column%><%column%><%endif%>">
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body"><ul/>Column Type</td>
|
||||
<td>
|
||||
<select name="type" class="object">
|
||||
<option <%if type eq 'INT'%>selected<%endif%>>INT
|
||||
<option <%if type eq 'TINYINT'%>selected<%endif%>>TINYINT
|
||||
<option <%if type eq 'FLOAT'%>selected<%endif%>>FLOAT
|
||||
<option <%if type eq 'CHAR'%>selected<%endif%>>CHAR
|
||||
<option <%if type eq 'VARCHAR'%>selected<%endif%>>VARCHAR
|
||||
<option <%if type eq 'TEXT'%>selected<%endif%>>TEXT
|
||||
<option <%if type eq 'DATE'%>selected<%endif%>>DATE
|
||||
<option <%if type eq 'DATETIME'%>selected<%endif%>>DATETIME
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body"><ul/>Column Index</td>
|
||||
<td>
|
||||
<select name="index" class="object">
|
||||
<option value="none" SELECTED>None
|
||||
<option value="regular">Regular
|
||||
<option value="unique">Unique
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Column Size<BR><font size="1">(Only for CHAR types)</font></td>
|
||||
<td>
|
||||
<input class="object" type="text" name="size" size="20" value="<%if size%><%size%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class="body"><ul/>Not Null</td>
|
||||
<td class="body">
|
||||
<input name="not_null" type="radio" value="1" <%if not_null%>checked<%endif%>>Yes
|
||||
<input name="not_null" type="radio" value="0" <%ifnot not_null%>checked<%endif%>>No
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Default</td>
|
||||
<td>
|
||||
<input class="object" type="text" name="default" size="20" value="<%if default%><%default%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body colspan="2"><li><b>Form Infomation</b></li></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" valign="top"><ul/>Form Display</td>
|
||||
<td>
|
||||
<input class="object" type="text" name="form_display" size="20" value="<%if form_display%><%form_display%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" valign="top"><ul/>Form Type</td>
|
||||
<td>
|
||||
<select name="form_type" class="object">
|
||||
<option value="HIDDEN" <%if form_type eq 'HIDDEN'%>selected<%endif%>>HIDDEN</option>
|
||||
<option value="SELECT" <%if form_type eq 'SELECT'%>selected<%endif%>>SELECT</option>
|
||||
<option value="MULTIPLE" <%if form_type eq 'MULTIPLE'%>selected<%endif%>>MULTI-SELECT</option>
|
||||
<option value="CHECKBOX" <%if form_type eq 'CHECKBOX'%>selected<%endif%>>CHECKBOX</option>
|
||||
<option value="RADIO" <%if form_type eq 'RADIO'%>selected<%endif%>>RADIO</option>
|
||||
<option value="TEXT" <%if form_type eq 'TEXT' or form_type eq ''%>selected<%endif%>>TEXT</option>
|
||||
<option value="TEXTAREA" <%if form_type eq 'TEXTAREA'%>selected<%endif%>>TEXTAREA</option>
|
||||
<option value="PASSWORD" <%if form_type eq 'PASSWORD'%>selected<%endif%>>PASSWORD</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Form Size</td>
|
||||
<td>
|
||||
<input class="object" type="text" name="form_size" size="20" value="<%if form_size%><%form_size%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Form Names:<BR/>(Stored in Database)<BR/>Only for checkbox, multi-select or radio forms.</td>
|
||||
<td>
|
||||
<textarea type="text" class="object" name="form_names" cols="30" rows="3"><%if form_names%><%form_names%><%endif%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Form Values:<br/>(Stored in Form)<br/>Only for checkbox, multi-select or radio forms.</td>
|
||||
<td>
|
||||
<textarea type="text" class="object" name="form_values" cols="30" rows="3"><%if form_values%><%form_values%><%endif%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body><ul/>Form Regex</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="form_regex" size=20 value="<%if form_regex%><%form_regex%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
66
site/glist/templates/gossamer/admin_user_table_modify.html
Normal file
66
site/glist/templates/gossamer/admin_user_table_modify.html
Normal file
@ -0,0 +1,66 @@
|
||||
<%set set_focus = 'myform.mod_usr_username'%>
|
||||
<%set book_mark = 'add_user'%>
|
||||
<%include include_header.html%>
|
||||
<script>
|
||||
function del_confirm(col) {
|
||||
if (confirm("Are you sure you want to permanently delete " + col + " column?")) {
|
||||
var frm_obj = document.myform;
|
||||
for ( i=0; i < frm_obj.length; i++ ) {
|
||||
if ( frm_obj[i].name == 'do' ) {
|
||||
frm_obj[i].value = 'admin_user_table_delete';
|
||||
frm_obj.submit();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Modify a Field</td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_user_table<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="600" border="0" cellspacing="0" cellpadding="0" height=100% align="center">
|
||||
<form name=myform action="glist.cgi" method="post">
|
||||
<tr valign="middle" class=body>
|
||||
<td height="0" height="80%" class=body align="center"><br />
|
||||
<%if msg%><%msg%><%else%>Modify the profile field and click the "Modify" button to save your changes. Click "Delete" if you wish to permanently remove this column from your database<%endif%><br/><br/>
|
||||
<%include admin_user_table_include_record.html%><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30%" align=center valign=top>
|
||||
<input type="submit" name="bmodify" value="Modify <%column%>" class="button" />
|
||||
<%if column ne 'pro_first_name' and $column ne 'pro_last_name'%>
|
||||
<input type="button" name="bsubmit" value="Delete <%column%>" class="button" onclick="del_confirm('<%column%>')" />
|
||||
<%endif%>
|
||||
<input type="button" name="Submit2" value=" Cancel " class="button" onclick="open_url('do=admin_user_table<%hidden_query%>')"/><br /><br />
|
||||
</td>
|
||||
</tr>
|
||||
<input type=hidden name="do" value="admin_user_table_modify" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<%include include_footer.html%>
|
45
site/glist/templates/gossamer/error_form.html
Normal file
45
site/glist/templates/gossamer/error_form.html
Normal file
@ -0,0 +1,45 @@
|
||||
<html>
|
||||
<head>
|
||||
<title><%if site_title%><%site_title%><%else%>Gossamer Gossamer List<%endif%> - Login</title>
|
||||
<%include include_style.txt%>
|
||||
</head>
|
||||
<body>
|
||||
<table width="600" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class=bold_white height=20>
|
||||
<td width=1><img src="<%image_url%>/icons/error.gif" hspace=2></td>
|
||||
<td width=100% class=bold_white><%if header%><%header%><%else%>Error<%endif%></td>
|
||||
<td align=right><a href="javascript:window.history.back()"><img src="<%image_url%>/icons/close.gif" border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#FFFFFF">
|
||||
<td>
|
||||
<table align="center" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class=body>
|
||||
<td><%msg%></td>
|
||||
</tr>
|
||||
<tr class=body valign="bottom" align="center">
|
||||
<td height="30" align=center>
|
||||
<input class="button" type="button" name="Submit" value=" Back " onclick="window.history.back()">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
35
site/glist/templates/gossamer/gt_doc.html
Normal file
35
site/glist/templates/gossamer/gt_doc.html
Normal file
@ -0,0 +1,35 @@
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include plugin_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/help.gif" align="texttop" hspace="2" vspace="0">GT Module Documentation</td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%ifnot use_cookie%>&sid=<%session_id%><%endif%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table><BR />
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
|
||||
<tr class=body>
|
||||
<td valign="top" class=body height="500" align="center">
|
||||
<iframe name="gtdoc_iframe" width="100%" height="95%" src="glist.cgi?do=admin_gtdoc&topic=/index.html"></iframe>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
43
site/glist/templates/gossamer/include_footer.html
Normal file
43
site/glist/templates/gossamer/include_footer.html
Normal file
@ -0,0 +1,43 @@
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="9%">
|
||||
<tr>
|
||||
<%if selected_menu == 1 or selected_menu == 3 or selected_menu eq ''%>
|
||||
<td bgcolor="#008000" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td width="20%"><img src="<%image_url%>/pics/1pixel.gif" width="200" height="1"></td>
|
||||
<td bgcolor="#008000" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td width="80%" align="right" valign="bottom">
|
||||
<%if usr_type == 2 and $display_limit_bar%>
|
||||
<%include include_used_space.html%>
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=user_logout<%hidden_query%>"><img src="<%image_url%>/menus/logout.gif" width="62" height="18" hspace="1" vspace="1" border="0"></a>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td bgcolor="#008000" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<%else%>
|
||||
<td bgcolor="#008000" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td width="100%" align="right" valign="bottom">
|
||||
<%if usr_type == 2 and $display_limit_bar%>
|
||||
<%set view_subscriber = 1%>
|
||||
<%include include_used_space.html%>
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=user_logout<%hidden_query%>"><img src="<%image_url%>/menus/logout.gif" width="62" height="18" hspace="1" vspace="1" border="0"></a>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td bgcolor="#008000" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<%endif%>
|
||||
</tr>
|
||||
<tr bgcolor="#256A19">
|
||||
<td colspan="<%if selected_menu == 1 or selected_menu == 3 or selected_menu eq ''%>5<%else%>3<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="5"></td>
|
||||
</tr>
|
||||
<tr align="center" valign="bottom">
|
||||
<td colspan="<%if selected_menu == 1 or selected_menu == 3 or selected_menu eq ''%>5<%else%>3<%endif%>" class="small">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr class="small">
|
||||
<td class="small" align=left><b><a href="http://www.gossamer-threads.com/scripts/glist/"><%if site_title%><%site_title%><%endif%> version <%if version%><%version%><%endif%></a></b></td>
|
||||
<td class="small" align=right><b>Copyright ©2003 <a href="<%if site_url%><%site_url%><%else%>http://www.gossamer-threads.com<%endif%>" target="Gossamer">Gossamer Threads Inc.</a><b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
22
site/glist/templates/gossamer/include_header.html
Normal file
22
site/glist/templates/gossamer/include_header.html
Normal file
@ -0,0 +1,22 @@
|
||||
<html>
|
||||
<head>
|
||||
<title><%if site_title%><%site_title%><%else%>Gossamer List<%endif%></title>
|
||||
<%include include_style.txt%>
|
||||
<script src="<%static_url%>/js/glist.js"></script>
|
||||
<script>
|
||||
function setFocus() {
|
||||
<%if set_focus%>
|
||||
var obj = document.<%set_focus%>;
|
||||
if (typeof(obj) != 'undefined')
|
||||
document.<%set_focus%>.focus();
|
||||
<%endif%>
|
||||
<%if call_check%>check_all();<%endif%>
|
||||
}
|
||||
</script>
|
||||
|
||||
<body bgcolor="#FFFFFF" leftmargin="5" topmargin="0" onLoad="setFocus();">
|
||||
<%if usr_type == 1%>
|
||||
<%include include_header_admin.html%>
|
||||
<%else%>
|
||||
<%include include_header_user.html%>
|
||||
<%endif%>
|
285
site/glist/templates/gossamer/include_header_admin.html
Normal file
285
site/glist/templates/gossamer/include_header_admin.html
Normal file
@ -0,0 +1,285 @@
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="6%">
|
||||
<tr>
|
||||
<td width="20%" valign="bottom">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="6%">
|
||||
<tr>
|
||||
<td valign="middle">
|
||||
<a href="<%if site_url%><%site_url%><%else%>http://www.gossamer-threads.com<%endif%>" target="site"><img src="<%image_url%>/pics/logo2.gif" hspace="0" vspace="5" border=0></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#256A19">
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="5"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="9%" valign="bottom">
|
||||
<%if selected_menu == 1 or selected_menu eq ''%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/line_left.gif" height="24" ></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="95%" class="body" height="23" >
|
||||
<a href="glist.cgi?do=msg_home<%hidden_query%>"><div align="center">Messages</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=msg_home&msg_root=1<%hidden_query%>"><font color="#FFFFFF">Messages</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="9%" valign="bottom">
|
||||
<%if selected_menu == 2 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="95%" class="body" height="23" >
|
||||
<a href="glist.cgi?do=lst_home&<%hidden_query%>"><div align="center">Lists</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=lst_home&<%hidden_query%>"><font color="#FFFFFF">Lists</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="9%" valign="bottom">
|
||||
<%if selected_menu == 3 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="95%" class="body" height="23" >
|
||||
<a href="glist.cgi?do=mli_home&fd=1<%hidden_query%>"><div align="center">Mailings</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=mli_home&fd=1<%hidden_query%>"><font color="#FFFFFF">Mailings</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="9%" valign="bottom">
|
||||
<%if selected_menu == 4 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="95%" class="body" height="23" >
|
||||
<a href="glist.cgi?do=pro_report&<%hidden_query%>"><div align="center">Reports</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=pro_report<%hidden_query%>"><font color="#FFFFFF">Reports</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="9%" valign="bottom">
|
||||
<%if selected_menu == 5 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="95%" class="body" height="23" >
|
||||
<a href="glist.cgi?do=pro_profile&<%hidden_query%>"><div align="center">Account</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=pro_profile<%hidden_query%>"><font color="#FFFFFF">Account</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="9%" valign="bottom">
|
||||
<%if selected_menu == 6 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="95%" class="body" height="23" >
|
||||
<a href="glist.cgi?do=admin_user<%hidden_query%>"><div align="center">Users</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=admin_user<%hidden_query%>"><font color="#FFFFFF">Users</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="9%" valign="bottom">
|
||||
<%if selected_menu == 7 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="95%" class="body" height="23" >
|
||||
<a href="glist.cgi?do=admin_page&pg=admin_template_home.html<%hidden_query%>"><div align="center">Templates</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=admin_page&pg=admin_template_home.html<%hidden_query%>"><font color="#FFFFFF">Templates</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="9%" valign="bottom">
|
||||
<%if selected_menu == 8 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="95%" class="body" height="23" >
|
||||
<a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%hidden_query%>"><div align="center">Plugins</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%hidden_query%>"><font color="#FFFFFF">Plugins</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="9%" valign="bottom" <%if selected_menu == 9 %>colspan=2<%endif%>>
|
||||
<%if selected_menu == 9 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/line_right.gif" height="24"></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="95%" class="body" height="23" >
|
||||
<a href="glist.cgi?do=admin_page&pg=admin_setup_home.html<%hidden_query%>"><div align="center">Setup</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=admin_page&pg=admin_setup_home.html<%hidden_query%>"><font color="#FFFFFF">Setup</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#7a9f54"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 1 or selected_menu eq ''%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 2%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 3%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 4%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 5%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 6%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 7%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 8%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<%if selected_menu == 9%>
|
||||
<td bgcolor="#E8EAD0" width="79"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="#7a9f54" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<%else%>
|
||||
<td bgcolor="#7a9f54"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<%endif%>
|
||||
</tr>
|
||||
</table>
|
169
site/glist/templates/gossamer/include_header_user.html
Normal file
169
site/glist/templates/gossamer/include_header_user.html
Normal file
@ -0,0 +1,169 @@
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="6%">
|
||||
<tr>
|
||||
<td width="20%" valign="bottom">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="6%">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="<%if site_url%><%site_url%><%else%>http://www.gossamer-threads.com<%endif%>" target="site"><img src="<%image_url%>/pics/logo2.gif" hspace="0" vspace="5" border=0></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#256A19">
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="5"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="16%" valign="bottom">
|
||||
<%if selected_menu == 1 or selected_menu eq ''%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/line_left.gif" height="24"></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif" ></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="100%" class="body_bold" height="23">
|
||||
<a href="glist.cgi?do=msg_home<%hidden_query%>"><div align="center">Messages</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif" ></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=msg_home&msg_root=1<%hidden_query%>"><font color="#FFFFFF">Messages</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="16%" valign="bottom">
|
||||
<%if selected_menu == 2 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif" ></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif" ></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="100%" class="body_bold" height="23">
|
||||
<a href="glist.cgi?do=lst_home&<%hidden_query%>"><div align="center">Lists</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif" ></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=lst_home&<%hidden_query%>"><font color="#FFFFFF">Lists</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="16%" valign="bottom">
|
||||
<%if selected_menu == 3 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif" ></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif" ></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="100%" class="body_bold" height="23">
|
||||
<a href="glist.cgi?do=mli_home&fd=1<%hidden_query%>"><div align="center">Mailings</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif" ></td>
|
||||
<td width="95%%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=mli_home&fd=1<%hidden_query%>"><font color="#FFFFFF">Mailings</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="16%" valign="bottom">
|
||||
<%if selected_menu == 4 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif" ></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif" ></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="95%" class="body_bold" height=23>
|
||||
<a href="glist.cgi?do=pro_report&<%hidden_query%>"><div align="center">Reports</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif" ></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=pro_report<%hidden_query%>"><font color="#FFFFFF">Reports</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="16%" valign="bottom" <%if selected_menu == 5 %>colspan=2<%endif%>>
|
||||
<%if selected_menu == 5 %>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif" ></td>
|
||||
<td width="95%" bgcolor="#008000">
|
||||
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/line_right.gif" height="24"></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="95%" class="body_bold" height=23>
|
||||
<a href="glist.cgi?do=pro_profile&<%hidden_query%>"><div align="center">Account</div></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
|
||||
<tr class="body">
|
||||
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif" ></td>
|
||||
<td width="95%" class="body">
|
||||
<div align="center"><a href="glist.cgi?do=pro_profile<%hidden_query%>"><font color="#FFFFFF">Account</font></a></div>
|
||||
</td>
|
||||
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#7a9f54"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 1 or selected_menu eq ''%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 2%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 3%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="<%if selected_menu == 4%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<%if selected_menu == 5%>
|
||||
<td bgcolor="#E8EAD0" width="123"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
|
||||
<td bgcolor="#7a9f54" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<%else%>
|
||||
<td bgcolor="#7a9f54"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<%endif%>
|
||||
</tr>
|
||||
</table>
|
21
site/glist/templates/gossamer/include_toolbar.html
Normal file
21
site/glist/templates/gossamer/include_toolbar.html
Normal file
@ -0,0 +1,21 @@
|
||||
Page:
|
||||
<%set num_page_items = $hits%>
|
||||
<%GList::GUI::gui_toolbar(
|
||||
first => '<img src="$image_url/icons/first.gif" border="0" width="17" height="11" alt="First page">',
|
||||
first_grey => '<img src="$image_url/icons/first_grey.gif" border="0" width="17" height="11" alt="First page">',
|
||||
prev => '<img src="$image_url/icons/prev.gif" border="0" width="10" height="11" alt="Previous page">',
|
||||
prev_grey => '<img src="$image_url/icons/prev_grey.gif" border="0" width="10" height="11" alt="Previous page">',
|
||||
next => '<img src="$image_url/icons/next.gif" border="0" width="10" height="11" alt="Next page">',
|
||||
next_grey => '<img src="$image_url/icons/next_grey.gif" border="0" width="10" height="11" alt="Next page">',
|
||||
last => '<img src="$image_url/icons/last.gif" border="0" width="17" height="11" alt="Last page">',
|
||||
last_grey => '<img src="$image_url/icons/last_grey.gif" border="0" width="17" height="11" alt="Last page">',
|
||||
view_all => 'View All',
|
||||
pages => 9,
|
||||
'...' => '...',
|
||||
'first_...' => 1,
|
||||
'last_...' => 1,
|
||||
before_page => '',
|
||||
after_page => '',
|
||||
before_current => '<b>',
|
||||
after_current => '</b>',
|
||||
)%>
|
31
site/glist/templates/gossamer/include_used_space.html
Normal file
31
site/glist/templates/gossamer/include_used_space.html
Normal file
@ -0,0 +1,31 @@
|
||||
<%if view_subscriber%>
|
||||
<%GList::Tools::generate_used_bar('sublist', 220)%>
|
||||
<%else%>
|
||||
<%GList::Tools::generate_used_bar('email30', 220)%>
|
||||
<%endif%>
|
||||
<BR/>
|
||||
<table cellpadding="1" cellspacing="2" width="100%">
|
||||
<tr>
|
||||
<%if used_percent%>
|
||||
<td class="body">
|
||||
<font size="1"><%used_message%></font>
|
||||
<table border="0" width="220" cellpadding="0" cellspacing="0" style="border: 1px solid; color: #000000">
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding="0" cellspacing="0" border="0" bgcolor="<%if used_percent >= 80%>red<%else%>#ffe349<%endif%>">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="<%image_url%>/pics/1pixel.gif" width="<%if used_image_width%><%used_image_width%><%else%>1<%endif%>" height="12"></td>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<%endif%>
|
||||
<td align="right" class="body" valign="bottom">
|
||||
<a href="glist.cgi?do=user_logout<%hidden_query%>"><img src="<%image_url%>/menus/logout.gif" width="62" height="18" hspace="1" vspace="1" border="0"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
129
site/glist/templates/gossamer/local/lst_sub_include_record.html
Normal file
129
site/glist/templates/gossamer/local/lst_sub_include_record.html
Normal file
@ -0,0 +1,129 @@
|
||||
<table border="0" cellspacing="1" cellpadding="2" align=center>
|
||||
<%if do eq 'lst_sub_modify'%>
|
||||
<input type="hidden" value="<%subid%>" name="subid">
|
||||
<tr class=body>
|
||||
<td class=body>List</td>
|
||||
<td><%lst_title%></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Validated</td>
|
||||
<td>
|
||||
<select name="new_validated" class="object">
|
||||
<option value="1" <%if new_validated%>selected<%endif%>>Yes</option>
|
||||
<option value="0" <%ifnot new_validated%>selected<%endif%>>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Bounced</td>
|
||||
<td>
|
||||
<input type="text" name="new_bounced" value="<%if new_bounced%><%new_bounced%><%else%>0<%endif%>" class="object">
|
||||
</td>
|
||||
</tr>
|
||||
<%else%>
|
||||
<tr class=body>
|
||||
<td class=body valign="top">List</td>
|
||||
<td>
|
||||
<select name="import_to" class="object" multiple size="5" style="width: 330px">
|
||||
<%GList::Tools::generate_list('import_to')%>
|
||||
</select><font color="green"> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class=body>
|
||||
<td class=body>Email address</td>
|
||||
<td>
|
||||
<input type="text" name="new_email" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if new_email%><%new_email%><%endif%>" class="object" /><font color="green"> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Name</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="new_name" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if new_name%><%new_name%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Company Name</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="new_company" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if new_company%><%new_company%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class=body>
|
||||
<td class=body>Website Address:</td>
|
||||
<td><input class="object" type="text" name="new_website" size="40" value="<%if new_website%><%new_website%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Shipping Address:</td>
|
||||
<td><textarea name="new_shipping_address" rows="3" cols="30"><%if new_shipping_address%><%new_shipping_address%><%endif%></textarea></td>
|
||||
</tr>
|
||||
|
||||
<tr class=body>
|
||||
<td class=body>Race Director Name:</td>
|
||||
<td><input class="object" type="text" name="new_race_director_name" size="40" value="<%if new_race_director_name%><%new_race_director_name%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Race Director Phone:</td>
|
||||
<td><input class="object" type="text" name="new_race_director_phone" size="40" value="<%if new_race_director_phone%><%new_race_director_phone%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Race Director Email:</td>
|
||||
<td><input class="object" type="text" name="new_race_director_email" size="40" value="<%if new_race_director_email%><%new_race_director_email%><%endif%>" /></td>
|
||||
</tr>
|
||||
|
||||
<tr class=body>
|
||||
<td class=body>Sponsorship coordinator Name:</td>
|
||||
<td><input class="object" type="text" name="new_sponsorship_name" size="40" value="<%if new_sponsorship_name%><%new_sponsorship_name%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Sponsorship coordinator Phone:</td>
|
||||
<td><input class="object" type="text" name="new_sponsorship_phone" size="40" value="<%if new_sponsorship_phone%><%new_sponsorship_phone%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Sponsorship coordinator Email:</td>
|
||||
<td><input class="object" type="text" name="new_sponsorship_email" size="40" value="<%if new_sponsorship_email%><%new_sponsorship_email%><%endif%>" /></td>
|
||||
</tr>
|
||||
|
||||
<tr class=body>
|
||||
<td class=body>Press Relation Manager Name:</td>
|
||||
<td><input class="object" type="text" name="new_pr_manager_name" size="40" value="<%if new_pr_manager_name%><%new_pr_manager_name%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Press Relation Manager Phone:</td>
|
||||
<td><input class="object" type="text" name="new_pr_manager_phone" size="40" value="<%if new_pr_manager_phone%><%new_pr_manager_phone%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Press Relation Manager Email:</td>
|
||||
<td><input class="object" type="text" name="new_pr_manager_email" size="40" value="<%if new_pr_manager_email%><%new_pr_manager_email%><%endif%>" /></td>
|
||||
</tr>
|
||||
|
||||
<tr class=body>
|
||||
<td class=body>Pro Athlete Liaison Name:</td>
|
||||
<td><input class="object" type="text" name="new_pro_athlete_liaison_name" size="40" value="<%if new_pro_athlete_liaison_name%><%new_pro_athlete_liaison_name%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Pro Athlete Liaison Phone:</td>
|
||||
<td><input class="object" type="text" name="new_pro_athlete_liaison_phone" size="40" value="<%if new_pro_athlete_liaison_phone%><%new_pro_athlete_liaison_phone%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Pro Athlete Liaison Email:</td>
|
||||
<td><input class="object" type="text" name="new_pro_athlete_liaison_email" size="40" value="<%if new_pro_athlete_liaison_email%><%new_pro_athlete_liaison_email%><%endif%>" /></td>
|
||||
</tr>
|
||||
|
||||
<tr class=body>
|
||||
<td class=body>Goods & Services Buyer Name:</td>
|
||||
<td><input class="object" type="text" name="new_goods_buyer_name" size="40" value="<%if new_goods_buyer_name%><%new_goods_buyer_name%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Goods & Services Buyer Phone:</td>
|
||||
<td><input class="object" type="text" name="new_goods_buyer_phone" size="40" value="<%if new_goods_buyer_phone%><%new_goods_buyer_phone%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Goods & Services Buyer Email:</td>
|
||||
<td><input class="object" type="text" name="new_goods_buyer_email" size="40" value="<%if new_goods_buyer_email%><%new_goods_buyer_email%><%endif%>" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"align="right" class="body"><font color="green">*: required</font></td>
|
||||
</tr>
|
||||
</table>
|
179
site/glist/templates/gossamer/local/lst_subscribers.html
Normal file
179
site/glist/templates/gossamer/local/lst_subscribers.html
Normal file
@ -0,0 +1,179 @@
|
||||
<html>
|
||||
<body>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Subscribers</td>
|
||||
<td class="body" align="right">
|
||||
<%set mn_subscriber = 1%>
|
||||
<%set isub_add = 1%>
|
||||
<%set isub_import = 1%>
|
||||
<%set iremove_sub = 1%>
|
||||
<%include lst_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table><BR />
|
||||
<form name="sub_search" action="glist.cgi" method=post>
|
||||
<table border="0" cellspacing="2" cellpadding="3" align="center">
|
||||
<tr>
|
||||
<td class="body"><b>Search</b></td>
|
||||
<td class="body">
|
||||
<input type="text" name="search_val" value="<%if search_val%><%search_val%><%endif%>" class="object" size="20">
|
||||
By
|
||||
<select name="search_col" class="object">
|
||||
<option value="sub_email" <%if search_col eq 'sub_email' or search_col eq ''%>selected<%endif%>>Email</option>
|
||||
<option value="sub_name" <%if search_col eq 'sub_name'%>selected<%endif%>>Name</option>
|
||||
<option value="sub_company" <%if search_col eq 'sub_company'%>selected<%endif%>>Company Name</option>
|
||||
</select>
|
||||
in
|
||||
<select name="sub_list_id_fk" class="object">
|
||||
<option value="" <%ifnot search_in%>selected<%endif%>>All Lists</option>
|
||||
<%GList::Tools::generate_list('sub_list_id_fk')%>
|
||||
</select>
|
||||
<input type="submit" class="button" name="sub_search" value="Search">
|
||||
[ <a href="glist.cgi?do=lst_subscribers;form=1<%hidden_query%>" title="Search Subscriber">Advanced</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body"><b>Quick Search</b></td>
|
||||
<td class="body"><%search_bar%></td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="do" value="lst_subscribers" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
<%if msg%><p class="body"><%msg%></p><%endif%>
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<%if lst_user_id_fk and lst_user_id_fk ne $usr_username%>
|
||||
<%set user_search = 1%>
|
||||
<%elsif lst_user_id_fk eq $usr_username and lst_user_id_fk-opt eq '<>'%>
|
||||
<%set user_search = 1%>
|
||||
<%endif%>
|
||||
<%if hits > $mh and $mh != -1%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class="body">
|
||||
<td class="body"><%include include_toolbar.html%></td>
|
||||
<tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#007BA4">
|
||||
<tr>
|
||||
<td bgcolor="#7a9f54">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="body_bold">
|
||||
<td width="20%" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>Email
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
|
||||
<%ifnot sb%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC' or so eq ''%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="19%" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>Name
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_name&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Name</font></a>
|
||||
<%if sb eq 'sub_name'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="20%" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>Company Name
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_company&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Company Name</font></a>
|
||||
<%if sb eq 'sub_company'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="20%" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>List
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_list_id_fk;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">List</font></a>
|
||||
<%if sb eq 'sub_list_id_fk'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="10%" bgcolor="#256A19" class="body_bold" align="center">
|
||||
<%ifnot hits%>Validated
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_validated;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Validated</font></a>
|
||||
<%if sb eq 'sub_validated'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="10%" bgcolor="#256A19" class="body_bold" align="center">
|
||||
<%ifnot hits%>Bounced
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers&<%if mn_disable%>;mn_disable=1<%endif%><%if query%><%query%><%endif%>;sb=sub_bounced;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Bounced</font></a>
|
||||
<%if sb eq 'sub_bounced'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td bgcolor="#256A19" align="center" width="1%"><input type=checkbox name=c_all value='1' onclick="check_all()" /></td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<input type="hidden" name="<%row_num%>-sub_id" value="<%sub_id%>" />
|
||||
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
|
||||
<td class="body"><a href="glist.cgi?do=lst_sub_modify;form=1;subid=<%sub_id%><%if users%>;users=1<%elsif user_search%>;users=1<%endif%>"><%sub_email%></a></td>
|
||||
<td class="body"><%if sub_name%><%sub_name%><%else%> <%endif%></td>
|
||||
<td class="body"><%if sub_company%><%sub_company%><%else%> <%endif%></td>
|
||||
<td class="body"><%GList::Tools::list_title($sub_list_id_fk)%></td>
|
||||
<td align="center" class="body"><%if sub_validated%>Yes<%else%>No<%endif%></td>
|
||||
<td align="center" class="body"><%if sub_bounced%><%sub_bounced%><%else%>0<%endif%></td>
|
||||
<td align="center"><input type="checkbox" name="modify" value='<%row_num%>' onclick="check_item(this)"/></td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%if hits%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<%if hits > $mh and $mh != -1%>
|
||||
<tr class="body">
|
||||
<td class="body"><%include include_toolbar.html%></td>
|
||||
<tr>
|
||||
<%endif%>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<input name="bdelete" type="button" value="Reset Bounced Emails" class="button" onclick="init_do('myform', 'lst_sub_unbounced', null, null, 'lst_', null, 1)" />
|
||||
<input name="bdelete" type="button" value="Validate Subcribers" class="button" onclick="init_do('myform', 'lst_sub_validate', null, null, 'lst_', null, 1)" />
|
||||
<input name="bdelete" type="button" value="Delete Subcribers" class="button" onclick="init_do('myform', 'lst_sub_delete', null, null, 'lst_', null, 1)" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
<input type="hidden" name="do" value="lst_sub_delete" />
|
||||
<input type="hidden" name="sub_list_id_fk" value="<%if sub_list_id_fk%><%sub_list_id_fk%><%endif%>" />
|
||||
<input type="hidden" name="users" value="<%if users%>1<%endif%>" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
||||
|
49
site/glist/templates/gossamer/lst_add_form.html
Normal file
49
site/glist/templates/gossamer/lst_add_form.html
Normal file
@ -0,0 +1,49 @@
|
||||
<%set set_focus = 'myform.lst_title'%>
|
||||
<%set book_mark = 'create_list'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Create List</td>
|
||||
<td align="right"><a href="glist.cgi?do=lst_home<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<form name=myform action="glist.cgi" method="post" onsubmit="return check_submit(this)">
|
||||
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<%if msg%><ul><p class=body><br /><%msg%></p></ul><%else%><br /><%endif%>
|
||||
<%include lst_include_record.html%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center valign=top>
|
||||
<input name="bsearch" type=submit value="Create List" class="button" />
|
||||
<input name="bdefault" type="button" value="Use Sample" class="button" onclick="set_default()" />
|
||||
<input name="breset" type=reset value=" Reset " class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="lst_add" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
30
site/glist/templates/gossamer/lst_home.html
Normal file
30
site/glist/templates/gossamer/lst_home.html
Normal file
@ -0,0 +1,30 @@
|
||||
<html><body>
|
||||
<script>
|
||||
function confirm_del(frm) {
|
||||
if ( !check_edit(frm) ) {
|
||||
alert('Please select records from the list!')
|
||||
return false;
|
||||
}
|
||||
if ( !confirm("Do you want to remove selected record(s)?"))
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<form name=myform action="glist.cgi" method=post onsubmit="return confirm_del('myform')">
|
||||
<%include lst_include_results.html%>
|
||||
<input type=hidden name="do" value="delete" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
49
site/glist/templates/gossamer/lst_html.html
Normal file
49
site/glist/templates/gossamer/lst_html.html
Normal file
@ -0,0 +1,49 @@
|
||||
<%include include_header.html%>
|
||||
<%set book_mark = 'generate_html'%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">HTML of a List</td>
|
||||
<td class="body" align="right">
|
||||
<%set isub_import = 1%>
|
||||
<%set imodify = 1%>
|
||||
<%set isearch_sub = 1%>
|
||||
<%set iremove_sub = 1%>
|
||||
<%set iclose = 1%>
|
||||
<%include lst_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width=750 align=center border="0" cellspacing="2" cellpadding="2">
|
||||
<tr>
|
||||
<td class=body>
|
||||
To make it easy for people to subscribe to this list, you can add the code below to your website to get new subscribers!<br /><br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center>
|
||||
<textarea name="HTML" cols=<%if is_ie%>120<%elsif is_mozilla%>100<%else%>90<%endif%> rows=20 <%if is_ie or is_mozilla%>class=object<%endif%>><%msg%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table><BR />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
132
site/glist/templates/gossamer/lst_import_form.html
Normal file
132
site/glist/templates/gossamer/lst_import_form.html
Normal file
@ -0,0 +1,132 @@
|
||||
<%set set_focus = 'myform.import_to'%>
|
||||
<%set book_mark = 'import_subscriber'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Import Subscribers</td>
|
||||
<td class="body" align="right" valign="middle">
|
||||
<%set mn_subscriber = 1%>
|
||||
<%set isub_search = 1%>
|
||||
<%set isub_add = 1%>
|
||||
<%set iremove_sub = 1%>
|
||||
<%set iclose = 1%>
|
||||
<%include lst_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<blockquote>
|
||||
<p align=center class="body"><%if msg%><%msg%><%else%>This lets you to import the subscribers from either an existing text file or a list.<%endif%> </p>
|
||||
</blockquote>
|
||||
<form name=myform action="glist.cgi" ENCTYPE='multipart/form-data' method=post>
|
||||
<table border="0" cellspacing="0" cellpadding="0" align=center align=center>
|
||||
<tr class="body">
|
||||
<td class="body"><li><b>Import into</b><br />Select lists from the list below</li></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" align="right">
|
||||
<select name="import_to" class="object" multiple size="5" style="width: 380px">
|
||||
<%GList::Tools::generate_list('import_to')%>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body" height=25>
|
||||
<td class="body"><li><b>Import Data</b></li></td>
|
||||
</tr>
|
||||
<tr valign="middle" class="body">
|
||||
<td>
|
||||
<table width="95%" border="0" cellspacing="1" cellpadding="1" align="center">
|
||||
<tr class="body">
|
||||
<td width="20%" class="body">From file</td>
|
||||
<td width="80%">
|
||||
<input type="file" class="object" name="sub_file" size="40" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="20%" class="body">OR </td>
|
||||
<td width="80%"> </td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="20%" class="body" valign="top">Subscribers</td>
|
||||
<td width="80%">
|
||||
<textarea class="object" name="sub_data" cols="50" rows="5"><%if sub_data%><%sub_data%><%endif%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body" height=25>
|
||||
<td class="body"><li><b>Fields To Import</li></b>
|
||||
<table border="0" cellspacing="0" cellpadding="0" align="center" width=90%>
|
||||
<tr class="body">
|
||||
<td width=3 align="center">
|
||||
<input type="checkbox" name="cname" value="1" />
|
||||
</td>
|
||||
<td class="body">Subscriber Name</td>
|
||||
<td width=3>
|
||||
<div align="center">
|
||||
<input type="checkbox" name="cemail" value="1" disabled checked />
|
||||
</div>
|
||||
</td>
|
||||
<td width="45%" class="body">Subscriber Email</td>
|
||||
</tr>
|
||||
</table><br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body" height=25>
|
||||
<td><li><b>Import Options</li></b>
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr class="body">
|
||||
<td width="17%" valign="top" class="body"><b>Fields</b></td>
|
||||
<td width="27%" class="body">Delimiter<br />
|
||||
<input class="object" type="text" name="fd" size="2" maxlength="2" value="," /><br />
|
||||
</td>
|
||||
<td width="56%" valign="top" class="body">Escape charactor<br />
|
||||
<input class="object" type="text" name="fe" size="2" maxlength="2" value="\" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width="17%" valign="top" class="body"><b>Records</b></td>
|
||||
<td width="27%" class="body">Delimiter<br />
|
||||
<input class="object" type="text" name="rd" size="2" maxlength="2" value="\n" />
|
||||
<br />
|
||||
</td>
|
||||
<td width="56%" class="body">Ignore first<br />
|
||||
<input class="object" type="text" name="rl" size="2" maxlength="1" value="0" /> lines </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="bottom" align="center">
|
||||
<td height="30">
|
||||
<input type="submit" name="Submit" value="Import" class="button" />
|
||||
<input type="reset" name="Submit2" value="Reset" class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="lst_import" />
|
||||
<input type=hidden name="lst_id" value="<%lst_id%>" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
85
site/glist/templates/gossamer/lst_import_success.html
Normal file
85
site/glist/templates/gossamer/lst_import_success.html
Normal file
@ -0,0 +1,85 @@
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Import Subscribers</td>
|
||||
<td class="body" align="right">
|
||||
<%set mn_subscriber = 1%>
|
||||
<%set isub_search = 1%>
|
||||
<%set isub_add = 1%>
|
||||
<%set iremove_sub = 1%>
|
||||
<%set iclose = 1%>
|
||||
<%include lst_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#FFFFFF"><br />
|
||||
<table width="500" border="0" cellspacing="0" cellpadding="0" align=center>
|
||||
<tr class="body">
|
||||
<td align="left" colspan="2">
|
||||
<b>Import results:</b><br />
|
||||
<%loop import_results%>
|
||||
- <b><%list_name%></b>:
|
||||
<%if overlimit%><font color='red'>Over subscriber limit.</font>
|
||||
<%else%>
|
||||
<br />
|
||||
<ul><font color="<%if successful%>green<%else%>red<%endif%>"><%if declined != hits%><b><%hits - $declined%></b> out of<%endif%> <b><%hits%></b> email addresses imported</font><br />
|
||||
<%if invalid%><font color="red"><b><%invalid%></b> invalid email addresses</font><br /><%endif%>
|
||||
<%if duplicate%><b><%duplicate%></b> duplicate email addresses<br /><%endif%>
|
||||
</ul>
|
||||
<%endif%>
|
||||
<%endloop%>
|
||||
</td>
|
||||
</tr>
|
||||
</table><br />
|
||||
<center>
|
||||
<div style="position: relative; width:600px; height:300px; overflow:auto;">
|
||||
<table border="0" cellspacing="1" cellpadding="2" width="95%">
|
||||
<%loop import_results%>
|
||||
<%loop results%>
|
||||
<tr class=body>
|
||||
<td><%sub_email%><nobr></td>
|
||||
<td><%list_name%><nobr></td>
|
||||
<td><nobr> [ <%if status%><%status%><%else%><font color="green"><b>Imported</b></font><%endif%> ]</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</div>
|
||||
</center>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
20
site/glist/templates/gossamer/lst_include_icons.html
Normal file
20
site/glist/templates/gossamer/lst_include_icons.html
Normal file
@ -0,0 +1,20 @@
|
||||
<%if sub_list_id_fk%><%set lst_id = $sub_list_id_fk%><%endif%>
|
||||
<%set separator = ' <img src="'%>
|
||||
<%set separator .= $image_url%>
|
||||
<%set separator .= '/pics/bul_white.gif" width="5" height="8" style="position: relative; top: -1px"> '%>
|
||||
<span class="body_white">
|
||||
<%ifnot mn_subscriber%>
|
||||
<%if imodify%><a href="glist.cgi?do=lst_modify_form&lst_id=<%lst_id%><%hidden_query%>" title="Edit List"><font color="#FFFFFF">Edit</font></a><%else%><b>Edit</b><%endif%>
|
||||
<%separator%><%if ihtml%><a href="glist.cgi?do=lst_html&lst_id=<%lst_id%><%hidden_query%>" title="Get HTML"><font color="#FFFFFF">HTML</font></a><%else%><b>HTML</b><%endif%>
|
||||
<%separator%><%if isub_import%><a href="glist.cgi?do=lst_import;form=1;import_to=<%lst_id%><%hidden_query%>" title="Import Subscribers"><font color="#FFFFFF">Import</font></a><%else%><b>Import</b><%endif%>
|
||||
<%if iclose%><a href="glist.cgi?do=lst_home<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 title="Close" align="texttop"></a><%endif%>
|
||||
<%else%>
|
||||
<%if isub_search%><a href="glist.cgi?do=lst_subscribers;form=1<%hidden_query%>" title="Subscribers"><font color="#FFFFFF">Search</font></a><%else%><b>Search</b><%endif%>
|
||||
<%separator%><%if isub_add%><a href="glist.cgi?do=lst_sub_add;form=1<%hidden_query%>" title="Import Subscribers"><font color="#FFFFFF">Add</font></a><%else%><b>Add</b><%endif%>
|
||||
<%separator%><%if isub_import%><a href="glist.cgi?do=lst_import;form=1<%hidden_query%>" title="Import Subscribers"><font color="#FFFFFF">Import</font></a><%else%><b>Import</b><%endif%>
|
||||
<%separator%><%if iremove_sub%><a href="glist.cgi?do=lst_unsub_bounced;form=1<%hidden_query%>" title="Remove bounced emails"><font color="#FFFFFF">Remove Bounced</font></a><%else%><b>Remove Bounced</b><%endif%>
|
||||
<%if iclose%>
|
||||
<a href="glist.cgi?do=<%if stoplist_url%>lst_stoplist<%else%>lst_subscribers<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" align="texttop" border=0 title="Close"></a>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</span>
|
12
site/glist/templates/gossamer/lst_include_menu.html
Normal file
12
site/glist/templates/gossamer/lst_include_menu.html
Normal file
@ -0,0 +1,12 @@
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="24">
|
||||
<tr>
|
||||
<td class="body_bold"> <img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=lst_home<%hidden_query%>">Lists</a></td>
|
||||
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=lst_add;form=1<%hidden_query%>">Create List</a></td>
|
||||
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=lst_search_form<%hidden_query%>">Find List</a></td>
|
||||
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=lst_subscribers<%hidden_query%>">Subscribers</a></td>
|
||||
<td class="body_bold" align=right><a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=lists.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" title="Help" border=0 vspace=2 hspace=2></a></td>
|
||||
</tr>
|
||||
<tr class="body_bold">
|
||||
<td colspan="5" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
126
site/glist/templates/gossamer/lst_include_record.html
Normal file
126
site/glist/templates/gossamer/lst_include_record.html
Normal file
@ -0,0 +1,126 @@
|
||||
<script>
|
||||
function check_submit(frm) {
|
||||
var obj = frm.lst_opt_template
|
||||
if (typeof(lst_opt_template) == 'undefined')
|
||||
return;
|
||||
if ( frm.lst_opt[0].checked ) {
|
||||
if ( typeof(obj) == 'undefined' ) {
|
||||
alert("Please create the email templates before adding a list");
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
if (obj.selectedIndex == 0) {
|
||||
alert("Please select Opt In Template before updating!");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
obj.selectedIndex = 0;
|
||||
}
|
||||
}
|
||||
|
||||
function set_default() {
|
||||
document.myform.lst_url_subscribe_success.value = "<%static_url%>/page/subscribe_success.html";
|
||||
document.myform.lst_url_unsubscribe_success.value = "<%static_url%>/page/unsubscribe_success.html";
|
||||
document.myform.lst_url_validate_success.value = "<%static_url%>/page/validate_success.html";
|
||||
document.myform.lst_url_subscribe_failure.value = "<%static_url%>/page/subscribe_failure.html";
|
||||
document.myform.lst_url_unsubscribe_failure.value = "<%static_url%>/page/unsubscribe_failure.html";
|
||||
}
|
||||
</script>
|
||||
<table border="0" cellspacing="1" cellpadding="2" align=center>
|
||||
<tr class=body>
|
||||
<td class=body>List Name</td>
|
||||
<td>
|
||||
<input type="text" name="lst_title" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_title%><%lst_title%><%endif%>" class="object" /> *
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body valign="top">Description</td>
|
||||
<td>
|
||||
<textarea type="text" class="object" name="lst_description" cols="43" rows="3"><%if lst_description%><%lst_description%><%endif%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<%--
|
||||
<tr class=body>
|
||||
<td class=body>Move to List</td>
|
||||
<td>
|
||||
<%fetch_lists%>
|
||||
<%set selected_list_id = $lst_move_to_id_fk%>
|
||||
<select name="lst_move_to_id_fk">
|
||||
<option value="0">---</option>
|
||||
<%loop lists_loop%>
|
||||
<option value="<%lst_id%>"<%if lst_id == $selected_list_id%> selected="selected"<%endif%>><%lst_title%></option>
|
||||
<%endloop%>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
--%>
|
||||
<%set tpl_opt_in = GList::Tools::_current_select('lst_opt_template')%>
|
||||
<%if tpl_opt_in%>
|
||||
<tr class=body>
|
||||
<td class=body>Require Double Opt In</td>
|
||||
<td>
|
||||
<input name="lst_opt" type=radio value='1' <%if lst_opt%>checked<%endif%> />Yes
|
||||
<input name="lst_opt" type=radio value='0' <%ifnot lst_opt%>checked<%endif%> />No
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td valign=top class=body>Opt In Template</td>
|
||||
<td><%tpl_opt_in%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%set tpl_subscribe = GList::Tools::_current_select('lst_subs_template')%>
|
||||
<%if tpl_subscribe%>
|
||||
<tr class=body>
|
||||
<td valign=top class=body>Subscribe Template</td>
|
||||
<td><%tpl_subscribe%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%set tpl_unsubscribe = GList::Tools::_current_select('lst_unsubs_template')%>
|
||||
<%if tpl_unsubscribe%>
|
||||
<tr class=body>
|
||||
<td valign=top class=body>Unsubscribe Template</td>
|
||||
<td><%tpl_unsubscribe%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr>
|
||||
<td class=body colspan="2"><b>Success URLs</b></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>- Subscribe</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="lst_url_subscribe_success" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_url_subscribe_success%><%lst_url_subscribe_success%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>- Unsubscribe</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="lst_url_unsubscribe_success" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_url_unsubscribe_success%><%lst_url_unsubscribe_success%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>- Validate</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="lst_url_validate_success" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_url_validate_success%><%lst_url_validate_success%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class=body colspan="2"><b>Failure URLs</b></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>- Subscribe</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="lst_url_subscribe_failure" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_url_subscribe_failure%><%lst_url_subscribe_failure%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>- Unsubscribe</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="lst_url_unsubscribe_failure" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_url_unsubscribe_failure%><%lst_url_unsubscribe_failure%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body align=right colspan=2><font size=2 color=green>*: required</font></td>
|
||||
</tr>
|
||||
</table>
|
84
site/glist/templates/gossamer/lst_include_results.html
Normal file
84
site/glist/templates/gossamer/lst_include_results.html
Normal file
@ -0,0 +1,84 @@
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#7a9f54">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" align=center>
|
||||
<tr>
|
||||
<td class=body_bold bgcolor="#256A19" width="49%">
|
||||
<a href="glist.cgi?do=lst_home&sb=lst_title&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">List Name</font></a>
|
||||
<%if sb eq 'lst_title' or not $sb%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td class=body_bold bgcolor="#256A19" width="12%" align="center">
|
||||
<a href="glist.cgi?do=lst_home;sb=lst_date_created;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Created</font></a>
|
||||
<%if sb eq 'lst_date_created'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td class=body_white bgcolor="#256A19" width="12%" align="center">
|
||||
<a href="glist.cgi?do=lst_home;sb=subscribers;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%>;select_all=1<%hidden_query%>"><font color="#FFFFFF"><b>Subscribers</b></font></a>
|
||||
<%if sb eq 'subscribers'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td class=body_white bgcolor="#256A19" width="12%" align="center">
|
||||
<a href="glist.cgi?do=lst_home;sb=validateds;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%>;select_all=1<%hidden_query%>"><font color="#FFFFFF"><b>Validated</b></font></a>
|
||||
<%if sb eq 'validateds'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td class=body_white bgcolor="#256A19" width="12%" align="center">
|
||||
<a href="glist.cgi?do=lst_home;sb=bounceds;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%>;select_all=1<%hidden_query%>"><font color="#FFFFFF"><b>Bounced</b></font></a>
|
||||
<%if sb eq 'bounceds'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td class=body_white bgcolor="#256A19" width="3%" align="center"><input name=c_all type=checkbox onclick="check_all()" /></td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<%if bounced_emails%><%set bounced = 1%><%endif%>
|
||||
<tr class=body bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
|
||||
<td class=body><img src="<%image_url%>/icons/list.gif" hspace=2>
|
||||
<%if lst_user_id_fk and lst_user_id_fk ne $usr_username%>
|
||||
<%set user_search = 1%>
|
||||
<%elsif lst_user_id_fk eq $usr_username and lst_user_id_fk-opt eq '<>'%>
|
||||
<%set user_search = 1%>
|
||||
<%endif%>
|
||||
<a href="glist.cgi?do=lst_modify_form&lst_id=<%lst_id%><%hidden_query%>"><%lst_title%></a>
|
||||
</td>
|
||||
<td class=body align="center"><%if lst_date_created%><%GList::HTML::date_get('lst_date_created')%><%endif%></td>
|
||||
<td class=body align=center><%if subscribers%><a href="glist.cgi?do=lst_subscribers;sub_list_id_fk=<%lst_id%><%hidden_query%>"><%subscribers%></a><%else%>0<%endif%></td>
|
||||
<td class=body align=center><%if validateds%><a href="glist.cgi?do=lst_subscribers;sub_list_id_fk=<%lst_id%>&sub_validated=1<%hidden_query%>"><%validateds%></a><%else%>0<%endif%></td>
|
||||
<td class=body align=center><%if bounceds%><a href="glist.cgi?do=lst_unsub_bounced;sub_list_id_fk=<%lst_id%><%hidden_query%>"><%bounceds%></a><%else%>0<%endif%></td>
|
||||
<td class=body align=center>
|
||||
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" />
|
||||
<input type="hidden" name="<%row_num%>-lst_id" value="<%lst_id%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
<%if hits%>
|
||||
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" height="30" align=center>
|
||||
<%if hits > $mh and $mh != -1%>
|
||||
<tr class=body>
|
||||
<td colspan=2><%include include_toolbar.html%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class=body>
|
||||
<td class=body><%if msg%><%msg%><%else%> <%endif%>
|
||||
<td align=right>
|
||||
<%if bounced%>
|
||||
<input type="button" name="bounced" value="Remove Bounced Emails" class="button" onclick="open_url('do=lst_unsub_bounced<%hidden_query%>')" class="button" />
|
||||
<%endif%>
|
||||
<input type="button" name="bdelete" value="Delete Lists" class="button" onclick="init_do('myform', 'lst_delete', '', '', 'lst_')" class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
60
site/glist/templates/gossamer/lst_modify_form.html
Normal file
60
site/glist/templates/gossamer/lst_modify_form.html
Normal file
@ -0,0 +1,60 @@
|
||||
<%set set_focus = 'myform.lst_title'%>
|
||||
<%set book_mark = 'modify_list'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<form name="myform" action="glist.cgi" method="post" onsubmit="return check_submit(this)">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td height="20" class="bold_white"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Modify List</td>
|
||||
<td align="right" class="body" valign="middle">
|
||||
<%set iimport = 1%>
|
||||
<%set ihtml = 1%>
|
||||
<%set isearch_sub = 1%>
|
||||
<%set iremove_sub = 1%>
|
||||
<%set isub_import = 1%>
|
||||
<%set iclose = 1%>
|
||||
<%include lst_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%if msg%><ul><p class=body align="center"><br /><%msg%></p></ul><%else%><br /><%endif%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=80%>
|
||||
<tr>
|
||||
<td height=60%>
|
||||
<input type="hidden" name="lst_id" size="45" value="<%if lst_id%><%lst_id%><%endif%>" />
|
||||
<%include lst_include_record.html%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center height=20% valign=top>
|
||||
<input name="bsearch" type=submit value="Update List" class="button" />
|
||||
<input name="bdefault" type="button" value="Use Sample" class="button" onclick="set_default()" />
|
||||
<input name="breset" type=reset value=" Reset " class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="lst_modify" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
||||
|
123
site/glist/templates/gossamer/lst_search_form.html
Normal file
123
site/glist/templates/gossamer/lst_search_form.html
Normal file
@ -0,0 +1,123 @@
|
||||
<%set set_focus = 'myform.lst_id'%>
|
||||
<%set book_mark = 'search_list'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/search.gif" width="16" align="texttop" hspace="2" vspace="0">Find List</td>
|
||||
<td align="right"><a href="glist.cgi?do=lst_home<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<form name="myform" action="glist.cgi" method="post">
|
||||
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<%if msg%><span align=center class="body"><BR/><%msg%></span><%endif%>
|
||||
<table border="0" cellspacing="0" cellpadding="3" align=center>
|
||||
<tr class="body">
|
||||
<td class="body" colspan="3"><br /><li><b>Search Info</b></li></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" nowrap>List ID</td>
|
||||
<td colspan=2>
|
||||
<input name="lst_id" type=text size=10 value="" class="object" />
|
||||
<input name="ListID-opt" type=hidden size=10 value="=" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body">List Name</td>
|
||||
<td colspan=2>
|
||||
<input name="lst_title" type=text size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="" class="object" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body">Description</td>
|
||||
<td colspan=2>
|
||||
<input name="lst_description" type=text size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="" class="object" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign="top">Created<br /><b><font size=1></b></td>
|
||||
<td colspan="2">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="body">From<br /><input class="object" type="text" name="lst_date_created-ge" size="12" maxlength=30 value="<%if lst_date_created-ge%><%lst_date_created-ge%><%endif%>" /></td>
|
||||
<td class="body"> To<br /> <input class="object" type="text" name="lst_date_created-le" size="12" maxlength=30 value="<%if lst_date_created-le%><%lst_date_created-le%><%endif%>" /> <font size=1><%GList::language('SYS_DATE_FORMAT')%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%if usr_type%>
|
||||
<tr class="body">
|
||||
<td class="body">Username</td>
|
||||
<td colspan="2">
|
||||
<input type="text" class="object" name="lst_user_id_fk" size="<%if is_ie or is_mozilla%>29<%else%>21<%endif%>" value="" />
|
||||
<select name="lst_user_id_fk-opt" class="object">
|
||||
<option value="=">Exact Match</option>
|
||||
<option value="<>">Not Equal</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class="body">
|
||||
<td class="body" colspan="3"><li><b>Search Options</b></li></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body">Keyword search</td>
|
||||
<td colspan=2><input class="object" name=keyword value="" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body">Maximum hits</td>
|
||||
<td class="body"><input class="object" name=mh value="<%if mh%><%mh%><%else%>25<%endif%>" size=1 maxlength=2 /></td>
|
||||
<td class="body">Match Any: <input name="ma" value=1 type=checkbox /></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body">Sort by</td>
|
||||
<td colspan=2>
|
||||
<select class="object" name=sb>
|
||||
<option value="lst_id">List ID</option>
|
||||
<option value="lst_title">List Name</option>
|
||||
<option value="lst_description">Description</option>
|
||||
<option value="lst_date_created">Created</option>
|
||||
</select>
|
||||
<select class="object" name="so">
|
||||
<option value="">---</option>
|
||||
<option value="DESC">Descending</option>
|
||||
<option value="ASC">Ascending</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center colspan="3"><BR />
|
||||
<input name="bsearch" type=submit value=" Search " class="button" />
|
||||
<input name="breset" type=reset value=" Reset " class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table><BR />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="lst_search" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
57
site/glist/templates/gossamer/lst_sub_add.html
Normal file
57
site/glist/templates/gossamer/lst_sub_add.html
Normal file
@ -0,0 +1,57 @@
|
||||
<%set set_focus = 'myform.import_to'%>
|
||||
<%set book_mark = 'add_subscribers'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<form name="myform" action="glist.cgi" method="post" onsubmit="return check_submit(this)">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td height="20" class="bold_white"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Add a Subscriber</td>
|
||||
<td align="right" class="body" valign="middle">
|
||||
<%set mn_subscriber = 1%>
|
||||
<%set isub_search = 1%>
|
||||
<%set isub_import = 1%>
|
||||
<%set iremove_sub = 1%>
|
||||
<%set iclose = 1%>
|
||||
<%include lst_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%if msg%><ul><p class=body align="center"><br /><%msg%></p></ul><%else%><br /><%endif%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=80%>
|
||||
<tr>
|
||||
<td height=60%>
|
||||
<%include lst_sub_include_record.html%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center height=20% valign=top>
|
||||
<input name="bsearch" type=submit value="Add a Subscriber" class="button" />
|
||||
<input name="breset" type=reset value=" Reset " class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="lst_sub_add" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
||||
|
48
site/glist/templates/gossamer/lst_sub_include_record.html
Normal file
48
site/glist/templates/gossamer/lst_sub_include_record.html
Normal file
@ -0,0 +1,48 @@
|
||||
<table border="0" cellspacing="1" cellpadding="2" align=center>
|
||||
<%if do eq 'lst_sub_modify'%>
|
||||
<input type="hidden" value="<%subid%>" name="subid">
|
||||
<tr class=body>
|
||||
<td class=body>List</td>
|
||||
<td><%lst_title%></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Validated</td>
|
||||
<td>
|
||||
<select name="new_validated" class="object">
|
||||
<option value="1" <%if new_validated%>selected<%endif%>>Yes</option>
|
||||
<option value="0" <%ifnot new_validated%>selected<%endif%>>No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Bounced</td>
|
||||
<td>
|
||||
<input type="text" name="new_bounced" value="<%if new_bounced%><%new_bounced%><%else%>0<%endif%>" class="object">
|
||||
</td>
|
||||
</tr>
|
||||
<%else%>
|
||||
<tr class=body>
|
||||
<td class=body valign="top">List</td>
|
||||
<td>
|
||||
<select name="import_to" class="object" multiple size="5" style="width: 330px">
|
||||
<%GList::Tools::generate_list('import_to')%>
|
||||
</select><font color="green"> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class=body>
|
||||
<td class=body>Email address</td>
|
||||
<td>
|
||||
<input type="text" name="new_email" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if new_email%><%new_email%><%endif%>" class="object" /><font color="green"> *</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Name</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="new_name" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if new_name%><%new_name%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"align="right" class="body"><font color="green">*: required</font></td>
|
||||
</tr>
|
||||
</table>
|
58
site/glist/templates/gossamer/lst_sub_modify.html
Normal file
58
site/glist/templates/gossamer/lst_sub_modify.html
Normal file
@ -0,0 +1,58 @@
|
||||
<%set set_focus = 'myform.new_email'%>
|
||||
<%set book_mark = 'edit_subscribers'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<form name="myform" action="glist.cgi" method="post" onsubmit="return check_submit(this)">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td height="20" class="bold_white"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Modify a Subscriber</td>
|
||||
<td align="right" class="body" valign="middle">
|
||||
<%set mn_subscriber = 1%>
|
||||
<%set isub_search = 1%>
|
||||
<%set isub_add = 1%>
|
||||
<%set isub_import = 1%>
|
||||
<%set iremove_sub = 1%>
|
||||
<%set iclose = 1%>
|
||||
<%include lst_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%if msg%><ul><p class=body align="center"><br /><%msg%></p></ul><%else%><br /><%endif%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=80%>
|
||||
<tr>
|
||||
<td height=60%>
|
||||
<%include lst_sub_include_record.html%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center height=20% valign=top>
|
||||
<input name="bsearch" type=submit value="Modify a Subscriber" class="button" />
|
||||
<input name="breset" type=reset value=" Reset " class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="lst_sub_modify" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
||||
|
55
site/glist/templates/gossamer/lst_sub_success.html
Normal file
55
site/glist/templates/gossamer/lst_sub_success.html
Normal file
@ -0,0 +1,55 @@
|
||||
<%set set_focus = 'myform.sub_email'%>
|
||||
<%set book_mark = 'modify_list'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td height="20" class="bold_white"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Add a Subscriber</td>
|
||||
<td align="right" class="body" valign="middle">
|
||||
<%set mn_subscriber = 1%>
|
||||
<%set isub_search = 1%>
|
||||
<%set isub_import = 1%>
|
||||
<%set iremove_sub = 1%>
|
||||
<%set iclose = 1%>
|
||||
<%include lst_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<center>
|
||||
<div style="position: relative; width:500px; height:300px; overflow:auto;">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="95%">
|
||||
<tr>
|
||||
<td class="body" colspan="3"><br /><%if msg%><%msg%><br /><br /><%endif%></td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<tr class=body>
|
||||
<td><%sub_email%></td>
|
||||
<td><%lst_title%></td>
|
||||
<td> [ <%if status%><%status%><%else%><font color="green"><b>Added</b></font><%endif%> ]</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</div>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
||||
|
122
site/glist/templates/gossamer/lst_subscriber_form.html
Normal file
122
site/glist/templates/gossamer/lst_subscriber_form.html
Normal file
@ -0,0 +1,122 @@
|
||||
<%set set_focus = 'myform.sub_list_id_fk'%>
|
||||
<%set book_mark = 'search_subscriber'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td class="bold_white" height="20"><img src="<%image_url%>/icons/search.gif" width="16" align="texttop" hspace="2" vspace="0">Find Subscriber</td>
|
||||
<td class="body" align="right">
|
||||
<%set mn_subscriber = 1%>
|
||||
<%set isub_add = 1%>
|
||||
<%set isub_import = 1%>
|
||||
<%set iremove_sub = 1%>
|
||||
<%set iclose = 1%>
|
||||
<%include lst_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br/>
|
||||
<%if msg%><p align=center class=body><%msg%></p><%endif%><br/>
|
||||
<table border="0" cellspacing="0" cellpadding="0" align=center height=80%>
|
||||
<tr>
|
||||
<td height=60% valign=bottom><ul>
|
||||
<table border="0" cellspacing="1" cellpadding="4" width="500">
|
||||
<tr class=body>
|
||||
<td class=body>List</td>
|
||||
<td colspan="2">
|
||||
<select name="sub_list_id_fk" class='object'>
|
||||
<option value="">All Lists</option>
|
||||
<%GList::Tools::generate_list('sub_list_id_fk')%>
|
||||
</select>
|
||||
<input name="sub_list_id_fk-opt" type=hidden value="=" />
|
||||
<select name="sub_validated" class='object'>
|
||||
<option value="">-----</option>
|
||||
<option value="1">Validated</option>
|
||||
<option value="0">Not Validated</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td valign="top" class="body">Subscribed</td>
|
||||
<td colspan="2">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="body">From:<br /><input class="object" type="text" name="sub_created-ge" maxlength=30 size="<%if is_ie or is_mozilla%>12<%else%>10<%endif%>" value="<%if sub_created-ge%><%sub_created-ge%><%endif%>" /></td>
|
||||
<td class="body"> To:<br /> <input class="object" type="text" name="sub_created-le" size="<%if is_ie or is_mozilla%>12<%else%>10<%endif%>" maxlength=30 value="<%if sub_created-le%><%sub_created-le%><%endif%>" /> <font size=1><%GList::language('SYS_DATE_FORMAT')%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body nowrap>Subscriber Email</td>
|
||||
<td colspan=2><input class="object" type="text" name="sub_email" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_From_Name%><%sub_email%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body nowrap>Subscriber Name</td>
|
||||
<td colspan=2><input class="object" type="text" name="sub_name" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_From_Name%><%sub_name%><%endif%>" /></td>
|
||||
</tr>
|
||||
<%if usr_type%>
|
||||
<tr class=body>
|
||||
<td class=body>Username</td>
|
||||
<td colspan="2">
|
||||
<input type="text" class="object" name="lst_user_id_fk" size="<%if is_ie or is_mozilla%>30<%else%>21<%endif%>" value="" />
|
||||
<select name="lst_user_id_fk-opt" class="object">
|
||||
<option value="=">Exact Match</option>
|
||||
<option value="<>">Not Equal</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class=body>
|
||||
<td class=body>Sort by</td>
|
||||
<td colspan=2>
|
||||
<select name="sb" class='object'>
|
||||
<option value="sub_email">Subscriber Email</option>
|
||||
<option value="sub_name">Subscriber Name</option>
|
||||
<option value="lst_title">List Name</option>
|
||||
<option value="sub_validated">Validated</option>
|
||||
<option value="sub_bounced">Bounced</option>
|
||||
</select>
|
||||
<select name="so" class='object'>
|
||||
<option value="">---</option>
|
||||
<option value="DESC">Descending</option>
|
||||
<option value="ASC">Ascending</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center valign=top><br />
|
||||
<input name="bsearch" type=submit value=" Search " class="button" />
|
||||
<input name="breset" type=reset value=" Reset " class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table><BR />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="lst_subscribers" />
|
||||
<input type=hidden name="search_form" value="1" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
168
site/glist/templates/gossamer/lst_subscribers.html
Normal file
168
site/glist/templates/gossamer/lst_subscribers.html
Normal file
@ -0,0 +1,168 @@
|
||||
<html>
|
||||
<body>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Subscribers</td>
|
||||
<td class="body" align="right">
|
||||
<%set mn_subscriber = 1%>
|
||||
<%set isub_add = 1%>
|
||||
<%set isub_import = 1%>
|
||||
<%set iremove_sub = 1%>
|
||||
<%include lst_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table><BR />
|
||||
<form name="sub_search" action="glist.cgi" method=post>
|
||||
<table border="0" cellspacing="2" cellpadding="3" align="center">
|
||||
<tr>
|
||||
<td class="body"><b>Search</b></td>
|
||||
<td class="body">
|
||||
<input type="text" name="search_val" value="<%if search_val%><%search_val%><%endif%>" class="object" size="20">
|
||||
By
|
||||
<select name="search_col" class="object">
|
||||
<option value="sub_email" <%if search_col eq 'sub_email' or search_col eq ''%>selected<%endif%>>Email</option>
|
||||
<option value="sub_name" <%if search_col eq 'sub_name'%>selected<%endif%>>Name</option>
|
||||
</select>
|
||||
in
|
||||
<select name="sub_list_id_fk" class="object">
|
||||
<option value="" <%ifnot search_in%>selected<%endif%>>All Lists</option>
|
||||
<%GList::Tools::generate_list('sub_list_id_fk')%>
|
||||
</select>
|
||||
<input type="submit" class="button" name="sub_search" value="Search">
|
||||
[ <a href="glist.cgi?do=lst_subscribers;form=1<%hidden_query%>" title="Search Subscriber">Advanced</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body"><b>Quick Search</b></td>
|
||||
<td class="body"><%search_bar%></td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="do" value="lst_subscribers" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
<%if msg%><p class="body"><%msg%></p><%endif%>
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<%if lst_user_id_fk and lst_user_id_fk ne $usr_username%>
|
||||
<%set user_search = 1%>
|
||||
<%elsif lst_user_id_fk eq $usr_username and lst_user_id_fk-opt eq '<>'%>
|
||||
<%set user_search = 1%>
|
||||
<%endif%>
|
||||
<%if hits > $mh and $mh != -1%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class="body">
|
||||
<td class="body"><%include include_toolbar.html%></td>
|
||||
<tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#007BA4">
|
||||
<tr>
|
||||
<td bgcolor="#7a9f54">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="body_bold">
|
||||
<td width="30%" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>Email
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
|
||||
<%ifnot sb%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC' or so eq ''%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="24%" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>Name
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_name&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Name</font></a>
|
||||
<%if sb eq 'sub_name'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="25%" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>List
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_list_id_fk;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">List</font></a>
|
||||
<%if sb eq 'sub_list_id_fk'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="10%" bgcolor="#256A19" class="body_bold" align="center">
|
||||
<%ifnot hits%>Validated
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_validated;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Validated</font></a>
|
||||
<%if sb eq 'sub_validated'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="10%" bgcolor="#256A19" class="body_bold" align="center">
|
||||
<%ifnot hits%>Bounced
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers&<%if mn_disable%>;mn_disable=1<%endif%><%if query%><%query%><%endif%>;sb=sub_bounced;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Bounced</font></a>
|
||||
<%if sb eq 'sub_bounced'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td bgcolor="#256A19" align="center" width="1%"><input type=checkbox name=c_all value='1' onclick="check_all()" /></td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<input type="hidden" name="<%row_num%>-sub_id" value="<%sub_id%>" />
|
||||
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
|
||||
<td class="body"><a href="glist.cgi?do=lst_sub_modify;form=1;subid=<%sub_id%><%if users%>;users=1<%elsif user_search%>;users=1<%endif%>"><%sub_email%></a></td>
|
||||
<td class="body"><%if sub_name%><%sub_name%><%else%> <%endif%></td>
|
||||
<td class="body"><%GList::Tools::list_title($sub_list_id_fk)%></td>
|
||||
<td align="center" class="body"><%if sub_validated%>Yes<%else%>No<%endif%></td>
|
||||
<td align="center" class="body"><%if sub_bounced%><%sub_bounced%><%else%>0<%endif%></td>
|
||||
<td align="center"><input type="checkbox" name="modify" value='<%row_num%>' onclick="check_item(this)"/></td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%if hits%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<%if hits > $mh and $mh != -1%>
|
||||
<tr class="body">
|
||||
<td class="body"><%include include_toolbar.html%></td>
|
||||
<tr>
|
||||
<%endif%>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<input name="bdelete" type="button" value="Reset Bounced Emails" class="button" onclick="init_do('myform', 'lst_sub_unbounced', null, null, 'lst_', null, 1)" />
|
||||
<input name="bdelete" type="button" value="Validate Subcribers" class="button" onclick="init_do('myform', 'lst_sub_validate', null, null, 'lst_', null, 1)" />
|
||||
<input name="bdelete" type="button" value="Delete Subcribers" class="button" onclick="init_do('myform', 'lst_sub_delete', null, null, 'lst_', null, 1)" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
<input type="hidden" name="do" value="lst_sub_delete" />
|
||||
<input type="hidden" name="sub_list_id_fk" value="<%if sub_list_id_fk%><%sub_list_id_fk%><%endif%>" />
|
||||
<input type="hidden" name="users" value="<%if users%>1<%endif%>" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
||||
|
71
site/glist/templates/gossamer/lst_subscribers_preview.html
Normal file
71
site/glist/templates/gossamer/lst_subscribers_preview.html
Normal file
@ -0,0 +1,71 @@
|
||||
<html>
|
||||
<head>
|
||||
<%include include_style.txt%>
|
||||
</head>
|
||||
<body>
|
||||
<%if msg%><p class="body"><%msg%></p><%endif%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#007BA4">
|
||||
<tr>
|
||||
<td bgcolor="#7a9f54">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="body_white">
|
||||
<td width="30%" bgcolor="#256A19" class="body_white">
|
||||
<%ifnot hits%>Email
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers<%if mn_disable%>;mn_disable=1<%endif%>;<%if query%><%query%><%endif%>;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>;mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
|
||||
<%ifnot sb%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="24%" bgcolor="#256A19" class="body_white">
|
||||
<%ifnot hits%>Name
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers<%if mn_disable%>;mn_disable=1<%endif%>;<%if query%><%query%><%endif%>;sb=sub_name;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>;mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Name</font></a>
|
||||
<%if sb eq 'sub_name'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="10%" bgcolor="#256A19" class="body_white" align="center">
|
||||
<%ifnot hits%>Validated
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers<%if mn_disable%>;mn_disable=1<%endif%>;<%if query%><%query%><%endif%>;sb=sub_validated;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Validated</font></a>
|
||||
<%if sb eq 'sub_validated'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="10%" bgcolor="#256A19" class="body_white" align="center">
|
||||
<%ifnot hits%>Bounced
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers<%if mn_disable%>;mn_disable=1<%endif%>;<%if query%><%query%><%endif%>;sb=sub_bounced;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Bounced</font></a>
|
||||
<%if sb eq 'sub_bounced'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<input type="hidden" name="<%row_num%>-sub_email" value="<%sub_email%>" />
|
||||
<input type="hidden" name="<%row_num%>-sub_list_id_fk" value="<%sub_list_id_fk%>" />
|
||||
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
|
||||
<td class="body"><%sub_email%></td>
|
||||
<td class="body"><%if sub_name%><%sub_name%><%else%> <%endif%></td>
|
||||
<td align="center" class="body"><%if sub_validated%>Yes<%else%>No<%endif%></td>
|
||||
<td align="center" class="body"><%if sub_bounced%>Yes<%else%>No<%endif%></td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<%if hits > $mh%>
|
||||
<tr class="body">
|
||||
<td class="body" height=30><%include include_toolbar.html%></td>
|
||||
<tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
160
site/glist/templates/gossamer/lst_unsub_bounced.html
Normal file
160
site/glist/templates/gossamer/lst_unsub_bounced.html
Normal file
@ -0,0 +1,160 @@
|
||||
<html>
|
||||
<script>
|
||||
function confirm_rmall(args) {
|
||||
if (confirm("Are you sure you want permanently delete all bounced email results?")) {
|
||||
var url = "<%cgi_url%>/glist.cgi?do=lst_sub_unbounced;all=1<%hidden_query%>" + args;
|
||||
window.location = url;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<body>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr>
|
||||
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Bounced Emails</td>
|
||||
<td class="body" align="right">
|
||||
<%set mn_subscriber = 1%>
|
||||
<%set isub_add = 1%>
|
||||
<%set isub_import = 1%>
|
||||
<%set isub_search = 1%>
|
||||
<%set iclose = 1%>
|
||||
<%include lst_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table><br />
|
||||
<form name="sub_search" action="glist.cgi" method=post>
|
||||
<table border="0" cellspacing="2" cellpadding="3" align="center">
|
||||
<tr>
|
||||
<td class="body">
|
||||
Number of bounces:<br>
|
||||
<select name="sub_bounced-opt" class="object">
|
||||
<option value="="<%if sub_bounced-opt eq '='%> selected<%endif%>>Exactly</option>
|
||||
<option value=">"<%if sub_bounced-opt eq '>'%> selected<%endif%>>More than</option>
|
||||
<option value="<"<%if sub_bounced-opt eq '<'%> selected<%endif%>>Less than</option>
|
||||
<option value=">="<%if sub_bounced-opt eq '>=' or not sub_bounced-opt%> selected<%endif%>>At least</option>
|
||||
<option value="<="<%if sub_bounced-opt eq '<='%> selected<%endif%>>At most</option>
|
||||
</select>
|
||||
<input type="text" name="sub_bounced" value="<%if sub_bounced%><%sub_bounced%><%endif%>" class="object" size="15" maxlength="10" >
|
||||
in
|
||||
<select name="sub_list_id_fk" class="object">
|
||||
<option value="" <%ifnot sub_list_id_fk%>selected<%endif%>>All Lists</option>
|
||||
<%GList::Tools::generate_list('sub_list_id_fk')%>
|
||||
</select>
|
||||
<input type="submit" class="button" name="sub_search" value="Search">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="do" value="lst_unsub_bounced" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<%if msg%><tr class="body"><td class="body"><%msg%></td></tr><%endif%>
|
||||
<%if hits > $mh and $mh != -1%>
|
||||
<tr class="body">
|
||||
<td class="body"><%include include_toolbar.html%></td>
|
||||
<tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#007BA4">
|
||||
<tr>
|
||||
<td bgcolor="#7a9f54">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="body_bold">
|
||||
<td width="30%" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>Email
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>;mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
|
||||
<%ifnot sb%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC' or so eq ''%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="24%" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>Name
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_name&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>;mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Name</font></a>
|
||||
<%if sb eq 'sub_name'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="25%" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>List
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_list_id_fk;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">List</font></a>
|
||||
<%if sb eq 'sub_list_id_fk'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="10%" bgcolor="#256A19" class="body_bold" align="center">
|
||||
<%ifnot hits%>Bounced
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=lst_subscribers&<%if mn_disable%>;mn_disable=1<%endif%><%if query%><%query%><%endif%>;sb=sub_bounced&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Bounced</font></a>
|
||||
<%if sb eq 'sub_bounced'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td bgcolor="#256A19" align="center" width="1%"><input type=checkbox name=c_all value='1' onclick="check_all()" /></td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<input type="hidden" name="<%row_num%>-sub_id" value="<%sub_id%>" />
|
||||
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
|
||||
<td class="body"><a href="glist.cgi?do=lst_sub_modify;form=1;subid=<%sub_id%><%if users%>;users=1<%elsif user_search%>;users=1<%endif%>"><%sub_email%></a></td>
|
||||
<td class="body"><%if sub_name%><%sub_name%><%else%> <%endif%></td>
|
||||
<td class="body"><%GList::Tools::list_title($sub_list_id_fk)%></td>
|
||||
<td align="center" class="body"><%if sub_bounced%><%sub_bounced%><%else%>0<%endif%></td>
|
||||
<td align="center"><input type="checkbox" name="modify" value='<%row_num%>' onclick="check_item(this)"/></td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%if hits%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<%if hits > $mh and $mh != -1%>
|
||||
<tr class="body">
|
||||
<td class="body"><%include include_toolbar.html%></td>
|
||||
<tr>
|
||||
<%endif%>
|
||||
<tr>
|
||||
<td align=right>
|
||||
<input name="bdelete" type="button" value="Reset Bounced Emails" class="button" onclick="init_do('myform', 'lst_sub_unbounced', null, null, 'lst_', null, 1)" />
|
||||
<input name="bdelete" type="button" value="Delete Subcribers" class="button" onclick="init_do('myform', 'lst_sub_delete', null, null, 'lst_', null, 1)" />
|
||||
<input name="bdelete" type="button" value="Delete All" class="button" onclick="confirm_rmall('<%if conditions%><%conditions%><%endif%>')" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
<input type="hidden" name="do" value="lst_sub_delete" />
|
||||
<input type="hidden" name="sub_list_id_fk" value="<%if sub_list_id_fk%><%sub_list_id_fk%><%endif%>" />
|
||||
<input type="hidden" name="users" value="<%if users%>1<%endif%>" />
|
||||
<input type="hidden" name="unbounced_form" value="1" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
|
||||
|
124
site/glist/templates/gossamer/mailarc_about.html
Normal file
124
site/glist/templates/gossamer/mailarc_about.html
Normal file
@ -0,0 +1,124 @@
|
||||
<%include include_header.html%>
|
||||
<table width="772" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include plugin_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="764" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/plugin_manager.gif" height=14 hspace="2" vspace="0"><%if gossamer%>Install Plugins from Gossamer<%else%>Plugin Manager<%endif%></td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#FFFFFF">
|
||||
<%GList::Plugins::admin_menu%>
|
||||
<table cellspacing="1" cellpadding="2" border="0" width=100% align=center>
|
||||
<tr>
|
||||
<%if menu%>
|
||||
<td class=body width=22% valign=top>
|
||||
<table width=100% border= 1 cellpadding=0 cellspacing=0><%menu%></table>
|
||||
</td>
|
||||
<%endif%>
|
||||
<td class=body align=center valign=top><br />
|
||||
<table bgColor="#ffffff" border="0" cellPadding="3" cellSpacing="3" width="90%" valign="top" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<p align="center"><b><font color="#000000" size="2" face="Tahoma,Arial,Helvetica">MailArc
|
||||
Plugin</font></b></p>
|
||||
<p> <font face="Tahoma, Arial, Helvetica" size="2">This plugin will allow
|
||||
you to use Gossamer List as an archive for mailing list.<BR>
|
||||
</font></p>
|
||||
<p><font face="Tahoma, Arial, Helvetica" size="2"><b>+ Mail gateway configuration:</b></font></p>
|
||||
<blockquote>
|
||||
<p><font face="Tahoma, Arial, Helvetica" size="2">The following instructions
|
||||
are for the configuration of a system using Unix/Linux and sendmail.</font></p>
|
||||
</blockquote>
|
||||
<ul>
|
||||
<li><font face="Tahoma, Arial, Helvetica" size="2">
|
||||
The MailArc plugin allows you to send a message from your desktop email client (Outlook) to GList, and GList will forward the message out to the lists within GList.
|
||||
<br>
|
||||
<br>
|
||||
We must then edit the sendmail aliases file. Often, it is located at
|
||||
"/etc/aliases". We will take advantage of the facility to
|
||||
associate a program with any arbitrary email address. For example: If
|
||||
we want to create a special listener on the listowner_5
|
||||
mailing list with the email address listowner_\@somehost.com (where
|
||||
somehost.com is your server's domain name) we can enter the following
|
||||
line into your aliases file. You will probably have to be root to make
|
||||
this change.<br>
|
||||
<br>
|
||||
<font color="blue">listowner_5: "|$CFG->{priv_path}/archive.pl"</font><br>
|
||||
<br>
|
||||
<br>
|
||||
Up to the ":" is the the username for the new email address.
|
||||
The rest of the configuration string tells sendmail to invoke the script
|
||||
"archive.pl" every time an email comes in for that user.<br>
|
||||
<br>
|
||||
To make sure that your mail server is able to use this change, you must
|
||||
convert the "aliases" configuration file into a format that
|
||||
sendmail can understand. To do so, run the command "sendmail -bi"
|
||||
as root or as the mail system administrator. <br>
|
||||
<br>
|
||||
<font color=blue>[root\@penguin GList]# sendmail -bi<br>
|
||||
/etc/aliases: 20 aliases, longest 70 bytes, 307 bytes total<br>
|
||||
Jan 17 09:50:49 192 sendmail[9398]: alias database /etc/aliases rebuilt
|
||||
by root </font><br>
|
||||
<br>
|
||||
Don't forget sign up this new email address to your mailing-list.<br>
|
||||
</font></li>
|
||||
<li><font face="Tahoma, Arial, Helvetica" size="2"><font color="#000000">If
|
||||
you do not have the level of control to make changes to the "aliases"
|
||||
file or are under a different system, the "archive.pl" script
|
||||
runs as a mail pipe accepting emails from STDIN. Contact your system administrator
|
||||
for the best option.<br>
|
||||
</font><br>
|
||||
</font> <font face="Tahoma, Arial, Helvetica" size="2"> </font></li>
|
||||
</ul>
|
||||
<p><font face="Tahoma, Arial, Helvetica" size="2"><b>+ MailArc POP3 Guide :</b> </font> </p>
|
||||
<ul>
|
||||
<p><font face="Tahoma, Arial, Helvetica" size="2">
|
||||
You may use MailArc to pull out all emails from a POP3 account and archive them into your GList.
|
||||
The command below should be run directly from your command line or should be set up as a cron job:<br>
|
||||
<font face="Tahoma, Arial, Helvetica" size="2" color=blue><br>
|
||||
archive.pl --forum=x --pop-host=<b><i>your_pop_host</i></b> --pop-user=<b><i>your_pop_user</i></b> --pop-pass=<b><i>your_pop_pass</i></b>
|
||||
</font>
|
||||
</font></p>
|
||||
</ul>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
96
site/glist/templates/gossamer/mli_check_bounced_form.html
Normal file
96
site/glist/templates/gossamer/mli_check_bounced_form.html
Normal file
@ -0,0 +1,96 @@
|
||||
<%set set_focus = 'myform.mail_host'%>
|
||||
<%set book_mark = 'check_bounced'%>
|
||||
<%include include_header.html%>
|
||||
<%set use_magic = 1%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<form name="myform" action="glist.cgi" method="post" onsubmit="return check_submit(this)">
|
||||
<tr>
|
||||
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
|
||||
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td height="97%" width="80%" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/glist.gif" align="texttop" hspace="2" vspace="0">Check for bounced emails</td>
|
||||
<td align="right"><a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>&url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 align="texttop"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width=100% align=center>
|
||||
<tr>
|
||||
<td><br />
|
||||
<uL><p class=body align="center"><%if msg%><%msg%><%else%>From here you can scan a POP box for undeliverable mail and mark
|
||||
subscribers as bounced.<%endif%></ul></p>
|
||||
<table border="0" cellspacing="1" cellpadding="2" bgcolor="#FFFFFF" align=center>
|
||||
<tr class=body>
|
||||
<td class=body>Server mail (POP3)</td>
|
||||
<td>
|
||||
<input type="text" name="mail_host" size="30" value="<%if mail_host%><%mail_host%><%else%><%usr_mail_host%><%endif%>" class="object" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Port</td>
|
||||
<td>
|
||||
<input type="text" name="mail_port" size="3" maxlength="3" value="<%if mail_port%><%mail_port%><%elsif usr_mail_port%><%usr_mail_port%><%else%>110<%endif%>" class="object" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Account name</td>
|
||||
<td>
|
||||
<input type="text" name="mail_user" size="30" value="<%if mail_user%><%mail_user%><%else%><%usr_mail_account%><%endif%>" class="object" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Password</td>
|
||||
<td>
|
||||
<input type="password" name="mail_pass" size="30" value="<%if mail_pass%><%mail_pass%><%else%><%usr_mail_password%><%endif%>" class="object" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Delete Emails</td>
|
||||
<td>
|
||||
<input type=radio name="del_bounced" value="0" checked />None
|
||||
<input type=radio name="del_bounced" value="1" />Bounced
|
||||
<input type=radio name="del_bounced" value="2" />All
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body> </td>
|
||||
<td class=body>
|
||||
<input type=checkbox name="save_info" value="1" checked />Remember Settings
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center valign=top><br />
|
||||
<input name="bsearch" type=submit value="Check Bounced Emails" class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<input type=hidden name="do" value="mli_bounced" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
46
site/glist/templates/gossamer/mli_check_bounced_results.html
Normal file
46
site/glist/templates/gossamer/mli_check_bounced_results.html
Normal file
@ -0,0 +1,46 @@
|
||||
<%set book_mark = 'check_bounced'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
|
||||
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td height="97%" width="80%" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/glist.gif" width="15" height="12" hspace="2" vspace="0">Check for bounced emails</td>
|
||||
<td align="right"><a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>&url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 align="texttop"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table><br /><br />
|
||||
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align=center>
|
||||
<tr>
|
||||
<td class="body"><font color="green">Bounced email results</font><br /><br />
|
||||
- Total checked email(s): <b><%if parsed%><%parsed%><%else%>0<%endif%></b><BR />
|
||||
- Total bounced email(s): <b><%if bounced%><%bounced%><%else%>0<%endif%></b><br/>
|
||||
- Total deleted email(s): <b><%if deleted%><%deleted%><%else%>0<%endif%></b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
36
site/glist/templates/gossamer/mli_home.html
Normal file
36
site/glist/templates/gossamer/mli_home.html
Normal file
@ -0,0 +1,36 @@
|
||||
<%if p%>
|
||||
<%include mli_include_preview.html%>
|
||||
<%else%>
|
||||
<%if fd == 2%><%set set_focus = 'myform.cm_name'%>
|
||||
<%elsif fd == 1 or $fd eq ''%><%set call_check = 1%><%endif%>
|
||||
<%include include_header.html%>
|
||||
<%set use_magic = 1%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<tr>
|
||||
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
|
||||
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td height="97%" width="80%" valign="top">
|
||||
<%if d%> <!-- Show details-->
|
||||
<%include mli_include_details.html%>
|
||||
<%else%><!-- Show search results-->
|
||||
<%include mli_include_results.html%>
|
||||
<%endif%>
|
||||
<input name='do' value="mli_home" type=hidden />
|
||||
<input name='id' value="<%if id%><%id%><%endif%>" type=hidden />
|
||||
<input name='fd' value="<%if fd%><%fd%><%endif%>" type=hidden />
|
||||
<input name='cd' value="<%if cd%><%cd%><%endif%>" type=hidden />
|
||||
<input name='cs' value="<%if cs%><%cs%><%endif%>" type=hidden />
|
||||
<input name='ca' value="<%if ca%><%ca%><%endif%>" type=hidden />
|
||||
<%hidden_query%>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
<%endif%>
|
114
site/glist/templates/gossamer/mli_include_details.html
Normal file
114
site/glist/templates/gossamer/mli_include_details.html
Normal file
@ -0,0 +1,114 @@
|
||||
<%loop results%>
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="bold_white" height="20"><img src="<%image_url%>/icons/<%ifnot mli_done%>draft.gif<%else%>sent.gif<%endif%>" align="texttop" vspace=1 hspace=1>Mailing Details</td>
|
||||
<td align="right" class="body" valign="middle">
|
||||
<%set separator = ' <img src="'%>
|
||||
<%set separator .= $image_url%>
|
||||
<%set separator .= '/pics/bul_white.gif" width="5" height="8" style="position: relative; top: -1px"> '%>
|
||||
<%if mli_scheduled%><a href="glist.cgi?do=mli_schedule_modify;mli_id=<%mli_id%><%if lookup%>;lu=<%lookup%><%endif%><%if fd%>;fd=<%fd%><%endif%><%if id%>;id=<%id%><%endif%><%if url%>;<%url%><%endif%><%hidden_query%>"><font color="#FFFFFF">Edit Schedule</font></a><%endif%> <%separator%>
|
||||
<a href="javascript:rs('Details','glist.cgi?do=mli_home&p=1&mli_id=<%mli_id%><%if users%>&users=1<%endif%>;d=1<%hidden_query%>',550,650,0,20,'Yes')" title="Preview Mailing"><font color="#FFFFFF">Preview</font></a>
|
||||
<a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>&<%url%><%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close" align="texttop"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="1" cellpadding="1" align=center>
|
||||
<tr class=body>
|
||||
<td class=body colspan=2><b>Mailing ID: <%mli_id%></b></td>
|
||||
</tr>
|
||||
<%if mli_done%>
|
||||
<tr class=body>
|
||||
<td class=body colspan=2>Mailing Completed: <%GList::HTML::date_get('mli_done','%dddd%, %mmmm% %dd%, %yyyy%, %hh%:%mm%:%ss%')%> <b>by <%mli_user_id_fk%></b></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class=body>
|
||||
<td class=body colspan=2> </td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body width=15%>To:</td>
|
||||
<td>
|
||||
<a href="javascript:rs('Details','glist.cgi?do=mli_recipients&eml_mailing_id_fk=<%mli_id%>',550,650,0,20,'Yes')"><%total%> recipient<%if total > 1%>s<%endif%></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>From:</td>
|
||||
<td><%if mli_name%>"<%mli_name%>" < <%mli_from%> ><%else%><%mli_from%><%endif%></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Reply To:</td>
|
||||
<td class=body><%mli_reply_to%></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Return-path:</td>
|
||||
<td class=body><%mli_bounce_email%></td>
|
||||
</tr>
|
||||
<%if mli_charset%>
|
||||
<tr class=body>
|
||||
<td class=body>Charset:</td>
|
||||
<td><%mli_charset%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class=body>
|
||||
<td class=body>Subject:</td>
|
||||
<td><%mli_subject%></td>
|
||||
</tr>
|
||||
<%GList::HTML::generate_attachments('mli_id')%>
|
||||
<%if attachments%>
|
||||
<tr class=body>
|
||||
<td class=body valign=top>Attachments:</td>
|
||||
<td>
|
||||
<table border="0" cellspacing="2" cellpadding="2">
|
||||
<%loop attachments%>
|
||||
<tr class=body >
|
||||
<td class=body><%mat_file_name%> (<%GList::Tools::friendly_size($mat_file_size)%>)</td>
|
||||
<td class=body><i>
|
||||
<a href="javascript:rs('Details','glist.cgi?do=mli_fview&fn=<%mat_id%>&fd=<%mli_id%>',550,650,0,20,'Yes')">view</a>
|
||||
<a href="glist.cgi?do=mli_fdownload&fn=<%mat_id%>&fd=<%mli_id%>">download</a></i>
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%if mli_message_text%>
|
||||
<tr class=body height=310>
|
||||
<td class=body colspan=2 valign=top><b>Text Message:</b><br />
|
||||
<table width="100%" height="100%"cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
|
||||
<tr class=body>
|
||||
<td valign=top>
|
||||
<div style="position: relative; width:100%; height:300px; overflow:auto;"><%GList::HTML::html_unescape($mli_message_text)%></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%if mli_message_html%>
|
||||
<tr class=body height=310>
|
||||
<td class=body colspan=2 valign=top><b>HTML Message:</b><br />
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
|
||||
<tr><td valign=top><div style="position: relative; width:100%; height:300px; overflow:auto;"><%mli_message_html%></div></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endloop%>
|
||||
|
||||
|
11
site/glist/templates/gossamer/mli_include_menu.html
Normal file
11
site/glist/templates/gossamer/mli_include_menu.html
Normal file
@ -0,0 +1,11 @@
|
||||
<table border="0" cellspacing="0" cellpadding="0" width=100% height="24">
|
||||
<tr>
|
||||
<td class="body_bold"> <img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=mli_home<%if url%>&<%url%><%endif%>;fd=1<%hidden_query%>">Mailings</a></td>
|
||||
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=mli_search_form&<%if id%>&id=<%id%><%endif%><%if fd%>;fd=<%fd%><%endif%><%if url%>;<%url%><%endif%><%hidden_query%>">Find Mailing</a></td>
|
||||
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=mli_bounced_form&<%if id%>&id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>&<%url%><%endif%><%hidden_query%>">Check Bounced</a></td>
|
||||
<td class="body_bold" align=right><a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=mailings.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" title="Help" border=0 vspace=2 hspace=2 title="Help"></a></td>
|
||||
</tr>
|
||||
<tr class="body_bold">
|
||||
<td colspan="4" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
155
site/glist/templates/gossamer/mli_include_nav.html
Normal file
155
site/glist/templates/gossamer/mli_include_nav.html
Normal file
@ -0,0 +1,155 @@
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3" class="bold_white">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr bgcolor="#336600" class="bold_white">
|
||||
<td height="20">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr class="bold_white">
|
||||
<td width="10">
|
||||
<%if cm_name and $do%>
|
||||
<img src="<%image_url%>/icons/folder.gif" vspace="0" hspace="1" align="texttop">
|
||||
<%else%>
|
||||
<%if fd == 3 or fd == 4%>
|
||||
<img src="<%image_url%>/icons/f_archive.gif" vspace="0" hspace="1" align="texttop">
|
||||
<%elsif fd == 2%>
|
||||
<img src="<%image_url%>/icons/f_sent.gif" vspace="0" hspace="1" align="texttop">
|
||||
<%else%>
|
||||
<img src="<%image_url%>/icons/f_draft.gif" vspace="0" hspace="1" align="texttop">
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td height="20" class="bold_white">
|
||||
<%if cm_name and $do%>
|
||||
<%cm_name%>
|
||||
<%else%>
|
||||
<%if fd == 4%>
|
||||
Scheduled Mailings
|
||||
<%elsif fd == 3%>
|
||||
Deleted Mailings
|
||||
<%elsif fd == 2%>
|
||||
Sent Mailings
|
||||
<%else%>
|
||||
Queued Mailings
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#FFFFFF">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align=center>
|
||||
<tr valign="top">
|
||||
<td valign="middle" colspan="3">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class=body>
|
||||
<td width="1%"></td>
|
||||
<td width="1%"><img src="<%image_url%>/icons/f_draft.gif" hspace="1" vspace="0"></td>
|
||||
<td width="98%" class=body>
|
||||
<a href="glist.cgi?do=mli_home;fd=1<%if url%>;<%url%><%endif%><%hidden_query%>"><%if $fd <= 1%><b>Queued Mailings<%if drafts%><span class=small> (<%drafts%>)</span><%endif%></b><%else%>Queued Mailings<%if drafts%><span class=small> (<%drafts%>)</span><%endif%><%endif%></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td width="1%"></td>
|
||||
<td width="1%"><img src="<%image_url%>/icons/f_draft.gif" hspace="1" vspace="0"></td>
|
||||
<td width="98%" class=body>
|
||||
<a href="glist.cgi?do=mli_home<%if url%>;<%url%><%endif%>;fd=4<%hidden_query%>"><%if fd == 4%><b><%endif%>Scheduled Mailings<%if scheduled_hits%><span class="small"> (<%scheduled_hits%>)</span><%endif%><%if fd==4%></b><%endif%></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td width="1%" class=body>
|
||||
<%if hits_sent%>
|
||||
<a href="glist.cgi?do=mli_home<%ifnot cs%>;cs=1<%endif%><%if cd%>;cd=1<%endif%><%if ca%>;ca=1<%endif%><%if fd%>;fd=<%fd%><%endif%><%hidden_query%>"><img src="<%image_url%>/icons/<%if cs%>collapse.gif<%else%>expend.gif<%endif%>" width="9" height="9" border=0></a>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td class=body width="1%"><img src="<%image_url%>/icons/f_sent.gif" vspace="0" hspace="1"></td>
|
||||
<td class=body width="98%">
|
||||
<%if id or fd ne '2'%>
|
||||
<a href="glist.cgi?do=mli_home;fd=2<%if url%>;<%url%><%endif%><%hidden_query%>">Sent Items</a>
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=mli_home;fd=2<%if url%>;<%url%><%endif%><%hidden_query%>"><b>Sent Items</b></a>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%if cs and $hits_sent%>
|
||||
<tr>
|
||||
<td width="1%"> </td>
|
||||
<td colspan="2" width=99%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<%loop results_sent%>
|
||||
<tr>
|
||||
<td width="1%"><img src="<%image_url%>/icons/<%if last%>corner.gif<%else%>line.gif<%endif%>" width="20" height="18"></td>
|
||||
<td width="1%"><img src="<%image_url%>/icons/folder.gif" hspace="2"></td>
|
||||
<td class=body width="98%">
|
||||
<%if id eq $cm_id%>
|
||||
<a href="glist.cgi?do=mli_home;fd=2;id=<%cm_id%><%if url%>;<%url%><%endif%><%hidden_query%>"><b><%cm_name%></b></a>
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=mli_home;fd=2;id=<%cm_id%><%if url%>;<%url%><%endif%><%hidden_query%>"><%cm_name%></a>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr>
|
||||
<td width="9">
|
||||
<%if hits_deleted%>
|
||||
<a href="glist.cgi?do=mli_home<%ifnot cs%>;cs=1<%endif%><%if cd%>;cd=1<%endif%><%if ca%>;ca=1<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/<%ifnot cs%>collapse.gif<%else%>expend.gif<%endif%>" width="9" height="9" border=0></a>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="18"><img src="<%image_url%>/icons/recycle.gif" vspace="0" hspace="1"></td>
|
||||
<td class=body>
|
||||
<%if fd == 3%>
|
||||
<a href="glist.cgi?do=mli_home;fd=3<%if url%>;<%url%><%endif%><%hidden_query%>"><b>Deleted Items</b></a>
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=mli_home;fd=3<%if url%>;<%url%><%endif%><%hidden_query%>">Deleted Items</a>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%if fd == 2 and not $users%>
|
||||
<tr class=body>
|
||||
<td colspan="3"class=body ><br />
|
||||
<%ifnot id%>
|
||||
<b>Name:</b>
|
||||
<input type="text" name="cm_name" size="<%if is_ie or is_mozilla%>10<%else%>5<%endif%>" value="<%if cm_name%><%cm_name%><%endif%>" class="object" />
|
||||
<input type="button" class="button" name="badd_cat" value=" Add " onclick="init_do('myform', 'mli_cat_add', 0, 'cm_name', 'mli_')" />
|
||||
<%else%>
|
||||
<table>
|
||||
<tr>
|
||||
<td class=body><b>Name:</b></td>
|
||||
<td>
|
||||
<input type="text" name="cm_name" size="<%if is_ie or is_mozilla%>15<%else%>5<%endif%>" value="<%if cm_name%><%cm_name%><%endif%>" class="object" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input type=hidden name="cm_id" value="<%id%>"><input class="button" type=button name="cat_update" value="Update" onclick="init_do('myform', 'mli_cat_modify', 1, 'cm_name', 'mli_')" />
|
||||
<input type=button class="button" name="cat_delete" value="Delete" onclick="init_do('myform', 'mli_cat_delete', 1, 'cm_name', 'mli_')" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="200" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
86
site/glist/templates/gossamer/mli_include_preview.html
Normal file
86
site/glist/templates/gossamer/mli_include_preview.html
Normal file
@ -0,0 +1,86 @@
|
||||
<body>
|
||||
<%include include_style.txt%>
|
||||
<script src="<%image_url%>/GList.js"></script>
|
||||
<%loop results%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="99%" border="0" cellspacing="1" cellpadding="1" align=center>
|
||||
<tr class=body>
|
||||
<td class=body colspan=2><b>Mailing ID: <%mli_id%></b></td>
|
||||
</tr>
|
||||
<%if mli_done%>
|
||||
<tr class=body>
|
||||
<td class=body colspan=2>Mailing Completed: <%GList::HTML::date_get('mli_done','%dddd%, %mmmm% %dd%, %yyyy%, %hh%:%mm%:%ss%')%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class=body>
|
||||
<td class=body colspan=2> </td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body width=20%>To:</td>
|
||||
<td>
|
||||
<a href="glist.cgi?do=mli_recipients&eml_mailing_id_fk=<%mli_id%>"><%total%> recipient<%if total > 1%>s<%endif%></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>From:</td>
|
||||
<td><%if mli_name%>"<%mli_name%>" < <%mli_from%> ><%else%><%mli_from%><%endif%></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Reply To:</td>
|
||||
<td class=body><%mli_reply_to%></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Return-path:</td>
|
||||
<td class=body><%mli_bounce_email%></td>
|
||||
</tr>
|
||||
<%if mli_charset%>
|
||||
<tr class=body>
|
||||
<td class=body>Charset:</td>
|
||||
<td><%mli_charset%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class=body>
|
||||
<td class=body>Subject:</td>
|
||||
<td><%mli_subject%></td>
|
||||
</tr>
|
||||
<%GList::HTML::generate_attachments('mli_id')%>
|
||||
<%if attachments%>
|
||||
<tr class=body>
|
||||
<td class=body valign=top>Attachments:</td>
|
||||
<td>
|
||||
<table border="0" cellspacing="2" cellpadding="2">
|
||||
<%loop attachments%>
|
||||
<tr class=body >
|
||||
<td class=body><%mat_file_name%> (<%GList::Tools::friendly_size($mat_file_size)%>)</td>
|
||||
<td class=body><i>
|
||||
<a href="glist.cgi?do=mli_fview&fn=<%mat_id%>&fd=<%mli_id%>">view</a>
|
||||
<a href="glist.cgi?do=mli_fdownload&fn=<%mat_id%>&fd=<%mli_id%>">download</a></i>
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%if mli_message_text%>
|
||||
<tr class=body>
|
||||
<td colspan=2 valign=top><b>Text Message:</b><br />
|
||||
<%GList::HTML::html_unescape($mli_message_text)%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%if mli_message_html%>
|
||||
<tr class=body>
|
||||
<td colspan=2 valign=top><br /><b>HTML Message:</b><br />
|
||||
<%mli_message_html%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endloop%>
|
||||
|
225
site/glist/templates/gossamer/mli_include_results.html
Normal file
225
site/glist/templates/gossamer/mli_include_results.html
Normal file
@ -0,0 +1,225 @@
|
||||
<%ifnot fd%><%set fd = 1%><%endif%>
|
||||
<%if fd == 4%>
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#7a9f54">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="body_white">
|
||||
<td width="3%" height="20" bgcolor="#256A19" class="body_white" align="center"><img src="<%image_url%>/icons/message.gif" hspace=2></td>
|
||||
<td width="3%" height="20" bgcolor="#256A19" class="body_white" align="center"><img src="<%image_url%>/icons/attachment.gif" hspace=2></td>
|
||||
<td width="6%" height="20" bgcolor="#256A19" class="body_bold" align="center"><b>
|
||||
<%ifnot hits%>ID
|
||||
<%else%>
|
||||
<a href="glist.cgi?<%if do%>do=mli_search&<%endif%><%if query%><%query%><%endif%>&fd=<%if fd%><%fd%><%else%>1<%endif%><%if id%>&id=<%id%><%endif%>;sb=mli_id&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">ID</font></a>
|
||||
<%if sb eq 'mli_id' or $sb eq ''%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>up.gif<%else%>down.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%></b>
|
||||
</td>
|
||||
<td width="42%" height="20" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>Subject
|
||||
<%else%>
|
||||
<a href="glist.cgi?<%if do%>do=mli_search&<%endif%><%if query%><%query%><%endif%>&fd=<%if fd%><%fd%><%else%>1<%endif%><%if id%>;id=<%id%><%endif%>;sb=mli_subject;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Subject</font></a>
|
||||
<%if sb eq 'mli_subject'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td class="body_bold" width="8%" align="center" bgcolor="#256A19" height="22">Recipients</td>
|
||||
<td class="body_bold" width="23%" align="center" bgcolor="#256A19" height="22">Frequency</td>
|
||||
<td class="body_bold" width="12%" align="center" bgcolor="#256A19" height="22">Time</td>
|
||||
<td class="body_bold" width="8%" align="center" bgcolor="#256A19" height="22">Status</td>
|
||||
<td class="body" width="3%" align="center" bgcolor="#256A19"><input name=c_all type=checkbox onclick="check_all()" <%if fd == 1%>checked<%endif%>/></td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<tr class="body" bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
|
||||
<td align="center"><img src="<%image_url%>/icons/<%if mli_done%>sent.gif<%else%>draft.gif<%endif%>" hspace=1></td>
|
||||
<td align="center">
|
||||
<%GList::HTML::generate_attachments('mli_id')%>
|
||||
<%if attachments%><img src="<%image_url%>/icons/attachment.gif" hspace=2><%else%> <%endif%>
|
||||
</td>
|
||||
<td class="body" align=center><%mli_id%></td>
|
||||
<td class="body">
|
||||
<%if mli_user_id_fk and mli_user_id_fk ne $usr_username%>
|
||||
<%set user_search = 1%>
|
||||
<%elsif mli_user_id_fk eq $usr_username and mli_user_id_fk-opt eq '<>'%>
|
||||
<%set user_search = 1%>
|
||||
<%endif%>
|
||||
<a href="glist.cgi?do=mli_home;d=1;mli_id=<%mli_id%><%if lookup%>&lu=<%lookup%><%endif%><%if fd%>;fd=<%fd%><%endif%><%if id%>&id=<%id%><%endif%><%if url%>;<%url%><%endif%><%hidden_query%>"><%mli_subject%></a>
|
||||
</td>
|
||||
<td align="center" class="body"><%if total%><%total%><%endif%></td>
|
||||
<%GList::Tools::schedule_info($mli_id)%>
|
||||
<td align="center" class="body">
|
||||
<%if scm_type == 1%>One on <%scm_option%>
|
||||
<%elsif scm_type == 2%>Daily
|
||||
<%elsif scm_type == 3%>Weekly on <%scm_option%>
|
||||
<%elsif scm_type == 4%>Monthly on <%scm_option%><%endif%>
|
||||
</td>
|
||||
<td align="center" class="body"><%scm_hour%>:<%if scm_minute < 10%>0<%endif%><%scm_minute%> <%if scm_hour <= 12%>AM<%else%>PM<%endif%></td>
|
||||
<td align="center" class="body">
|
||||
<%if GList::Tools::schedule_status%>Sent<%endif%>
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" <%if fd == 1%>checked<%endif%>>
|
||||
<input type="hidden" name="<%row_num%>-mli_id" value="<%mli_id%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">
|
||||
<%if msg%><%msg%><%endif%>
|
||||
<%if hits%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=30>
|
||||
<%if hits > $mh%>
|
||||
<tr align="left" class="body">
|
||||
<td class="body"><%include include_toolbar.html%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<input type="hidden" name="mod_action" value="delete">
|
||||
<input type="button" name="bschedule" value="Delete Scheduled Mailings" onclick="init_do('myform', 'mli_schedule_delete', '', '', 'mli_', '<%fd%>')" class="button" />
|
||||
<input type="button" name="bdelete" value="<%if fd != 1%>Delete<%else%>Cancel<%endif%> Mailings" onclick="init_do('myform', 'mli_delete', '', '', 'mli_', '<%fd%>')" class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%else%>
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#7a9f54">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="body_white">
|
||||
<td width="3%" height="20" bgcolor="#256A19" class="body_white" align="center"><img src="<%image_url%>/icons/message.gif" hspace=2></td>
|
||||
<td width="3%" height="20" bgcolor="#256A19" class="body_white" align="center"><img src="<%image_url%>/icons/attachment.gif" hspace=2></td>
|
||||
<td width="6%" height="20" bgcolor="#256A19" class="body_bold" align="center"><b>
|
||||
<%ifnot hits%>ID
|
||||
<%else%>
|
||||
<a href="glist.cgi?<%if do%>do=mli_search&<%endif%><%if query%><%query%><%endif%>&fd=<%if fd%><%fd%><%else%>1<%endif%><%if id%>&id=<%id%><%endif%>;sb=mli_id&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">ID</font></a>
|
||||
<%if sb eq 'mli_id' or $sb eq ''%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>up.gif<%else%>down.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%></b>
|
||||
</td>
|
||||
<td width="45%" height="20" bgcolor="#256A19" class="body_bold">
|
||||
<%ifnot hits%>Subject
|
||||
<%else%>
|
||||
<a href="glist.cgi?<%if do%>do=mli_search&<%endif%><%if query%><%query%><%endif%>&fd=<%if fd%><%fd%><%else%>1<%endif%><%if id%>;id=<%id%><%endif%>;sb=mli_subject&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Subject</font></a>
|
||||
<%if sb eq 'mli_subject'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td class="body"_bold width="8%" align="center" bgcolor="#256A19" height="22">Recipients</td>
|
||||
<td class="body"_bold width="8%" align="center" bgcolor="#256A19" height="22">Sent</td>
|
||||
<td class="body"_bold width="8%" align="center" bgcolor="#256A19" height="22">Bounced</td>
|
||||
<td class="body"_bold width="8%" align="center" bgcolor="#256A19" height="22">Opened</td>
|
||||
<td class="body"_bold width="8%" align="center" bgcolor="#256A19" height="22">Clicked</td>
|
||||
<td class="body" width="3%" align="center" bgcolor="#256A19"><input name=c_all type=checkbox onclick="check_all()" <%if fd == 1%>checked<%endif%>/></td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<tr class="body" bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
|
||||
<td align="center"><img src="<%image_url%>/icons/<%if mli_done%>sent.gif<%else%>draft.gif<%endif%>" hspace=1></td>
|
||||
<td align="center">
|
||||
<%GList::HTML::generate_attachments('mli_id')%>
|
||||
<%if attachments%><img src="<%image_url%>/icons/attachment.gif" hspace=2><%else%> <%endif%>
|
||||
</td>
|
||||
<td class="body" align=center><%mli_id%></td>
|
||||
<td class="body">
|
||||
<%if mli_user_id_fk and mli_user_id_fk ne $usr_username%>
|
||||
<%set user_search = 1%>
|
||||
<%elsif mli_user_id_fk eq $usr_username and mli_user_id_fk-opt eq '<>'%>
|
||||
<%set user_search = 1%>
|
||||
<%endif%>
|
||||
<a href="glist.cgi?do=mli_home;d=1;mli_id=<%mli_id%><%if lookup%>;lu=<%lookup%><%endif%><%if fd%>;fd=<%fd%><%endif%><%if id%>;id=<%id%><%endif%><%if url%>;<%url%><%endif%><%hidden_query%>"><%mli_subject%></a>
|
||||
</td>
|
||||
<td align="center" class="body"><%if total%><%total%><%endif%></td>
|
||||
<td align="center" class="body"><%if done%><%done%><%endif%></td>
|
||||
<td align="center" class="body"><%if bounced_emails%><%bounced_emails%><%endif%></td>
|
||||
<td align="center" class="body"><%if mli_num_opened%><%mli_num_opened%><%endif%></td>
|
||||
<td align="center" class="body"><%if mli_num_clicked%><%mli_num_clicked%><%endif%></td>
|
||||
<td align="center">
|
||||
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" <%if fd == 1%>checked<%endif%>>
|
||||
<input type="hidden" name="<%row_num%>-mli_id" value="<%mli_id%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">
|
||||
<%if msg%><%msg%><%endif%>
|
||||
<%if hits%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=30>
|
||||
<%if hits > $mh%>
|
||||
<tr align="left" class="body">
|
||||
<td class="body"><%include include_toolbar.html%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class="body">
|
||||
<td valign=bottom class="body"> </td>
|
||||
<td class="body" align="right">
|
||||
<%ifnot users%>
|
||||
<%if fd == 1 and hits_draft%>
|
||||
<%set flag = 1%>
|
||||
<%elsif fd = 2 and hits_sent%>
|
||||
<%set flag = 1%>
|
||||
<%elsif fd = 3%>
|
||||
<%set flag = 1%>
|
||||
<%elsif id%>
|
||||
<%set flag = 1%>
|
||||
<%endif%>
|
||||
<%if flag%>
|
||||
<b><%if fd == 3%>Restore<%else%>Move<%endif%> to</b>:
|
||||
<select name="move_to" class=object>
|
||||
<option value="">-------</option>
|
||||
<%if id%>
|
||||
<option value='root'>Sent Items</option>
|
||||
<%endif%>
|
||||
<%if fd == 1%>
|
||||
<%loop results_draft%>
|
||||
<%if id ne $cm_id%>
|
||||
<option value="<%cm_id%>"><%cm_name%></option>
|
||||
<%endif%>
|
||||
<%endloop%>
|
||||
<%elsif fd == 2%>
|
||||
<%loop results_sent%>
|
||||
<%if id ne $cm_id%>
|
||||
<option value="<%cm_id%>"><%cm_name%></option>
|
||||
<%endif%>
|
||||
<%endloop%>
|
||||
<%elsif fd == 3%>
|
||||
<option value='draft'>Queued Mailings</option>
|
||||
<option value='sent'>Sent Items</option>
|
||||
<%endif%>
|
||||
</select>
|
||||
<input type="button" name="bmove" value="<%if fd == 3%>Restore<%else%>Move<%endif%>" onclick="init_do('myform', 'mli_move', '', '', 'mli_', '<%fd%>')" class=button />
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
<%if fd <=1 %>
|
||||
<input type="button" name="s_send" value="Start Mailings" onclick="init_do('myform', 'mli_send', '', '', 'mli_', '<%fd%>')" class="button" />
|
||||
<input type="button" name="bschedule" value="Schedule Mailings" onclick="init_do('myform', 'mli_schedule', '', '', 'mli_', '<%fd%>')" class="button" />
|
||||
<%endif%>
|
||||
<input type="button" name="bdelete" value="<%if fd != 1%>Delete<%else%>Cancel<%endif%> Mailings" onclick="init_do('myform', 'mli_delete', '', '', 'mli_', '<%fd%>')" class="button" />
|
||||
<%if fd == 3%><input type="button" name="bempty" value="Delete All" onclick="init_do('myform', 'mli_empty')" class="button" /><%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
132
site/glist/templates/gossamer/mli_include_schedule_mailing.html
Normal file
132
site/glist/templates/gossamer/mli_include_schedule_mailing.html
Normal file
@ -0,0 +1,132 @@
|
||||
<table border="0" cellspacing="0" cellpadding="5">
|
||||
<tr>
|
||||
<td class="body" nowrap>Time Of Day:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="body">
|
||||
<ul><select class="object" name="scm_hour">
|
||||
<option value="1" <%if scm_hour eq '1'%>selected<%endif%>>1 (1 AM)</option>
|
||||
<option value="2" <%if scm_hour eq '2'%>selected<%endif%>>2 (2 AM)</option>
|
||||
<option value="3" <%if scm_hour eq '3'%>selected<%endif%>>3 (3 AM)</option>
|
||||
<option value="4" <%if scm_hour eq '4'%>selected<%endif%>>4 (4 AM)</option>
|
||||
<option value="5" <%if scm_hour eq '5'%>selected<%endif%>>5 (5 AM)</option>
|
||||
<option value="6" <%if scm_hour eq '6'%>selected<%endif%>>6 (6 AM)</option>
|
||||
<option value="7" <%if scm_hour eq '7'%>selected<%endif%>>7 (7 AM)</option>
|
||||
<option value="8" <%if scm_hour eq '8'%>selected<%endif%>>8 (8 AM)</option>
|
||||
<option value="9" <%if scm_hour eq '9'%>selected<%endif%>>9 (9 AM)</option>
|
||||
<option value="10" <%if scm_hour eq '10'%>selected<%endif%>>10 (10 AM)</option>
|
||||
<option value="11" <%if scm_hour eq '11'%>selected<%endif%>>11 (11 AM)</option>
|
||||
<option value="12" <%if scm_hour eq '12'%>selected<%endif%>>12 (12 AM)</option>
|
||||
<option value="13" <%if scm_hour eq '13'%>selected<%endif%>>13 (1 PM)</option>
|
||||
<option value="14" <%if scm_hour eq '14'%>selected<%endif%>>14 (2 PM)</option>
|
||||
<option value="15" <%if scm_hour eq '15'%>selected<%endif%>>15 (3 PM)</option>
|
||||
<option value="16" <%if scm_hour eq '16'%>selected<%endif%>>16 (4 PM)</option>
|
||||
<option value="17" <%if scm_hour eq '17'%>selected<%endif%>>17 (5 PM)</option>
|
||||
<option value="18" <%if scm_hour eq '18'%>selected<%endif%>>18 (6 PM)</option>
|
||||
<option value="19" <%if scm_hour eq '19'%>selected<%endif%>>19 (7 PM)</option>
|
||||
<option value="20" <%if scm_hour eq '20'%>selected<%endif%>>20 (8 PM)</option>
|
||||
<option value="21" <%if scm_hour eq '21'%>selected<%endif%>>21 (9 PM)</option>
|
||||
<option value="22" <%if scm_hour eq '22'%>selected<%endif%>>22 (10 PM)</option>
|
||||
<option value="23" <%if scm_hour eq '23'%>selected<%endif%>>23 (11 PM)</option>
|
||||
<option value="24" <%if scm_hour eq '24'%>selected<%endif%>>24 (12 PM)</option>
|
||||
</select> :
|
||||
<select class="object" name="scm_minute">
|
||||
<option value="0" <%ifnot scm_minute%>selected<%endif%>>0</option>
|
||||
<option value="5" <%if scm_minute eq '5'%>selected<%endif%>>5</option>
|
||||
<option value="10" <%if scm_minute eq '10'%>selected<%endif%>>10</option>
|
||||
<option value="15" <%if scm_minute eq '15'%>selected<%endif%>>15</option>
|
||||
<option value="20" <%if scm_minute eq '20'%>selected<%endif%>>20</option>
|
||||
<option value="25" <%if scm_minute eq '25'%>selected<%endif%>>25</option>
|
||||
<option value="30" <%if scm_minute eq '30'%>selected<%endif%>>30</option>
|
||||
<option value="35" <%if scm_minute eq '35'%>selected<%endif%>>35</option>
|
||||
<option value="40" <%if scm_minute eq '40'%>selected<%endif%>>40</option>
|
||||
<option value="45" <%if scm_minute eq '45'%>selected<%endif%>>45</option>
|
||||
<option value="50" <%if scm_minute eq '50'%>selected<%endif%>>50</option>
|
||||
<option value="55" <%if scm_minute eq '55'%>selected<%endif%>>55</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td valign="top" class="body">Frequency:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body"><ul>
|
||||
<table cellpadding="3" cellspacing="0">
|
||||
<tr>
|
||||
<td class="body" width="1"><input type="radio" name="scm_type" <%if scm_type == 1%>checked<%endif%> value="1"></td>
|
||||
<td class="body"><nobr>Once on
|
||||
<input type="text" name="opt_date" size="10" maxlength="10" value="<%if opt_date%><%opt_date%><%endif%>" class="object"> <font size=1><%GList::language('SYS_DATE_FORMAT')%></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body"><input type="radio" name="scm_type" <%if scm_type == 2%>checked<%endif%> value="2"></td>
|
||||
<td class="body">Daily</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body"><input type="radio" name="scm_type" <%if scm_type == 3%>checked<%endif%> value="3"></td>
|
||||
<td class="body"><nobr>Weekly on
|
||||
<select name="opt_weekly" class="object">
|
||||
<option value="">---</option>
|
||||
<option <%if opt_weekly eq 'Monday'%>selected<%endif%> value="Monday">Monday</option>
|
||||
<option <%if opt_weekly eq 'Tuesday'%>selected<%endif%> value="Tuesday">Tuesday</option>
|
||||
<option <%if opt_weekly eq 'Wednesday'%>selected<%endif%> value="Wednesday">Wednesday</option>
|
||||
<option <%if opt_weekly eq 'Thursday'%>selected<%endif%> value="Thursday">Thursday</option>
|
||||
<option <%if opt_weekly eq 'Friday'%>selected<%endif%> value="Friday">Friday</option>
|
||||
<option <%if opt_weekly eq 'Saturday'%>selected<%endif%> value="Saturday">Saturday</option>
|
||||
<option <%if opt_weekly eq 'Sunday'%>selected<%endif%> value="Sunday">Sunday</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body"><input type="radio" name="scm_type" value="4" <%if scm_type == 4%>checked<%endif%>></td>
|
||||
<td class="body">Monthly
|
||||
<select class="object" name="opt_monthly">
|
||||
<option value="">---</option>
|
||||
<option <%if opt_monthly eq '1'%>selected<%endif%>>1</option>
|
||||
<option <%if opt_monthly eq '2'%>selected<%endif%>>2</option>
|
||||
<option <%if opt_monthly eq '3'%>selected<%endif%>>3</option>
|
||||
<option <%if opt_monthly eq '4'%>selected<%endif%>>4</option>
|
||||
<option <%if opt_monthly eq '5'%>selected<%endif%>>5</option>
|
||||
<option <%if opt_monthly eq '6'%>selected<%endif%>>6</option>
|
||||
<option <%if opt_monthly eq '7'%>selected<%endif%>>7</option>
|
||||
<option <%if opt_monthly eq '8'%>selected<%endif%>>8</option>
|
||||
<option <%if opt_monthly eq '9'%>selected<%endif%>>9</option>
|
||||
<option <%if opt_monthly eq '10'%>selected<%endif%>>10</option>
|
||||
<option <%if opt_monthly eq '11'%>selected<%endif%>>11</option>
|
||||
<option <%if opt_monthly eq '12'%>selected<%endif%>>12</option>
|
||||
<option <%if opt_monthly eq '13'%>selected<%endif%>>13</option>
|
||||
<option <%if opt_monthly eq '14'%>selected<%endif%>>14</option>
|
||||
<option <%if opt_monthly eq '15'%>selected<%endif%>>15</option>
|
||||
<option <%if opt_monthly eq '16'%>selected<%endif%>>17</option>
|
||||
<option <%if opt_monthly eq '17'%>selected<%endif%>>17</option>
|
||||
<option <%if opt_monthly eq '18'%>selected<%endif%>>18</option>
|
||||
<option <%if opt_monthly eq '19'%>selected<%endif%>>19</option>
|
||||
<option <%if opt_monthly eq '20'%>selected<%endif%>>20</option>
|
||||
<option <%if opt_monthly eq '21'%>selected<%endif%>>21</option>
|
||||
<option <%if opt_monthly eq '22'%>selected<%endif%>>22</option>
|
||||
<option <%if opt_monthly eq '23'%>selected<%endif%>>23</option>
|
||||
<option <%if opt_monthly eq '24'%>selected<%endif%>>24</option>
|
||||
<option <%if opt_monthly eq '25'%>selected<%endif%>>25</option>
|
||||
<option <%if opt_monthly eq '26'%>selected<%endif%>>26</option>
|
||||
<option <%if opt_monthly eq '27'%>selected<%endif%>>27</option>
|
||||
<option <%if opt_monthly eq '28'%>selected<%endif%>>28</option>
|
||||
<option <%if opt_monthly eq '29'%>selected<%endif%>>29</option>
|
||||
<option <%if opt_monthly eq '30'%>selected<%endif%>>30</option>
|
||||
<option <%if opt_monthly eq '31'%>selected<%endif%>>31</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" colspan="2">Update text part with content from the following URL
|
||||
<input type="text" name="scm_text_url" class="object" value="<%if scm_text_url%><%scm_text_url%><%endif%>" size="50">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" colspan="2">Update html part with content from the following URL
|
||||
<input type="text" name="scm_html_url" class="object" value="<%if scm_html_url%><%scm_html_url%><%endif%>" size="50">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
83
site/glist/templates/gossamer/mli_modify_schedule.html
Normal file
83
site/glist/templates/gossamer/mli_modify_schedule.html
Normal file
@ -0,0 +1,83 @@
|
||||
<%set book_mark = 'search_mailing'%>
|
||||
<%include include_header.html%>
|
||||
<script>
|
||||
function del_confirm() {
|
||||
if (confirm("Do you want to delete the schedule of mailing '<%mli_id%>'?")) {
|
||||
document.myform.mod_action.value = 'delete';
|
||||
document.myform.submit();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
|
||||
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td height="97%" width="80%" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="20" class="bold_white"><img src="<%image_url%>/icons/search.gif" width="16" align="texttop" hspace="2" vspace="0">Modify Scheduled Mailing</td>
|
||||
<td align="right" class="body">
|
||||
<%set separator = ' <img src="'%>
|
||||
<%set separator .= $image_url%>
|
||||
<%set separator .= '/pics/bul_white.gif" width="5" height="8" style="position: relative; top: -1px"> '%>
|
||||
<a href="glist.cgi?do=mli_schedule_modify;mli_id=<%mli_id%><%if lookup%>;lu=<%lookup%><%endif%><%if fd%>;fd=<%fd%><%endif%><%if id%>;id=<%id%><%endif%><%if url%>;<%url%><%endif%><%hidden_query%>"><font color="#FFFFFF"><b>Edit Schedule</b></font></a> <%separator%>
|
||||
<a href="javascript:rs('Details','glist.cgi?do=mli_home&p=1&mli_id=<%mli_id%><%if users%>&users=1<%endif%>;d=1<%hidden_query%>',550,650,0,20,'Yes')" title="Preview Mailing"><font color="#FFFFFF">Preview</font></a>
|
||||
<a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>;url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close" align="absmiddle"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form name=myform action="glist.cgi" method="post">
|
||||
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" align=center>
|
||||
<tr>
|
||||
<td class="body">
|
||||
<blockquote>
|
||||
<br/><%msg%><br><br>
|
||||
Mailing ID: <b><%mli_id%> - <%mli_subject%></b><br><br>
|
||||
<%include mli_include_schedule_mailing.html%>
|
||||
<br />
|
||||
</blockquote>
|
||||
<input type="hidden" name="do" value="mli_schedule_modify" />
|
||||
<input type="hidden" name="mli_id" value="<%mli_id%>" />
|
||||
<input type="hidden" name="mod_action" value="" />
|
||||
<input name='fd' value="<%if fd%><%fd%><%endif%>" type=hidden />
|
||||
<input name='cd' value="<%if cd%><%cd%><%endif%>" type=hidden />
|
||||
<input name='cs' value="<%if cs%><%cs%><%endif%>" type=hidden />
|
||||
<input name='ca' value="<%if ca%><%ca%><%endif%>" type=hidden />
|
||||
<%hidden_objects%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<blockquote>
|
||||
<input type="submit" name="bmodify" value="Modify The Schedule" class="button">
|
||||
<input type="button" name="bdelete" value="Delete The Schedule" class="button" onclick="del_confirm()">
|
||||
<input type="submit" name="bcancel" value="Cancel" class="button">
|
||||
</blockquote>
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
43
site/glist/templates/gossamer/mli_progress_bar.html
Normal file
43
site/glist/templates/gossamer/mli_progress_bar.html
Normal file
@ -0,0 +1,43 @@
|
||||
<html><body><%include include_header.html%>
|
||||
<table width=100% height=85%>
|
||||
<tr>
|
||||
<td valign=middle>
|
||||
<table width="422" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td class="body" height="15"><b></b></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" bgcolor="#CCCCCC" width="420" height="17" style="border-left: 1px solid #999999; border-top: 1px solid #999999; border-right: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF">
|
||||
<table width="0%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" align="left">
|
||||
<tr>
|
||||
<td><b><font size="1"><img src="<%image_url%>/pics/1pixel.gif" id=progress name=progress width="0" height="15" border="0"></font></b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">
|
||||
<table>
|
||||
<tr>
|
||||
<td class=body>
|
||||
<div><font size="1" id=d_message>Preparing....</font></div>
|
||||
</td>
|
||||
<td class=body>
|
||||
<div><font size="1" id=d_percent>0%</font></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<script>
|
||||
var img = document.getElementById('progress');
|
||||
var msg = document.getElementById('d_message');
|
||||
var per = document.getElementById('d_percent');
|
||||
</script>
|
28
site/glist/templates/gossamer/mli_recipients.html
Normal file
28
site/glist/templates/gossamer/mli_recipients.html
Normal file
@ -0,0 +1,28 @@
|
||||
<html>
|
||||
<head>
|
||||
<title><%if site_title%><%site_title%><%else%>Gossamer Gossamer List<%endif%> - Recipients</title>
|
||||
<%include include_style.txt%>
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class=body>
|
||||
<td class=body><font size=5><b>Mailing Recipients<br /><br /></b></font></td>
|
||||
<td class=body align=right valign=top><b>Mailing ID: <%eml_mailing_id_fk%></b></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body colspan=2>
|
||||
<%loop results%>
|
||||
<%eml_email%><%if eml_skipped%> [ <font color="red"><b>Skipped</b></font> ]<%endif%><br />
|
||||
<%endloop%>
|
||||
</td>
|
||||
</tr>
|
||||
<%if hits > $mh%>
|
||||
<tr class=body>
|
||||
<td class=body colspan=2><br /><%include include_toolbar.html%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
70
site/glist/templates/gossamer/mli_schedule_mailing.html
Normal file
70
site/glist/templates/gossamer/mli_schedule_mailing.html
Normal file
@ -0,0 +1,70 @@
|
||||
<%set book_mark = 'search_mailing'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
|
||||
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td height="97%" width="80%" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/search.gif" width="16" align="texttop" hspace="2" vspace="0">Mailing Schedule</td>
|
||||
<td align="right"><a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>&url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form name=myform action="glist.cgi" method="post">
|
||||
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" align=center>
|
||||
<tr>
|
||||
<td class="body">
|
||||
<blockquote>
|
||||
<br /><%msg%><br><ul>
|
||||
<%loop selected_mailings%>
|
||||
<input type="hidden" name="modify" value="<%row_num%>">
|
||||
<input type="hidden" name="<%row_num%>-mli_id" value="<%mli_id%>">
|
||||
- <%mli_id%>: <%mli_subject%><br>
|
||||
<%endloop%>
|
||||
</ul>
|
||||
<%include mli_include_schedule_mailing.html%>
|
||||
<br />
|
||||
</blockquote>
|
||||
<input type="hidden" name="do" value="mli_schedule" />
|
||||
<input name='fd' value="<%if fd%><%fd%><%endif%>" type=hidden />
|
||||
<input name='cd' value="<%if cd%><%cd%><%endif%>" type=hidden />
|
||||
<input name='cs' value="<%if cs%><%cs%><%endif%>" type=hidden />
|
||||
<input name='ca' value="<%if ca%><%ca%><%endif%>" type=hidden />
|
||||
<%hidden_objects%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<blockquote>
|
||||
<input type="submit" name="bschedule" value="Set Schedule" class="button">
|
||||
<input type="submit" name="bcancel" value="Cancel" class="button">
|
||||
</blockquote>
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
159
site/glist/templates/gossamer/mli_search_form.html
Normal file
159
site/glist/templates/gossamer/mli_search_form.html
Normal file
@ -0,0 +1,159 @@
|
||||
<%set set_focus = 'myform.mli_id'%>
|
||||
<%set book_mark = 'search_mailing'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
|
||||
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td height="97%" width="80%" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/search.gif" width="16" align="texttop" hspace="2" vspace="0">Find Mailing</td>
|
||||
<td align="right"><a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>;url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form name=myform action="glist.cgi" method="post">
|
||||
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" align=center>
|
||||
<tr>
|
||||
<td class="body" align="center">
|
||||
<%if msg%><span align=center class="body" /><br /><%msg%></span><%endif%>
|
||||
<table border="0" cellspacing="3" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td class="body" colspan="3"><br /><li><b>Search Info</b></li></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" nowrap>Mailing ID</td>
|
||||
<td colspan="2">
|
||||
<input type="text" class="object" name="mli_id" size="12" value="<%if mli_id%><%mli_id%><%endif%>" />
|
||||
<select name="fd" class="object">
|
||||
<option value="1" <%if fd == 1%>selected<%endif%>>Queued Mailings</option>
|
||||
<option value="4" <%if fd == 4%>selected<%endif%>>Scheduled Mailings</option>
|
||||
<option value="2" <%if fd == 2%>selected<%endif%>>Sent Mailings</option>
|
||||
<%if hits_sent%>
|
||||
<%loop results_sent%>
|
||||
<option value="cat-<%cm_id%>" <%if id eq $cm_id%>selected<%endif%>> <%cm_name%></option>
|
||||
<%endloop%>
|
||||
<%endif%>
|
||||
<option value="3" <%if fd == 3%>selected<%endif%>>Deleted Mailings</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td valign="top" class="body">Done</td>
|
||||
<td colspan="2">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="body">From<br /><input class="object" type="text" name="mli_done-ge" maxlength=30 size="<%if is_ie or is_mozilla%>12<%else%>10<%endif%>" value="<%if mli_done-ge%><%mli_done-ge%><%endif%>" /></td>
|
||||
<td class="body"> To<br /> <input class="object" type="text" name="mli_done-le" size="<%if is_ie or is_mozilla%>12<%else%>10<%endif%>" maxlength=30 value="<%if mli_done-le%><%mli_done-le%><%endif%>" /> <font size=1><%GList::language('SYS_DATE_FORMAT')%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">Subject</td>
|
||||
<td colspan="2">
|
||||
<input type="text" class="object" name="mli_subject" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if mli_subject%><%mli_subject%><%endif%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign="top">Message TEXT</td>
|
||||
<td colspan="2">
|
||||
<textarea class="object" name="mli_message_text" cols="<%if is_ie or is_mozilla%>43<%else%>35<%endif%>" rows="3"><%if mli_message_text%><%mli_message_text%><%endif%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign="top">Message HTML</td>
|
||||
<td colspan="2">
|
||||
<textarea class="object" name="mli_message_html" cols="<%if is_ie or is_mozilla%>43<%else%>35<%endif%>" rows="3"><%if mli_message_html%><%mli_message_html%><%endif%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">From</td>
|
||||
<td colspan="2">
|
||||
<input type="text" class="object" name="mli_from" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if mli_from%><%mli_from%><%endif%>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">Name</td>
|
||||
<td colspan="2">
|
||||
<input type="text" class="object" name="mli_name" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if mli_name%><%mli_name%><%endif%>">
|
||||
</td>
|
||||
</tr>
|
||||
<%if usr_type%>
|
||||
<tr class="body">
|
||||
<td>Username</td>
|
||||
<td colspan="2">
|
||||
<input type="text" class="object" name="mli_user_id_fk" size="<%if is_ie or is_mozilla%>29<%else%>20<%endif%>" value="" />
|
||||
<select name="mli_user_id_fk-opt" class="object">
|
||||
<option value="=">Exact Match</option>
|
||||
<option value="<>">Not Equal</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class="body">
|
||||
<td class="body" colspan="3"><li><b>Search Options</b></li></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body">Keyword search</td>
|
||||
<td colspan=2><input class="object" name=keyword value="<%if keyword%><%keyword%><%endif%>" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body">Maximum hits</td>
|
||||
<td><input class="object" name=mh value="<%if mh%><%mh%><%else%>25<%endif%>" size=1 maxlength=2 /></td>
|
||||
<td class="body">Match Any: <input name="ma" value=1 type=checkbox /></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body">Sort by</td>
|
||||
<td colspan=2>
|
||||
<select name=sb class="object">
|
||||
<option value="mli_id">ID</option>
|
||||
<option value="mli_subject">Subject</option>
|
||||
</select>
|
||||
<select name="so" class="object">
|
||||
<option value="">---</option>
|
||||
<option value="DESC">Descending</option>
|
||||
<option value="ASC">Ascending</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center colspan="3"><BR />
|
||||
<input name="bsearch" type=submit value=" Search " class="button" />
|
||||
<input name="breset" type=reset value=" Reset " class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table><BR />
|
||||
<input type="hidden" name="do" value="mli_search" />
|
||||
<input name='cd' value="<%if cd%><%cd%><%endif%>" type=hidden />
|
||||
<input name='cs' value="<%if cs%><%cs%><%endif%>" type=hidden />
|
||||
<input name='ca' value="<%if ca%><%ca%><%endif%>" type=hidden />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
122
site/glist/templates/gossamer/msg_add_form.html
Normal file
122
site/glist/templates/gossamer/msg_add_form.html
Normal file
@ -0,0 +1,122 @@
|
||||
<html><body>
|
||||
<%set book_mark = 'create_message'%>
|
||||
<script>
|
||||
function switch_wrap() {
|
||||
if (document.myform.msg_Content.wrap == 'off') {
|
||||
document.myform.msg_Content.wrap = 'soft';
|
||||
document.myform.bwrap.value = 'Wrap off';
|
||||
}
|
||||
else {
|
||||
document.myform.msg_Content.wrap = 'off';
|
||||
document.myform.bwrap.value = 'Wrap on';
|
||||
}
|
||||
}
|
||||
|
||||
function resize() {
|
||||
var obj = document.myform;
|
||||
rows = obj.nrows.value;
|
||||
cols = obj.ncols.value;
|
||||
if ( !isNaN(rows) && !isNaN(cols) ) {
|
||||
obj.msg_Content.cols = cols
|
||||
obj.msg_Content.rows = rows
|
||||
}
|
||||
}
|
||||
|
||||
function gotoLine() {
|
||||
var obj = document.myform.msg_Content;
|
||||
var line = document.myform.nline.value;
|
||||
if (obj.innerText) {
|
||||
var items = obj.innerText.split("\n");
|
||||
if ( ( isNaN(line) )|| ( line > items.length ) || ( line <=0 ) || !line) {
|
||||
alert('Please enter a number between 1 to ' + items.length);
|
||||
return;
|
||||
}
|
||||
var lineContent = items[line-1];
|
||||
var rangContent = '';
|
||||
for (var i=0; i<line; i++) rangContent += items[i];
|
||||
|
||||
var items = rangContent.split(lineContent);
|
||||
var numTimes = (items.length > 1) ? ( items.length-1 ) : 1;
|
||||
|
||||
var txtRange = obj.createTextRange();
|
||||
var found = txtRange.findText(rangContent);
|
||||
if (found) {
|
||||
var tmp = 0;
|
||||
while (txtRange.findText(lineContent)) {
|
||||
tmp++;
|
||||
if ( tmp == numTimes ) {
|
||||
txtRange.select();
|
||||
break;
|
||||
}
|
||||
txtRange.moveStart("character",1);
|
||||
}
|
||||
txtRange.scrollIntoView();
|
||||
}
|
||||
}
|
||||
else alert('The content is empty!')
|
||||
}
|
||||
|
||||
</script>
|
||||
<%set set_focus = 'myform.msg_subject'%>
|
||||
<form name=myform action="glist.cgi" method="post" ENCTYPE='multipart/form-data'>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include msg_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" width="20%" valign="top"><%include msg_include_nav.html%></td>
|
||||
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td height="97%" width="80%" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/message.gif" align="texttop" hspace="2" vspace="3">Create Message</td>
|
||||
<td align="right" class="body">
|
||||
<%set iclose = 1%>
|
||||
<%include msg_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" align=center>
|
||||
<tr>
|
||||
<td valign=top align="center">
|
||||
<%if msg%><pre class="body"><br/><%msg%></pre><BR /><%else%> <%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign=top>
|
||||
<%include msg_include_record.html%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center>
|
||||
<input type=submit id="button_create" name="bsearch" value="Create Message" class=button />
|
||||
<input type="button" id="button_spellcheck" name="spellcheck" value="Check Spelling" class="button" tabindex=15>
|
||||
<input type="button" id="button_reset" name="breset" value=" Reset " class=button onclick="open_url('do=msg_add_form<%hidden_query%>')"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input name="do" value="msg_add" type=hidden />
|
||||
<%hidden_objects%>
|
||||
<%include include_footer.html%>
|
||||
</form>
|
33
site/glist/templates/gossamer/msg_home.html
Normal file
33
site/glist/templates/gossamer/msg_home.html
Normal file
@ -0,0 +1,33 @@
|
||||
<%ifnot users%><%set set_focus = 'myform.cms_name'%><%endif%>
|
||||
<%if p%>
|
||||
<script src="<%static_url%>/js/glist.js"></script>
|
||||
<%include include_style.txt%>
|
||||
<title><%if site_title%><%site_title%><%else%>Gossamer List<%endif%></title>
|
||||
<%include msg_include_preview.html%>
|
||||
<%else%>
|
||||
<%include include_header.html%>
|
||||
<%set use_magic = 1%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include msg_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<tr>
|
||||
<td height="97%" width="20%" valign="top"><%include msg_include_nav.html%></td>
|
||||
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td height="97%" width="80%" valign="top">
|
||||
<%if d%> <!-- Show details-->
|
||||
<%include msg_include_details.html%>
|
||||
<%else%><!-- Show search results-->
|
||||
<%include msg_include_results.html%>
|
||||
<%endif%>
|
||||
<input name='do' value="msg_home" type=hidden />
|
||||
<%hidden_objects%>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
<%endif%>
|
130
site/glist/templates/gossamer/msg_include_details.html
Normal file
130
site/glist/templates/gossamer/msg_include_details.html
Normal file
@ -0,0 +1,130 @@
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="20" class="bold_white"><img src="<%image_url%>/icons/<%if msg_status%>sent.gif<%else%>message.gif<%endif%>" hspace="2" vspace="2" align="texttop">Message Details</td>
|
||||
<td align="right" class="body_white">
|
||||
<%set iclose = 1%>
|
||||
<%set ipreview = 1%>
|
||||
<%set isend = 1%>
|
||||
<%set iedit = 1%>
|
||||
<%set modify = 1%>
|
||||
<%include msg_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width=1><img src="<%image_url%>/pics/1pixel.gif" width=1></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="2" align="center">
|
||||
<tr class="body">
|
||||
<td width=15% class="body" valign=top><b>Message Mode</b></td>
|
||||
<td width=85% class="body">[<b>
|
||||
<%if msg_mode eq 'html'%>HTML
|
||||
<%elsif msg_mode eq 'multi'%>Text and HTML
|
||||
<%else%>Text Only<%endif%></b> ]
|
||||
</td>
|
||||
</tr>
|
||||
<%if msg_charset%>
|
||||
<tr class="body">
|
||||
<td valign=top><b>Charset</b></td>
|
||||
<td ><%msg_charset%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class="body">
|
||||
<td width=15% class="body" valign=top><b>Subject</b></td>
|
||||
<td width=85% class="body"><%msg_subject%></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign=top><b>From</b></td>
|
||||
<td class="body"><%if msg_from_name%>"<%msg_from_name%>" <<%msg_from_email%>><%else%><%msg_from_email%><%endif%></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign=top><b>Reply To</b></td>
|
||||
<td class="body"><%msg_reply_to%></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign=top><b>Return-Path</b></td>
|
||||
<td class="body"><%msg_bounce_email%></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign=top width=12%><b>Status</b></td>
|
||||
<td class="body"><%ifnot msg_status%>Draft<%elsif msg_status == 1%>Sent<%endif%></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign=top><b>Created</b></td>
|
||||
<td class="body"><%GList::HTML::date_get('msg_created', '%mm%-%dd%-%yyyy% %hh%:%MM%:%ss%')%>
|
||||
<%if usr_email ne $msg_user_id_fk%>, by <b><%msg_user_id_fk%></b><%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%GList::HTML::generate_attachments%>
|
||||
<%if attachments%>
|
||||
<tr class="body">
|
||||
<td class="body" valign=top><b>Attachments</b></td>
|
||||
<td class="body">
|
||||
<table border="0" cellspacing="2" cellpadding="2">
|
||||
<%loop attachments%>
|
||||
<tr class="body">
|
||||
<td class="body"><%att_file_name%> (<%GList::Tools::friendly_size($att_file_size)%>)</td>
|
||||
<td class="body"><i>
|
||||
<a href="javascript:rs('Details','glist.cgi?do=msg_fview&fn=<%att_id%>&fd=<%msg_id%>&ft=1<%hidden_query%>',550,650,0,20,'Yes')">view</a>
|
||||
<a href="glist.cgi?do=msg_fdownload;fn=<%att_id%>;fd=<%msg_id%>;ft=1<%hidden_query%>">download</a></i>
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%if msg_content_text%>
|
||||
<tr class="body" height=310>
|
||||
<td class="body" colspan=2 valign=top><%if msg_mode eq 'multi' or msg_mode eq 'html'%><b>Text Message</b><br /><%endif%>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
|
||||
<tr class="body">
|
||||
<td valign=top>
|
||||
<div style="position: relative; width:100%; height:300px; overflow:auto;">
|
||||
<%GList::HTML::html_unescape($msg_content_text)%>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%if msg_content_html%>
|
||||
<tr class="body" height=310>
|
||||
<td class="body" colspan=2 valign=top><%if msg_mode eq 'multi' or msg_mode eq 'html'%><b>HTML Message</b><br /><%endif%>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
|
||||
<tr>
|
||||
<td valign=top>
|
||||
<div style="position: relative; width:100%; height:300px; overflow:auto;">
|
||||
<%msg_content_html%>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
<%endloop%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
13
site/glist/templates/gossamer/msg_include_icons.html
Normal file
13
site/glist/templates/gossamer/msg_include_icons.html
Normal file
@ -0,0 +1,13 @@
|
||||
<%set first_link = 1%>
|
||||
<%set separator = ' <img src="'%>
|
||||
<%set separator .= $image_url%>
|
||||
<%set separator .= '/pics/bul_white.gif" width="5" height="8" style="position: relative; top: -1px"> '%>
|
||||
<%if modify%>
|
||||
<%ifnot mul_messages%>
|
||||
<%if idetails%><a href="glist.cgi?do=msg_home;d=1;msg_id=<%msg_id%>;msg_id-opt==<%if lookup%>&lu=<%lookup%><%endif%><%hidden_query%>" title="Details Page"><font color="#FFFFFF">Details</font></a><%else%><b>Details</b><%endif%>
|
||||
<%separator%><%if ipreview%><a href="javascript:rs('Details','glist.cgi?do=msg_search;msg_id=<%msg_id%>;msg_id-opt==;p=1<%hidden_query%>',550,650,0,20,'Yes')" title="Preview Message"><font color="#FFFFFF">Preview</font></a><%endif%>
|
||||
<%separator%><%if iedit%><a href="glist.cgi?do=msg_modify_form;msg_id=<%msg_id%>;msg_id-opt==<%hidden_query%>" title="Edit Message"><font color="#FFFFFF">Edit</font></a><%else%><b>Edit</b><%endif%>
|
||||
<%separator%><%if isend%><a href="glist.cgi?do=msg_send_form;msg_id=<%msg_id%><%hidden_query%>" title="Select Lists"><font color="#FFFFFF">Select Lists</font></a><%else%><b><font color="#FFFFFF">Select Lists</font></b><%endif%>
|
||||
<%endif%>
|
||||
<%endif%>
|
||||
<%if iclose%><a href="glist.cgi?do=msg_home<%if url%>;url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 title="Close" align="texttop"></a><%endif%>
|
12
site/glist/templates/gossamer/msg_include_menu.html
Normal file
12
site/glist/templates/gossamer/msg_include_menu.html
Normal file
@ -0,0 +1,12 @@
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24">
|
||||
<tr class="body_bold">
|
||||
<td class="body_bold"> <img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=msg_home<%if url%>;<%url%><%endif%><%hidden_query%>">Messages</a></td>
|
||||
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=msg_add_form<%if url%>;<%url%><%endif%><%hidden_query%>">Create Message</a></td>
|
||||
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=msg_search_form<%if url%>;<%url%><%endif%><%hidden_query%>">Find Message</a></td>
|
||||
<td align="right"><a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=messages.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" vspace="2" hspace="2" border="0" title="Help"></a></td>
|
||||
</tr>
|
||||
<tr class="body_bold">
|
||||
<td colspan="4" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
95
site/glist/templates/gossamer/msg_include_nav.html
Normal file
95
site/glist/templates/gossamer/msg_include_nav.html
Normal file
@ -0,0 +1,95 @@
|
||||
<table width="97%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#7a9f54" class="bold_white">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr bgcolor="#256A19">
|
||||
<td>
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr class="bold_white">
|
||||
<td width="10"><img src="<%image_url%>/icons/folder.gif" vspace="0" hspace="1"></td>
|
||||
<td height="20" class="bold_white"><%if cms_name and $do%><%cms_name%><%else%>Folders<%endif%></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#FFFFFF">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class=body>
|
||||
<td width="1%" align="right">
|
||||
<%if hits_cat%>
|
||||
<a href="glist.cgi?do=msg_home&<%if msg_cat_id_fk%>&msg_cat_id_fk=<%msg_cat_id_fk%>&msg_cat_id_fk-opt==<%endif%><%ifnot cd%>&cd=1<%endif%><%if cs%>&cs=1<%endif%><%if ca%>&ca=1<%endif%><%if users%>&users=1<%endif%>"><img src="<%image_url%>/icons/<%ifnot cd%>collapse.gif<%else%>expend.gif<%endif%>" border=0 width="9" height="9" hspace=1></a>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="1%"><img src="<%image_url%>/icons/f_draft.gif" hspace="2" vspace="2"></td>
|
||||
<td width="100%" class=body>
|
||||
<%ifnot msg_cat_id_fk%><a href="glist.cgi?do=msg_home&<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>"><b>Messages</b></a>
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=msg_home&<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>">Messages</a>
|
||||
<%endif%>
|
||||
<%if hits_root%><span class="small">(<%hits_root%>)</span><%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%ifnot cd%>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td colspan="2">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<%loop results_cat%>
|
||||
<tr class=body>
|
||||
<td class=body width="1%"><img src="<%image_url%>/pics/<%if last%>corner.gif<%else%>line.gif<%endif%>" width="20" height="18"></td>
|
||||
<td class=body width="1%"><img src="<%image_url%>/icons/folder.gif" hspace="1"></td>
|
||||
<td class=body width="98%">
|
||||
<%if msg_cat_id_fk eq $cms_id%><a href="glist.cgi?do=msg_home&msg_cat_id_fk=<%cms_id%>&msg_cat_id_fk-opt==<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>"><b><%cms_name%></b></a>
|
||||
<%else%>
|
||||
<a href="glist.cgi?do=msg_home&msg_cat_id_fk=<%cms_id%>&msg_cat_id_fk-opt==<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>"><%cms_name%></a>
|
||||
<%endif%>
|
||||
<%if messages%><span class="small">(<%messages%>)</span><%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%ifnot users%>
|
||||
<tr class="body">
|
||||
<td colspan="3" class="body"><br />
|
||||
<%ifnot cms_id%>
|
||||
Name:
|
||||
<input type="text" name="cms_name" size="<%if is_ie or is_mozilla%>10<%else%>6<%endif%>" value="<%if cms_name%><%cms_name%><%endif%>" class=object />
|
||||
<input type="button" name="badd_cat" value=" Add " onclick="init_do('myform', 'msg_cat_add', '', '', 'msg_')" class=button />
|
||||
<%elsif do ne 'deletecat'%>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="body">Name:</td>
|
||||
<td>
|
||||
<input type="text" name="cms_name" size="<%if is_ie or is_mozilla%>15<%else%>15<%endif%>" value="<%if cms_name%><%cms_name%><%endif%>" class=object />
|
||||
</td>
|
||||
</tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input type=hidden name="cms_id" value="<%cms_id%>" />
|
||||
<input type=button name="cat_update" value="Update" onclick="init_do('myform', 'msg_cat_modify', 1, '', 'msg_')" class=button />
|
||||
<input type=button name="cat_delete" value="Delete" onclick="init_do('myform', 'msg_cat_delete', 1, '', 'msg_')" class=button />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="200" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
102
site/glist/templates/gossamer/msg_include_preview.html
Normal file
102
site/glist/templates/gossamer/msg_include_preview.html
Normal file
@ -0,0 +1,102 @@
|
||||
<body>
|
||||
<form name="myform" action="glist.cgi" method="post">
|
||||
<table width="100%" height="40" border="0" cellspacing="1" cellpadding="2" align="center" style="border: solid 1px #008000">
|
||||
<%if msg%>
|
||||
<tr>
|
||||
<td class="body"><%msg%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr>
|
||||
<td class="body">Send a copy of this message to:<br />
|
||||
Name <input class="object" type="text" name="name" value="<%ifnot name%><%pro_first_name%> <%pro_last_name%><%else%><%name%><%endif%>" size="15">
|
||||
Email <input class="object" type="text" name="email" value="<%ifnot email%><%usr_email%><%else%><%email%><%endif%>" size="25">
|
||||
<input class="button" type="submit" name="bemail" value=" Send ">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="msg_id" value="<%msg_id%>" />
|
||||
<input type=hidden name="msg_id-opt" value="=" />
|
||||
<input type=hidden name="d" value="1" />
|
||||
<input type=hidden name="p" value="1" />
|
||||
<input type=hidden name="do" value="msg_send_sample" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
<%loop results%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr class="body">
|
||||
<td width=15% class="body" valign=top>Message Mode</td>
|
||||
<td width=85% class="body">[<b>
|
||||
<%if msg_mode eq 'html'%>HTML
|
||||
<%elsif msg_mode eq 'multi'%>Text and HTML
|
||||
<%else%>Text Only<%endif%></b> ]
|
||||
</td>
|
||||
</tr>
|
||||
<%if msg_charset%>
|
||||
<tr class="body">
|
||||
<td valign=top>Charset</td>
|
||||
<td ><%msg_charset%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class="body">
|
||||
<td valign=top>Subject</td>
|
||||
<td ><%msg_subject%></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td width=20% class="body" valign=top>From</td>
|
||||
<td width=80% class="body"><%if msg_from_name%>"<%msg_from_name%>" <<%msg_from_email%>><%else%><%msg_from_email%><%endif%></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign=top>Reply To</td>
|
||||
<td class="body"><%msg_reply_to%></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign=top>Return-Path</td>
|
||||
<td class="body"><%msg_bounce_email%></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td valign=top>Created</td>
|
||||
<td><%GList::HTML::date_get('msg_created', '%mm%-%dd%-%yyyy% %hh%:%MM%:%ss%')%>
|
||||
<%if usr_email ne $msg_user_id_fk%>, by <b><%msg_user_id_fk%></b><%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%GList::HTML::generate_attachments%>
|
||||
<%if attachments%>
|
||||
<tr class="body">
|
||||
<td valign=top>Attachments</td>
|
||||
<td>
|
||||
<table border="0" cellspacing="2" cellpadding="2">
|
||||
<%loop attachments%>
|
||||
<tr class="body">
|
||||
<td class="body"><%att_file_name%> (<%GList::Tools::friendly_size($att_file_size)%>)</td>
|
||||
<td class="body"><i>
|
||||
<a href="javascript:rs('Details','glist.cgi?do=msg_fview&fn=<%att_id%>&fd=<%msg_id%>&ft=1',550,650,0,20,'Yes')">view</a>
|
||||
<a href="glist.cgi?do=msg_fdownload&fn=<%att_id%>&fd=<%msg_id%>&ft=1">download</a></i>
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%if msg_content_text%>
|
||||
<tr class="body">
|
||||
<td colspan=2 valign=top class="body"><%if msg_mode eq 'multi' or msg_mode eq 'html'%><b>Text Message</b><br /><%endif%>
|
||||
<%GList::HTML::html_unescape($msg_content_text)%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%if msg_content_html%>
|
||||
<tr class="body">
|
||||
<td colspan=2 valign=top><%if msg_mode eq 'multi' or msg_mode eq 'html' %><b>HTML Message</b><br /><%endif%>
|
||||
<%msg_content_html%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%endloop%>
|
381
site/glist/templates/gossamer/msg_include_record.html
Normal file
381
site/glist/templates/gossamer/msg_include_record.html
Normal file
@ -0,0 +1,381 @@
|
||||
<%include spellcheck_editor.html%>
|
||||
<script>
|
||||
|
||||
/*
|
||||
// Add listeners to the subscription inputs
|
||||
document.getElementById("subscribe_to_num")
|
||||
.addEventListener("onchange", this.create_subscription_link());
|
||||
document.getElementById("subscribe_to_text")
|
||||
.addEventListener("onchange", this.create_subscription_link());
|
||||
document.getElementById("unsubscribe_to_num")
|
||||
.addEventListener("onchange", this.create_subscription_link());
|
||||
document.getElementById("unsubscribe_to_text")
|
||||
.addEventListener("onchange", this.create_subscription_link());
|
||||
document.getElementById("subscribe_move_from_num")
|
||||
.addEventListener("onchange", this.create_subscription_link());
|
||||
document.getElementById("subscribe_move_from_num")
|
||||
.addEventListener("onchange", this.create_subscription_link());
|
||||
document.getElementById("subscribe_move_text")
|
||||
.addEventListener("onchange", this.create_subscription_link());
|
||||
//*/
|
||||
|
||||
function switch_mode(mode, editor_advanced, submit) {
|
||||
document.myform.emode.value = mode;
|
||||
if (typeof(editor_advanced) != 'undefined')
|
||||
document.myform.editor_advanced.value = editor_advanced;
|
||||
|
||||
if (submit) {
|
||||
if (editor_advanced == 0)
|
||||
ae.retrieveHTML();
|
||||
|
||||
document.myform.switch_editor.value = 1;
|
||||
document.myform.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function create_subscription_link(event) {
|
||||
var targetId = event.target.id;
|
||||
|
||||
// Return if null/undefined
|
||||
if(!targetId == true)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Look if this is an "ADD" subscription
|
||||
var contentToReplace = "";
|
||||
if (targetId.includes("unsubscribe_to"))
|
||||
{
|
||||
contentToReplace = "<a href=\"<%unsubscribe_list%>" +
|
||||
document.getElementById("unsubscribe_to_num").value +
|
||||
"\">" + document.getElementById("unsubscribe_to_text").value
|
||||
+ "</a>";
|
||||
document.getElementById("unsubscribe_to_link").setAttribute("value", contentToReplace);
|
||||
}
|
||||
else if(targetId.includes("subscribe_to"))
|
||||
{
|
||||
contentToReplace = "<a href=\"<%subscribe_list%>" +
|
||||
document.getElementById("subscribe_to_num").value +
|
||||
"\">" + document.getElementById("subscribe_to_text").value
|
||||
+ "</a>";
|
||||
document.getElementById("subscribe_to_link").setAttribute("value", contentToReplace);
|
||||
}
|
||||
else if (targetId.includes("subscribe_move"))
|
||||
{
|
||||
contentToReplace = "<a href=\"<%move_list%>" +
|
||||
document.getElementById("subscribe_move_from_num").value + "-" +
|
||||
document.getElementById("subscribe_move_to_num").value +
|
||||
"\">" + document.getElementById("subscribe_move_text").value
|
||||
+ "</a>";
|
||||
document.getElementById("subscribe_move_link").setAttribute("value", contentToReplace);
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
function copy_to_clipboard(event) {
|
||||
var targetId = event.target.id;
|
||||
|
||||
// Return if null/undefined
|
||||
if(!targetId == true)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (targetId.includes("unsubscribe_to"))
|
||||
{
|
||||
document.getElementById("unsubscribe_to_link").select();
|
||||
}
|
||||
else if(targetId.includes("subscribe_to"))
|
||||
{
|
||||
document.getElementById("subscribe_to_link").select();
|
||||
}
|
||||
else if (targetId.includes("subscribe_move"))
|
||||
{
|
||||
document.getElementById("subscribe_move_link").select();
|
||||
}
|
||||
|
||||
try {
|
||||
document.execCommand('copy');
|
||||
}
|
||||
catch (err) {
|
||||
return;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
</script>
|
||||
<div>
|
||||
<a href="<%subscribe_list%>209">Unsubscribe</a>
|
||||
</div>
|
||||
<table onchange="create_subscription_link(event)" border="0" width="98%" cellspacing="1" cellpadding="1" align="center">
|
||||
<tr>
|
||||
<td class="body">Email Mode</td>
|
||||
<td class="body">[ <b>
|
||||
<%if emode eq 'html'%>HTML
|
||||
<%elsif emode eq 'multi'%>Text and HTML
|
||||
<%else%>Text Only<%endif%></b> ]
|
||||
<input type="hidden" name="msg_mode" value="<%if emode eq 'html'%>html<%elsif emode eq 'multi'%>multi<%else%>text<%endif%>">
|
||||
<input type="submit" id="button_mode" class="button" name="bswitch" value="Switch To <%if emode eq 'text'%>HTML<%else%>Text<%endif%>" onclick="switch_mode('<%if emode eq 'text' and $usr_compose_mode eq 'multi'%>multi<%elsif emode eq 'text'%>html<%else%>text<%endif%>')">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">Character Set:</td>
|
||||
<td>
|
||||
<select name="msg_charset" class="object">
|
||||
<option<%if msg_charset eq 'us-ascii'%> selected<%endif%>>us-ascii</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-1'%> selected<%endif%>>ISO-8859-1</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-2'%> selected<%endif%>>ISO-8859-2</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-3'%> selected<%endif%>>ISO-8859-3</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-4'%> selected<%endif%>>ISO-8859-4</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-5'%> selected<%endif%>>ISO-8859-5</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-6'%> selected<%endif%>>ISO-8859-6</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-6-I'%> selected<%endif%>>ISO-8859-6-I</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-6-E'%> selected<%endif%>>ISO-8859-6-E</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-7'%> selected<%endif%>>ISO-8859-7</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-8'%> selected<%endif%>>ISO-8859-8</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-8-I'%> selected<%endif%>>ISO-8859-8-I</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-8-E'%> selected<%endif%>>ISO-8859-8-E</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-9'%> selected<%endif%>>ISO-8859-9</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-10'%> selected<%endif%>>ISO-8859-10</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-13'%> selected<%endif%>>ISO-8859-13</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-14'%> selected<%endif%>>ISO-8859-14</option>
|
||||
<option<%if msg_charset eq 'ISO-8859-15'%> selected<%endif%>>ISO-8859-15</option>
|
||||
<option<%if msg_charset eq 'ISO-IR-111'%> selected<%endif%>>ISO-IR-111</option>
|
||||
<option<%if msg_charset eq 'ISO-2022-CN'%> selected<%endif%>>ISO-2022-CN</option>
|
||||
<option<%if msg_charset eq 'ISO-2022-KR'%> selected<%endif%>>ISO-2022-KR</option>
|
||||
<option<%if msg_charset eq 'ISO-2022-JP'%> selected<%endif%>>ISO-2022-JP</option>
|
||||
<option<%if msg_charset eq 'UTF-32BE'%> selected<%endif%>>UTF-32BE</option>
|
||||
<option<%if msg_charset eq 'UTF-32LE'%> selected<%endif%>>UTF-32LE</option>
|
||||
<option<%if msg_charset eq 'UTF-32BE'%> selected<%endif%>>UTF-32BE</option>
|
||||
<option<%if msg_charset eq 'UTF-16BE'%> selected<%endif%>>UTF-16BE</option>
|
||||
<option<%if msg_charset eq 'UTF-16LE'%> selected<%endif%>>UTF-16LE</option>
|
||||
<option<%if msg_charset eq 'UTF-16BE'%> selected<%endif%>>UTF-16BE</option>
|
||||
<option<%if msg_charset eq 'windows-1250'%> selected<%endif%>>windows-1250</option>
|
||||
<option<%if msg_charset eq 'windows-1251'%> selected<%endif%>>windows-1251</option>
|
||||
<option<%if msg_charset eq 'windows-1252'%> selected<%endif%>>windows-1252</option>
|
||||
<option<%if msg_charset eq 'windows-1253'%> selected<%endif%>>windows-1253</option>
|
||||
<option<%if msg_charset eq 'windows-1254'%> selected<%endif%>>windows-1254</option>
|
||||
<option<%if msg_charset eq 'windows-1255'%> selected<%endif%>>windows-1255</option>
|
||||
<option<%if msg_charset eq 'windows-1256'%> selected<%endif%>>windows-1256</option>
|
||||
<option<%if msg_charset eq 'windows-1257'%> selected<%endif%>>windows-1257</option>
|
||||
<option<%if msg_charset eq 'windows-1258'%> selected<%endif%>>windows-1258</option>
|
||||
<option<%if msg_charset eq 'IBM866'%> selected<%endif%>>IBM866</option>
|
||||
<option<%if msg_charset eq 'IBM850'%> selected<%endif%>>IBM850</option>
|
||||
<option<%if msg_charset eq 'IBM852'%> selected<%endif%>>IBM852</option>
|
||||
<option<%if msg_charset eq 'IBM855'%> selected<%endif%>>IBM855</option>
|
||||
<option<%if msg_charset eq 'IBM857'%> selected<%endif%>>IBM857</option>
|
||||
<option<%if msg_charset eq 'IBM862'%> selected<%endif%>>IBM862</option>
|
||||
<option<%if msg_charset eq 'IBM864'%> selected<%endif%>>IBM864</option>
|
||||
<option<%if msg_charset eq 'IBM864i'%> selected<%endif%>>IBM864i</option>
|
||||
<option<%if msg_charset eq 'UTF-8'%> selected<%endif%>>UTF-8</option>
|
||||
<option<%if msg_charset eq 'UTF-7'%> selected<%endif%>>UTF-7</option>
|
||||
<option<%if msg_charset eq 'Shift_JIS'%> selected<%endif%>>Shift_JIS</option>
|
||||
<option<%if msg_charset eq 'Big5'%> selected<%endif%>>Big5</option>
|
||||
<option<%if msg_charset eq 'EUC-JP'%> selected<%endif%>>EUC-JP</option>
|
||||
<option<%if msg_charset eq 'EUC-KR'%> selected<%endif%>>EUC-KR</option>
|
||||
<option<%if msg_charset eq 'GB2312'%> selected<%endif%>>GB2312</option>
|
||||
<option<%if msg_charset eq 'VISCII'%> selected<%endif%>>VISCII</option>
|
||||
<option<%if msg_charset eq 'KOI8-R'%> selected<%endif%>>KOI8-R</option>
|
||||
<option<%if msg_charset eq 'KOI8-U'%> selected<%endif%>>KOI8-U</option>
|
||||
<option<%if msg_charset eq 'TIS-620'%> selected<%endif%>>TIS-620</option>
|
||||
<option<%if msg_charset eq 'T.61-8bit'%> selected<%endif%>>T.61-8bit</option>
|
||||
<option<%if msg_charset eq 'HZ-GB-2312'%> selected<%endif%>>HZ-GB-2312</option>
|
||||
<option<%if msg_charset eq 'Big5-HKSCS'%> selected<%endif%>>Big5-HKSCS</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">Subject</td>
|
||||
<td class="body">
|
||||
<input type="text" name="msg_subject" size="<%if is_ie or is_mozilla%>54<%else%>20<%endif%>" value="<%if msg_subject%><%msg_subject%><%endif%>" class=object /><font color=green>*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" nowrap>From Name</td>
|
||||
<td class="body" nowrap>
|
||||
<input type="text" name="msg_from_name" size="<%if is_ie or is_mozilla%>54<%else%>20<%endif%>" value="<%if msg_from_name%><%msg_from_name%><%else%><%pro_first_name%> <%pro_last_name%><%endif%>" class=object />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">From Email</td>
|
||||
<td class="body">
|
||||
<input type="text" name="msg_from_email" size="<%if is_ie or is_mozilla%>54<%else%>20<%endif%>" value="<%if msg_from_email%><%msg_from_email%><%else%><%usr_email%><%endif%>" class=object /><font color=green>*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">Reply to Email</td>
|
||||
<td class="body">
|
||||
<input type="text" name="msg_reply_to" size="<%if is_ie or is_mozilla%>54<%else%>20<%endif%>" value="<%if msg_reply_to%><%msg_reply_to%><%elsif usr_reply_email%><%usr_reply_email%><%else%><%usr_email%><%endif%>" class=object /><font color=green>*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">Bounce Email</td>
|
||||
<td class="body">
|
||||
<input type="text" name="msg_bounce_email" size="<%if is_ie or is_mozilla%>54<%else%>20<%endif%>" value="<%if msg_bounce_email%><%msg_bounce_email%><%elsif usr_bounce_email%><%usr_bounce_email%><%else%><%usr_email%><%endif%>" class=object /><font color=green>*</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" valign="top">Attachments</td>
|
||||
<td>
|
||||
<table border="0" cellspacing="1" cellpadding="1">
|
||||
<tr>
|
||||
<td colspan=2>
|
||||
<input type=file name=attachment size="<%if is_ie or is_mozilla%>30<%else%>20<%endif%>" class=object />
|
||||
<input type=submit id="button_attach" name="add_attach" value="Upload" class=button />
|
||||
</td>
|
||||
</tr>
|
||||
<%if hits%>
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0" cellspacing="1" cellpadding="1">
|
||||
<%loop attachments%>
|
||||
<tr class="body">
|
||||
<td>
|
||||
<input type=hidden name="attach-<%fname%>" value="<%user_fname%>" />
|
||||
<input name="del_attach" value="<%fname%>" type="checkbox" />
|
||||
</td>
|
||||
<td class="body"><%user_fname%> (<%GList::Tools::friendly_size($fsize)%>)</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
<td valign="middle"><input type=submit name="sdelete" value="Delete Attachments" class=button /></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%if emode eq 'html' or emode eq 'multi'%>
|
||||
<tr>
|
||||
<td class="body">Text</td>
|
||||
<td class="body">
|
||||
<%if emode eq 'html'%>
|
||||
[ <b>Autogenerated</b> ]
|
||||
<%elsif emode eq 'multi'%>
|
||||
[ <b>Entered Manually</b> ]
|
||||
<%endif%>
|
||||
<input type="submit" class="button" id="button_text" name="bswitch" value="<%if emode eq 'html'%>Enter text manually<%elsif emode eq 'multi'%>Autogenerate<%endif%>" onclick="switch_mode(<%if emode eq 'multi'%>'html'<%elsif emode eq 'html'%>'multi'<%endif%>)">
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr>
|
||||
<td class="body"><%if emode ne 'html'%>Text message<%else%> <%endif%></td>
|
||||
<td align=right class="body"><font color=green>*: required </font></td>
|
||||
</tr>
|
||||
<%--
|
||||
TEXT message part
|
||||
--%>
|
||||
<%if emode eq 'text' or emode eq 'multi' or emode eq ''%>
|
||||
<tr>
|
||||
<td colspan=2 align="center">
|
||||
<textarea id="msg_content_text" name="msg_content_text" style="width: 100%" rows="15" wrap='on' <%if is_ie or is_mozilla%>class="object_white"<%endif%>><%if msg_content_text%><%msg_content_text%><%endif%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%--
|
||||
HTML code for message having HTML and TEXT part
|
||||
--%>
|
||||
<%if emode eq 'html' or emode eq 'multi'%>
|
||||
<tr>
|
||||
<td class="body" colspan="2"><%if editor_advanced%>HTML message<%else%>Raw HTML<%endif%> <span id="url_switch">[ <a href="javascript:switch_mode('<%if emode%><%emode%><%else%>text<%endif%>', <%if editor_advanced%>0<%else%>1<%endif%>, 1)"><%if editor_advanced%>Use Text Area<%else%>Use Advanced Editor<%endif%></a> ]</span></td>
|
||||
</tr>
|
||||
<%if editor_advanced%>
|
||||
<tr height="280">
|
||||
<td align="center" colspan="2" <%if emode eq 'html'%>width="<%if msg_editor_width%><%msg_editor_width%><%else%>700<%endif%>"<%endif%>>
|
||||
<input type="hidden" id="msg_content_html" name="msg_content_html" value="<%if msg_content_html%><%msg_content_html%><%endif%>" />
|
||||
<input type="hidden" id="compose_is_html" value="1" />
|
||||
<%include editor_objects.html%>
|
||||
</td>
|
||||
</tr>
|
||||
<%else%>
|
||||
<tr>
|
||||
<td align=center colspan=2>
|
||||
<textarea id="msg_content_html" name="msg_content_html" style="width: 100%" rows="15" wrap='on' class="object_white"><%if msg_content_html%><%msg_content_html%><%endif%></textarea>
|
||||
<input type="hidden" id="compose_is_html" value="1" />
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
|
||||
<!-- Arbitrary Subscribe/Unsubscribe/Move List Options -->
|
||||
<tr>
|
||||
<td class="body">Subscribe To List:</td>
|
||||
<td>
|
||||
<input type="number" id="subscribe_to_num" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">Subscribe To Text:</td>
|
||||
<td>
|
||||
<input type="text" id="subscribe_to_text" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body"></td>
|
||||
<td>
|
||||
<input type="text" id="subscribe_to_link" readonly="readonly" value=""/>
|
||||
<input type="button" id="subscribe_to_but" value="Copy to Clipboard" onclick="copy_to_clipboard(event)"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="body">Unsubscribe To List:</td>
|
||||
<td>
|
||||
<input type="number" id="unsubscribe_to_num" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">Unsubscribe To Text:</td>
|
||||
<td>
|
||||
<input type="text" id="unsubscribe_to_text" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body"></td>
|
||||
<td>
|
||||
<input type="text" id="unsubscribe_to_link" readonly="readonly" value=""/>
|
||||
<input type="button" id="unsubscribe_to_but" value="Copy to Clipboard" onclick="copy_to_clipboard(event)"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="body">Move Subscription To Lists:</td>
|
||||
<td>
|
||||
<input type="number" id="subscribe_move_from_num" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" />
|
||||
<td>
|
||||
<input type="number" id="subscribe_move_to_num" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">Move Subscription To Text:</td>
|
||||
<td>
|
||||
<input type="text" id="subscribe_move_text" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body"></td>
|
||||
<td>
|
||||
<input type="text" id="subscribe_move_link" readonly="readonly" value=""></input>
|
||||
<input type="button" id="subscribe_move_but" value="Copy to Clipboard" onclick="copy_to_clipboard(event)"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END: Arbitrary Subscription Options -->
|
||||
|
||||
<tr>
|
||||
<td colspan=2 class="body">
|
||||
<input type="checkbox" name="msg_track_open" value="1" <%if msg_track_open%>checked<%endif%>> Track number of users who open this message.<BR/>
|
||||
<input type="checkbox" name="msg_track_click" value="1" <%if msg_track_click%>checked<%endif%>> Track click rates.
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
<%include spellcheck_objects.html%>
|
||||
<input type="hidden" name="emode" value="<%if emode%><%emode%><%else%>text<%endif%>">
|
||||
<input type="hidden" name="editor_advanced" value="<%if editor_advanced%><%editor_advanced%><%endif%>">
|
||||
<input type="hidden" name="switch_editor" value="">
|
92
site/glist/templates/gossamer/msg_include_results.html
Normal file
92
site/glist/templates/gossamer/msg_include_results.html
Normal file
@ -0,0 +1,92 @@
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#7a9f54">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="body">
|
||||
<td width="3%" height="20" align="center" bgcolor="#256A19" class="body"><img src="<%image_url%>/icons/message.gif" hspace=2></td>
|
||||
<td width="3%" height="20" align="center" bgcolor="#256A19" class="body"><img src="<%image_url%>/icons/attachment.gif" hspace=2></td>
|
||||
<td width="63%" height="20" bgcolor="#256A19" class="body_bold">
|
||||
<a href="glist.cgi?do=msg_home&<%if query%><%query%><%elsif msg_cat_id_fk%>msg_cat_id_fk=<%msg_cat_id_fk%><%else%>msg_root=1<%endif%><%ifnot use_cookie%>&sid=<%session_id%><%endif%><%if users%>&users=1<%endif%>&sb=msg_subject&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%>"><font color="#FFFFFF">Subject</font></a>
|
||||
<%if sb eq 'msg_subject'%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="28%" height="20" bgcolor="#256A19" class="body_bold" align="center">
|
||||
<a href="glist.cgi?do=msg_home&<%if query%><%query%><%elsif msg_cat_id_fk%>msg_cat_id_fk=<%msg_cat_id_fk%><%else%>msg_root=1<%endif%><%ifnot use_cookie%>&sid=<%session_id%><%endif%><%if users%>&users=1<%endif%>&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%>"><font color="#FFFFFF">Created</font></a>
|
||||
<%ifnot sb%>
|
||||
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>up.gif<%else%>down.gif<%endif%>" border=0>
|
||||
<%endif%>
|
||||
</td>
|
||||
<td width="5%" align="center" height="20" bgcolor="#256A19" class="body">
|
||||
<input name=c_all type=checkbox onclick="check_all()" />
|
||||
</td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
|
||||
<td align="center">
|
||||
<img src="<%image_url%>/icons/<%if msg_status%>sent.gif<%else%>message.gif<%endif%>" hspace=2>
|
||||
</td>
|
||||
<td align="center">
|
||||
<%GList::HTML::generate_attachments%>
|
||||
<%if attachments%><img src="<%image_url%>/icons/attachment.gif" hspace=2><%else%> <%endif%>
|
||||
</td>
|
||||
<td class="body">
|
||||
<%if msg_user_id_fk and msg_user_id_fk ne $usr_username%>
|
||||
<%set user_search = 1%>
|
||||
<%elsif msg_user_id_fk eq $usr_username and msg_user_id_fk-opt eq '<>'%>
|
||||
<%set user_search = 1%>
|
||||
<%endif%>
|
||||
<a href="glist.cgi?do=msg_home;d=1;msg_id=<%msg_id%>;msg_id-opt==<%if lookup%>;lu=<%lookup%><%endif%><%hidden_query%>"><%msg_subject%></a>
|
||||
</td>
|
||||
<td class="body" align=center>
|
||||
<%GList::HTML::date_get('msg_created', 1)%>
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" />
|
||||
<input type="hidden" name="<%row_num%>-msg_id" value="<%msg_id%>" />
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" height=30 >
|
||||
<%if hits > $mh and $mh != -1%>
|
||||
<tr align="left" class="body">
|
||||
<td class="body" cols="2"><%include include_toolbar.html%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class="body">
|
||||
<td class="body"><%if msg%><%msg%><%else%> <%endif%></td>
|
||||
<%if hits%>
|
||||
<td class="body" align="right">
|
||||
<%if hits_cat%>
|
||||
<b>Move to</b>:
|
||||
<select name="move_to" class=object>
|
||||
<option value="">-------</option>
|
||||
<%if msg_cat_id_fk%>
|
||||
<option value='root'>Messages</option>
|
||||
<%endif%>
|
||||
<%loop results_cat%>
|
||||
<%if msg_cat_id_fk ne $cms_id%>
|
||||
<option value="<%cms_id%>"><%cms_name%></option>
|
||||
<%endif%>
|
||||
<%endloop%>
|
||||
</select>
|
||||
<input type="button" name="bmove" value="Move" onclick="init_do('myform', 'msg_move', '', '', 'msg_', '', '', 'Please choose one or more message to move by checking the boxes to the right of the message(s).')" class=button />
|
||||
<%endif%>
|
||||
<input type="button" name="bdelete" value="Delete Messages" onclick="init_do('myform', 'msg_delete', '', '', 'msg_')" class=button />
|
||||
<input type="button" name="bselect" value="Select Lists" onclick="init_do('myform', 'msg_send_form', '', '', 'msg_', '', '', 'Please choose one or more message to send by checking the boxes to the right of the message(s).')" class=button />
|
||||
</td>
|
||||
<%endif%>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
124
site/glist/templates/gossamer/msg_modify_form.html
Normal file
124
site/glist/templates/gossamer/msg_modify_form.html
Normal file
@ -0,0 +1,124 @@
|
||||
<%set book_mark = 'modify_message'%>
|
||||
<script>
|
||||
function switch_wrap() {
|
||||
if (document.myform.msg_Content.wrap == 'off') {
|
||||
document.myform.msg_Content.wrap = 'soft';
|
||||
document.myform.bwrap.value = 'Wrap off';
|
||||
}
|
||||
else {
|
||||
document.myform.msg_Content.wrap = 'off';
|
||||
document.myform.bwrap.value = 'Wrap on';
|
||||
}
|
||||
}
|
||||
|
||||
function resize() {
|
||||
var obj = document.myform;
|
||||
rows = obj.nrows.value;
|
||||
cols = obj.ncols.value;
|
||||
if ( !isNaN(rows) && !isNaN(cols) ) {
|
||||
obj.msg_Content.cols = cols
|
||||
obj.msg_Content.rows = rows
|
||||
}
|
||||
}
|
||||
|
||||
function gotoLine() {
|
||||
var obj = document.myform.msg_Content;
|
||||
var line = document.myform.nline.value;
|
||||
if (obj.innerText) {
|
||||
var items = obj.innerText.split("\n");
|
||||
if ( ( isNaN(line) )|| ( line > items.length ) || ( line <=0 ) || !line) {
|
||||
alert('Please enter a number between 1 to ' + items.length);
|
||||
return;
|
||||
}
|
||||
var lineContent = items[line-1];
|
||||
var rangContent = '';
|
||||
for (var i=0; i<line; i++) rangContent += items[i];
|
||||
|
||||
var items = rangContent.split(lineContent);
|
||||
var numTimes = (items.length > 1) ? ( items.length-1 ) : 1;
|
||||
|
||||
var txtRange = obj.createTextRange();
|
||||
var found = txtRange.findText(rangContent);
|
||||
if (found) {
|
||||
var tmp = 0;
|
||||
while (txtRange.findText(lineContent)) {
|
||||
tmp++;
|
||||
if ( tmp == numTimes ) {
|
||||
txtRange.select();
|
||||
break;
|
||||
}
|
||||
txtRange.moveStart("character",1);
|
||||
}
|
||||
txtRange.scrollIntoView();
|
||||
}
|
||||
}
|
||||
else alert('The content is empty!')
|
||||
}
|
||||
</script>
|
||||
<%set set_focus = 'myform.msg_subject'%>
|
||||
<form name=myform action="glist.cgi" method="post" ENCTYPE='multipart/form-data'>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include msg_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" width="20%" valign="top"><%include msg_include_nav.html%></td>
|
||||
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td height="97%" width="80%" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="20" class="bold_white"><img src="<%image_url%>/icons/<%if msg_status%>sent.gif<%else%>message.gif<%endif%>" hspace="2" vspace="2" align="texttop">Modify Message</td>
|
||||
<td align="right" class="body_white">
|
||||
<%set iclose = 1%>
|
||||
<%set idetails = 1%>
|
||||
<%set ipreview = 1%>
|
||||
<%set isend = 1%>
|
||||
<%set modify = 1%>
|
||||
<%include msg_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" align=center>
|
||||
<tr>
|
||||
<td valign=top> </td>
|
||||
</tr>
|
||||
<%if msg%><tr class=body><td><%msg%><BR /><BR /></td></tr><%endif%>
|
||||
<tr>
|
||||
<td valign=top>
|
||||
<input type="hidden" name="msg_id" size="45" value="<%if msg_id%><%msg_id%><%endif%>" />
|
||||
<%include msg_include_record.html%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center>
|
||||
<input name="bsearch" type=submit value="Update Message" class=button />
|
||||
<input name="breset" type=button value=" Reset " class=button onclick="open_url('do=msg_modify_form;msg_id=<%msg_id%>;msg_id-opt==<%hidden_query%>')"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input name="do" value="msg_modify" type=hidden />
|
||||
<%hidden_objects%>
|
||||
<input name='msg_root' value="<%if msg_root%><%msg_root%><%endif%>" type=hidden />
|
||||
<%include include_footer.html%>
|
||||
</form>
|
154
site/glist/templates/gossamer/msg_search_form.html
Normal file
154
site/glist/templates/gossamer/msg_search_form.html
Normal file
@ -0,0 +1,154 @@
|
||||
<%set set_focus = 'myform.msg_id'%>
|
||||
<%set book_mark = 'search_message'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include msg_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" width="20%" valign="top"><%include msg_include_nav.html%></td></td>
|
||||
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td height="97%" width="80%" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/search.gif" width='16' align="texttop" hspace="2" vspace="0">Find Message</td>
|
||||
<td align="right">
|
||||
<%set iclose = 1%>
|
||||
<%include msg_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form name=myform action="glist.cgi" method="post">
|
||||
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" align=center>
|
||||
<%if msg%><tr class="body"><td align="center"><BR/><ul><%msg%><ul/></td></tr><%endif%>
|
||||
<tr>
|
||||
<td valign=top>
|
||||
<table border="0" cellspacing="0" cellpadding="3" align="center">
|
||||
<tr>
|
||||
<td class="body" colspan="3"><BR /><li><b>Search Info</b></li></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" nowrap>Message ID</td>
|
||||
<td>
|
||||
<input type="text" class="object" name="msg_id" size="10" value="<%if msg_id%><%msg_id%><%endif%>" />
|
||||
<input type="hidden" class="object" name="msg_id-opt" size="10" value="=" />
|
||||
<select name="msg_status" class="object">
|
||||
<option value=''>----</option>
|
||||
<option value="0">Draft</option>
|
||||
<option value="1">Sent</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="body" align="right">
|
||||
<%if hits%> Folder
|
||||
<select name="msg_cat_id_fk" class="object">
|
||||
<option value=''>All</option>
|
||||
<%loop results%>
|
||||
<option value="<%cms_id%>" <%if msg_cat_id_fk eq $cms_id%>selected<%endif%>><%cms_name%></option>
|
||||
<%endloop%>
|
||||
</select>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">Subject</td>
|
||||
<td colspan="2"><input type="text" class="object" name="msg_subject" size="<%if is_ie or is_mozilla%>45<%else%>20<%endif%>" value="<%if msg_subject%><%msg_subject%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">From Name</td>
|
||||
<td colspan="2"><input type="text" class="object" name="msg_from_name" size="<%if is_ie or is_mozilla%>45<%else%>20<%endif%>" value="<%if msg_from_name%><%msg_from_name%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body">From Email</td>
|
||||
<td colspan="2"><input type="text" class="object" name="msg_from_email" size="<%if is_ie or is_mozilla%>45<%else%>20<%endif%>" value="<%if msg_from_email%><%msg_from_email%><%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td valign="top" class="body">Created</td>
|
||||
<td colspan="2">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="body">From:<br /><input class="object" type="text" name="msg_created-ge" maxlength=30 size="<%if is_ie or is_mozilla%>12<%else%>10<%endif%>" value="<%if msg_created-ge%><%msg_created-ge%><%endif%>" /></td>
|
||||
<td class="body"> To:<br /> <input class="object" type="text" name="msg_created-le" size="<%if is_ie or is_mozilla%>12<%else%>10<%endif%>" maxlength=30 value="<%if msg_created-le%><%msg_created-le%><%endif%>" /> <font size=1><%GList::language('SYS_DATE_FORMAT')%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign="top">Message TEXT</td>
|
||||
<td colspan="2"><textarea class="object" name="msg_content_text" cols="<%if is_ie or is_mozilla%>42<%else%>30<%endif%>" rows="2"><%if msg_content_text%><%msg_content_text%><%endif%></textarea></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body" valign="top">Message HTML</td>
|
||||
<td colspan="2"><textarea class="object" name="msg_content_html" cols="<%if is_ie or is_mozilla%>42<%else%>30<%endif%>" rows="2"><%if msg_content_html%><%msg_content_html%><%endif%></textarea></td>
|
||||
</tr>
|
||||
<%if usr_type%>
|
||||
<tr class="body">
|
||||
<td class="body">Username</td>
|
||||
<td colspan="2">
|
||||
<input type="text" class="object" name="msg_user_id_fk" size="<%if is_ie or is_mozilla%>29<%else%>20<%endif%>" value="" />
|
||||
<select name="msg_user_id_fk-opt" class="object">
|
||||
<option value="=">Exact Match</option>
|
||||
<option value="<>">Not Equal</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr class="body">
|
||||
<td class="body" colspan="3"><li><b>Search Options</b></li></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body">Keyword search</td>
|
||||
<td colspan=2><input class="object" name=keyword value="" size="<%if is_ie or is_mozilla%>45<%else%>20<%endif%>" /></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body">Maximum hits</td>
|
||||
<td width="35%"><input class="object" name=mh value="<%if mh%><%mh%><%else%>25<%endif%>" size=1 maxlength=2 /></td>
|
||||
<td class="body" align="left">Match Any <input name="ma" value=1 type=checkbox /></td>
|
||||
</tr>
|
||||
<tr class="body">
|
||||
<td class="body">Sort by</td>
|
||||
<td colspan=2>
|
||||
<select name=sb class="object">
|
||||
<option value="msg_subject">Subject</option>
|
||||
<option value="" selected>Created</option>
|
||||
</select>
|
||||
<select name="so" class="object">
|
||||
<option value="">---</option>
|
||||
<option value="DESC">Descending</option>
|
||||
<option value="ASC">Ascending</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=center colspan="3">
|
||||
<input name="bsearch" type=submit value=" Search " class="button" />
|
||||
<input name="breset" type=reset value=" Reset " class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type=hidden name="do" value="msg_search" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
120
site/glist/templates/gossamer/msg_send_form.html
Normal file
120
site/glist/templates/gossamer/msg_send_form.html
Normal file
@ -0,0 +1,120 @@
|
||||
<%set book_mark = 'send_message'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include msg_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" width="20%" valign="top"><%include msg_include_nav.html%></td>
|
||||
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td height="97%" width="80%" valign="top">
|
||||
<form name=myform action="glist.cgi" method=post>
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr bgcolor="#C5E1A3">
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr class="bold_white">
|
||||
<td bgcolor="#336600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="20" class="bold_white"><img src="<%image_url%>/icons/<%if msg_status%>sent.gif<%else%>message.gif<%endif%>" align="texttop" hspace="2" vspace="2">Select Lists</td>
|
||||
<td align="right" class="body">
|
||||
<%set iclose = 1%>
|
||||
<%set ipreview = 1%>
|
||||
<%set idetails = 1%>
|
||||
<%set iedit = 1%>
|
||||
<%set modify = 1%>
|
||||
<%include msg_include_icons.html%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" align=center>
|
||||
<tr>
|
||||
<td valign=top class="body" colspan="2">
|
||||
<br/>Selected messages:
|
||||
<blockquote style="margin-top: 0px;margin-bottom: 10px">
|
||||
<%loop loop_messages%>
|
||||
<input type="hidden" name="msg_id" value="<%msg_id%>">
|
||||
- <%msg_subject%><br />
|
||||
<%endloop%>
|
||||
</blockquote>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class="body" style="padding-bottom: 4px">
|
||||
<%if msg%><%msg%><%else%>Send message(s) to the following lists:<BR/><%endif%>
|
||||
<br>
|
||||
<%if mh != -1 and hits > $mh%><%include include_toolbar.html%><a href="glist.cgi?do=msg_send_form;mh=-1<%if toolbar_query%>;<%toolbar_query%><%endif%><%hidden_query%>">All</a><%endif%>
|
||||
</td>
|
||||
<td class="body" valign="bottom" align="right" style="padding-bottom: 4px">
|
||||
<%if usr_type == 1%>
|
||||
<input type="button" name="bselect" value="Show <%if show_user%>Your<%else%>All Users'<%endif%> Lists" class="button" onclick="open_url('do=msg_send_form<%ifnot show_user%>;show_user=1<%endif%><%if toolbar_query%>;<%toolbar_query%><%endif%><%hidden_query%>')" >
|
||||
<%else%> <%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign=top colspan="2">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#7a9f54">
|
||||
<tr valign="middle">
|
||||
<td height="0">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
|
||||
<tr bgcolor="#97ACBD" class="body_bold">
|
||||
<td width="85%" bgcolor="#256A19" class="body_bold">List Name</td>
|
||||
<td width="10%" bgcolor="#256A19" class="body_bold" align="right" class="body_bold">Subscribers</td>
|
||||
<td width="5%" bgcolor="#256A19" class="body_bold" align="center">
|
||||
<input type="checkbox" name="c_all" value="1" onclick="check_all()" />
|
||||
</td>
|
||||
</tr>
|
||||
<%loop results%>
|
||||
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class=body>
|
||||
<td><%lst_title%></td>
|
||||
<td align=center><%if val_subs%><a href="javascript:rs('Details','glist.cgi?do=lst_subscribers;sub_list_id_fk=<%lst_id%>;sub_list_id_fk-opt==;<%if show_user%>;show_user=1<%endif%>sub_validated=1;mn_disable=1<%hidden_query%>',550,635,10,20,'Yes')"><%val_subs%></a><%else%>0<%endif%></td>
|
||||
<td align="center">
|
||||
<%if val_subs%>
|
||||
<input type="hidden" name="<%row_num%>-list_id_fk" value="<%lst_id%>" />
|
||||
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" />
|
||||
<%else%>
|
||||
<%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endloop%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<%if hits > $mh%>
|
||||
<tr valign="middle">
|
||||
<td height="0" class="body">
|
||||
<%if mh != -1%><%include include_toolbar.html%><a href="glist.cgi?do=msg_send_form;mh=-1<%if toolbar_query%>;<%toolbar_query%><%endif%><%hidden_query%>">All</a><%endif%>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<tr valign="bottom" align="right">
|
||||
<td height="30">
|
||||
<input type="submit" name="Submit" value="Queue Mailing" class="button" />
|
||||
<input type="button" name="scancel" value="Cancel" onclick="open_url('do=msg_home<%hidden_query%>')" class="button" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input name="do" value="msg_send" type=hidden />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
45
site/glist/templates/gossamer/plugin_help.html
Normal file
45
site/glist/templates/gossamer/plugin_help.html
Normal file
@ -0,0 +1,45 @@
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include plugin_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/plugin_manager.gif" height=14 hspace="2" vspace="0">Plugins Help</td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table><br/><br/>
|
||||
<table width="90%" border="0" cellspacing="1" cellpadding="1" align="center">
|
||||
<tr class=body>
|
||||
<td valign="top" class=body>
|
||||
<p class=body>Plugins are a powerful new
|
||||
feature of GList. They allow you to easily extend, enhance or alter
|
||||
the functionality of any aspect of GList. From your plugin manager,
|
||||
you can easily install new plugins, check out Gossamer Threads to view
|
||||
the latest plugins, or update existing ones, remove plugins that are no
|
||||
longer useful and even temporairly disable/enable installed plugins.</p>
|
||||
<p class=body>Included in every copy is
|
||||
also a powerful plugin authoring tool. It allows people with a little
|
||||
perl knowledge to easily create plugins, and also share them with the
|
||||
GList community instantly. Be sure to read the GList developers
|
||||
guide for more information on enhancing GList.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
31
site/glist/templates/gossamer/plugin_include_menu.html
Normal file
31
site/glist/templates/gossamer/plugin_include_menu.html
Normal file
@ -0,0 +1,31 @@
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="24">
|
||||
<tr class=body_bold>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%hidden_query%>">Plugin Manager</b></a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_page&pg=plugin_manager_download.html<%hidden_query%>">Plugin Download</b></a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_page&pg=plugin_wizard.html<%hidden_query%>">Plugin Wizard</a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_page&pg=plugin_help.html<%hidden_query%>">About Plugins</a>
|
||||
</td>
|
||||
<td class=body_bold>
|
||||
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
|
||||
<a href="glist.cgi?do=admin_page&pg=gt_doc.html<%hidden_query%>">GT Module Documentation</a>
|
||||
</td>
|
||||
<td align=right>
|
||||
<a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=plugins.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" title="Help" border=0 vspace=2 hspace=2></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="body_bold">
|
||||
<td colspan="6" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
49
site/glist/templates/gossamer/plugin_manager.html
Normal file
49
site/glist/templates/gossamer/plugin_manager.html
Normal file
@ -0,0 +1,49 @@
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include plugin_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/plugin_manager.gif" hspace="2" vspace="0" align="texttop"><%if gossamer%>Install Plugins from Gossamer<%else%>Plugin Manager<%endif%></td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%GList::Plugins::admin_menu%>
|
||||
<table cellspacing="1" cellpadding="2" border="0" width=100% align=center>
|
||||
<tr>
|
||||
<%if menu%>
|
||||
<td class=body width=22% valign=top>
|
||||
<table width=100% border= 1 cellpadding=0 cellspacing=0><%menu%></table>
|
||||
</td>
|
||||
<%endif%>
|
||||
<td class=body align=center valign=top><br />
|
||||
<%if gossamer%>
|
||||
From here you can download plugins straight from Gossamer to your server.
|
||||
<%else%>
|
||||
<%if msg%><font color=green><%msg%></font><%else%>The plugin manager lets you install, edit and remove plugins on your system.<%endif%><br /> <br />
|
||||
<%GList::Plugins::manager%>
|
||||
<%if error%><font color="red"><b><%error%></b></font><%endif%>
|
||||
<%if content%><%content%><%endif%>
|
||||
<%endif%>
|
||||
<BR/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
26
site/glist/templates/gossamer/plugin_manager_delete.html
Normal file
26
site/glist/templates/gossamer/plugin_manager_delete.html
Normal file
@ -0,0 +1,26 @@
|
||||
<form action="glist.cgi" method="POST">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_manager.html" />
|
||||
<input type="hidden" name="plugin_name" value="<%plugin_name%>" />
|
||||
<input type="hidden" name="plugin_man_do" value="delete" />
|
||||
<input type="hidden" name="confirm" value="1" />
|
||||
<table border="1" cellpadding=0 cellspacing=0>
|
||||
<tr class=body>
|
||||
<td align=center class=body><br />
|
||||
<p><b>About to delete plugin: <%plugin_name%> permanently!</b></p>
|
||||
<p>This will remove the plugin from your system completely. Are you sure: <br /><br />
|
||||
<table border=0 width=500>
|
||||
<tr>
|
||||
<td class=body align=center>
|
||||
<input type="submit" value=" Delete " class=button />
|
||||
<input type="button" onClick="history.go(-1)" value=" Abort " class=button />
|
||||
</td>
|
||||
</tr>
|
||||
</table><br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%if sid%>
|
||||
<input type=hidden name="sid" value="<%sid%>" />
|
||||
<%endif%>
|
||||
</form>
|
112
site/glist/templates/gossamer/plugin_manager_download.html
Normal file
112
site/glist/templates/gossamer/plugin_manager_download.html
Normal file
@ -0,0 +1,112 @@
|
||||
<%set book_mark = 'download'%>
|
||||
<%if gossamer%>
|
||||
<form action="glist.cgi" method="POST">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_manager.html" />
|
||||
<input type="hidden" name="plugin_man_do" value="download" />
|
||||
<table border=0 width=0 align=center>
|
||||
<tr class=body>
|
||||
<td class=body>
|
||||
<%if results%>
|
||||
<p><font color="green"><%results%></font></p>
|
||||
<%endif%>
|
||||
<%if error%>
|
||||
<p><font color="red"><%error%></font></p>
|
||||
<%endif%>
|
||||
<%gossamer%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
<%else%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include plugin_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td height="20"><img src="<%image_url%>/icons/plugin_download.gif" align="texttop" hspace="2" vspace="0">Add New Plugin</td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%hidden_query%>"> <img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table><br />
|
||||
<table cellspacing="1" cellpadding="2" border=0 width=100% align=center height=60%>
|
||||
<tr>
|
||||
<td class=body height=10%>
|
||||
<ul>
|
||||
You can add new plugins either by uploading a file, downloading from a URL, or downloading straight from Gossamer Threads.
|
||||
</ul>
|
||||
</td>
|
||||
<tr>
|
||||
<td height=50% valign=middle>
|
||||
<table border=1 width=70% cellpadding=0 cellspacing=0 align=center>
|
||||
<tr>
|
||||
<td>
|
||||
<table border=0 width=100% align=center cellpadding=2 cellspacing=3>
|
||||
<tr class=object>
|
||||
<td class=body bgcolor="#E6EAEE"><b><li>List Plugins on Gossamer Threads</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class=body align=center valign=middle><br />
|
||||
<%if results%>
|
||||
<p><font color="green"><%results%></font></p>
|
||||
<%endif%>
|
||||
<%if error%>
|
||||
<p><font color="red"><%error%></font></p>
|
||||
<%endif%>
|
||||
<form action="glist.cgi" method="POST">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_manager.html" />
|
||||
<input type="hidden" name="plugin_man_do" value="download_gossamer" />
|
||||
<input type="submit" class=button value="Load Plugin(s)" />
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=object>
|
||||
<td class=body bgcolor="#E6EAEE"><b><li>Install From</b></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>
|
||||
<form action="glist.cgi" method="POST">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_manager.html" />
|
||||
<input type="hidden" name="plugin_man_do" value="download_url" />
|
||||
<p>URL: <input type="text" name="url" size=30 class=object /><input type="submit" value="Install" class=button /></p>
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
<form action="glist.cgi" method="POST" enctype="multipart/form-data">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_manager.html" />
|
||||
<input type="hidden" name="plugin_man_do" value="download_file" />
|
||||
<p>File: <input type="file" name="file" size=30 class=object /> <input type="submit" value="Install" class=button /></p>
|
||||
<%hidden_objects%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
||||
<%endif%>
|
89
site/glist/templates/gossamer/plugin_manager_edit.html
Normal file
89
site/glist/templates/gossamer/plugin_manager_edit.html
Normal file
@ -0,0 +1,89 @@
|
||||
<%if results%>
|
||||
<p><font face="Tahoma,Arial,Helvetica" size="2" color="green"><%results%></font></p>
|
||||
<%endif%>
|
||||
<%if error%>
|
||||
<p><font face="Tahoma,Arial,Helvetica" size="2" color="red"><%error%></font></p>
|
||||
<%endif%>
|
||||
|
||||
<form action="glist.cgi" method="POST">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_manager.html" />
|
||||
<input type="hidden" name="plugin_name" value="<%plugin_name%>" />
|
||||
<input type="hidden" name="plugin_man_do" value="edit_installed" />
|
||||
<input type="hidden" name="edit" value="1" />
|
||||
<%if sid%>
|
||||
<input type=hidden name="sid" value="<%sid%>" />
|
||||
<%endif%>
|
||||
<table border=1 cellpadding=0 cellspacing=0><tr><td>
|
||||
<table border=0 width=500>
|
||||
<tr>
|
||||
<td bgcolor="#E6EAEE" colspan="2" align="center"><font face="Tahoma,Arial,Helvetica" size="3"><b>Plugin Details</b></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<font face="Tahoma,Arial,Helvetica" size="2">Plugin:</font>
|
||||
</td>
|
||||
<td>
|
||||
<font face="Tahoma,Arial,Helvetica" size="2"><%plugin_name%></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<font face="Tahoma,Arial,Helvetica" size="2">Version:</font>
|
||||
</td>
|
||||
<td>
|
||||
<font face="Tahoma,Arial,Helvetica" size="2"><%version%>1</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<font face="Tahoma,Arial,Helvetica" size="2">Author:</font>
|
||||
</td>
|
||||
<td>
|
||||
<font face="Tahoma,Arial,Helvetica" size="2"><%author%></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign=top>
|
||||
<font face="Tahoma,Arial,Helvetica" size="2">License:</font>
|
||||
</td>
|
||||
<td>
|
||||
<font face="Tahoma,Arial,Helvetica" size="2"><%license%></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign=top>
|
||||
<font face="Tahoma,Arial,Helvetica" size="2">Description:</font>
|
||||
</td>
|
||||
<td>
|
||||
<font face="Tahoma,Arial,Helvetica" size="2"><%description%></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2> </td>
|
||||
</tr>
|
||||
<%options%>
|
||||
<%menu%>
|
||||
<%hooks%>
|
||||
</table>
|
||||
</td></tr></table>
|
||||
<br />
|
||||
<table border=1 cellpadding=0 cellspacing=0><tr><td>
|
||||
<table border=0 width=500>
|
||||
<tr>
|
||||
<td align=center><center><input type="submit" value="Update" class=button /></center></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
<%if reload%>
|
||||
<script language="Javascript">
|
||||
<!--
|
||||
open_url("do=admin_page;pg=plugin_manager.html<%if sid%>;sid=<%sid%><%endif%>");
|
||||
// -->
|
||||
</script>
|
||||
<%endif%>
|
101
site/glist/templates/gossamer/plugin_manager_edit_files.html
Normal file
101
site/glist/templates/gossamer/plugin_manager_edit_files.html
Normal file
@ -0,0 +1,101 @@
|
||||
<%if results%>
|
||||
<p class=body><font color="green"><%results%></p>
|
||||
<%endif%>
|
||||
<%if error%>
|
||||
<p class=body><font size="2" color="red"><%error%></font></p>
|
||||
<%endif%>
|
||||
|
||||
<table border=1 cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td>
|
||||
<table border=0 width="100%" cellpadding=2 cellspacing=3>
|
||||
<tr class=body>
|
||||
<td bgcolor="#E6EAEE" colspan="2" align="" class=body><li><b>Plugin Details</b></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Plugin:</td>
|
||||
<td><%plugin_name%></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Version:</td>
|
||||
<td class=body><%if version%><%version%><%endif%></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>Author:</td>
|
||||
<td class=body><%if author%><%author%><%endif%></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body valign=top>License:</td>
|
||||
<td class=body><%if license%><%license%><%endif%></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body valign=top>Description:</td>
|
||||
<td class=body><%description%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body bgcolor="#E6EAEE" colspan="2" align=""><li><b>Plugin Files</b></td>
|
||||
</tr>
|
||||
<%if files%>
|
||||
<tr class=body>
|
||||
<td class=body><%files%></td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
<%if body%>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body bgcolor="#E6EAEE" colspan="2" align=""><li><b>Edit <%body_name%>:</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2>
|
||||
<form action="glist.cgi" method="POST">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_manager.html" />
|
||||
<input type="hidden" name="plugin_name" value="<%plugin_name%>" />
|
||||
<input type="hidden" name="plugin_man_do" value="edit_uninstalled" />
|
||||
<input type="hidden" name="save" value="<%body_name%>" />
|
||||
<textarea name="body" wrap="off" cols="<%if is_ie or is_mozilla%>70<%else%>60<%endif%>" rows=20 <%if is_ie or is_mozilla%>class=object<%endif%>><%body%></textarea>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
<%else%>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body bgcolor="#E6EAEE" colspan="2" align=""><li><b>Add New File:</b></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td colspan=2 class=body>
|
||||
<form action="glist.cgi" method="POST" enctype="multipart/form-data">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_manager.html" />
|
||||
<input type="hidden" name="plugin_name" value="<%plugin_name%>" />
|
||||
<input type="hidden" name="plugin_man_do" value="edit_uninstalled" />
|
||||
<table>
|
||||
<tr class=body>
|
||||
<td class=body> Upload File:</td>
|
||||
<td><input type="file" name="filebody" size=30 class=object /></td>
|
||||
</tr>
|
||||
<tr class=body>
|
||||
<td class=body>File Name:</td>
|
||||
<td><input type="text" size=30 name="add" class=object /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br /><br />
|
||||
<p align=center><input type="submit" value="Update <%plugin_name%>" name="next" class=button /></p>
|
||||
<%if sid%>
|
||||
<input type=hidden name="sid" value="<%sid%>" />
|
||||
<%endif%>
|
||||
</form>
|
21
site/glist/templates/gossamer/plugin_manager_list.html
Normal file
21
site/glist/templates/gossamer/plugin_manager_list.html
Normal file
@ -0,0 +1,21 @@
|
||||
<%if results%>
|
||||
<p><font face="Tahoma,Arial,Helvetica" size="2" color="green"><%results%></font></p>
|
||||
<%endif%>
|
||||
<%if error%>
|
||||
<p><font face="Tahoma,Arial,Helvetica" size="2" color="red"><%error%></font></p>
|
||||
<%endif%>
|
||||
|
||||
<%if installed%>
|
||||
<p><font face="Tahoma,Arial,Helvetica" size="2"><b><%installed%></b></font></p>
|
||||
<%endif%>
|
||||
<%if uninstalled%>
|
||||
<p><font face="Tahoma,Arial,Helvetica" size="2"><b><%uninstalled%></b></font></p>
|
||||
<%endif%>
|
||||
<%if reload%>
|
||||
<script language="Javascript">
|
||||
<!--
|
||||
open_url("glist.cgi?do=admin_page&pg=plugin_manager.html<%if sid%>&sid=<%sid%><%endif%>")
|
||||
// -->
|
||||
</script>
|
||||
<%endif%>
|
||||
|
@ -0,0 +1,38 @@
|
||||
<form action="glist.cgi" method="POST">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_manager.html" />
|
||||
<input type="hidden" name="plugin_name" value="<%plugin_name%>" />
|
||||
<input type="hidden" name="plugin_man_do" value="install" />
|
||||
<%if sid%>
|
||||
<input type=hidden name="sid" value="<%sid%>" />
|
||||
<%endif%>
|
||||
<p class=body><b>About to install plugin: <%plugin_name%></b></font></p>
|
||||
|
||||
<%if error%>
|
||||
<p class=body><font color="red">Error loading plugin: <%error%></font></p>
|
||||
<%endif%>
|
||||
|
||||
<%if instructions%>
|
||||
<p class=body>Please read the following instructions from the <%plugin_name%> author:
|
||||
<br /><br />
|
||||
<%instructions%>
|
||||
</font></p>
|
||||
<%endif%>
|
||||
|
||||
<br /><br />
|
||||
|
||||
<%if confirm%>
|
||||
<input type="hidden" name="confirm" value="1" />
|
||||
<p class=body><b>Plugin Exists!</b></font></p>
|
||||
<p><font face="Tahoma,Arial,Helvetica" size="2"><%plugin_name%> plugin already exists. Do you want to overwrite version <b><%old_version%></b> with <b><%new_version%></b>: <br /><br />
|
||||
<input type="submit" value="Overwrite" class=button />
|
||||
<input type="submit" name="skip_install" class=button value="Overwrite and Skip Install" />
|
||||
<input type="button" onClick="history.go(-1)" value="Abort Install" class=button />
|
||||
</p>
|
||||
<%endif%>
|
||||
<%ifnot confirm%>
|
||||
<table border="1" cellpadding=0 cellspacing=0><tr><td><table border=0 width=500><tr><td>
|
||||
<center><font face="Tahoma,Arial,Helvetica" size="2"><input type="submit" value="Install" class=button /></font></center>
|
||||
</td></tr></table></td></tr></table>
|
||||
<%endif%>
|
||||
</form>
|
@ -0,0 +1,30 @@
|
||||
<form action="glist.cgi" method="POST">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_manager.html" />
|
||||
<input type="hidden" name="plugin_name" value="<%plugin_name%>" />
|
||||
<input type="hidden" name="plugin_man_do" value="uninstall" />
|
||||
<p class=body><b>About to remove plugin: <%plugin_name%></b></font></p>
|
||||
|
||||
<%if error%>
|
||||
<p class=body><font color="red">Error loading plugin: <%error%></font></p>
|
||||
<%endif%>
|
||||
|
||||
<%if instructions%>
|
||||
<p class=body>Please read the following instructions from the <%plugin_name%> author:
|
||||
<br /><br />
|
||||
<%instructions%>
|
||||
</font></p>
|
||||
<%endif%>
|
||||
|
||||
<br /><br />
|
||||
|
||||
<table border="1" cellpadding=0 cellspacing=0><tr><td><table border=0 width=550><tr><td>
|
||||
<center><font face="Tahoma,Arial,Helvetica" size="2">
|
||||
<input type="submit" class=button value="Full Uninstall (Recommended)" />
|
||||
<input type="submit" name="skip_uninstall" value="Skip Plugin Uninstall" class=button />
|
||||
</font></center>
|
||||
</td></tr></table></td></tr></table>
|
||||
<%if sid%>
|
||||
<input type=hidden name="sid" value="<%sid%>" />
|
||||
<%endif%>
|
||||
</form>
|
50
site/glist/templates/gossamer/plugin_wizard.html
Normal file
50
site/glist/templates/gossamer/plugin_wizard.html
Normal file
@ -0,0 +1,50 @@
|
||||
<%GList::Plugins::wizard%>
|
||||
<%set book_mark = 'wizard'%>
|
||||
<%include include_header.html%>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
|
||||
<tr>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include plugin_include_menu.html%></td>
|
||||
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="97%" colspan="3" valign="top">
|
||||
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
|
||||
<tr class="bold_white">
|
||||
<td class="bold_white" height="20"><img src="<%image_url%>/icons/plugin_wizard.gif" align="texttop" hspace="2" vspace="0">
|
||||
Plugin Wizard -
|
||||
<%ifnot plugin_wiz_do%>Step 1: Name your plugin
|
||||
<%elsif plugin_wiz_do eq 'step2'%> Step 2: Meta Information for <%plugin_name%>
|
||||
<%elsif plugin_wiz_do eq 'step3'%> Step 3: Plugin Hooks for <%plugin_name%>
|
||||
<%elsif plugin_wiz_do eq 'step4'%> Step 4: Plugin Admin Menu for <%plugin_name%>
|
||||
<%elsif plugin_wiz_do eq 'step5'%> Step 5: Plugin User Options for <%plugin_name%>
|
||||
<%elsif plugin_wiz_do eq 'step6'%> Step 6: Included Files for <%plugin_name%>
|
||||
<%elsif plugin_wiz_do eq 'step7'%> Step 7: Install Information for <%plugin_name%>
|
||||
<%elsif plugin_wiz_do eq 'create'%> Step 8: All Finished!
|
||||
<%endif%>
|
||||
</td>
|
||||
<td align="right"><a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br /><br />
|
||||
<ul><p class=body align=center>This wizard will walk you through some questions and create a plugin shell for you to use. </p></ul>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1" align="center" height=60%>
|
||||
<tr class=body>
|
||||
<td valign="middle" class=body align=center>
|
||||
<%content%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%include include_footer.html%>
|
53
site/glist/templates/gossamer/plugin_wizard_step1.html
Normal file
53
site/glist/templates/gossamer/plugin_wizard_step1.html
Normal file
@ -0,0 +1,53 @@
|
||||
<table border="1" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0" cellpadding="3" width="500">
|
||||
<tr class=body>
|
||||
<td class=body>
|
||||
Welcome to the plugin wizard. This wizard will ask you a few questions about your plugin, and then create an install template and code
|
||||
template which you can edit later.<br /><br />
|
||||
To begin with, we need to know the name of your plugin. The name
|
||||
will be used to determine the package the plugin resides in, so it
|
||||
must be a valid perl package space. You should start with capitals,
|
||||
and capitlize words as in: SearchLogger or SearchCache.
|
||||
<%if error%>
|
||||
<p class=body><font color=red><b><%error%></b></font></p>
|
||||
<%endif%>
|
||||
<table border="0" cellpadding="3" width="100%">
|
||||
<tr>
|
||||
<td width="40%" valign="top"><font face="Tahoma,Arial,Helvetica" size="2">Create new plugin named:</font></td>
|
||||
<td width="60%" valign="top">
|
||||
<form method="POST" action="glist.cgi">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_wizard.html" />
|
||||
<input type="hidden" name="plugin_wiz_do" value="step2" />
|
||||
<input type="text" name="plugin_name" size="20" class=object> <input type="submit" value="Next >>" name="next" class=button />
|
||||
<%if sid%>
|
||||
<input type=hidden name="sid" value="<%sid%>" />
|
||||
<%endif%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<%if edit%>
|
||||
<tr class=body>
|
||||
<td width="40%" valign="top" class=body>Use existing plugin:</td>
|
||||
<td width="60%" valign="top" class=body>
|
||||
<form method="POST" action="glist.cgi">
|
||||
<input type="hidden" name="do" value="admin_page" />
|
||||
<input type="hidden" name="pg" value="plugin_wizard.html" />
|
||||
<input type="hidden" name="plugin_wiz_do" value="step2" />
|
||||
<%edit%> <input type="submit" value="Next >>" name="next" class=button />
|
||||
<%if sid%>
|
||||
<input type=hidden name="sid" value="<%sid%>" />
|
||||
<%endif%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<%endif%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user