]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/php/frio_boot.php
Merge pull request #4243 from MrPetovan/task/switch-to-array-new-style
[friendica.git] / view / theme / frio / php / frio_boot.php
index 17fbb1fbac85a3433fd4e1ad9a3a1720010e4735..1f816c5b2fdad7344bbf5826c7e45e07b7abfca5 100644 (file)
@@ -15,9 +15,9 @@ use Friendica\App;
  * @todo Check if this is really needed.
  */
 function load_page(App $a) {
-       if(isset($_GET["mode"]) AND ($_GET["mode"] == "minimal")) {
+       if(isset($_GET["mode"]) && ($_GET["mode"] == "minimal")) {
                require "view/theme/frio/minimal.php";
-       } elseif((isset($_GET["mode"]) AND ($_GET["mode"] == "none"))) {
+       } elseif((isset($_GET["mode"]) && ($_GET["mode"] == "none"))) {
                require "view/theme/frio/none.php";
        } else {
                $template = 'view/theme/' . current_theme() . '/'
@@ -63,12 +63,12 @@ function is_modal() {
  */
 function get_modalpage_list() {
        //Arry of pages wich getting bootstrap modal dialogs
-       $modalpages = array('poke/',
+       $modalpages = ['poke/',
                        'message/new',
                        'settings/oauth/add',
                        'events/new',
 //                     'fbrowser/image/'
-       );
+       ];
 
        return $modalpages;
 }
@@ -83,9 +83,9 @@ function get_modalpage_list() {
  */
 function get_standard_page_list() {
        //Arry of pages wich getting the standard page template
-       $standardpages = array(//'profile',
+       $standardpages = [//'profile',
 //                     'fbrowser/image/'
-       );
+       ];
 
        return $standardpages;
 }