cotonti.com : Icons https://www.cotonti.com Neueste Themenbeiträge Cotonti en Fri, 19 Jun 2026 21:09:05 -0000 Trustmaster Di, 02 Sep 2008 19:32:28 -0000 Ratibor Boss : can? :) Need delete all html code in core]]> Fr, 15 Aug 2008 10:57:20 -0000 Boss
"PLUGIN_TITLE" => "<a href=https://www.cotonti.com/\"plug.php?e=$e\">".$plugin_title."</a>",
"PLUGIN_SHORTTITLE" => $plugin_title,
]]>
Fr, 15 Aug 2008 10:36:58 -0000
Trustmaster Fr, 15 Aug 2008 09:18:37 -0000 Ratibor
line 116:
"PLUGIN_TITLE" => "<a href=https://www.cotonti.com/\"plug.php?e=$e\">".$plugin_title."</a>",

replace with:
"PLUGIN_TITLE" => $plugin_title,
]]>
Fr, 15 Aug 2008 08:10:01 -0000
Trustmaster Do, 14 Aug 2008 15:23:38 -0000 Ratibor
For example, look at {PAGE_ROW_COMMENTS} tag
It outputs an image and number of comments.
What if someone doesn't need the image?
He needs to hack the core.
We'd better make it output number of comments only, and if someone needed the image, he would do it with TPL without touching the core.

Requires editing functions.php

line 635
$res = "<a href=https://www.cotonti.com/\"".$url."&amp;comments=1\"><img src=\"skins/".$usr['skin']."/img/system/icon-comment.gif\" alt=\"\" />";
replace with:
$res = "<a href=https://www.cotonti.com/\"".$url."&amp;comments=1\">";

line 640
$res .= " (".$nbcomment.")";
replace with:
$res .= $nbcomment;


Now about {PAGE_ROW_CATICON}
It should output image path from database rather than complete HTML.

So let's change functions.php

line 1962
{ $row['structure_icon'] = "<img src=https://www.cotonti.com/\"".$row['structure_icon']."\" alt=\"\" />"; }
replace with:
{ $row['structure_icon'] = $row['structure_icon']; }
]]>
Do, 14 Aug 2008 15:16:09 -0000