From 873110128ef7c553b25eeb9c0e0794d7899d13bd Mon Sep 17 00:00:00 2001 From: Gerhard Date: Sun, 3 Apr 2016 11:56:31 +0200 Subject: [PATCH 1/4] Not all webhostings allow the "-All" Option --- public/templates/.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/templates/.htaccess b/public/templates/.htaccess index dae35f0..cf78055 100644 --- a/public/templates/.htaccess +++ b/public/templates/.htaccess @@ -1,4 +1,4 @@ -Options -All SymLinksIfOwnerMatch +Options SymLinksIfOwnerMatch RewriteEngine On #return 404 for *.tpl *.conf *.cfg From a4aed6ff392a5f0c099a4a2281a01df2180bd882 Mon Sep 17 00:00:00 2001 From: Gerhard Date: Sun, 3 Apr 2016 15:57:40 +0200 Subject: [PATCH 2/4] disable 'Post to Twiter' and the Follow link if no twitter handle is set --- public/templates/default/index.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/templates/default/index.tpl b/public/templates/default/index.tpl index cde5f55..43e2dab 100644 --- a/public/templates/default/index.tpl +++ b/public/templates/default/index.tpl @@ -4,7 +4,7 @@

{$facility.friendly_name}

- + {if !empty($twitter_handle)}{/if}
@@ -68,7 +68,7 @@ {$update.message} {/foreach}{/if} - {if $smarty.session.auth.id}

Post to Twitter

{/if} + {if $smarty.session.auth.id}

{if !empty($twitter_handle)}

Post to Twitter

{/if}{/if} {/foreach} @@ -112,8 +112,8 @@ - - + {if !empty($twitter_handle)} + {/if} From 312e0c7458a089378fd2ade5c5f6ebd01b8d69a6 Mon Sep 17 00:00:00 2001 From: Gerhard Date: Sun, 3 Apr 2016 23:38:20 +0200 Subject: [PATCH 3/4] updated templated for mobile device and github link --- public/templates/default/_footer.tpl | 2 +- public/templates/default/_header.tpl | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/public/templates/default/_footer.tpl b/public/templates/default/_footer.tpl index 2bc092d..c69afb6 100644 --- a/public/templates/default/_footer.tpl +++ b/public/templates/default/_footer.tpl @@ -9,7 +9,7 @@ {foreach from=$footer_links item=link}
  • {$link.title}
  • {/foreach} -
  • +
  • diff --git a/public/templates/default/_header.tpl b/public/templates/default/_header.tpl index 52e4b92..4cbfb4a 100644 --- a/public/templates/default/_header.tpl +++ b/public/templates/default/_header.tpl @@ -3,11 +3,9 @@ {$pagetitle} - - - + From 1802108057010ffe71211d7dde051dede42eb1f3 Mon Sep 17 00:00:00 2001 From: Gerhard Date: Sun, 3 Apr 2016 23:41:09 +0200 Subject: [PATCH 4/4] updated templated for mobile device and github link --- public/templates/default/_header.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/templates/default/_header.tpl b/public/templates/default/_header.tpl index 4cbfb4a..e8b6a82 100644 --- a/public/templates/default/_header.tpl +++ b/public/templates/default/_header.tpl @@ -5,7 +5,7 @@ - +