Update of /cvsroot/phpslash/phpslash-dev/include/templates/en/basiccurves
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15732/phpslash-dev/include/templates/en/basiccurves
Added Files:
slashHead-fckeditor.tpl
Log Message:
added fckeditor to comment submittal.
--- NEW FILE: slashHead-fckeditor.tpl ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<!-- START slashHead.tpl -->
<html>
<head>
<title>{SITE_NAME} - {SECTION} {SITETITLE}</title>
<!-- Enter Your Desired META Tags Below Here -->
<!-- This Meta Tag is Defined In Each Page By Setting The Variable
$xsiteobject = "HomePage"; to the page type HomePage, Glossary,
Info, etc.. -->
<meta name="object" content="{XSITEOBJECT}" />
<!-- Enter Your META Tags Above Here -->
<!-- BEGIN each_metatag -->
<meta name="{METANAME}" content="{METADESCRIPTION}" />
<!-- END each_metatag -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="{ROOTDIR}/backend.php" />
<link rel="stylesheet" type="text/css" href="{ROOTDIR}/styles/basic.css" />
<!-- BEGIN FCKeditor Javascript -->
<script type="text/javascript" src="{ROOTDIR}/scripts/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
// this function will get called at body.onload
function initEditor() {
/*
var oFCKeditor = new FCKeditor( 'intro_text' );
oFCKeditor.BasePath = '{ROOTDIR}/scripts/fckeditor/';
oFCKeditor.ReplaceTextarea() ;
var oFCKeditor = new FCKeditor( 'body_text' ) ;
oFCKeditor.BasePath = '{ROOTDIR}/scripts/fckeditor/';
oFCKeditor.ReplaceTextarea() ;
*/
var oFCKeditor = new FCKeditor( 'comment_text' ) ;
oFCKeditor.BasePath = '{ROOTDIR}/scripts/fckeditor/';
oFCKeditor.ToolbarSet = "Basic" ;
oFCKeditor.Config['SkinPath'] = '{ROOTDIR}/scripts/fckeditor/editor/skins/silver/' ;
oFCKeditor.ReplaceTextarea() ;
//---------------------------------------------------------------------
};
function PSL_chooseEditor(onLoad) {
// if IE 5.5 or W3C/Moz 1.3+ - Can't combine the two due to problems with reload() & IE
// if((document.all && document.designMode) || (document.designMode)) {
// IE 5.5 - Eliminating reload() because it pulled down new form data
if(document.all && document.designMode) {
// HTML or htmlArea
if (document.editNew.content_type[0].checked) {
// HTMLArea.replace('en');
// HTMLArea.replaceAll();
initEditor();
} else {
// how to remove in IE?
}
// W3C/Moz 1.3+ - reload() without adjusting form data
} else if(document.designMode) {
// HTML or htmlArea
if (document.editNew.content_type[0].checked) {
// HTMLArea.replace('en');
// HTMLArea.replaceAll();
initEditor();
} else {
if(onLoad == 1) {
onLoad = 2;
window.location.reload();
}
}
}
}
</script>
<!-- END HTMLAREA3 Javascript -->
</head>
<body onLoad="PSL_chooseEditor()">
<a name="top"></a>
<div id="header">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<!-- START: Title and Search -->
<tr>
<td><a href="{ROOTDIR}"><img src="{IMAGEDIR}/new-logo.gif" border="0" alt="" /></a></td>
<td width="50%" align="center">
<form method="get" action="{SEARCH_ACTION_URL}">
<input type="text" name=query value="" size="15" />
<input type="submit" value="Search" />
<input type="hidden" name="topic_id" value="" />
<input type="hidden" name="section_id" value="" />
<input type="hidden" name="author_id" value="" />
</form>
</td>
</tr>
</table>
<!-- END: Title and Search -->
{TOPICBAR}
{NAVBAR}
</div> <!-- id="header" -->
<!-- END slashHead.tpl -->
|