From e49dd4e0b90e085e8bb8f9e7ec991d68ed866c39 Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Mon, 28 Sep 2015 13:12:22 +0100 Subject: [PATCH] #179 Make Items Kit icon visible on home page Remove the if statement that was in the end preventing any module having a _ to be displayed in the home page. This solution is consistent with navigation bar one. Also done some indentation in header and footer to improve readibility. --- application/views/home.php | 15 +++---- application/views/partial/footer.php | 14 ++++-- application/views/partial/header.php | 65 ++++++++++++++-------------- 3 files changed, 48 insertions(+), 46 deletions(-) diff --git a/application/views/home.php b/application/views/home.php index 4cd22743e..004c70001 100644 --- a/application/views/home.php +++ b/application/views/home.php @@ -5,17 +5,14 @@ result() as $module) { - if (sizeof(explode('_', $module->module_id)) == 1) - { ?> -
- module_id");?>"> - Menubar Image
- module_id");?>">lang->line("module_".$module->module_id) ?> - - lang->line('module_'.$module->module_id.'_desc');?> -
+
+ module_id");?>"> + Menubar Image
+ module_id");?>">lang->line("module_".$module->module_id) ?> + - lang->line('module_'.$module->module_id.'_desc');?> +
diff --git a/application/views/partial/footer.php b/application/views/partial/footer.php index c4ffdf6ee..7f0f9922e 100644 --- a/application/views/partial/footer.php +++ b/application/views/partial/footer.php @@ -1,6 +1,12 @@ - - - + + + + \ No newline at end of file diff --git a/application/views/partial/header.php b/application/views/partial/header.php index 6732273e7..aa525b0ff 100644 --- a/application/views/partial/header.php +++ b/application/views/partial/header.php @@ -55,42 +55,41 @@ html { } - + -