From: Evan Prodromou Date: Sun, 21 Jun 2009 05:36:56 +0000 (-0700) Subject: add TOS to footer menu if brought-by available X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=de0335fbe946d94a47247d8118b1f57f0f4843aa;p=quix0rs-gnu-social.git add TOS to footer menu if brought-by available --- diff --git a/lib/action.php b/lib/action.php index 89a8c8f4d3..77a8ee391f 100644 --- a/lib/action.php +++ b/lib/action.php @@ -247,7 +247,6 @@ class Action extends HTMLOutputter // lawsuit 'src' => common_path('js/jquery.joverlay.min.js')), ' '); - Event::handle('EndShowJQueryScripts', array($this)); } if (Event::handle('StartShowLaconicaScripts', array($this))) { @@ -704,6 +703,11 @@ class Action extends HTMLOutputter // lawsuit _('About')); $this->menuItem(common_local_url('doc', array('title' => 'faq')), _('FAQ')); + $bb = common_config('site', 'broughtby'); + if (!empty($bb)) { + $this->menuItem(common_local_url('doc', array('title' => 'tos')), + _('TOS')); + } $this->menuItem(common_local_url('doc', array('title' => 'privacy')), _('Privacy')); $this->menuItem(common_local_url('doc', array('title' => 'source')),