mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Tagwords minor fixes
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
* Tagwords Class
|
* Tagwords Class
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/tagwords/tagwords_class.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/tagwords/tagwords_class.php,v $
|
||||||
* $Revision: 1.6 $
|
* $Revision: 1.7 $
|
||||||
* $Date: 2009-09-25 20:13:12 $
|
* $Date: 2009-09-29 17:43:44 $
|
||||||
* $Author: secretr $
|
* $Author: secretr $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -37,14 +37,14 @@ class tagwords
|
|||||||
/*
|
/*
|
||||||
* constructor (include all e_tagwords.php files)
|
* constructor (include all e_tagwords.php files)
|
||||||
*/
|
*/
|
||||||
function tagwords()
|
function __construct()
|
||||||
{
|
{
|
||||||
global $pref, $TEMPLATE_TAGWORDS, $tagwords_shortcodes;
|
global $pref, $TEMPLATE_TAGWORDS, $tagwords_shortcodes;
|
||||||
|
|
||||||
$this->e107 = e107::getInstance();
|
$this->e107 = e107::getInstance();
|
||||||
|
|
||||||
//language
|
//language
|
||||||
include_lan(e_PLUGIN."tagwords/languages/".e_LANGUAGE.".php");
|
e107::includeLan(e_PLUGIN."tagwords/languages/".e_LANGUAGE.".php");
|
||||||
|
|
||||||
//shortcodes
|
//shortcodes
|
||||||
require_once(e_PLUGIN.'tagwords/tagwords_shortcodes.php');
|
require_once(e_PLUGIN.'tagwords/tagwords_shortcodes.php');
|
||||||
|
@@ -9,9 +9,9 @@
|
|||||||
* Tagwords Menu
|
* Tagwords Menu
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/tagwords/tagwords_menu.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/tagwords/tagwords_menu.php,v $
|
||||||
* $Revision: 1.2 $
|
* $Revision: 1.3 $
|
||||||
* $Date: 2009-01-17 22:46:37 $
|
* $Date: 2009-09-29 17:43:44 $
|
||||||
* $Author: lisa_ $
|
* $Author: secretr $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ if(varsettrue($tag->pref['tagwords_class']) && !check_class($tag->pref['tagwords
|
|||||||
}
|
}
|
||||||
|
|
||||||
$text = $e107->tp->parseTemplate($tag->template['menu_cloud'], true, $tag->shortcodes);
|
$text = $e107->tp->parseTemplate($tag->template['menu_cloud'], true, $tag->shortcodes);
|
||||||
$caption = ($tag->pref['tagwords_menu_caption'] ? $tag->pref['tagwords_menu_caption'] : LAN_TAG_16);
|
$caption = $tag->pref['tagwords_menu_caption'] ? defset($tag->pref['tagwords_menu_caption'], $tag->pref['tagwords_menu_caption']) : LAN_TAG_16;
|
||||||
$e107->ns->tablerender($caption, $text);
|
$e107->ns->tablerender($caption, $text);
|
||||||
|
|
||||||
?>
|
?>
|
Reference in New Issue
Block a user