Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Feb 13, 2025
1 parent 1a619b9 commit 7ed7cda
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions view/include/navbarSidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,21 +181,23 @@
</a>
</div>
</li>
<?php
}else{
<?php
} else {
global $canUploadMessage;
if (!empty($canUploadMessage)) {
?>
<li>
<div>
<a href="#" class="btn btn-default btn-block disabled" style="border-radius: 0;">
<i class="fa-solid fa-cross"></i>
<span class="menuLabel">
<?php echo __($canUploadMessage); ?>
</span>
</a>
</div>
</li>
<li>
<div>
<a href="#" class="btn btn-default btn-block disabled" style="border-radius: 0;">
<i class="fa-solid fa-cross"></i>
<span class="menuLabel">
<?php echo __($canUploadMessage); ?>
</span>
</a>
</div>
</li>
<?php
}
}
?>
<li>
Expand Down Expand Up @@ -582,7 +584,7 @@
TimeLogEnd($tnameSide, __LINE__, $tToleranceSide);
$categories = Category::getAllCategories(false, true, false, $sameUserGroupAsMe);
TimeLogEnd($tnameSide, __LINE__, $tToleranceSide);
echo "<!-- categories found ".count($categories)." -->";
echo "<!-- categories found " . count($categories) . " -->";
foreach ($categories as $value) {
if ($value['parentId']) {
echo "<!-- categories parentId is present {$value['parentId']} -->";
Expand Down Expand Up @@ -616,7 +618,7 @@
TimeLogEnd($tnameSide, __LINE__, $tToleranceSide);
$_POST = $post;
$_GET = $get;
}else{
} else {
echo "<!-- categories doNotDisplayCategoryLeftMenu -->";
}

Expand Down

0 comments on commit 7ed7cda

Please sign in to comment.