]> _ Git - fluidbook-v3.git/commitdiff
wait #7756
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 25 Sep 2025 12:50:26 +0000 (14:50 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 25 Sep 2025 12:50:26 +0000 (14:50 +0200)
.idea/workspace.xml
framework/application/views/helpers/Home.php

index d8e51f5a50bbf5b698bb6e39a526eecc3ee84b66..ba152de03da8b2dc914b567b8c7c2c496f9d2fe7 100644 (file)
@@ -4,11 +4,8 @@
     <option name="autoReloadType" value="SELECTIVE" />
   </component>
   <component name="ChangeListManager">
-    <list default="true" id="530ffb50-16c9-4bb3-ad22-e76f531eb78c" name="Default" comment="wait #1419 @1">
-      <change afterPath="$PROJECT_DIR$/framework/application/views/helpers/HomeAir.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/dataSources.local.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dataSources.local.xml" afterDir="false" />
+    <list default="true" id="530ffb50-16c9-4bb3-ad22-e76f531eb78c" name="Default" comment="wait #7756 @1.5">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/framework/application/forms/CMS/Home.php" beforeDir="false" afterPath="$PROJECT_DIR$/framework/application/forms/CMS/Home.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/framework/application/views/helpers/Home.php" beforeDir="false" afterPath="$PROJECT_DIR$/framework/application/views/helpers/Home.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
       <workItem from="1757063759669" duration="765000" />
       <workItem from="1757316854703" duration="360000" />
       <workItem from="1757510406092" duration="1991000" />
-      <workItem from="1758795752724" duration="1062000" />
+      <workItem from="1758795752724" duration="3096000" />
     </task>
     <task id="LOCAL-00117" summary="fix #1407 @1">
       <created>1494411210038</created>
       <option name="project" value="LOCAL" />
       <updated>1682409989659</updated>
     </task>
-    <option name="localTasksCounter" value="189" />
+    <option name="localTasksCounter" value="190" />
     <servers>
       <Redmine shared="true" url="https://team.cubedesigners.com/redmine">
         <option name="APIKey" value="ee454486fcd47aa38e5c99d5a7dc44cff1f65597" />
   <component name="VcsManagerConfiguration">
     <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
     <option name="CHECK_NEW_TODO" value="false" />
-    <MESSAGE value="wip #5392" />
     <MESSAGE value="wip #5220 @3" />
     <MESSAGE value="try #5868 @0.5" />
     <MESSAGE value="wip #6407 @1.5" />
     <MESSAGE value="wait #7710 @0.5" />
     <MESSAGE value="wait #7699 @0:20" />
     <MESSAGE value="wait #1419 @1" />
-    <option name="LAST_COMMIT_MESSAGE" value="wait #1419 @1" />
+    <MESSAGE value="wait #7756 @1.5" />
+    <option name="LAST_COMMIT_MESSAGE" value="wait #7756 @1.5" />
     <option name="NON_MODAL_COMMIT_POSTPONE_SLOW_CHECKS" value="false" />
   </component>
   <component name="XDebuggerManager">
index 50699785d24167cdc749c07dab474f3f63c5486c..017b3767345bf008ca6620c06a54f2a8ee425595 100644 (file)
@@ -1,47 +1,36 @@
 <?php\r
 \r
-class Fluidbook_View_Helper_Home extends CubeIT_View_Helper_Abstract {\r
-       /**\r
-        * @return string\r
-        */\r
-       public function home() {\r
-               $res = '';\r
+class Fluidbook_View_Helper_Home extends CubeIT_View_Helper_Abstract\r
+{\r
+    /**\r
+     * @return string\r
+     */\r
+    public function home()\r
+    {\r
+        $res = '';\r
 \r
+        $blocs = array(\r
+            'intro',\r
+            'features',\r
+            'mobile',\r
+            'services',\r
+            'air',\r
+            'references',\r
+            'customers',\r
+        );\r
+        \r
+        foreach ($blocs as $bloc) {\r
 \r
-        if(Bootstrap::getInstance()->isAllowed('admin')) {\r
-            $blocs = array(\r
-                'intro',\r
-                'features',\r
-                'mobile',\r
-                'services',\r
-                'air',\r
-                'references',\r
-                'customers',\r
-            );\r
-        }else{\r
-            $blocs = array(\r
-                'intro',\r
-                'features',\r
-                'mobile',\r
-                'services',\r
-              //  'air',\r
-                'references',\r
-                'customers',\r
-            );\r
-        }\r
-\r
-               foreach ($blocs as $bloc) {\r
+            if (empty($this->{$bloc}['title'])) continue; // Skip sections with no title set\r
 \r
-                   if (empty($this->{$bloc}['title'])) continue; // Skip sections with no title set\r
-\r
-                       $viewHelper = 'home' . ucfirst($bloc);\r
-                       $res .= $this->$viewHelper($this->{$bloc});\r
-               }\r
-               $cf = CubeIT_Util_Cms::unserialize($this->option('contact_footer'));\r
-               $cf['bg_image'] = $cf['bg_image_big'];\r
-               $cf['bg_color'] = $cf['bg_color_big'];\r
-               $res .= $this->contactFooter($cf);\r
+            $viewHelper = 'home' . ucfirst($bloc);\r
+            $res .= $this->$viewHelper($this->{$bloc});\r
+        }\r
+        $cf = CubeIT_Util_Cms::unserialize($this->option('contact_footer'));\r
+        $cf['bg_image'] = $cf['bg_image_big'];\r
+        $cf['bg_color'] = $cf['bg_color_big'];\r
+        $res .= $this->contactFooter($cf);\r
 \r
-               return $res;\r
-       }\r
+        return $res;\r
+    }\r
 }\r