@@ -20,7 +20,7 @@ |
||
20 | 20 | use |
21 | 21 | CRUD, |
22 | 22 | Singleton; |
23 | - protected $data_model = [ |
|
23 | + protected $data_model = [ |
|
24 | 24 | 'id' => 'int', |
25 | 25 | 'title' => 'ml:text', |
26 | 26 | 'path' => 'ml:text', |
@@ -20,7 +20,7 @@ |
||
20 | 20 | use |
21 | 21 | CRUD, |
22 | 22 | Singleton; |
23 | - protected $data_model = [ |
|
23 | + protected $data_model = [ |
|
24 | 24 | 'id' => 'int', |
25 | 25 | 'title' => 'ml:text', |
26 | 26 | 'path' => 'ml:text', |
@@ -20,7 +20,7 @@ |
||
20 | 20 | use |
21 | 21 | CRUD, |
22 | 22 | Singleton; |
23 | - protected $data_model = [ |
|
23 | + protected $data_model = [ |
|
24 | 24 | 'id' => 'int', |
25 | 25 | 'title' => 'ml:text', |
26 | 26 | 'path' => 'ml:text', |
@@ -20,7 +20,7 @@ |
||
20 | 20 | use |
21 | 21 | CRUD, |
22 | 22 | Singleton; |
23 | - protected $data_model = [ |
|
23 | + protected $data_model = [ |
|
24 | 24 | 'id' => 'int', |
25 | 25 | 'title' => 'ml:text', |
26 | 26 | 'path' => 'ml:text', |
@@ -20,7 +20,7 @@ |
||
20 | 20 | use |
21 | 21 | CRUD, |
22 | 22 | Singleton; |
23 | - protected $data_model = [ |
|
23 | + protected $data_model = [ |
|
24 | 24 | 'id' => 'int', |
25 | 25 | 'title' => 'ml:text', |
26 | 26 | 'path' => 'ml:text', |
@@ -27,7 +27,7 @@ |
||
27 | 27 | 'option' => 'int', |
28 | 28 | 'user' => 'int' |
29 | 29 | ]; |
30 | - protected $table = '[prefix]polls_options_answers'; |
|
30 | + protected $table = '[prefix]polls_options_answers'; |
|
31 | 31 | |
32 | 32 | protected function cdb () { |
33 | 33 | return Config::instance()->module('Polls')->db('polls'); |
@@ -87,7 +87,7 @@ |
||
87 | 87 | ob_wrapper('phpinfo'), |
88 | 88 | $version |
89 | 89 | ); |
90 | - $return = "Apache $version[1]"; |
|
90 | + $return = "apache $version[1]"; |
|
91 | 91 | if (stripos($phpinfo, 'mod_php') !== false) { |
92 | 92 | $return .= ' + mod_php + PHP '.PHP_VERSION; |
93 | 93 | } |
@@ -25,8 +25,7 @@ |
||
25 | 25 | ). |
26 | 26 | h::label($L->gallery_title). |
27 | 27 | h::{'input[is=cs-input-text][name=add[title]]'}(). |
28 | - ($Config->core['simple_admin_mode'] ? '' : |
|
29 | - h::label(h::info('photo_gallery_gallery_path')). |
|
28 | + ($Config->core['simple_admin_mode'] ? '' : h::label(h::info('photo_gallery_gallery_path')). |
|
30 | 29 | h::{'input[is=cs-input-text][name=add[path]]'}() |
31 | 30 | ). |
32 | 31 | h::label($L->gallery_description). |
@@ -25,8 +25,7 @@ |
||
25 | 25 | ). |
26 | 26 | h::label($L->gallery_title). |
27 | 27 | h::{'input[is=cs-input-text][name=add[title]]'}(). |
28 | - ($Config->core['simple_admin_mode'] ? '' : |
|
29 | - h::label(h::info('photo_gallery_gallery_path')). |
|
28 | + ($Config->core['simple_admin_mode'] ? '' : h::label(h::info('photo_gallery_gallery_path')). |
|
30 | 29 | h::{'input[is=cs-input-text][name=add[path]]'}() |
31 | 30 | ). |
32 | 31 | h::label($L->gallery_description). |