mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Renamed class naming standard within e_sitelink.php addon. Use xxxx_sitelink (not xxxx_sitelinks)
This commit is contained in:
@@ -15,7 +15,7 @@ class page_shortcodes extends e_shortcode
|
||||
function sc_page_navigation($parm) // TODO when No $parm provided, auto-detect based on URL which book/chapters to display.
|
||||
{
|
||||
// FIXME sitelink class should be page_sitelink
|
||||
$links = e107::getAddon('page', 'e_sitelink', 'page_sitelinks');
|
||||
$links = e107::getAddon('page', 'e_sitelink', 'page_sitelink');
|
||||
|
||||
$data = $links->pageNav($parm);
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
class page_sitelinks // include plugin-folder in the name.
|
||||
class page_sitelink // include plugin-folder in the name.
|
||||
{
|
||||
function config()
|
||||
{
|
||||
|
@@ -38,7 +38,7 @@ if(empty($parm))
|
||||
}
|
||||
|
||||
### Retrieve
|
||||
$links = e107::getAddon('page', 'e_sitelink', 'page_sitelinks');
|
||||
$links = e107::getAddon('page', 'e_sitelink', 'page_sitelink');
|
||||
$data = $links->pageNav($parm);
|
||||
if(isset($data['title']) && !vartrue($template['noAutoTitle']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user