<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : How do I replace a tag with an image?</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 13 Apr 2026 19:56:13 -0000</pubDate>

		<item>
			<title>Kingsley</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=18083#18083">#</a> <strong>Koradhil :</strong>
<br />
<div class="highlight"><pre class="php">$R&#091;'frm_rowquote'&#093; = '&lt;a href=https://www.cotonti.com/&quot;{$url}&quot;&gt;&lt;img src=&quot;skins/'.$skin.'/img/system/button-quote.gif&quot;&gt;&lt;/a&gt;';</pre></div>
</blockquote>
<br />
is there something in this code that I must change? still get Quote&quot;&gt; as a result.]]></description>
			<pubDate>Sun, 08 Aug 2010 17:10:12 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3415&d=0#post25519]]></link>
		</item>
		<item>
			<title>donP</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=18041#18041">#</a> <strong>Koradhil :</strong>
Images should not be included in core. Its best to use a resource string for this (similar to the language system). In system/resources.php you should add a resource string for the $rowquote value. It should be the original value by default (&lt;a href=https://www.cotonti.com/...) and you can overwrite it in your skinname/skinname.php file with your own value.<br />
</blockquote>
<br />
I haven't got <strong>system/resources.php</strong> in my Cotonti package...  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/confused.gif" alt=":/" />]]></description>
			<pubDate>Mon, 26 Oct 2009 16:34:52 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3415&d=0#post18187]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[Changing your language file will work but it's not the nicest way to do it, because the language file is meant to be used only for text, not for html code. The only right way to do it is through the resource string system, so that's what I've done. I've fixed this in trunk, see <a href="http://trac.cotonti.com/changeset/1001">changeset 1001</a> and <a href="http://trac.cotonti.com/changeset/1002">1002</a>.<br />
<br />
If you want to use an image instead of the default text, put the following line in your skinname/skinname.php file.<br />
<br />
<div class="highlight"><pre class="php">$R&#091;'frm_rowquote'&#093; = '&lt;a href=https://www.cotonti.com/&quot;{$url}&quot;&gt;&lt;img src=&quot;skins/'.$skin.'/img/system/button-quote.gif&quot;&gt;&lt;/a&gt;';</pre></div>]]></description>
			<pubDate>Thu, 22 Oct 2009 00:54:46 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3415&d=0#post18083]]></link>
		</item>
		<item>
			<title>SunChase</title>
			<description><![CDATA[insert this :<br />
$L['Quote'] = '&lt;img src=https://www.cotonti.com/&quot;skins/{PHP.skin}/img/system/button-quote.gif&quot;/&gt;';<br />
in skinname.en.lang.php]]></description>
			<pubDate>Wed, 21 Oct 2009 18:56:44 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3415&d=0#post18067]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=18041#18041">#</a> <strong>Koradhil :</strong>
Images should not be included in core. Its best to use a resource string for this (similar to the language system). In system/resources.php you should add a resource string for the $rowquote value. It should be the original value by default (&lt;a href=https://www.cotonti.com/...) and you can overwrite it in your skinname/skinname.php file with your own value.<br />
</blockquote>
<br />
Can you explain to me how? Am not that familiar with php..<br />
<br />
thank you.]]></description>
			<pubDate>Wed, 21 Oct 2009 04:25:05 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3415&d=0#post18044]]></link>
		</item>
		<item>
			<title>SunChase</title>
			<description><![CDATA[oops.Forgot about that... <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/confused.gif" alt=":/" />]]></description>
			<pubDate>Wed, 21 Oct 2009 03:00:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3415&d=0#post18042]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[Images should not be included in core. Its best to use a resource string for this (similar to the language system). In system/resources.php you should add a resource string for the $rowquote value. It should be the original value by default (&lt;a href=https://www.cotonti.com/...) and you can overwrite it in your skinname/skinname.php file with your own value.]]></description>
			<pubDate>Wed, 21 Oct 2009 02:53:05 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3415&d=0#post18041]]></link>
		</item>
		<item>
			<title>SunChase</title>
			<description><![CDATA[or a corehack or a plugin with hook to this parameter...<br />
the html wont understand if you write that string directly]]></description>
			<pubDate>Wed, 21 Oct 2009 02:27:25 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3415&d=0#post18038]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[Well, I'm no fan of core hacks, for all the obvious reasons..]]></description>
			<pubDate>Wed, 21 Oct 2009 02:20:33 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3415&d=0#post18037]]></link>
		</item>
		<item>
			<title>SunChase</title>
			<description><![CDATA[The simplest way is to do a corehack:<br />
<br />
line 619(system/core/forums/forums.posts.inc.php)<br />
<br />
<br />
from:<br />
<pre class="code">$rowquote  = ($usr&#091;'id'&#093;&gt;0) ? &quot;&lt;a href=https://www.cotonti.com/\&quot;&quot;.sed_url('forums', &quot;m=posts&amp;s=&quot;.$s.&quot;&amp;q=&quot;.$q.&quot;&amp;quote=&quot;.$row&#091;'fp_id'&#093;.&quot;&amp;n=last&quot;, &quot;#np&quot;).&quot;\&quot;&gt;&quot;.$L&#091;'Quote'&#093;.&quot;&lt;/a&gt;&quot; : &quot;&amp;nbsp;&quot;;</pre>
to:<br />
<pre class="code">$rowquote  = ($usr&#091;'id'&#093;&gt;0) ? sed_url('forums', &quot;m=posts&amp;s=&quot;.$s.&quot;&amp;q=&quot;.$q.&quot;&amp;quote=&quot;.$row&#091;'fp_id'&#093;.&quot;&amp;n=last&quot;, &quot;#np&quot;) : &quot;&amp;nbsp;&quot;;</pre>
<br />
or change the $L['Quote'] to &lt;img border=&quot;0&quot; src=https://www.cotonti.com/&quot;skins/{PHP.skin}/img/system/button-quote.gif&quot;/&gt; <br />
like this:<br />
<pre class="code">$rowquote  = ($usr&#091;'id'&#093;&gt;0) ? &quot;&lt;a href=https://www.cotonti.com/\&quot;&quot;.sed_url('forums', &quot;m=posts&amp;s=&quot;.$s.&quot;&amp;q=&quot;.$q.&quot;&amp;quote=&quot;.$row&#091;'fp_id'&#093;.&quot;&amp;n=last&quot;, &quot;#np&quot;).&quot;\&quot;&gt;&lt;img border=&quot;0&quot; src=https://www.cotonti.com/&quot;skins/{PHP.skin}/img/system/button-quote.gif&quot;/&gt;&lt;/a&gt;&quot; : &quot;&amp;nbsp;&quot;;</pre>]]></description>
			<pubDate>Wed, 21 Oct 2009 02:19:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3415&d=0#post18036]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[I've tried it with this:<br />
<br />
&lt;a href=https://www.cotonti.com/&quot;{FORUMS_POSTS_ROW_QUOTE}&quot;&gt;&lt;img border=&quot;0&quot; src=https://www.cotonti.com/&quot;skins/{PHP.skin}/img/system/button-quote.gif&quot;/&gt;&lt;/a&gt;<br />
<br />
but then i get the image and next to it: Quote&quot;/&gt; <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/sad.gif" alt=":(" />]]></description>
			<pubDate>Wed, 21 Oct 2009 02:01:59 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3415&d=0#post18034]]></link>
		</item>
	</channel>
</rss>