"Page list", "version" => "0.6", "author" => "Starbeamrainbowlabs", "description" => "Adds a page that lists all the pages in the index along with their metadata.", "id" => "page-list", "code" => function() { add_action("list", function() { global $pageindex, $settings; $sorted_pageindex = get_object_vars($pageindex); ksort($sorted_pageindex, SORT_NATURAL); $title = "All Pages"; $content = "
Page Name | Size | Last Editor | Last Edit Time |
---|---|---|---|
$pagename | " . human_filesize($pagedetails->size) . " | $pagedetails->lasteditor | " . human_time_since($pagedetails->lastmodified) . " (" . date("l jS \of F Y \a\\t h:ia T", $pagedetails->lastmodified) . ") |