From d4bde62c233aefe4ef33cb64c783a043b8065a9e Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Wed, 16 Mar 2005 03:39:34 +0000 Subject: [PATCH] Use htmlarea when submitting a new version --- appsubmit.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/appsubmit.php b/appsubmit.php index aea6195..c372976 100644 --- a/appsubmit.php +++ b/appsubmit.php @@ -115,13 +115,15 @@ function initDocument() { // var editor = new HTMLArea("editor",config); // editor.registerPlugin(DynamicCSS); +// if($_REQUEST['apptype'] == 1) // we have two editors, one for application and one for version. +//{ +?> var editor2 = new HTMLArea("editor2",config); editor2.generate(); editor2.registerPlugin(DynamicCSS); +//} +?> // FIXME: when both editors and stylesheets are used, sometimes one of the editor is readonly under gecko // editor.generate(); } @@ -182,7 +184,7 @@ onload = function() { echo html_frame_start("New Application Form",400,"",0); echo "\n"; echo '',"\n"; - echo '',"\n"; + echo '',"\n"; echo '',"\n"; echo '',"\n"; @@ -237,10 +239,10 @@ onload = function() { echo '',"\n"; echo '',"\n"; - echo '',"\n"; + echo '',"\n"; echo '',"\n"; - echo '',"\n"; + echo '',"\n"; echo '',"\n";
Application name
Version name
Version name
Version description

',"\n"; echo '