Skip to content

Commit

Permalink
Item1918: replaced the tagcloud with an unnumbered list where the clo…
Browse files Browse the repository at this point in the history
…ud does not make much sense

git-svn-id: http://svn.foswiki.org/trunk/TagsPlugin@7841 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OliverKrueger authored and OliverKrueger committed Jun 18, 2010
1 parent 7eee65e commit f8bbe02
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
15 changes: 8 additions & 7 deletions data/System/TagsPluginTagDetailsDialogExtended.txt
Expand Up @@ -40,13 +40,14 @@
</form>
</div>

%TAGCLOUD{
terms="$percntTAGSEARCH{ query=\"topic\" tag=\"$percntTAGNAME$percnt\" format=\"$item:1:$web:$topic:$user\" visibility=\"user\" }$percnt"
split="[,]+"
header="%MAKETEXT{"Where else can I find this tag:"}%%BR% <div style=\"text-align:center; padding:15px;line-height:180%\">"
format="<span style='font-size:$weightpx;line-height:90%'><a href='$percntSCRIPTURL{view}$percnt/$3/$4' style='color:$fadeRGB(104,144,184,0,102,255);text-decoration:none' title='$count'>$4</a></span>"
footer="</div>"
warn="off"
%TAGSEARCH{
query="topic"
tag="%TAGNAME%"
header="%MAKETEXT{"Where else can I find this tag:"}%%BR%%BR%$n"
format=" * <span class='foswikiGrayText'>$web</span> [[$item][$topic]]"
sep="$n"
visibility="user"
order="topic"
}%

<span id='tagsplugin_groups' class='tagsplugin_hide'>%TAGGROUPS{format="$group" sep=","}%</span>
Expand Down
15 changes: 8 additions & 7 deletions data/System/TagsPluginTagDetailsDialogSimple.txt
Expand Up @@ -4,13 +4,14 @@

<img src="%PUBURL%/%SYSTEMWEB%/DocumentGraphics/processing.gif" id="tagsplugin_tagdetails_processing" style="display:none;" />

%TAGCLOUD{
terms="$percntTAGSEARCH{ query=\"topic\" tag=\"$percntTAGNAME$percnt\" format=\"$item:1:$web:$topic:$user\" visibility=\"user\" }$percnt"
split="[,]+"
header="%MAKETEXT{"Where else can I find this tag:"}%%BR% <div style=\"text-align:center; padding:15px;line-height:180%\">"
format="<span style='font-size:$weightpx;line-height:90%'><a href='$percntSCRIPTURL{view}$percnt/$3/$4' style='color:$fadeRGB(104,144,184,0,102,255);text-decoration:none' title='$count'>$4</a></span>"
footer="</div>"
warn="off"
%TAGSEARCH{
query="topic"
tag="%TAGNAME%"
header="%MAKETEXT{"Where else can I find this tag:"}%%BR%%BR%$n"
format=" * <span class='foswikiGrayText'>$web</span> [[$item][$topic]]"
sep="$n"
visibility="user"
order="topic"
}%

</noautolink>
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/TagsPlugin/Public.pm
Expand Up @@ -217,7 +217,7 @@ sub do {
my $statement = sprintf(
'UPDATE %s SET public = ? WHERE %s = ? AND %s = ? AND %s = ? AND public = ?',
qw( UserItemTag item_id tag_id user_id ) );
my $affected_rows =
$affected_rows =
$db->dbInsert( $statement, $public, $item_id, $tag_id, $user_id,
$public == "0" ? 1 : 0 );
Foswiki::Func::writeDebug(
Expand Down

0 comments on commit f8bbe02

Please sign in to comment.