<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Dashboard Theme / Module External Files]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3963&amp;type=atom" />
	<updated>2013-03-21T05:15:42Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3963</id>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme / Module External Files]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16112#p16112" />
			<content type="html"><![CDATA[<p>A nice caveat to it&#039;s use but when secure FA is run in an offline environment, this might be the only solution. If being online is necessary for other aspects of google charts then it would be of no use in this situation.</p><p>Thanks @AlastairR for the note and it&#039;s potential pitfalls.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-03-21T05:15:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16112#p16112</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme / Module External Files]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16108#p16108" />
			<content type="html"><![CDATA[<p>I think these changes may be a mistake. Google charts depends on google&#039;s servers to create the chart. By saving the google js locally you are creating a potential break if google changes their internal interfaces. At the moment the widgets dependent on google chart are using the public interface which is less likely to be broken by any changes google makes to the way they handle the chart on their side. <br />A similar principle applies to the jquery code. It is a third party library. If you start making changes to it, you fix it at a particular point in time. We should be able to upgrade the jquery library at any time without having to apply a set of FA changes to it.</p>]]></content>
			<author>
				<name><![CDATA[AlastairR]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=9732</uri>
			</author>
			<updated>2013-03-20T19:59:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16108#p16108</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Dashboard Theme / Module External Files]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16101#p16101" />
			<content type="html"><![CDATA[<p>The dashboard_theme v2.3.15-1/renderer.php line 42:<br /></p><div class="codebox"><pre><code>                 echo &quot;&lt;script type=&#039;text/javascript&#039; src=&#039;https://www.google.com/jsapi&#039;&gt;&lt;/script&gt;\n&quot;;</code></pre></div><p>refers to an external javascript file than can be internalised.</p><p>Also line 10 of js/jquery-ui-1.7.2.custom.min.js in the same theme refers to:<br /></p><div class="codebox"><pre><code>http://www.w3.org/2005/07/aaa</code></pre></div><p>If there are any files included from external sites, addon authors are advised to state them.</p><p>This code has since been moved to line 25 of hooks.php in the google code svn:<br /></p><div class="codebox"><pre><code>add_js_ufile(&quot;https://www.google.com/jsapi&quot;);</code></pre></div><p>which can now become:<br /></p><div class="codebox"><pre><code>        add_js_ufile(&quot;$path_to_root/themes/dashboard/js/jsapi.js&quot;);</code></pre></div><p>after uploading the jsapi file as js/jsapi.js</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-03-20T12:24:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16101#p16101</id>
		</entry>
</feed>
