".$DisplayName.""; $Entry .= ($SortField != $FieldName) ? "" : ($SortAscending ? " ↑" : " ↓"); return $Entry; } $TitleHeader = GetHeaderEntry($H_SortField, $H_SortAscending, $H_ListChecksum, "PageTitle", "Title", 1); $UrlHeader = GetHeaderEntry($H_SortField, $H_SortAscending, $H_ListChecksum, "CleanUrl", "URL", 1); $CreatedHeader = GetHeaderEntry($H_SortField, $H_SortAscending, $H_ListChecksum, "CreatedOn", "Created", 0); $ModifiedHeader = GetHeaderEntry($H_SortField, $H_SortAscending, $H_ListChecksum, "UpdatedOn", "Modified", 0); ?> Add New Page

# Page List

|  |  |  | Actions
--- | --- | --- | --- | ---
CleanUrl(); $PageLink = strlen($CleanUrl) ? $CleanUrl : "index.php?P=P_Pages_DisplayPage&ID=".$Page->Id(); $CUser = new CWUser(intval($Page->AuthorId())); $Created = GetPrettyTimestamp($Page->CreatedOn()) ." - ".(($CUser->Status() == U_OKAY) ? $CUser->Name() : "(unknown)").""; $Created = str_replace(" ", " ", $Created); $Modified = $Page->UpdatedOn(); if (($Modified == "0000-00-00 00:00:00") || ($Modified == $Page->CreatedOn())) { $Modified = "—"; } else { $MUser = new CWUser(intval($Page->EditorId())); $Modified = GetPrettyTimestamp($Modified) ." - ".(($MUser->Status() == U_OKAY) ? $MUser->Name() : "(unknown)").""; $Modified = str_replace(" ", " ", $Modified); } ?>
Title(), 40); ?> |  |  |  | UserCanEdit()) { ?> Edit Delete
(no pages have been created)

".($H_StartingIndex + 1)." - " .min(($H_StartingIndex + $H_PagesPerPage), $H_PageCount) ." of ".$H_PageCount.""; PrintTransportControls($TransportLink, $H_StartingIndex, $H_PagesPerPage, $H_PageCount, $ExtraMsg); } ?>