mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Include a unique ID for every 'page'
This commit is contained in:
@@ -297,7 +297,10 @@ class cpage_shortcodes extends e_shortcode
|
|||||||
return $this->page['page_metadscr'];
|
return $this->page['page_metadscr'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function sc_cpagesef()
|
||||||
|
{
|
||||||
|
return vartrue($this->page['page_sef'],'page-no-sef');
|
||||||
|
}
|
||||||
|
|
||||||
// -------------------- Book - specific to the current page. -------------------------
|
// -------------------- Book - specific to the current page. -------------------------
|
||||||
|
|
||||||
|
@@ -35,7 +35,7 @@ $sc_style['CPAGENAV|default']['post'] = '</div>';
|
|||||||
';
|
';
|
||||||
|
|
||||||
// always used - it's inside the {PAGE} sc from 'page' template
|
// always used - it's inside the {PAGE} sc from 'page' template
|
||||||
$PAGE_TEMPLATE['default']['start'] = '<div class="cpage_body">';
|
$PAGE_TEMPLATE['default']['start'] = '<div id="{CPAGESEF}" class="cpage_body">';
|
||||||
|
|
||||||
// page body
|
// page body
|
||||||
$PAGE_TEMPLATE['default']['body'] = '
|
$PAGE_TEMPLATE['default']['body'] = '
|
||||||
|
Reference in New Issue
Block a user