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

63 lines
3.0 KiB
HTML

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