projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed extension module update and deletion.
[fa-stable.git]
/
themes
/
aqua
/
renderer.php
diff --git
a/themes/aqua/renderer.php
b/themes/aqua/renderer.php
index 8abc9c46e054e7377acfe610d04863ff5af28968..415a500972a67a52462c109bf25834bb3aa21599 100644
(file)
--- a/
themes/aqua/renderer.php
+++ b/
themes/aqua/renderer.php
@@
-89,7
+89,8
@@
function menu_footer($no_menu, $is_index)
{
function menu_footer($no_menu, $is_index)
{
- global $version, $allow_demo_mode, $app_title, $power_url, $power_by, $path_to_root;
+ global $version, $allow_demo_mode, $app_title, $power_url,
+ $power_by, $path_to_root, $Pagehelp, $Ajax;
include_once($path_to_root . "/includes/date_functions.inc");
if ($no_menu == false)
include_once($path_to_root . "/includes/date_functions.inc");
if ($no_menu == false)
@@
-99,8
+100,12
@@
else
echo "<table class=bottomBar2>\n";
echo "<tr>";
else
echo "<table class=bottomBar2>\n";
echo "<tr>";
- if (isset($_SESSION['wa_current_user']))
+ if (isset($_SESSION['wa_current_user'])) {
+ $phelp = implode('; ', $Pagehelp);
echo "<td class=bottomBarCell>" . Today() . " | " . Now() . "</td>\n";
echo "<td class=bottomBarCell>" . Today() . " | " . Now() . "</td>\n";
+ $Ajax->addUpdate(true, 'hotkeyshelp', $phelp);
+ echo "<td id='hotkeyshelp'>".$phelp."</td>";
+ }
echo "</tr></table>\n";
}
echo "</td></tr></table></td>\n";
echo "</tr></table>\n";
}
echo "</td></tr></table></td>\n";
@@
-109,7
+114,7
@@
{
echo "<table align='center' id='footer'>\n";
echo "<tr>\n";
{
echo "<table align='center' id='footer'>\n";
echo "<tr>\n";
- echo "<td align='center' class='footer'><a target='_blank' href='$power_url'><font color='#ffffff'>$app_title $version - " . _("Theme:") . " " . user_theme() . "</font></a></td>\n";
+ echo "<td align='center' class='footer'><a target='_blank' href='$power_url'><font color='#ffffff'>$app_title $version - " . _("Theme:") . " " . user_theme() . "
- ".show_users_online()."
</font></a></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td align='center' class='footer'><a target='_blank' href='$power_url'><font color='#ffff00'>$power_by</font></a></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td align='center' class='footer'><a target='_blank' href='$power_url'><font color='#ffff00'>$power_by</font></a></td>\n";
@@
-145,13
+150,18
@@
foreach ($module->lappfunctions as $appfunction)
{
foreach ($module->lappfunctions as $appfunction)
{
- if ($_SESSION["wa_current_user"]->can_access_page($appfunction->access))
+ if ($appfunction->label == "")
+ echo " <br>";
+ elseif ($_SESSION["wa_current_user"]->can_access_page($appfunction->access))
{
{
- if ($appfunction->label == "")
- echo " <br>";
- else
echo $img.menu_link($appfunction->link, $appfunction->label)."<br>\n";
}
echo $img.menu_link($appfunction->link, $appfunction->label)."<br>\n";
}
+ else
+ {
+ echo $img.'<span class="inactive">'
+ .access_string($appfunction->label, true)
+ ."</span><br>\n";
+ }
}
echo "</td>";
if (sizeof($module->rappfunctions) > 0)
}
echo "</td>";
if (sizeof($module->rappfunctions) > 0)
@@
-159,13
+169,18
@@
echo "<td width='50%' class='menu_group_items'>";
foreach ($module->rappfunctions as $appfunction)
{
echo "<td width='50%' class='menu_group_items'>";
foreach ($module->rappfunctions as $appfunction)
{
- if ($_SESSION["wa_current_user"]->can_access_page($appfunction->access))
+ if ($appfunction->label == "")
+ echo " <br>";
+ elseif ($_SESSION["wa_current_user"]->can_access_page($appfunction->access))
{
{
- if ($appfunction->label == "")
- echo " <br>";
- else
echo $img.menu_link($appfunction->link, $appfunction->label)."<br>\n";
echo $img.menu_link($appfunction->link, $appfunction->label)."<br>\n";
- }
+ }
+ else
+ {
+ echo $img.'<span class="inactive">'
+ .access_string($appfunction->label, true)
+ ."</span><br>\n";
+ }
}
echo "</td>";
}
}
echo "</td>";
}