projects
/
atutor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ba81961
)
Fixed the issue that the check of "avail_in_mobile" on the top level tool pages was...
author
cindy li
<cli@ocad.ca>
Tue, 30 Aug 2011 17:58:55 +0000
(17:58 -0000)
committer
cindy li
<cli@ocad.ca>
Tue, 30 Aug 2011 17:58:55 +0000
(17:58 -0000)
docs/tools/index.php
patch
|
blob
|
history
diff --git
a/docs/tools/index.php
b/docs/tools/index.php
index
d226b28
..
e959d8a
100644
(file)
--- a/
docs/tools/index.php
+++ b/
docs/tools/index.php
@@
-23,7
+23,7
@@
$keys = array_keys($module_list);
echo '<ol id="tools">';
foreach ($keys as $module_name) {
$module = $module_list[$module_name];
echo '<ol id="tools">';
foreach ($keys as $module_name) {
$module = $module_list[$module_name];
- if ($module->getPrivilege() && authenticate($module->getPrivilege(), AT_PRIV_RETURN) && ($parent = $module->getChildPage('tools/index.php'))) {
+ if ($module->getPrivilege() && authenticate($module->getPrivilege(), AT_PRIV_RETURN) && ($parent = $module->getChildPage('tools/index.php'))
&& page_available($parent)
) {
echo '<li class="top-tool"><a href="' . $parent . '">' . $module->getName() . '</a> ';
if (isset($_pages[$parent]['children'])) {
echo '<ul class="child-top-tool">';
echo '<li class="top-tool"><a href="' . $parent . '">' . $module->getName() . '</a> ';
if (isset($_pages[$parent]['children'])) {
echo '<ul class="child-top-tool">';