home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
FAQ
/
cgi-bin
/
discus4_00
/
source
/
img-list.tmpl
< prev
next >
Wrap
Text File
|
2009-11-06
|
2KB
|
92 lines
# FILE: img-list.tmpl
# DESCRIPTION: List of clipart images
# Copyright (c) 2002, DiscusWare, LLC, all rights reserved
# -------------------------------------------------------------------------------------------
# Translation note: This file is drawn from language.conf and should not itself need
# to be translated.
<!--BEGIN-->
<#define $pagetitle = "$general->{pagetitle}"#>
<html>
<head>
<title>$pagetitle</title>
<style>
<!--
body { font-family: $color->{face}; line-spacing: 0 }
td.nb { font: 10pt $color->{face} }
td.bb { font: 10pt $color->{face}; font-weight: bold }
p { font: 10pt $color->{face}; }
-->
</style>
<#if $general->{popup} == 1#>
<script language="JavaScript">
<!--
function ins (img) {
# alert('foo')
if (typeof window.opener.document.userpass.message.createTextRange != 'undefined') {
window.opener.document.userpass.inserter.value = img;
if (typeof window.opener.document.userpass.tagname != 'undefined') {
window.opener.document.userpass.tagname.value = "$general->{clip_tag}";
}
window.opener.document.userpass.inserter.click();
} else {
window.opener.document.userpass.message.value += "\\$general->{clip_tag}" + "{" + img + "}";
window.opener.document.userpass.message.focus();
}
self.close();
}
// -->
</script>
</head>
<body bgcolor="$color->{bgcolor}" text="$color->{text}"{#if $color->{image}#} background="$color->{image}"#}>
<font face="$color->{face}" size="$color->{size}">
<p>
$L{IMAGE_POPUP}
</p>
<table border=1>
<#foreach $image (@images)#>
<#if [$image->{_iteration} % 7] == 1 && $image->{_is_first_element} == 0#></tr><tr>
<#if $image->{_is_first_element} == 1#><tr>
<td><a href="#" onClick="ins('$image->{shownfile}'); return false"><img src="$general->{image_url}/$image->{filename}" border=0></a></td>
<#endloop#>
</tr>
</table>
</body>
</html>
<#else#>
<#insert part () "dynamic_top"#>
<#if $browser->{dhtml} == 0#><font face="$color->{face}" size="$color->{size}">
<p>
$L{ILINSTR}
</p>
<table border=1>
<tr>
<td class="bb">$L{ILTAG}</td>
<td class="bb">$L{ILIMAGE}</td>
</tr>
<#foreach $image (@images)#>
<tr>
<td class="nb">\$general->{clip_tag}{$image->{shownfile}}</td>
<td><img src="$general->{image_url}/$image->{filename}"></td>
</tr>
<#endloop#>
</table>
<!-- $general->{regexp} -->
<#insert part () "dynamic_bottom"#>
<#endif#>
<!--END-->