<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Custom Function with skin</title>
		<link>https://www.cotonti.com</link>
		<description>Останні повідомлення в темі</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sun, 19 Apr 2026 23:34:48 -0000</pubDate>

		<item>
			<title>xonefobic</title>
			<description><![CDATA[Is it possible to add a custom function or $t parse to a skin<br />
<br />
In this case, I want the Edit and Put in Validation (among others) you have in page.tpl to be changed into pictures instead of text.<br />
Is this possible to change the parse, or should I use Xtemplate's IF-THEN-ELSE instead?<br />
to avoid the standard parse completely?<br />
<br />
Regards<br /><br /><b>Added 38 minutes later:</b><br /><br /><pre class="code">&lt;!-- IF {PAGE_ADMIN_EDIT} != &quot;&quot; --&gt;
&lt;a href=https://www.cotonti.com/&quot;page.php?m=edit&amp;id={PAGE_ID}&amp;r=list&quot;&gt;&lt;img src=&quot;skins/{PHP.skin}/img/system/icon-edit.png&quot; title=&quot;{PHP.L.Edit}&quot; /&gt;&lt;/a&gt;
&lt;!-- ENDIF --&gt;</pre><br /><br /><b>Added 1 hour 16 minutes later:</b><br /><br />And thanks too Kilandor's help<br />
<br />
<pre class="code">    &lt;!-- BEGIN: PAGE_ADMIN --&gt;
    &lt;!-- IF {PHP.pag.page_state} == 1 --&gt;
		&lt;a href=https://www.cotonti.com/&quot;admin.php?m=page&amp;s=queue&amp;a=validate&amp;id={PHP.pag.page_id}&amp;amp;x={PHP.sys.xk}&quot;&gt;&lt;img src=&quot;skins/{PHP.skin}/img/system/icon_validate.gif&quot; title=&quot;{PHP.L.Validate}&quot; /&gt;&lt;/a&gt;
	&lt;!-- ELSE --&gt;
		&lt;a href=https://www.cotonti.com/&quot;admin.php?m=page&amp;s=queue&amp;a=unvalidate&amp;id={PHP.pag.page_id}&amp;amp;x={PHP.sys.xk}&quot;&gt;&lt;img src=&quot;skins/{PHP.skin}/img/system/icon_unvalidate.gif&quot; title=&quot;{PHP.L.Putinvalidationqueue}&quot; /&gt;&lt;/a&gt;
	&lt;!-- ENDIF --&gt;
    ({PAGE_ADMIN_COUNT})
    &lt;!-- END: PAGE_ADMIN --&gt;</pre>]]></description>
			<pubDate>Thu, 27 Сер 2009 23:47:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=3239&d=0#post16529]]></link>
		</item>
	</channel>
</rss>