# admin-only access to view pages with no filename
function admin_pages_main_display($id) {
cms_display_content($GLOBALS['wfpl_main_template'], 'where id=%i', $id);
+ $GLOBALS['wfpl_main_template']->data['$admin_links']['$edit_page_id'] = $id;
}
function admin_pages_main_delete($id) {