GUIFile("CKEditorSetup.php")); # HTML page setup $Heading = ($H_DisplayMode == "Adding") ? "Add New Page" : "Edit Page"; PageTitle($Heading); print "

# ".$Heading."

\n"; # ----- STATE: ERROR ------------------------------------------------- # display any error messages if (isset($H_ErrorMsgs)) { ?>

".$Msg."\n"; } ?>

Title |  | Displayed in the browser title bar, and also used by search engines who index the page.
Page Content | <?= htmlspecialchars($H_Content) ?>
Summary | <?= htmlspecialchars($H_Summary) ?> | Displayed in search results, both on the site and by external search engines like Google. If left blank, this will be auto-generated from the page content.
Clean URL Path |  | If a "clean URL" path (e.g. my/new/page) is set, the page will be reachable at that address.
Images | Get("Images", TRUE); foreach ($Images as $Image) { $Id = $Image->Id(); $SafeAltText = defaulthtmlentities($H_AltTexts[$Image->Id()]); $InsertLeftCmd = defaulthtmlentities( "CKEDITOR.instances['F_Content'].insertHtml(" ."'PreviewUrl()."\" alt=\"" .htmlspecialchars($Image->AltText()) ."\" class=\"cw-pages-image-left\" />');"); $InsertRightCmd = defaulthtmlentities( "CKEDITOR.instances['F_Content'].insertHtml(" ."'PreviewUrl()."\" alt=\"" .htmlspecialchars($Image->AltText()) ."\" class=\"cw-pages-image-right\" />');"); ?>
| Alt Text: |
| Alt Text: |
Files | Get("Files", TRUE); foreach ($Files as $File) { $Id = $File->Id(); $LinkCmd = defaulthtmlentities( "CKEDITOR.instances['F_Content'].insertHtml(" ."'GetLink()."\">'" ."+CKEDITOR.instances['F_Content'].getSelection()" .".getSelectedText()+'');"); ?>
Name()); ?> |
Privileges Required for Viewing Page: | DisplaySet("ViewingPrivs", $H_Privileges); ?>
Created: | Get("Added By Id", TRUE)); $Created = GetPrettyTimestamp($H_Page->Get("Creation Date"), TRUE) ." by ".(($User->Status() == U_OKAY) ? $User->Name() : "(unknown)").""; $Created = str_replace(" ", " ", $Created); print $Created; ?>
Last Modified: | Get("Last Modified By Id", TRUE)); $Modified = GetPrettyTimestamp($H_Page->Get("Date Last Modified"), TRUE) ." by ".(($User->Status() == U_OKAY) ? $User->Name() : "(unknown)").""; $Modified = str_replace(" ", " ", $Modified); print $Modified; ?>
| ">