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
/
locater.tmpl
< prev
next >
Wrap
Text File
|
2009-11-06
|
5KB
|
134 lines
# FILE: locater.html
# DESCRIPTION: Destination tree for moving messages and subtopics
# Copyright (c) 2002, DiscusWare, LLC, all rights reserved
# -------------------------------------------------------------------------------------------
<!--BEGIN-->
<html><head><title>Select Destination...</title>
<style>
<!--
body { font: 10pt verdana,arial,helvetica; line-spacing: 0 }
td { font: 10pt verdana,arial,helvetica; line-spacing: 0 }
-->
</style>
<script language="JavaScript">
<!--
function t(num) {
document.q.t.value = num;
document.q.m.value = num;
document.q.submit();
return false;
}
function e(num) {
document.q.m.value = num;
document.q.submit();
return false;
}
function s(num) {
var w = window.opener.document.{#if $general->{form} ne ""#}$general->{form}{#else#}d{#endif#};
w.dest_topic.value = '$general->{topic_open}';
w.dest_page.value = num;
self.close();
return false;
}
function st(num) {
var w = window.opener.document.{#if $general->{form} ne ""#}$general->{form}{#else#}d{#endif#};
w.dest_topic.value = num;
w.dest_page.value = num;
self.close();
return false;
}
// -->
</script>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000ff">
<center><font size=3><b>Select Destination</b></font></center>
<hr>
<table cellpadding=2>
<tr>
<td>Open Folders:</td>
<td><img src="$icon_url/tree_a.gif" width=20 height=16 alt="">/<img src="$icon_url/tree_c.gif" width=20 height=16 alt=""></td>
</tr>
<tr>
<td>Unavailable:</td>
<td><img src="$icon_url/tree_k.gif" width=20 height=16 alt=""></td>
</tr>
<tr>
<td>Select:</td>
<td><img src="$icon_url/tree_l.gif" width=20 height=16 alt=""></td>
</tr>
</table>
<hr>
<img src="$general->{icon_url}/tree_g.gif" height=16 width=20 align=top>$title<br>
<#foreach $topic_tree (@topic_tree)#>
<#if $topic_tree->{number} == $general->{cutoff}#><b>\
<#if $topic_tree->{number} != $general->{topic_open}#>
<a href="#" onClick="return t('$topic_tree->{number}')">\
<img align=top height=16 width=20 border=0 src="$general->{icon_url}/tree_\
<#if $topic_tree->{_is_last_element}#>c<#else#>a<#endif#>.gif"></a>\
<#else#>
<img align=top height=16 width=20 border=0 src="$general->{icon_url}/tree_\
<#if $topic_tree->{_is_last_element}#>f<#else#>e<#endif#>.gif">\
<#endif#>
<a href="#" onClick="return st('$topic_tree->{number}')">\
<img align=top height=16 width=20 border=0 src="$general->{icon_url}/tree_l.gif">\
</a>\
$topic_tree->{name}<br>
<#if $topic_tree->{number} == $general->{cutoff}#></b>
<#if $topic_tree->{number} == $general->{topic_open}#>
<#foreach $subtopic (@subtopic_tree)#>
<#if $subtopic->{page} == $general->{cutoff}#><b>\
<#define $flag = "0"#>
<#if $topic_tree->{_is_last_element}#>
<img src="$general->{icon_url}/tree_j.gif" height=16 width=20 border=0 align=top>\
<#else#>
<img src="$general->{icon_url}/tree_i.gif" height=16 width=20 border=0 align=top>\
<#endif#>
<#define $i = 1#>
<#while ($i < $subtopic->{level})#>
<#if $disp_icon[$i] == 0#>
<img src="$general->{icon_url}/tree_j.gif" height=16 width=20 border=0 align=top>\
<#else#>
<img src="$general->{icon_url}/tree_i.gif" height=16 width=20 border=0 align=top>\
<#endif#>
<#math: $i += 1#>
<#/while#>
<#if $subtopic->{open} == 1 || $subtopic->{param} !~ match(Sublist) || $subtopic->{unavail} == 1#>
<img src="$general->{icon_url}/tree_{#if $subtopic->{last_of_parent}#}f{#else#}e{#endif#}.gif" height=16 width=20 align=top>\
<#else#>
<a href="#" onClick="return e('$subtopic->{page}')">\
<img src="$general->{icon_url}/tree_{#if $subtopic->{last_of_parent}#}c{#else#}a{#endif#}.gif" height=16 width=20 border=0 align=top>\
</a>\
<#endif#>
<#if $subtopic->{last_of_parent}#>
<#define $disp_icon[$subtopic->{level}] = "0"#>
<#else#>
<#define $disp_icon[$subtopic->{level}] = "1"#>
<#endif#>
<#if $subtopic->{unavail} == 1#>
<img src="$general->{icon_url}/tree_k.gif" height=16 width=20 border=0 align=top>\
<#else#>
<a href="#" onClick="return s('$subtopic->{page}')"><img src="$general->{icon_url}/tree_l.gif" height=16 width=20 border=0 align=top></a>\
<#endif#>
<#maxchar 60/... "$subtopic->{name}"#><br>
<#if $subtopic->{page} == $general->{cutoff}#></b>\
<#endloop#>
<#endif#>
<#endloop#>
<form action="$cgiurl" method="post" name="q">
<input type=hidden name="username" value="$general->{username}">
<input type=hidden name="t" value="$general->{topic_open}">
<input type=hidden name="form" value="$general->{form}">
<input type=hidden name="ty" value="$general->{type}">
<input type=hidden name="m" value="">
<input type=hidden name="x" value="$general->{cutoff}">
<input type=hidden name="action" value="{#if $general->{action} ne ""#}$general->{action}{#else#}pm-pgtree{#endif#}">
</form>
</body>
</html>
<!--END-->