mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 05:02:02 +02:00
Include a unique ID for every 'page'
This commit is contained in:
parent
4e3217c79b
commit
fedf63f1f5
@ -297,7 +297,10 @@ class cpage_shortcodes extends e_shortcode
|
||||
return $this->page['page_metadscr'];
|
||||
}
|
||||
|
||||
|
||||
function sc_cpagesef()
|
||||
{
|
||||
return vartrue($this->page['page_sef'],'page-no-sef');
|
||||
}
|
||||
|
||||
// -------------------- 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
|
||||
$PAGE_TEMPLATE['default']['start'] = '<div class="cpage_body">';
|
||||
$PAGE_TEMPLATE['default']['start'] = '<div id="{CPAGESEF}" class="cpage_body">';
|
||||
|
||||
// page body
|
||||
$PAGE_TEMPLATE['default']['body'] = '
|
||||
|
Loading…
x
Reference in New Issue
Block a user