[Phpslash-commit] CVS: phpslash-dev/include/templates/en/basiccurves slashHead-htmlarea3.tpl,NONE,1.
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-11-13 02:34:26
|
Update of /cvsroot/phpslash/phpslash-dev/include/templates/en/basiccurves In directory sc8-pr-cvs1:/tmp/cvs-serv3952/phpslash-dev/include/templates/en/basiccurves Added Files: slashHead-htmlarea3.tpl Log Message: htmlarea tweaking --- NEW FILE: slashHead-htmlarea3.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" /> <!-- BEGIN HTMLAREA3 Javascript --> <script TYPE="text/javascript" LANGUAGE="JavaScript"> <!-- Script Begin <!-- Root path for the html WYSIWYG editor --> var _editor_url="{ROOTDIR}/scripts/htmlarea3/"; // --> </script> <link rel="stylesheet" type="text/css" href="{ROOTDIR}/styles/basic.css" /> <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/htmlarea.js"></script> <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/lang/en.js"></script> <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/dialog.js"></script> <!-- <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/popupdiv.js"></script> --> <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/popupwin.js"></script> <!-- load the TableOperations plugin files --> <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/plugins/TableOperations/table-operations.js"></script> <script TYPE="text/javascript" LANGUAGE="JavaScript" src="{ROOTDIR}/scripts/htmlarea3/plugins/TableOperations/lang/en.js"></script> <style type="text/css"> @import url({ROOTDIR}/scripts/htmlarea3/htmlarea.css); textarea { background-color: #fff; border: 1px solid 00f; } </style> <script TYPE="text/javascript" LANGUAGE="JavaScript"> var editor = null; function initEditor() { // create an editor for the "ta" textbox editor = new HTMLArea("ta"); // register the TableOperations plugin with our editor editor.registerPlugin("TableOperations"); editor.generate(); return false; } function insertHTML() { var html = prompt("Enter some HTML code here"); if (html) { editor.insertHTML(html); } } function highlight() { editor.surroundHTML('<span style="background-color: white">', '</span>'); } function PSL_chooseEditor(editor) { // 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 (editor == 'htmlarea') { // HTMLArea.replace('en'); HTMLArea.replaceAll(); } else { // how to remove in IE? } // W3C/Moz 1.3+ - reload() without adjusting form data } else if(document.designMode) { // HTML or htmlArea if (editor == 'htmlarea') { // HTMLArea.replace('en'); HTMLArea.replaceAll(); } else { window.location.reload(); } } } </script> <!-- END HTMLAREA3 Javascript --> </head> <body> <!-- onLoad="HTMLArea.replace('en'); HTMLArea.replace('fr');" --> <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 --> |