Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
a317d3904b
9 changed files with 19 additions and 54 deletions
|
@ -7,7 +7,7 @@ class Application_Form_AddShowRR extends Zend_Form_SubForm
|
|||
{
|
||||
// Add record element
|
||||
$this->addElement('checkbox', 'add_show_record', array(
|
||||
'label' => 'Record?',
|
||||
'label' => 'Record from Line In?',
|
||||
'required' => false,
|
||||
));
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ class Application_Form_WatchedDirPreferences extends Zend_Form_SubForm
|
|||
|
||||
$this->addElement('text', 'storageFolder', array(
|
||||
'class' => 'input_text',
|
||||
'label' => 'Airtime\'s Storage Folder:',
|
||||
'label' => 'Import Folder:',
|
||||
'required' => false,
|
||||
'filters' => array('StringTrim'),
|
||||
'value' => '',
|
||||
|
@ -22,7 +22,7 @@ class Application_Form_WatchedDirPreferences extends Zend_Form_SubForm
|
|||
|
||||
$this->addElement('text', 'watchedFolder', array(
|
||||
'class' => 'input_text',
|
||||
'label' => 'Choose a Watched Folder:',
|
||||
'label' => 'Watched Folders:',
|
||||
'required' => false,
|
||||
'filters' => array('StringTrim'),
|
||||
'value' => '',
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</ul>
|
||||
<?php endif; ?>
|
||||
</dd>
|
||||
<dd class="block-display selected-item"><strong>Current Storage Folder:</strong><?php $stor = Application_Model_MusicDir::getStorDir(); echo $stor->getDirectory(); ?></dd>
|
||||
<dd class="block-display selected-item"><strong>Current Import Folder:</strong><?php $stor = Application_Model_MusicDir::getStorDir(); echo $stor->getDirectory(); ?></dd>
|
||||
|
||||
<dt id="watchedFolder-label" class="block-display">
|
||||
<label class="required" for="watchedFolder"><?php echo $this->element->getElement('watchedFolder')->getLabel() ?></label>
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
<li class="time-zone"><span id="time-zone"></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="listen-control-block">
|
||||
<a class="" href="#"><span>Listen</span></a>
|
||||
</div>
|
||||
<?php if($this->is_trial){?>
|
||||
<div class="trial-info-block">
|
||||
<ul>
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
@echo off
|
||||
|
||||
rem *********************************************************************
|
||||
rem ** The Propel generator convenience script for Windows based systems
|
||||
rem ** $Id$
|
||||
rem *********************************************************************
|
||||
|
||||
rem This script will do the following:
|
||||
rem - check for PHING_COMMAND env, if found, use it.
|
||||
rem - if not found detect php, if found use it, otherwise err and terminate
|
||||
rem - check for PROPEL_GEN_HOME env, if found use it
|
||||
rem - if not found error and leave
|
||||
|
||||
if "%OS%"=="Windows_NT" @setlocal
|
||||
|
||||
rem %~dp0 is expanded pathname of the current script under NT
|
||||
set DEFAULT_PROPEL_GEN_HOME=%~dp0..
|
||||
|
||||
if "%PROPEL_GEN_HOME%" == "" set PROPEL_GEN_HOME=%DEFAULT_PROPEL_GEN_HOME%
|
||||
set DEFAULT_PROPEL_GEN_HOME=
|
||||
|
||||
if "%PHING_COMMAND%" == "" set PHING_COMMAND=phing.bat
|
||||
|
||||
set nbArgs=0
|
||||
for %%x in (%*) do Set /A nbArgs+=1
|
||||
if %nbArgs% leq 1 (
|
||||
%PHING_COMMAND% -f "%PROPEL_GEN_HOME%\build.xml" -Dusing.propel-gen=true -Dproject.dir="%CD%" %*
|
||||
) else (
|
||||
%PHING_COMMAND% -f "%PROPEL_GEN_HOME%\build.xml" -Dusing.propel-gen=true -Dproject.dir=%*
|
||||
)
|
||||
|
||||
if "%OS%"=="Windows_NT" @endlocal
|
|
@ -260,7 +260,7 @@ function init() {
|
|||
|
||||
setupQtip();
|
||||
|
||||
$('#on-air-info').click(function() {
|
||||
$('.listen-control-block').click(function() {
|
||||
if (stream_window == null || stream_window.closed)
|
||||
stream_window=window.open(baseUrl+"Dashboard/stream-player", 'name', 'width=400,height=216');
|
||||
stream_window.focus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue