1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 02:00:14 +02:00

Fixes #1186 - Added edit button for custom pages. Improved debugging of shortcodes and shortcode wrappers.

This commit is contained in:
Cameron
2016-04-02 10:51:18 -07:00
parent ec3e92b0d6
commit 46b2518e82
5 changed files with 78 additions and 10 deletions

View File

@@ -9,7 +9,8 @@
*/
if (!defined('e107_INIT')) { exit; }
$PAGE_WRAPPER = array();
global $sc_style;
$sc_style['CPAGEAUTHOR|default']['pre'] = '';
@@ -49,8 +50,11 @@ $sc_style['CPAGENAV|default']['post'] = '</div>';
<div class="clear"><!-- --></div>
{CPAGERATING|default}
{CPAGEEDIT}
';
$PAGE_WRAPPER['default']['CPAGEEDIT'] = "<div class='text-right'>{---}</div>";
// used only when password authorization is required
$PAGE_TEMPLATE['default']['authorize'] = '
<div class="cpage-restrict ">