<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Dropdown theme showing error and not displaying custom modules]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7088</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7088&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Dropdown theme showing error and not displaying custom modules.]]></description>
		<lastBuildDate>Fri, 17 May 2019 20:44:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34954#p34954</link>
			<description><![CDATA[<p>Is this still unresolved? Cannot find entry in mantis for it</p><p>This is still a bug in 2.4.6</p><p>The <strong>included</strong> &#039;dropdown&#039; theme in 2.4.6 render.php does not have the function call add_access_extensions() and still gives the same Undefined index: errors for installed extensions as previous posts in this topic.</p><p>To replicate</p><p>clean install 2.4.6<br />From Install/Activate Extensions downloaded FrontHrm; activated; changed access roles.</p><p>No other changes or ext installed</p><p>Works fine for themes default &amp; canvas, but not theme dropdown</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Fri, 17 May 2019 20:44:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34954#p34954</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29449#p29449</link>
			<description><![CDATA[<p>Thanks @joe/@itronics. This will help streamline all the extensions as well and avoid security tinkering in the themes.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 03 Nov 2017 15:23:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29449#p29449</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29446#p29446</link>
			<description><![CDATA[<p>I am having a discussion with Janusz if there are sideeffects (Ajax etc).</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 03 Nov 2017 09:45:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29446#p29446</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29441#p29441</link>
			<description><![CDATA[<p>No need to execute <strong>add_access_extensions();</strong> in any theme&#039;s <strong>renderer.php</strong> and in any extension file as well normally. We can place it in the beginning / end of the <strong>includes/page/header.inc</strong> file (has only global functions) which is always loaded just before the <strong>renderer.php</strong> wherever the latter is used. The <strong>header.inc</strong> is called in the following files:<br /></p><div class="codebox"><pre><code>access/login.php
access/logout.php
access/password_reset.php
includes/main.inc</code></pre></div><p>The function <strong>add_access_extensions()</strong> is defined in <strong>includes/access_levels.inc</strong> and is explicitly called in <strong>admin/security_roles.php</strong> (called only by <strong>applications/setup.php</strong> - visit to <em>Access Setup</em> enables extension) and <strong>index.php</strong> which pretty much covers it&#039;s entire use. Hope Ajax does not become vulnerable because of all this...</p><p>@joe: is this how we fix this?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 02 Nov 2017 22:42:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29441#p29441</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29438#p29438</link>
			<description><![CDATA[<p>After installing the extension and activating it for the target company and logging in to it, go to Setup -&gt; Access Setup -&gt; System Administrator -&gt; tick the permissions and save the role. Logout and login again. Choose the dropdown theme and see if the Import CSV is greyed out. If so, visit the Setup -&gt; Access Setup page and then see if the menu item is visible. This problem does not exist in the Canvas and Default themes as they do not use the meta forward to go to the <strong>dashboard.php</strong> file.</p><p>Just tested it out again for both the original and the patched versions of the extension.</p><p>Checked in the apache error logs and the tmp/errors.log - nothing there.</p><p>@joe: can confirm that when switching back and forth from / to the dropdown theme, the import_items extension (original) does get disabled without error but visiting Setup -&gt; Access Setup page seems to re-enable it when done from the said theme itself.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 02 Nov 2017 21:38:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29438#p29438</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29436#p29436</link>
			<description><![CDATA[<p>Have you tested this extension with dropdown theme also? I would be surprised if that is working without any fix.</p><p>You must get this error without any fix </p><p><a href="https://prnt.sc/h5f5i3">screenshot</a></p><p>You may check it live <a href="http://fa.boxygen.biz/fa24">here</a><br />id: admin<br />pass: Pakistan1947</p><p>I hope you will not get irritate due my repetitive posts. I am just trying to realize you the problem. And it matters to the community because Dropdown theme is now one of the official themes.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Thu, 02 Nov 2017 18:28:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29436#p29436</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29435#p29435</link>
			<description><![CDATA[<p>I have tested it both on Windows (XAMPP v1.7.3 / PHP 5.3.1) and on Debian 6 (PHP 5.3.3-7). The default FA 2.4.2+ works fine with official <strong>import_items</strong> module - you can try to patch it to the <a href="https://github.com/apmuthu/FA24extensions/tree/master/Extensions/import_items">latest</a> as well from my FA24extensions repo - it will also work.</p><p>The reason is that the said function <strong>add_access_extensions()</strong> is executed on <a href="https://github.com/apmuthu/FA24extensions/blob/master/Extensions/import_items/import_items.php#L12">line 12 of <strong>import_items.php</strong></a> itself and there is no need for it in the <strong>renderer.php</strong> of the themes at all. </p><p>Themes get populated with data mostly from the $_SESSION variable which would have got populated with the security parameters before the display template is used. Hence the <strong>add_access_extensions()</strong> is not required to be executed in any theme at all.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 02 Nov 2017 17:36:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29435#p29435</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29433#p29433</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>This is not required as the add_access_extensions(); is available at the top of the file import_items.php itself.</p></blockquote></div><p>You may be right as default FA theme is working perfectly without add_access_extensions(); in renderer.php file but Dropdown theme has an issue unless we add this function. I have checked it 3 times.</p><div class="quotebox"><blockquote><p>@kvvaradha &amp; @boxygen: There is no use of solutions where none are needed. Ambiguous statements will only confuse the end user.<br />The standard FA 2.4.2+ works with the standard import_items PKG from the official PKG repo. Minor updates to it are available from the FA24extensions repo which I maintain independent of the official FA repos..<br />Users are best advised to update their install to the latest release / master before seeking assistance in the forum and state the versions of all pertinent applications used and any dated / specific versions assistance can be taken offline so as not to confuse other users.</p></blockquote></div><p>I needed the solution because I am using this Dropdown theme in Production. I never intended to confuse anyone. The problem still persist. I have just donwloaded the latest repo from Github and tested it. Please give it a try.</p><p>My post # 29 fixes the issue.</p><p>Secondly I just used <strong>item_imorts</strong> as an example to show the bug. But this problem exists (Unless we apply the Fix) with all extensions that have user defined Security Areas.</p><p>Regards.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Thu, 02 Nov 2017 07:37:30 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29433#p29433</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29431#p29431</link>
			<description><![CDATA[<p><strong>Dropdown</strong> theme has now been removed from the Official PKG Repo since it is part of the core. Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 02 Nov 2017 07:13:53 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29431#p29431</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29427#p29427</link>
			<description><![CDATA[<p>@kvvaradha &amp; @boxygen: There is no use of solutions where none are needed. Ambiguous statements will only confuse the end user.</p><p>The standard FA 2.4.2+ works with the standard <strong>import_items</strong> PKG from the official PKG repo. Minor updates to it are available from the <a href="https://github.com/apmuthu/FA24extensions">FA24extensions repo</a> which I maintain independent of the official FA repos..</p><p>Users are best advised to update their install to the latest release / master before seeking assistance in the forum and state the versions of all pertinent applications used and any dated / specific versions assistance can be taken offline so as not to confuse other users.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 02 Nov 2017 05:28:28 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29427#p29427</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29422#p29422</link>
			<description><![CDATA[<p>This is not required as the <strong>add_access_extensions();</strong> is available at the top of the file <strong>import_items.php</strong> itself.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 02 Nov 2017 03:11:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29422#p29422</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29420#p29420</link>
			<description><![CDATA[<p>Sorry to enter the discussion very late.</p><p>I have just given a new look to the whole issue.</p><p>I took the dropdown theme that is shipped with the download package.</p><p>Found that adding just one line at Line 103:</p><p>add_access_extensions(); </p><p>is resolving the problem</p><p>@notrinos pointed the solution in post #12 but things got confused due to different instances of theme.</p><p>Thanks for all of you for taking your time.</p><p>Below would be the correct code after fixing</p><div class="codebox"><pre><code>&lt;?php
/**********************************************************************
    Copyright (C) FrontAccounting, LLC.
    Released under the terms of the GNU General Public License, GPL,
    as published by the Free Software Foundation, either version 3
    of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    See the License here &lt;http://www.gnu.org/licenses/gpl-3.0.html&gt;.
***********************************************************************/
// Author: Joe Hunt, 17/11/2015. Upgraded to release 2.4. 10/11/2015.

    class renderer
    {
        function wa_get_apps($title, $applications, $sel_app)
        {
            foreach($applications as $app)
            {
                foreach ($app-&gt;modules as $module)
                {
                    $apps = array();
                    foreach ($module-&gt;lappfunctions as $appfunction)
                        $apps[] = $appfunction;
                    foreach ($module-&gt;rappfunctions as $appfunction)
                        $apps[] = $appfunction;
                    $application = array();
                    foreach ($apps as $application)
                    {
                        $url = explode(&#039;?&#039;, $application-&gt;link);
                        $app_lnk = $url[0];
                        $pos = strrpos($app_lnk, &quot;/&quot;);
                        if ($pos &gt; 0)
                        {
                            $app_lnk = substr($app_lnk, $pos + 1);
                            $lnk = $_SERVER[&#039;REQUEST_URI&#039;];
                            $url = explode(&#039;?&#039;, $lnk);
                            $asset = false;
                            if (isset($url[1]))
                                $asset = strstr($url[1], &quot;FixedAsset&quot;);
                            $lnk = $url[0];
                            $pos = strrpos($lnk, &quot;/&quot;);
                            $lnk = substr($lnk, $pos + 1);
                            if ($app_lnk == $lnk)
                            {
                                $acc = access_string($app-&gt;name);
                                $app_id = ($asset != false ? &quot;assets&quot; : $app-&gt;id);
                                return array($acc[0], $module-&gt;name, $application-&gt;label, $app_id);
                            }
                        }
                    }
                }
            }
            return array(&quot;&quot;, &quot;&quot;, &quot;&quot;, $sel_app);
        }

        function wa_header()
        {
            page(_($help_context = &quot;Main Menu&quot;), false, true);
        }

        function wa_footer()
        {
            end_page(false, true);
        }
        function shortcut($url, $label)
        {
            echo &quot;&lt;li&gt;&quot;;
            echo menu_link($url, $label);
            echo &quot;&lt;/li&gt;&quot;;
        }
        function menu_header($title, $no_menu, $is_index)
        {
            global $path_to_root, $SysPrefs, $version;

            $sel_app = $_SESSION[&#039;sel_app&#039;];
            echo &quot;&lt;div class=&#039;fa-main&#039;&gt;\n&quot;;
            if (!$no_menu)
            {
                $applications = $_SESSION[&#039;App&#039;]-&gt;applications;
                $local_path_to_root = $path_to_root;
                $pimg = &quot;&lt;img src=&#039;$local_path_to_root/themes/&quot;.user_theme().&quot;/images/preferences.gif&#039; style=&#039;width:14px;height:14px;border:0;vertical-align:middle;padding-bottom:3px;&#039; alt=&#039;&quot;._(&#039;Preferences&#039;).&quot;&#039;&gt;&amp;nbsp;&amp;nbsp;&quot;;
                $limg = &quot;&lt;img src=&#039;$local_path_to_root/themes/&quot;.user_theme().&quot;/images/lock.gif&#039; style=&#039;width:14px;height:14px;border:0;vertical-align:middle;padding-bottom:3px;&#039; alt=&#039;&quot;._(&#039;Change Password&#039;).&quot;&#039;&gt;&amp;nbsp;&amp;nbsp;&quot;;
                $img = &quot;&lt;img src=&#039;$local_path_to_root/themes/&quot;.user_theme().&quot;/images/on_off.png&#039; style=&#039;width:14px;height:14px;border:0;vertical-align:middle;padding-bottom:3px;&#039; alt=&#039;&quot;._(&#039;Logout&#039;).&quot;&#039;&gt;&amp;nbsp;&amp;nbsp;&quot;;
                $himg = &quot;&lt;img src=&#039;$local_path_to_root/themes/&quot;.user_theme().&quot;/images/help.gif&#039; style=&#039;width:14px;height:14px;border:0;vertical-align:middle;padding-bottom:3px;&#039; alt=&#039;&quot;._(&#039;Help&#039;).&quot;&#039;&gt;&amp;nbsp;&amp;nbsp;&quot;;
                echo &quot;&lt;div id=&#039;header&#039;&gt;\n&quot;;
                echo &quot;&lt;ul&gt;\n&quot;;
                echo &quot;  &lt;li&gt;&lt;a href=&#039;$local_path_to_root/admin/display_prefs.php?&#039;&gt;$pimg&quot; . _(&quot;Preferences&quot;) . &quot;&lt;/a&gt;&lt;/li&gt;\n&quot;;
                echo &quot;  &lt;li&gt;&lt;a href=&#039;$local_path_to_root/admin/change_current_user_password.php?selected_id=&quot; . $_SESSION[&quot;wa_current_user&quot;]-&gt;username . &quot;&#039;&gt;$limg&quot; . _(&quot;Change password&quot;) . &quot;&lt;/a&gt;&lt;/li&gt;\n&quot;;
                if ($SysPrefs-&gt;help_base_url != null)
                    echo &quot;  &lt;li&gt;&lt;a target = &#039;_blank&#039; onclick=&quot; .&#039;&quot;&#039;.&quot;javascript:openWindow(this.href,this.target); return false;&quot;.&#039;&quot; &#039;. &quot;href=&#039;&quot;.
                        help_url().&quot;&#039;&gt;$himg&quot; . _(&quot;Help&quot;) . &quot;&lt;/a&gt;&lt;/li&gt;&quot;;
                echo &quot;  &lt;li&gt;&lt;a href=&#039;$path_to_root/access/logout.php?&#039;&gt;$img&quot; . _(&quot;Logout&quot;) . &quot;&lt;/a&gt;&lt;/li&gt;&quot;;
                echo &quot;&lt;/ul&gt;\n&quot;;
                $indicator = &quot;$path_to_root/themes/&quot;.user_theme(). &quot;/images/ajax-loader.gif&quot;;
                echo &quot;&lt;h1&gt;$SysPrefs-&gt;power_by $version&lt;span style=&#039;padding-left:300px;&#039;&gt;&lt;img id=&#039;ajaxmark&#039; src=&#039;$indicator&#039; align=&#039;center&#039; style=&#039;visibility:hidden;&#039;&gt;&lt;/span&gt;&lt;/h1&gt;\n&quot;;
                echo &quot;&lt;/div&gt;\n&quot;; // header

                echo &quot;&lt;div id=&#039;cssmenu&#039;&gt;\n&quot;;
                echo &quot;&lt;ul&gt;\n&quot;;
                $i = 0;
                $account = $this-&gt;wa_get_apps($title, $applications, $sel_app);
                add_access_extensions();
                foreach($applications as $app)
                {
                    if ($_SESSION[&quot;wa_current_user&quot;]-&gt;check_application_access($app))
                    {
                        $acc = access_string($app-&gt;name);
                        $class = ($account[3] == $app-&gt;id ? &quot;active&quot; : &quot;&quot;);
                        $n = count($app-&gt;modules);
                        if ($n)
                            $class .= &quot; has-sub&quot;;
                        $dashboard = &quot;&quot;;
                        $u_agent = $_SERVER[&#039;HTTP_USER_AGENT&#039;];
                        if (preg_match(&#039;/android/i&#039;, $u_agent) &amp;&amp; preg_match(&#039;/mobile/i&#039;, $u_agent)) {
                            $link = &quot;#&#039;&quot;;
                            $dashboard = &quot;$local_path_to_root/index.php?application=$app-&gt;id&quot;;
                        }
                        else
                            $link = &quot;$local_path_to_root/index.php?application=$app-&gt;id &#039;$acc[1]&quot;;
                        echo &quot;  &lt;li class =&#039;$class&#039;&gt;&lt;a href=&#039;$link&gt;&lt;span&gt;&quot; . $acc[0] . &quot;&lt;/span&gt;&lt;/a&gt;\n&quot;;
                        if (!$n)
                        {
                            echo &quot;  &lt;/li&gt;\n&quot;;
                            continue;
                        }
                        echo &quot;    &lt;ul&gt;\n&quot;;
                           if ($dashboard !=&quot;&quot;)
                            echo &quot;      &lt;li&gt;&lt;a href=&#039;$dashboard&#039;&gt;&lt;span&gt;&lt;font color=&#039;red&#039;&gt;&quot;._(&quot;Dashboard&quot;).&quot;&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;\n&quot;;
                        foreach ($app-&gt;modules as $module)
                        {
                            if (!$_SESSION[&quot;wa_current_user&quot;]-&gt;check_module_access($module))
                                continue;
                             echo &quot;      &lt;li class=&#039;has-sub&#039;&gt;&lt;a href=&#039;#&#039;&gt;&lt;span&gt;$module-&gt;name&lt;/span&gt;&lt;/a&gt;\n&quot;;
                             $apps2 = array();
                             foreach ($module-&gt;lappfunctions as $appfunction)
                                $apps2[] = $appfunction;
                            foreach ($module-&gt;rappfunctions as $appfunction)
                                $apps2[] = $appfunction;
                            $application = array();
                               $n = count($apps2);
                               $class = &quot;&quot;;
                               if ($i &gt; 5)
                                   $class = &quot;class=&#039;align_right&#039;&quot;;
                            if ($n)
                                echo &quot;        &lt;ul $class&gt;\n&quot;;
                            else
                            {
                                echo &quot;      &lt;/li&gt;\n&quot;;
                                continue;
                            }
                            foreach ($apps2 as $application)
                            {
                                $lnk = access_string($application-&gt;label);
                                if ($_SESSION[&quot;wa_current_user&quot;]-&gt;can_access_page($application-&gt;access))
                                {
                                    if ($application-&gt;label != &quot;&quot;)
                                    {
                                        echo &quot;          &lt;li&gt;&lt;a href=&#039;$path_to_root/$application-&gt;link&#039;&gt;&lt;span&gt;$lnk[0]&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;\n&quot;;
                                    }
                                }
                                elseif (!$_SESSION[&quot;wa_current_user&quot;]-&gt;hide_inaccessible_menu_items())
                                    echo &quot;          &lt;li&gt;&lt;a href=&#039;#&#039;&gt;&lt;span&gt;&lt;font color=&#039;gray&#039;&gt;$lnk[0]&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;\n&quot;;
                            }
                            if ($n)
                                echo &quot;        &lt;/ul&gt;\n&quot;;
                            echo &quot;      &lt;/li&gt;\n&quot;;
                        }
                        echo &quot;    &lt;/ul&gt;\n&quot;; // menu
                    }
                    echo&quot;  &lt;/li&gt;\n&quot;;
                    $i++;
                }
                echo &quot;&lt;/ul&gt;\n&quot;;
                echo &quot;&lt;/div&gt;\n&quot;; // menu
            }
            echo &quot;&lt;div class=&#039;fa-body&#039;&gt;\n&quot;;
            if ($no_menu)
                echo &quot;&lt;br&gt;&quot;;
            elseif ($title &amp;&amp; !$no_menu &amp;&amp; !$is_index)
            {
                echo &quot;&lt;div class=&#039;fa-content&#039;&gt;\n&quot;;
                echo &quot;&lt;center&gt;&lt;table id=&#039;title&#039;&gt;&lt;tr&gt;&lt;td width=&#039;100%&#039; class=&#039;titletext&#039;&gt;$title&lt;/td&gt;&quot;
                .&quot;&lt;td align=right&gt;&quot;
                .(user_hints() ? &quot;&lt;span id=&#039;hints&#039;&gt;&lt;/span&gt;&quot; : &#039;&#039;)
                .&quot;&lt;/td&gt;&quot;
                .&quot;&lt;/tr&gt;&lt;/table&gt;&lt;/center&gt;&quot;;
            }
        }

        function menu_footer($no_menu, $is_index)
        {
            global $path_to_root, $SysPrefs, $version, $db_connections;
            include_once($path_to_root . &quot;/includes/date_functions.inc&quot;);

            if (!$no_menu &amp;&amp; !$is_index)
                echo &quot;&lt;/div&gt;\n&quot;; // fa-content
            echo &quot;&lt;/div&gt;\n&quot;; // fa-body
            if (!$no_menu)
            {
                   echo &quot;&lt;script type=&#039;text/javascript&#039;&gt;if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))
                          {document.getElementById(&#039;cssmenu&#039;).style.position = &#039;fixed&#039;;}&lt;/script&gt;\n&quot;;
                echo &quot;&lt;div class=&#039;fa-footer&#039;&gt;\n&quot;;
                if (isset($_SESSION[&#039;wa_current_user&#039;]))
                {
                    echo &quot;&lt;span class=&#039;power&#039;&gt;&lt;a target=&#039;_blank&#039; href=&#039;$SysPrefs-&gt;power_url&#039;&gt;$SysPrefs-&gt;power_by $version&lt;/a&gt;&lt;/span&gt;\n&quot;;
                    echo &quot;&lt;span class=&#039;date&#039;&gt;&quot;.Today() . &quot;&amp;nbsp;&quot; . Now().&quot;&lt;/span&gt;\n&quot;;
                    echo &quot;&lt;span class=&#039;date&#039;&gt;&quot; . $db_connections[$_SESSION[&quot;wa_current_user&quot;]-&gt;company][&quot;name&quot;] . &quot;&lt;/span&gt;\n&quot;;
                    echo &quot;&lt;span class=&#039;date&#039;&gt;&quot; . $_SERVER[&#039;SERVER_NAME&#039;] . &quot;&lt;/span&gt;\n&quot;;
                    echo &quot;&lt;span class=&#039;date&#039;&gt;&quot; . $_SESSION[&quot;wa_current_user&quot;]-&gt;name . &quot;&lt;/span&gt;\n&quot;;
                    echo &quot;&lt;span class=&#039;date&#039;&gt;&quot; . _(&quot;Theme:&quot;) . &quot; &quot; . user_theme() . &quot;&lt;/span&gt;\n&quot;;
                    echo &quot;&lt;span class=&#039;date&#039;&gt;&quot;.show_users_online().&quot;&lt;/span&gt;\n&quot;;
                }
                echo &quot;&lt;/div&gt;\n&quot;; // footer
            }
            echo &quot;&lt;/div&gt;\n&quot;; // fa-main
        }

        function display_applications(&amp;$waapp)
        {
            global $path_to_root;

            $sel = $waapp-&gt;get_selected_application();
            meta_forward(&quot;$path_to_root/admin/dashboard.php&quot;, &quot;sel_app=$sel-&gt;id&quot;);
            end_page();
            exit;
        }
    }</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Thu, 02 Nov 2017 02:41:19 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29420#p29420</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29414#p29414</link>
			<description><![CDATA[<p>Ah, now I understand what you mean. I didn&#039;t know that it was also in the extension library.</p><p>Of course it should be removed from there. Thanks for investigating.</p><p>I will ask Janusz to remove it asap. And thanks again.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 01 Nov 2017 15:02:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29414#p29414</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29413#p29413</link>
			<description><![CDATA[<p>Isn&#039;t it better removed from the Official 2.4 PKG repo?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 01 Nov 2017 14:54:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29413#p29413</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dropdown theme showing error and not displaying custom modules]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29412#p29412</link>
			<description><![CDATA[<p>No it is not. I looks like an early Alpha or Beta of 2.4.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 01 Nov 2017 14:49:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29412#p29412</guid>
		</item>
	</channel>
</rss>
