| Current File : //var/wcp4/demo1812/public_html/tmp/templates/common/compiled/editor_editor.html.compiled |
# This file is a compiled version of a template that can be run much faster
# than reparsing the file, yet accomplishes the same thing. You should not
# attempt to modify this file as any changes you make would be lost as soon as
# the original template file is modified.
# Generated: Tue Aug 19 14:51:56 2003
# Editor: vim:syn=perl
local $^W;
{
parse_date => 1061275916,
deps => ["REL\:include_css\.html"],
parser_version => 2.078,
file_type => 'REL',
code => \>::Template::parsed_template
};
sub GT::Template::parsed_template {
local $^W; # Get rid of warnings. unfortunately, this won't work for Perl 5.6's -W switch
my $self = shift;
my $return = '';
my $escape = $self->{opt}->{escape};
my $strict = $self->{opt}->{strict};
my $tmp;
#
#
#editor_editor.html
#
#This file is used as the actual part where you write the
#post or message. This file should contain ONLY up and
#including the <body> tag of the page. The </body></html>
#will be added automatically. Take care when changing the
#body tag - it must have contenteditable="true" and id="post"
#or you will BREAK THE ADVANCED EDITOR.
#
$return .= q{
<html>
<head>
<script>
var host = window.location.protocol + '//' + window.location.hostname
document.write('<base href="' + host + '">');
</script>
<style>
body \{
font-family : "};
$return .= $tmp if defined($tmp = $self->_get_var(q{advanced_editor_font}, $escape, $strict));
$return .= q{";
\}
</style>
};
{; #Including /var/wcp4/northford/public_html/file/private/templates/common/include_css.html
#
#
#File
#====
#include_css.html
#
#Description
#===========
#The CSS to be included in every single page.
#
$return .= q{
<style type="text/css" media="screen">
<!--
body \{ scrollbar-base-color: };
$return .= $tmp if defined($tmp = $self->_get_var(q{scrollbar_base_color}, $escape, $strict));
$return .= q{; scrollbar-arrow-color: };
$return .= $tmp if defined($tmp = $self->_get_var(q{scrollbar_arrow_color}, $escape, $strict));
$return .= q{; \}
a.menu:link,a.menu:visited \{ font-size:11; color:black; text-decoration:none; font-face:'Verdana,Helvetica,Arial'; font-weight:600; \}
a.menu:hover \{ font-size:11; color:#256A19; text-decoration:underline; font-face:'Verdana,Helvetica,Arial'; font-weight:600; \}
.submit \{ background-color:#7a9f54; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:10px; color:white; font-weight:bold; \}
.button \{ background-color:#c5e1a3; color: black; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; \}
\}
-->
</style>
};
} # Done include
$return .= q{
<script>
document.onkeydown = function () \{
var keyCode = event.keyCode;
if ( event.ctrlKey) \{
if ( keyCode == 90 ) top.mainfrm.undo()
else if ( keyCode == 89 ) top.mainfrm.redo()
\}
else if (( keyCode >=37 && keyCode <=40 ) || keyCode == 13 ) top.mainfrm.insItem()
else if (( keyCode >=48 && keyCode <=57 ) || ( keyCode >=65 && keyCode<=90 )) top.mainfrm.cleStack();
\}
document.onmousedown = function () \{
//top.mainfrm.insItem()
\}
</script>
</head>
<body contenteditable="true" id="inner_content">
};
return \$return;
}