diff --git a/airtime_mvc/application/models/Preference.php b/airtime_mvc/application/models/Preference.php index b565cdfb1..fb361501f 100644 --- a/airtime_mvc/application/models/Preference.php +++ b/airtime_mvc/application/models/Preference.php @@ -432,6 +432,9 @@ class Application_Model_Preference } public static function GetEnableStreamConf(){ + if(self::GetValue("enable_stream_conf") == Null){ + return "true"; + } return self::GetValue("enable_stream_conf"); } diff --git a/airtime_mvc/application/views/scripts/form/stream-setting-form.phtml b/airtime_mvc/application/views/scripts/form/stream-setting-form.phtml index 5d36c5dfc..8c2777d61 100644 --- a/airtime_mvc/application/views/scripts/form/stream-setting-form.phtml +++ b/airtime_mvc/application/views/scripts/form/stream-setting-form.phtml @@ -64,10 +64,10 @@ Additional Options
-
+
-
+
element->getElement('user')?> element->getElement('user')->hasErrors()) : ?>
-
+
-
+
element->getElement('pass')?> element->getElement('pass')->hasErrors()) : ?>
-
+
-
+
element->getElement('genre')?> element->getElement('genre')->hasErrors()) : ?>
-
+
-
+
element->getElement('mount')?> element->getElement('mount')->hasErrors()) : ?>
-
+
-
-

+
+
diff --git a/airtime_mvc/application/views/scripts/preference/stream-setting.phtml b/airtime_mvc/application/views/scripts/preference/stream-setting.phtml index aa413857b..b86bbc855 100644 --- a/airtime_mvc/application/views/scripts/preference/stream-setting.phtml +++ b/airtime_mvc/application/views/scripts/preference/stream-setting.phtml @@ -1,5 +1,5 @@
-

Stream Settings

+

enable_stream_conf == "true"){?>style="float:left">Stream Settings

enable_stream_conf == "true"){?>