1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Tagwords - better multi-language handling

This commit is contained in:
secretr
2009-10-09 15:07:44 +00:00
parent 1050c3b94e
commit a8e3505b21
4 changed files with 7 additions and 5 deletions

View File

@@ -63,4 +63,6 @@ define("LAN_TAG_OPT_26", "display");
define("LAN_TAG_MENU_1", "view complete tagwords cloud");
define("LAN_TAG_MENU_2", "Tagwords");
define("LAN_TAG_CORE_NEWS_1", "News");
define("LAN_TAG_CORE_CPAGES_1", "Pages");
?>

View File

@@ -13,7 +13,7 @@ class e_tagwords_news
$this->settings['plugin'] = "";
$this->settings['table'] = "news";
$this->settings['db_id'] = "news_id";
$this->settings['caption'] = "news";
$this->settings['caption'] = "LAN_TAG_CORE_NEWS_1";
}
function getLink($id)

View File

@@ -13,7 +13,7 @@ class e_tagwords_page
$this->settings['plugin'] = "";
$this->settings['table'] = "page";
$this->settings['db_id'] = "page_id";
$this->settings['caption'] = "page";
$this->settings['caption'] = "LAN_TAG_CORE_CPAGES_1";
}
function getLink($id)

View File

@@ -9,8 +9,8 @@
* Tagwords Shortcodes
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/tagwords/tagwords_shortcodes.php,v $
* $Revision: 1.7 $
* $Date: 2009-09-25 20:13:12 $
* $Revision: 1.8 $
* $Date: 2009-10-09 15:07:44 $
* $Author: secretr $
*
*/
@@ -99,7 +99,7 @@ class tagwords_shortcodes
function sc_tag_area_heading()
{
global $tag;
return varsettrue($tag->area->settings['caption']);
return (varsettrue($tag->area->settings['caption']) ? defset($tag->area->settings['caption'], $tag->area->settings['caption']) : '');
}
function sc_tag_link($parm, $sc_mode)