Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
37415f33d4
16 changed files with 302 additions and 136 deletions
|
@ -1,3 +1,9 @@
|
|||
<?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)) : ?>
|
||||
|
@ -7,7 +13,10 @@
|
|||
<span class="down"><?php echo $page->getLabel(); ?></span>
|
||||
</a>
|
||||
<ul class="sub">
|
||||
<?php foreach ($page->getPages() as $sub) : ?>
|
||||
<?php foreach ($page->getPages() as $sub) :
|
||||
if($isSaas && $sub->getLabel() == "Manage Media Folders"){
|
||||
continue;
|
||||
} ?>
|
||||
<li>
|
||||
<a href="<?php echo $sub->getHref(); ?>" <?php echo ($sub->getTarget() != "")?"target=\"".$sub->getTarget()."\"":""; ?>><?php echo $sub->getLabel(); ?></a>
|
||||
</li>
|
||||
|
|
|
@ -18,8 +18,10 @@
|
|||
echo $this->form->getSubform("s".$i."_subform");
|
||||
}
|
||||
?>
|
||||
<?php if($this->disable_stream_conf != "true"){?>
|
||||
<div class="button-bar bottom" id="submit-element">
|
||||
<input type="submit" class="ui-button ui-state-default right-floated" value="Save" id="Save" name="Save" />
|
||||
</div>
|
||||
<?php }?>
|
||||
</form>
|
||||
</div>
|
|
@ -16,12 +16,14 @@
|
|||
<?php echo $this->when; ?>
|
||||
<?php echo $this->repeats; ?>
|
||||
</div>
|
||||
<?php if(!$this->isSaas()){?>
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span>Record & Rebroadcast</h3>
|
||||
<div id="schedule-record-rebroadcast" class="collapsible-content">
|
||||
<?php echo $this->rr; ?>
|
||||
<?php echo $this->absoluteRebroadcast; ?>
|
||||
<?php echo $this->rebroadcast; ?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span>Who</h3>
|
||||
<div id="schedule-show-who" class="collapsible-content">
|
||||
<?php echo $this->who; ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue