<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Icons</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sun, 05 Apr 2026 02:28:10 -0000</pubDate>

		<item>
			<title>Trustmaster</title>
			<description><![CDATA[We need to create a full list of icons that should be moved off the core here. And the templates should be modified of course.]]></description>
			<pubDate>Tue, 02 Sep 2008 19:32:28 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=325&d=0#post842]]></link>
		</item>
		<item>
			<title>Ratibor</title>
			<description><![CDATA[<blockquote><strong>Boss :</strong>
can? :)</blockquote>
Need delete all html code in core]]></description>
			<pubDate>Fri, 15 Aug 2008 10:57:20 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=325&d=0#post468]]></link>
		</item>
		<item>
			<title>Boss</title>
			<description><![CDATA[can? :)<br />
<pre class="code">
&quot;PLUGIN_TITLE&quot; =&gt; &quot;&lt;a href=https://www.cotonti.com/\&quot;plug.php?e=$e\&quot;&gt;&quot;.$plugin_title.&quot;&lt;/a&gt;&quot;,
&quot;PLUGIN_SHORTTITLE&quot; =&gt; $plugin_title,
</pre>]]></description>
			<pubDate>Fri, 15 Aug 2008 10:36:58 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=325&d=0#post467]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Can you provide all changes for .php and .tpl files to move icons from the core to templates? That's a lot of work, but worth doing.]]></description>
			<pubDate>Fri, 15 Aug 2008 09:18:37 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=325&d=0#post466]]></link>
		</item>
		<item>
			<title>Ratibor</title>
			<description><![CDATA[and in plug.inc.php<br />
<br />
line 116:<br />
<pre class="code">&quot;PLUGIN_TITLE&quot; =&gt; &quot;&lt;a href=https://www.cotonti.com/\&quot;plug.php?e=$e\&quot;&gt;&quot;.$plugin_title.&quot;&lt;/a&gt;&quot;,</pre>
<br />
replace with:<br />
<pre class="code">&quot;PLUGIN_TITLE&quot; =&gt; $plugin_title,</pre>]]></description>
			<pubDate>Fri, 15 Aug 2008 08:10:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=325&d=0#post463]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[The problem with icons in core code is much bigger and needs discussion.]]></description>
			<pubDate>Thu, 14 Aug 2008 15:23:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=325&d=0#post460]]></link>
		</item>
		<item>
			<title>Ratibor</title>
			<description><![CDATA[Let's discuss icon output in the core.<br />
<br />
For example, look at {PAGE_ROW_COMMENTS} tag<br />
It outputs an image and number of comments.<br />
What if someone doesn't need the image?<br />
He needs to hack the core.<br />
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.<br />
<br />
Requires editing functions.php<br />
<br />
line 635<br />
<pre class="code">$res = &quot;&lt;a href=https://www.cotonti.com/\&quot;&quot;.$url.&quot;&amp;amp;comments=1\&quot;&gt;&lt;img src=\&quot;skins/&quot;.$usr&#091;'skin'&#093;.&quot;/img/system/icon-comment.gif\&quot; alt=\&quot;\&quot; /&gt;&quot;;</pre>
replace with:<br />
<pre class="code">$res = &quot;&lt;a href=https://www.cotonti.com/\&quot;&quot;.$url.&quot;&amp;amp;comments=1\&quot;&gt;&quot;;</pre>
<br />
line 640<br />
<pre class="code">$res .= &quot; (&quot;.$nbcomment.&quot;)&quot;;</pre>
replace with:<br />
<pre class="code">$res .= $nbcomment;</pre>
<br />
<br />
Now about {PAGE_ROW_CATICON}<br />
It should output image path from database rather than complete HTML.<br />
<br />
So let's change functions.php<br />
<br />
line 1962<br />
<pre class="code">{ $row&#091;'structure_icon'&#093; = &quot;&lt;img src=https://www.cotonti.com/\&quot;&quot;.$row&#091;'structure_icon'&#093;.&quot;\&quot; alt=\&quot;\&quot; /&gt;&quot;; }</pre>
replace with:<br />
<pre class="code">{ $row&#091;'structure_icon'&#093; = $row&#091;'structure_icon'&#093;; }</pre>]]></description>
			<pubDate>Thu, 14 Aug 2008 15:16:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=325&d=0#post459]]></link>
		</item>
	</channel>
</rss>