home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
FAQ
/
discus_admin_1357211388
/
template
/
ui
/
fpanel.tmpl
< prev
next >
Wrap
Text File
|
2009-11-06
|
4KB
|
93 lines
# FILE: fpanel.tmpl
# DESCRIPTION: User interface formatting assistance panel
# Copyright (c) 2002, DiscusWare, LLC, all rights reserved
# -------------------------------------------------------------------------------------------
<!--BEGIN-->
<#define $link = ""#>
<#define array @colors (_index, hex, text, tag)#>
1 #000000 \u$L{PANEL_COLOR_BLACK} $L{PANEL_COLOR_BLACK}
2 #ff0000 \u$L{PANEL_COLOR_RED} $L{PANEL_COLOR_RED}
3 #119911 \u$L{PANEL_COLOR_GREEN} $L{PANEL_COLOR_GREEN}
4 #0000ff \u$L{PANEL_COLOR_BLUE} $L{PANEL_COLOR_BLUE}
5 #ffff00 \u$L{PANEL_COLOR_YELLOW} $L{PANEL_COLOR_YELLOW}
6 #aa00aa \u$L{PANEL_COLOR_PURPLE} $L{PANEL_COLOR_PURPLE}
7 #ff6000 \u$L{PANEL_COLOR_ORANGE} $L{PANEL_COLOR_ORANGE}
8 #0077aa \u$L{PANEL_COLOR_CYAN} $L{PANEL_COLOR_CYAN}
9 #808080 \u$L{PANEL_COLOR_GRAY} $L{PANEL_COLOR_GRAY}
10 #ffffff \u$L{PANEL_COLOR_WHITE} $L{PANEL_COLOR_WHITE}
<#/define#>
<#define array @fonts (display, actual, tag)#>
Arial arial,helvetica arial\,helvetica
Courier courier new,courier courier new\,courier
Symbol symbol symbol
Times times new roman,times,roman times new roman\,times\,roman
Verdana verdana,arial,helvetica verdana\,arial\,helvetica
<#/define#>
<script language="JavaScript">
<!--
img_bold_up = new Image();
img_bold_dn = new Image();
img_ital_up = new Image();
img_ital_dn = new Image();
img_undl_up = new Image();
img_undl_dn = new Image();
img_link_up = new Image();
img_link_dn = new Image();
img_bold_up.src = "$icon_url/bold-up.gif";
img_bold_dn.src = "$icon_url/bold-dn.gif";
img_ital_up.src = "$icon_url/ital-up.gif";
img_ital_dn.src = "$icon_url/ital-dn.gif";
img_undl_up.src = "$icon_url/undl-up.gif";
img_undl_dn.src = "$icon_url/undl-dn.gif";
img_link_up.src = "$icon_url/link-up.gif";
img_link_dn.src = "$icon_url/link-dn.gif";
// -->
</script>
<table bordercolordark="#000000" bordercolorlight="#c0c0c0" border=1 bgcolor="#d7d7d7">
<tr><td valign=bottom nowrap>
<a href="#" onClick="return bolder()"><img name="button_b" border=0 height=22 width=23 src="$icon_url/bold-up.gif" alt="$L{PANEL_MAKES_TEXT_BOLD}"></a>
<a href="#" onClick="return italic()"><img name="button_i" border=0 height=22 width=23 src="$icon_url/ital-up.gif" alt="$L{PANEL_MAKES_TEXT_ITALIC}"></a>
<a href="#" onClick="return underl()"><img name="button_u" border=0 height=22 width=23 src="$icon_url/undl-up.gif" alt="$L{PANEL_MAKES_TEXT_UNDERLINE}"></a>
<a href="#" onClick="return linky_click('$L{PANEL_CREATE_YOUR_LINK}')"><img name="button_link" border=0 height=22 width=23 src="$icon_url/link-up.gif" alt="$L{PANEL_MAKES_TEXT_LINK}"></a>
<a href="#" onClick="window.open('$script_url/board-image-lister.$cgi_extension?popup=1', 'smily', 'height=400,width=500,scrollbars=yes,resizeable=yes'); return false;"><img src="$icon_url/smiley.gif" border=0 height=22 width=23 alt="$L{PANEL_MAKES_TEXT_CLIPART}"></a>
<select name="color" size="1" onChange="colorsel()">
<option value="">$L{PANEL_COLOR_HEADER}</option>
<#foreach $colors (@colors)#>
<option value="$colors->{tag}" style="color: $colors->{hex}; background-color: $colors->{hex}">$colors->{text}</option>
<#endloop#>
</select>
<select name="font" size="1" onChange="fontsel()">
<option value="">$L{PANEL_FONT_HEADER}</option>
<#foreach $font (@fonts)#>
<option value="$font->{tag}" style="font: 8pt $font->{actual}">$font->{display}</option>
<#endloop#>
</select>
<select name="size" size="1" onChange="sizesel()">
<option value="">$L{PANEL_SIZE_HEADER}</option>
<option value="-2">$L{PANEL_SIZE_MINUS_TWO}</option>
<option value="-1">$L{PANEL_SIZE_MINUS_ONE}</option>
<option value="">$L{PANEL_SIZE_ZERO}</option>
<option value="1">$L{PANEL_SIZE_PLUS_ONE}</option>
<option value="2">$L{PANEL_SIZE_PLUS_TWO}</option>
</select>
<input type=hidden name="format_clr" value="0">
<input type=hidden name="format_font" value="0">
<input type=hidden name="format_size" value="0">
<input type=hidden name="format_link" value="0">
<input type=hidden name="format_b" value="0">
<input type=hidden name="format_i" value="0">
<input type=hidden name="format_u" value="0">
<input type=hidden name="inserter" value="" onClick="smiley()" onChange="smiley()">
<input type=hidden name="tagname" value="clipart">
</td></tr>
</table>
<br>
<!--END-->