<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Change Themes! Instead of only Charactor, I place Image. It's nice!]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1208&amp;type=atom" />
	<updated>2010-03-16T19:59:38Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=1208</id>
		<entry>
			<title type="html"><![CDATA[Change Themes! Instead of only Charactor, I place Image. It's nice!]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=5330#p5330" />
			<content type="html"><![CDATA[<p>First of all,<br />Thanks administrators and all people can help me about this software. My English is not good, so if I get some mistake, plz don&#039;t laugh me! </p><br /><p>foreach ($module-&gt;lappfunctions as $appfunction) <br />{<br />&nbsp; &nbsp;if ($appfunction-&gt;label== &quot;&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp;echo &quot;&lt;div class=&#039;empty&#039;&gt;&amp;nbsp;&lt;br&gt;&lt;/div&gt;\n&quot;;<br />&nbsp; &nbsp;elseif ($_SESSION[&quot;wa_current_user&quot;]-&gt;can_access_page($appfunction-&gt;access))<br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$lnk = access_string($appfunction-&gt;label);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;div&gt;&lt;a class=&#039;$class&#039; href=&#039;$appfunction-&gt;link&#039;$lnk[1]&gt; $img $lnk[0]&lt;/a&gt;&lt;br&gt;&lt;/div&gt;\n&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp;}<br />}</p><p>I Want to change the sentenses to Images, I want to fix all the functions by Image, and if the User login but can&#039;t Access I change another Imagers.</p><p>I tried to do that:<br />1- In Head Function: for example<br />switch ($sel_app)<br />{</p><p>case &quot;orders&quot;:<br />&nbsp; //Show the Images for Sales (I Sprit it for link)<br />.......</p><p>}<br />2- In Display Function<br />I Want to change foreach() ---&gt; to Switch() and per function, I put an Image. If user can Access, user can Click Link, else I put other image.</p><p>Who can help me!</p>]]></content>
			<author>
				<name><![CDATA[quocnho]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=746</uri>
			</author>
			<updated>2010-03-16T19:59:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=5330#p5330</id>
		</entry>
</feed>
