SAAS-289: Remove all isSaaS checks
-done
This commit is contained in:
parent
90f14584b5
commit
fd3305bc4c
15 changed files with 15 additions and 122 deletions
|
@ -1,9 +1,3 @@
|
|||
<?php
|
||||
$isSaas = true;
|
||||
if(Application_Model_Preference::GetPlanLevel() == "disabled"){
|
||||
$isSaas = false;
|
||||
}
|
||||
?>
|
||||
<ul id="nav">
|
||||
<?php foreach ($this->container as $page) : ?>
|
||||
<?php if($this->navigation()->accept($page)) : ?>
|
||||
|
@ -13,10 +7,7 @@
|
|||
<span class="down"><?php echo $page->getLabel(); ?></span>
|
||||
</a>
|
||||
<ul class="sub">
|
||||
<?php foreach ($page->getPages() as $sub) :
|
||||
if($isSaas && $sub->getId() == "manage_folder"){
|
||||
continue;
|
||||
} ?>
|
||||
<?php foreach ($page->getPages() as $sub) : ?>
|
||||
<li>
|
||||
<a href="<?php echo $sub->getHref(); ?>" <?php echo ($sub->getTarget() != "")?"target=\"".$sub->getTarget()."\"":""; ?>><?php echo $sub->getLabel(); ?></a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue