예제 #1
0
			<?php 
echo $form->dropDownList($model, 'thTitleShow', array(false => $this->tr('hideTitle'), true => $this->tr('showTitle')));
?>
			<?php 
echo FBAdmin::getDefaultValue('album', 'thTitleShow');
?>
		</div>
		<div class="row">
			<?php 
echo FBAdmin::helpTooltip('useInfoBox');
?>
			<?php 
echo $form->labelEx($model, 'useInfoBox');
?>
			<?php 
echo $form->dropDownList($model, 'useInfoBox', array(false => $this->tr('hideInfo'), true => $this->tr('showInfo')));
?>
			<?php 
echo FBAdmin::getDefaultValue('album', 'useInfoBox');
?>
		</div>

	</div>

	<div class="rowForButtons"><?php 
echo CHtml::ajaxSubmitButton($this->tr('saveAlbum'), '', array('complete' => 'function(){$(".working").remove();}'), array('class' => 'fbCPButton'));
?>
</div>

<?php 
$this->endWidget();
예제 #2
0
?>
		</div>
		<div class="row">
			<?php 
echo FBAdmin::helpTooltip('speedOut');
?>
			<?php 
echo $form->labelEx($model, 'speedOut');
?>
			<?php 
$this->widget('zii.widgets.jui.CJuiSlider', array('id' => 'speedOutSlider', 'value' => $model->speedOut, 'options' => array('min' => 10, 'max' => 900, 'step' => 50, 'slide' => 'js:function(event, ui) {
						$("#Cfg_speedOut").val(ui.value);
					}'), 'htmlOptions' => array('style' => 'height:12px;width:140px;margin-top:4px;float:left; margin-right:12px;')));
?>
			<?php 
echo $form->textField($model, 'speedOut', array('class' => 'valSlider', 'readonly' => 'readonly'));
?>
			<?php 
echo FBAdmin::getDefaultValue('fancybox', 'speedOut');
?>
		</div>

	</div>

	<div class="rowForButtons"><?php 
echo CHtml::ajaxSubmitButton($this->tr('saveFancyBox'), '', array('complete' => 'function(){$(".working").remove();}'), array('class' => 'fbCPButton'));
?>
</div>

<?php 
$this->endWidget();
예제 #3
0
			<?php 
echo $form->textField($model, 'defaultLanguage');
?>
			<?php 
echo FBAdmin::getDefaultValue('gallery', 'defaultLanguage');
?>
		</div>

		<div class="row">
			<?php 
echo FBAdmin::helpTooltip('languages');
?>
			<?php 
echo $form->labelEx($model, 'languages');
?>
			<?php 
echo $form->textField($model, 'languages');
?>
			<?php 
echo FBAdmin::getDefaultValue('gallery', 'languages');
?>
		</div>
	</div>

	<div class="rowForButtons"><?php 
echo CHtml::ajaxSubmitButton($this->tr('saveGallery'), '', array('complete' => 'function(){$(".working").remove();}'), array('class' => 'fbCPButton'));
?>
</div>

<?php 
$this->endWidget();
예제 #4
0
?>
			<?php 
echo $form->dropDownList($model, 'unique_names', array(false => $this->tr('no'), true => $this->tr('yes')));
?>
			<?php 
echo FBAdmin::getDefaultValue('uploader', 'unique_names');
?>
		</div>
		<div class="row">
			<?php 
echo FBAdmin::helpTooltip('runtimes');
?>
			<?php 
echo $form->labelEx($model, 'runtimes');
?>
			<?php 
echo $form->dropDownList($model, 'runtimes', array('gears' => 'gears', 'html4' => 'html4', 'html5' => 'html5', 'flash' => 'flash', 'silverlight' => 'silverlight', 'browserplus' => 'browserplus', 'html5, flash' => 'html5, flash', 'html5, flash, html4' => 'html5, flash, html4', 'gears,html5' => 'gears,html5', 'gears,html5,flash' => 'gears,html5,flash', 'gears,html5,flash,silverlight' => 'gears,html5,flash,silverlight', 'gears,html5,flash,silverlight,browserplus' => 'gears,html5,flash,silverlight,browserplus'));
?>
			<?php 
echo FBAdmin::getDefaultValue('uploader', 'runtimes');
?>
		</div>
	</div>

	<div class="rowForButtons"><?php 
echo CHtml::ajaxSubmitButton($this->tr('saveUploader'), '', array('complete' => 'function(){$(".working").remove();}'), array('class' => 'fbCPButton'));
?>
</div>

<?php 
$this->endWidget();
예제 #5
0
?>
			<?php 
echo $form->dropDownList($model, 'showCoverDescription', array(false => $this->tr('no'), true => $this->tr('yes')));
?>
			<?php 
echo FBAdmin::getDefaultValue('collection', 'showCoverDescription');
?>
		</div>
		<div class="row">
			<?php 
echo FBAdmin::helpTooltip('showCoverTags');
?>
			<?php 
echo $form->labelEx($model, 'showCoverTags');
?>
			<?php 
echo $form->dropDownList($model, 'showCoverTags', array(false => $this->tr('no'), true => $this->tr('yes')));
?>
			<?php 
echo FBAdmin::getDefaultValue('collection', 'showCoverTags');
?>
		</div>
	</div>

	<div class="rowForButtons"><?php 
echo CHtml::ajaxSubmitButton($this->tr('saveCollection'), '', array('complete' => 'function(){$(".working").remove();}'), array('class' => 'fbCPButton'));
?>
</div>

<?php 
$this->endWidget();