From: Jason Woofenden Date: Fri, 13 Nov 2015 17:09:27 +0000 (-0500) Subject: make "edit this page" link not conflict with edit pages X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=commitdiff_plain;h=2078c2762990009d890fb6c36f0b0d947f559687 make "edit this page" link not conflict with edit pages --- diff --git a/inc/cms.php b/inc/cms.php index 6628dea..02dc63e 100644 --- a/inc/cms.php +++ b/inc/cms.php @@ -29,7 +29,7 @@ function cms_display($basename, &$tem) { if(session_auth_can('admin_links')) { $admin_links = array(); if($cms_page_id) { - $admin_links['id'] = $cms_page_id; + $admin_links['$edit_page_id'] = $cms_page_id; } $tem->set('$admin_links', $admin_links); } diff --git a/template.html b/template.html index 0d63311..c7793d8 100644 --- a/template.html +++ b/template.html @@ -34,7 +34,7 @@
- +