discourse-legacysite-perl/site/glist/templates/gossamer/mli_include_nav.html
2024-06-17 22:24:05 +10:00

156 lines
7.5 KiB
HTML

<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%">&nbsp;</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>&nbsp;</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>