aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-21 16:34:14 -0700
committerfriendica <info@friendica.com>2014-10-21 16:34:14 -0700
commit35be89ad66033ca5254234ade900e524e210ce3a (patch)
tree732bd4bbbc8100e939b332c3f0277df2c4047458
parented7712cfbf9835368de79f8686954b536c12e4d1 (diff)
parent1fb2de6d55779c853e25d38f5b93133a5414d72a (diff)
downloadvolse-hubzilla-35be89ad66033ca5254234ade900e524e210ce3a.tar.gz
volse-hubzilla-35be89ad66033ca5254234ade900e524e210ce3a.tar.bz2
volse-hubzilla-35be89ad66033ca5254234ade900e524e210ce3a.zip
Merge https://github.com/friendica/red into pending_merge
-rw-r--r--include/poller.php2
-rwxr-xr-xview/tpl/nav.tpl12
2 files changed, 9 insertions, 5 deletions
diff --git a/include/poller.php b/include/poller.php
index d18cb1ca6..f11618d37 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -25,7 +25,7 @@ function poller_run($argv, $argc){
if(! $interval)
$interval = ((get_config('system','delivery_interval') === false) ? 3 : intval(get_config('system','delivery_interval')));
- // Check for a logfile. If it exists, but is over an hour old, it's stale. Ignore it.
+ // Check for a lockfile. If it exists, but is over an hour old, it's stale. Ignore it.
$lockfile = 'store/[data]/poller';
if ((file_exists($lockfile)) && (filemtime($lockfile) > (time() - 3600))) {
logger("poller: Already running");
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index bc9d0ba37..a283b35a8 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -50,12 +50,16 @@
{{if $nav.register}}<li class="{{$nav.register.2}}"><a href="{{$nav.register.0}}" title="{{$nav.register.3}}" >{{$nav.register.1}}</a><li>{{/if}}
{{if !$userinfo}}
{{if $nav.loginmenu}}
- <li class="{{$nav.loginmenu.0.2}}"><a data-toggle="dropdown" data-target="#" href="{{$nav.loginmenu.0.0}}" title="{{$nav.loginmenu.0.3}}" >{{$nav.loginmenu.0.1}} <span class="caret" id="usermenu-caret"></span></a>
- <ul class="dropdown-menu" role="menu">
+ <li class="{{$nav.loginmenu.0.2}} hidden-xs"><a data-toggle="dropdown" data-target="#" href="{{$nav.loginmenu.0.0}}" title="{{$nav.loginmenu.0.3}}" >{{$nav.loginmenu.0.1}} <span class="caret" id="usermenu-caret"></span></a>
+ <ul class="dropdown-menu" role="menu">
+ {{foreach $nav.loginmenu as $loginmenu}}
+ <li role="presentation"><a class="{{$loginmenu.2}}" href="{{$loginmenu.0}}" title="{{$loginmenu.3}}" role="menuitem">{{$loginmenu.1}}</a></li>
+ {{/foreach}}
+ </ul>
+ </li>
{{foreach $nav.loginmenu as $loginmenu}}
- <li role="presentation"><a class="{{$loginmenu.2}}" href="{{$loginmenu.0}}" title="{{$loginmenu.3}}" role="menuitem">{{$loginmenu.1}}</a></li>
+ <li role="presentation"><a class="{{$loginmenu.2}} visible-xs" href="{{$loginmenu.0}}" title="{{$loginmenu.3}}" role="menuitem">{{$loginmenu.1}}</a></li>
{{/foreach}}
- </ul></li>
{{/if}}
{{/if}}