1
0
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:
Cameron
2013-02-26 03:43:52 -08:00
parent 3d99e66961
commit 4e138b835f
7 changed files with 8 additions and 181 deletions

View File

@@ -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);

View File

@@ -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()
{

View File

@@ -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']))
{