home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
FAQ
/
discus_admin_1357211388
/
template
/
admin
/
subprops.tmpl
< prev
next >
Wrap
Text File
|
2009-11-06
|
10KB
|
264 lines
# FILE: subprops.html
# DESCRIPTION: Subtopic Properties Editor
# Copyright (c) 2002, DiscusWare, LLC, all rights reserved
# -------------------------------------------------------------------------------------------
<!--BEGIN-->
<#define array @available_icons(name,full_url)#>
tree_n $icon_url/tree_n.gif
tree_m $icon_url/tree_m.gif
tree_o $icon_url/tree_o.gif
tree_r $icon_url/tree_r.gif
tree_u $icon_url/tree_u.gif
tree_t $icon_url/tree_t.gif
<#/define#>
<html><head><title>Subtopic Properties</title>
<style>
.blbar {font: 11pt verdana,arial,helvetica; color: #ffff00; background-color: #000000; width: 100% }
.surround {border: thin black inset; width: 100%; font: 10pt verdana,arial,helvetica }
.normal {font: 10pt verdana,arial,helvetica}
.comment {font: 9pt verdana,arial,helvetica; margin-left: 20pt; }
p { margin-left: 2pt; }
p.blbar {margin-left: 0pt; font: 11pt verdana,arial,helvetica; color: #ffff00; background-color: #000000; width: 100% }
td.ub {font: bold 9pt verdana,arial,helvetica}
td.unb {font: 9pt verdana,arial,helvetica}
</style>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000ff">$fs
<font size=3><b><center>Subtopic Properties</center></b></font>
<hr>
<strong>
<a href="$cgiurl?username=$general->{username}&action=pm-mgr_1">Page Manager</a>:
<#if $head->{me_number} != $head->{topic_number}#>
<a href="$cgiurl?username=$general->{username}&action=pm-page_editor&menu=2&HTTP_REFERER=/$head->{topic_number}/$head->{topic_number}">$head->{topic_name}</a>:
<#endif#>
<#foreach $level (@levels)#>
<#if $level->{level_number} > 0#>
<#if $level->{level_number} != $head->{me_number}#>
<a href="$cgiurl?username=$general->{username}&action=pm-page_editor&menu=2&HTTP_REFERER=/$head->{topic_number}/$level->{level_number}">$level->{level_name}</a>:
<#endif#>
<#endif#>
<#endloop#>
<#if $general->{type} == 0#>
Properties for '$head->{me_name}'
<#else#>
<a href="$cgiurl?username=$general->{username}&action=pm-page_editor&menu=2&HTTP_REFERER=/$head->{topic_number}/$head->{me_number}">$head->{me_name}</a>:
Properties for '$general->{subtopic}'
<#endif#>
</strong>
<hr>
<#if $stuff->{what} > 0#>
<table width=100% bgcolor=#ccffcc border=0><tr><td>$fs
<b>Note:</b> Successfully saved new properties#>
</font></td></tr></table>
<p>
<#endif#>
<#if $general->{type} == 0#>
<form action="$cgiurl" method="post" name="tf">
<input type="hidden" name="username" value="$general->{username}">
<input type="hidden" name="action" value="pm-subtopic_rename">
<input type="hidden" name="topic" value="$general->{topic}">
<input type="hidden" name="page" value="$general->{page}">
<input type="hidden" name="num" value="$general->{num}">
<#insert part ($general->{topic}) "INIT"#>
<div class="surround">
{#if $browser->{ieX}#}<p class="blbar">Rename Subtopic</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Rename Subtopic</font></font></td></tr></table>{#endif#}
<p>
To rename this subtopic, enter a new name in the box below.
</p>
<ul>
<table>
<tr>
<td width=20% class=ub>Subtopic Name:</td>
<td width=80%><input type=text name="name" value="<#form escape "$edit->{subtopic_name}"#>" size=45></td>
</tr>
</table>
<p>
<input type=submit value="Rename Subtopic">
</p>
</ul>
</div>
</form>
<form action="$cgiurl" method="post" name="tf">
<input type="hidden" name="username" value="$general->{username}">
<input type="hidden" name="action" value="pm-subtopic_props">
<input type="hidden" name="num" value="$general->{num}">
<input type="hidden" name="HTTP_REFERER" value="$general->{topic}/$general->{page}">
<div class="surround">
{#if $browser->{ieX}#}<p class="blbar">Subtopic Properties</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Subtopic Properties</font></font></td></tr></table>{#endif#}
<p>
Modify any of the properties for this subtopic using the form below.
</p>
<ul>
<table>
<tr>
<td valign=top class=ub>Subtopic Description:</td>
<td valign=top><textarea name="descr" rows=5 cols=45 wrap=virtual>$edit->{descr}</textarea></td>
</tr>
<tr>
<td valign=top class=ub>Subtopic Icon:</font></td>
<td valign=top>
<table>
<tr>
<#foreach $icon (@available_icons)#>
<td width=50><input type=radio name=icon value="$icon->{name}"{#if $edit->{icon} eq $icon->{name}#} checked{#endif#}>\
<img src="$icon->{full_url}" height=16 width=20></td>
<#endloop#>
</tr>
</table>
</td></tr>
<#if $GLOBAL_OPTIONS->{subtopic_icons}#>
<tr>
<td valign=top class=ub>Emoticon:</td>
<td valign=top>
<table><tr>
<td width=50><input type=radio name="emoticon" value=""></td>
<#foreach $subtopic_icon (@subtopic_icons)#>
<#if [ $subtopic_icon->{_iteration} % 7 ] == 0#>
</tr><tr>
<#endif#>
<td width=50><input type=radio name="emoticon" value="$subtopic_icon->{name}"{#if $edit->{subicon} eq $subtopic_icon->{name}#} checked{#endif#}>\
<img src="$subtopic_icon->{url}" height="$subtopic_icon->{height}" width="$subtopic_icon->{width}"></td>
<#endloop#>
</tr></table>
</td>
</tr>
<#endif#>
</table>
</td>
</tr>
</table>
<p>
<input type=submit value="Save Properties">
</p>
</ul>
</div>
</form>
<form action="$cgiurl" method="post" name="tf">
<input type="hidden" name="username" value="$general->{username}">
<input type="hidden" name="action" value="pm-subtopic_meta">
<input type="hidden" name="num" value="$general->{num}">
<input type="hidden" name="HTTP_REFERER" value="$general->{topic}/$general->{page}">
<div class="surround">
{#if $browser->{ieX}#}<p class="blbar">META Tags</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>META Tags</font></font></td></tr></table>{#endif#}
<p>
Modify the META tags used for this subtopic page using the form below. Also select
whether the META tags you choose should be applied to all pages below this subtopic
page.
</p>
<ul>
<table>
<tr>
<td class=ub>Description:</td>
<td><input type=text name="meta_description" value="$meta->{meta_description}" size=45></td>
</tr>
<tr>
<td class=ub>Keywords:</font></td>
<td><input type=text name="meta_keywords" value="$meta->{meta_keywords}" size=45></td>
</tr>
<tr>
<td class=ub>Robots:</font></td>
<td><input type=text name="meta_robots" value="$meta->{meta_robots}" size=45></td>
</tr>
<tr>
<td class=unb colspan=2><input type=checkbox name="meta_check" value="1" checked>
Apply these META tags to all pages below this subtopic page
</td></tr>
</table>
<p>
<input type=submit value="Save META Tags">
</p>
</ul>
</div>
</form>
<#endif#>
<#if $general->{type} == 1#>
<#if $general->{saved} == 1#>
<table width=100% bgcolor=#ccffcc border=0><tr><td>$fs
<b>Note:</b> Successfully saved new link properties</font></td></tr></table>
<#endif#>
<form action="$cgiurl" method="post" name="tf">
<input type="hidden" name="username" value="$general->{username}">
<input type="hidden" name="action" value="pm-link_props">
<input type="hidden" name="num" value="$general->{num}">
<input type="hidden" name="HTTP_REFERER" value="$general->{topic}/$general->{page}">
<#insert part ($general->{topic}) "INIT"#>
<div class="surround">
{#if $browser->{ieX}#}<p class="blbar">Link Properties</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Link Properties</font></font></td></tr></table>{#endif#}
<p>
Modify any of the properties for this link using the form below.
</p>
<ul>
<table>
<tr>
<td valign=top class=ub>Link Name:</td>
<td valign=top><input name="name" size=40 value="<#form escape "$edit->{subtopic_name}"#>"></td>
</tr>
<tr>
<td valign=top class=ub>URL:</td>
<td valign=top><input name="URL" size=40 value="<#form escape "$edit->{url}"#>"></td>
</tr>
<tr>
<td valign=top class=ub>Target:</td>
<td valign=top><select name="target" size=1>
<option value="_self"{#if $edit->{target} eq "_self"#} selected{#endif#}>Same Frame</option>
<option value="Main"{#if $edit->{target} eq "Main"#} selected{#endif#}>Right Frame</option>
<option value="_top"{#if $edit->{target} eq "_top"#} selected{#endif#}>Top Frame</option>
<option value="_parent"{#if $edit->{target} eq "_parent"#} selected{#endif#}>Parent Frame</option>
<option value="_blank"{#if $edit->{target} eq "_blank"#} selected{#endif#}>New Window</option>
</select></td>
</tr>
<tr>
<td valign=top class=ub>Description:</td>
<td valign=top><textarea name="descr" rows=5 cols=45 wrap=virtual><#form escape "$edit->{descr}"#></textarea></td>
</tr>
<tr>
<td valign=top class=ub>Icon:</font></td>
<td valign=top>
<table>
<tr>
<#foreach $icon (@available_icons)#>
<td width=50><input type=radio name=icon value="$icon->{name}"{#if $edit->{icon} eq $icon->{name}#} checked{#endif#}>\
<img src="$icon->{full_url}" height=16 width=20></td>
<#endloop#>
</tr>
</table>
</td></tr>
<#if $GLOBAL_OPTIONS->{subtopic_icons}#>
<tr>
<td valign=top class=ub>Emoticon:</td>
<td valign=top>
<table><tr>
<td width=50><input type=radio name="emoticon" value=""></td>
<#foreach $subtopic_icon (@subtopic_icons)#>
<#if [ $subtopic_icon->{_iteration} % 7 ] == 0#>
</tr><tr>
<#endif#>
<td width=50><input type=radio name="emoticon" value="$subtopic_icon->{name}"{#if $edit->{subicon} eq $subtopic_icon->{name}#} checked{#endif#}>\
<img src="$subtopic_icon->{url}" height="$subtopic_icon->{height}" width="$subtopic_icon->{width}"></td>
<#endloop#>
</tr></table>
</td>
</tr>
<#endif#>
</table>
</td>
</tr>
</table>
<p>
<input type=submit value="Save Properties">
</p>
</ul>
</div>
</form>
<#endif#>
</font></body></html>
<!--END-->