1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

bugfix: space seperator between word and number correction to avoid linebreak

This commit is contained in:
lisa
2009-04-29 07:07:33 +00:00
parent 7f77ded0ae
commit da5a2608c4
2 changed files with 11 additions and 11 deletions

View File

@@ -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.3 $ * $Revision: 1.4 $
* $Date: 2009-01-18 10:11:12 $ * $Date: 2009-04-29 07:07:33 $
* $Author: lisa_ $ * $Author: lisa_ $
* *
*/ */
@@ -274,7 +274,7 @@ class tagwords
$qry = str_replace(' ', '+', $qry); $qry = str_replace(' ', '+', $qry);
$word = $this->e107->tp->toHTML($word,true,'no_hook, emotes_off'); $word = $this->e107->tp->toHTML($word,true,'no_hook, emotes_off');
$class = ($class ? "class='tag".intval($class)."'" : ""); $class = ($class ? "class='tag".intval($class)."'" : "");
return "<a href='".e_PLUGIN."tagwords/tagwords.php?q=".$qry."' ".$class." title=''>".$word."</a> "; return "<a href='".e_PLUGIN."tagwords/tagwords.php?q=".$qry."' ".$class." title=''>".$word."</a>";
} }
/* /*

View File

@@ -9,8 +9,8 @@
* Tagwords Template * Tagwords Template
* *
* $Source: /cvs_backup/e107_0.8/e107_plugins/tagwords/tagwords_template.php,v $ * $Source: /cvs_backup/e107_0.8/e107_plugins/tagwords/tagwords_template.php,v $
* $Revision: 1.2 $ * $Revision: 1.3 $
* $Date: 2009-01-17 22:46:37 $ * $Date: 2009-04-29 07:07:33 $
* $Author: lisa_ $ * $Author: lisa_ $
* *
*/ */
@@ -65,11 +65,11 @@ $TEMPLATE_TAGWORDS['options'] = "
//##### cloud ------------------------------------------------------- //##### cloud -------------------------------------------------------
$sc_style['TAG_NUMBER']['pre'] = "("; $sc_style['TAG_NUMBER']['pre'] = "&nbsp;(";
$sc_style['TAG_NUMBER']['post'] = ") "; $sc_style['TAG_NUMBER']['post'] = ")";
$TEMPLATE_TAGWORDS['cloud_start'] = ""; $TEMPLATE_TAGWORDS['cloud_start'] = "";
$TEMPLATE_TAGWORDS['cloud_item'] = "{TAG_WORD}{TAG_NUMBER}"; $TEMPLATE_TAGWORDS['cloud_item'] = " {TAG_WORD}{TAG_NUMBER}";
$TEMPLATE_TAGWORDS['cloud_end'] = ""; $TEMPLATE_TAGWORDS['cloud_end'] = "";
$TEMPLATE_TAGWORDS['cloud'] = " $TEMPLATE_TAGWORDS['cloud'] = "
@@ -97,20 +97,20 @@ $TEMPLATE_TAGWORDS['cloudlist'] = "
//##### menu cloud -------------------------------------------------- //##### menu cloud --------------------------------------------------
$sc_style['TAG_NUMBER|menu']['pre'] = "("; $sc_style['TAG_NUMBER|menu']['pre'] = "&nbsp;(";
$sc_style['TAG_NUMBER|menu']['post'] = ") "; $sc_style['TAG_NUMBER|menu']['post'] = ") ";
$sc_style['TAG_SEARCH|menu']['pre'] = "<div style='margin-bottom:5px;'>"; $sc_style['TAG_SEARCH|menu']['pre'] = "<div style='margin-bottom:5px;'>";
$sc_style['TAG_SEARCH|menu']['post'] = "</div>"; $sc_style['TAG_SEARCH|menu']['post'] = "</div>";
$TEMPLATE_TAGWORDS['menu_cloud_start'] = ""; $TEMPLATE_TAGWORDS['menu_cloud_start'] = "";
$TEMPLATE_TAGWORDS['menu_cloud_item'] = "{TAG_WORD|menu}{TAG_NUMBER|menu}"; $TEMPLATE_TAGWORDS['menu_cloud_item'] = " {TAG_WORD|menu}{TAG_NUMBER|menu}";
$TEMPLATE_TAGWORDS['menu_cloud_end'] = ""; $TEMPLATE_TAGWORDS['menu_cloud_end'] = "";
$TEMPLATE_TAGWORDS['menu_cloud'] = " $TEMPLATE_TAGWORDS['menu_cloud'] = "
<div class='tagwords' style='text-align:center;'> <div class='tagwords' style='text-align:center;'>
{TAG_SEARCH|menu} {TAG_SEARCH|menu}
<div style='text-align:justify; width:90%; line-height:250%; margin:0 auto;'> <div style=' width:90%; line-height:250%; margin:0 auto;'>
{TAG_CLOUD|menu} {TAG_CLOUD|menu}
</div> </div>
{TAG_LINK|menu} {TAG_LINK|menu}