From f23e8f8d41f9fba23b0e65f9bf9fae1342ffc4d4 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 20 Dec 2015 14:55:43 -0800 Subject: merge hell --- .openshift/action_hooks/deploy | 18 +++++------ include/comanche.php | 3 +- version.inc | 2 +- view/tpl/jot.tpl | 69 ++++++++++++++++++++++++------------------ 4 files changed, 50 insertions(+), 42 deletions(-) diff --git a/.openshift/action_hooks/deploy b/.openshift/action_hooks/deploy index 7abe3efd1..f3f187d43 100755 --- a/.openshift/action_hooks/deploy +++ b/.openshift/action_hooks/deploy @@ -190,16 +190,16 @@ util/config directory globaldir 1 util/config directory pubforums 0 # Hubzill addons -# echo "Try to add or update Hubzilla addons" -# cd ${OPENSHIFT_REPO_DIR} -# util/add_addon_repo https://github.com/redmatrix/hubzilla-addons.git HubzillaAddons +echo "Try to add or update Hubzilla addons" +cd ${OPENSHIFT_REPO_DIR} +util/add_addon_repo https://github.com/redmatrix/hubzilla-addons.git HubzillaAddons # Hubzilla themes -# echo "Try to add or update Hubzilla themes" -# cd ${OPENSHIFT_REPO_DIR} -# util/add_theme_repo https://github.com/DeadSuperHero/redmatrix-themes.git DeadSuperHeroThemes +echo "Try to add or update Hubzilla themes" +cd ${OPENSHIFT_REPO_DIR} +util/add_theme_repo https://github.com/DeadSuperHero/redmatrix-themes.git DeadSuperHeroThemes # Hubzilla ownMapp -# echo "Try to add or update Hubzilla ownMapp" -# cd ${OPENSHIFT_REPO_DIR} -# util/add_addon_repo https://gitlab.com/zot/ownmapp.git ownMapp +echo "Try to add or update Hubzilla ownMapp" +cd ${OPENSHIFT_REPO_DIR} +util/add_addon_repo https://gitlab.com/zot/ownmapp.git ownMapp diff --git a/include/comanche.php b/include/comanche.php index 1537226ca..ca3ad336b 100644 --- a/include/comanche.php +++ b/include/comanche.php @@ -287,8 +287,7 @@ function comanche_widget($name, $text) { if(! function_exists($func)) { if(file_exists('widget/' . trim($name) . '.php')) require_once('widget/' . trim($name) . '.php'); - elseif(folder_exists('widget/'. trim($name)) - && (file_exists('widget/' . trim($name) . '/' . trim($name) . '.php'))) + elseif(file_exists('widget/' . trim($name) . '/' . trim($name) . '.php')) require_once('widget/' . trim($name) . '/' . trim($name) . '.php'); } else { diff --git a/version.inc b/version.inc index 4887ba16b..75d1e127a 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2015-12-18.1250 +2015-12-20.1252 diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index d8b58c5d2..32a08a9b3 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -48,16 +48,6 @@
- {{if $writefiles}} - - {{/if}} - -
- -
- {{if $feature_encrypt}} - - {{/if}} - {{if $feature_future}} - +
+