aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-06 13:45:46 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-06 13:45:46 +0100
commit8059260c185aa267d15f2a7d9d0df0c21140ad69 (patch)
tree3254c0f2ac9511391ff97d8149be9a75ac579e64
parent91bc8d473f40c57d8c35d06f405aaa6518ee54e3 (diff)
downloadvolse-hubzilla-8059260c185aa267d15f2a7d9d0df0c21140ad69.tar.gz
volse-hubzilla-8059260c185aa267d15f2a7d9d0df0c21140ad69.tar.bz2
volse-hubzilla-8059260c185aa267d15f2a7d9d0df0c21140ad69.zip
import system apps on initial load
-rw-r--r--include/nav.php6
-rw-r--r--view/css/mod_apps.css10
2 files changed, 7 insertions, 9 deletions
diff --git a/include/nav.php b/include/nav.php
index 3c97d42da..70e9bfc59 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -255,7 +255,11 @@ EOT;
//app bin
if(local_channel()) {
- //Zlib\Apps::import_system_apps();
+ if(get_pconfig(local_channel(), 'system','initial_import_system_apps') === false) {
+ Zlib\Apps::import_system_apps();
+ set_pconfig(local_channel(), 'system','initial_import_system_apps', 1);
+ }
+
$syslist = array();
$list = Zlib\Apps::app_list(local_channel(), false, 'nav_featured_app');
if($list) {
diff --git a/view/css/mod_apps.css b/view/css/mod_apps.css
index 7ccc11ffb..0a231bc84 100644
--- a/view/css/mod_apps.css
+++ b/view/css/mod_apps.css
@@ -5,12 +5,6 @@
padding: 20px;
}
-.app-detail {
- height: 130px;
- overflow-x: hidden;
- overflow-y: hidden;
-}
-
-.app-tools {
- margin-bottom: 0;
+.app-name {
+ margin: 10px 0px;
}