- <?php
-
- if (isset($_REQUEST["file"]) && $_REQUEST["file"] != "")
- {
-
-
-
-
-
- print "<h1>Editing ".$_REQUEST['title']."</h1>";
- print "Edit content and click the <STRONG>SAVE</STRONG> disk icon to commit changes to disk. After saving, click <STRONG>BACK TO SITE</STRONG> link to return to site.<br />";
-
- $editor=new CuteEditor();
- $editor->ID="Editor1";
- $editor->EditorWysiwygModeCss="default.css";
- $editor->FilesPath="CuteEditor_Files";
- $editor->EditCompleteDocument=false;
- $editor->BreakElement="Br";
- $editor->XHTMLOutput=true;
- $editor->Height=620;
- $editor->Width="100%";
- if (@$_GET["postback"]!="true")
- {
- print "<br>Loaded ".$_REQUEST['file']."<br><br>";
- $editor->LoadHTML($_REQUEST["file"]);
- $editor->Draw();
- }
- else
- {
- print "<br>Saved ".$_REQUEST['file']."<br><br>";
- $editor->SaveFile($_REQUEST["file"]);
- $editor->Draw();
- }
- $editor=null;
-
- print "<br><a href='../index.php'>CANCEL</a>";
-
- } else {
-
- print "<h1>Select file to edit from menu.</h1>";
- }
-
- ?>
for some reason my editor icons wrap after about 40% going into 7 or 8 lines of icons.
any idea why from looking at my snippet of code?
al