diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-06-20 22:36:56 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-06-20 22:36:56 -0700 |
commit | de0335fbe946d94a47247d8118b1f57f0f4843aa (patch) | |
tree | 19c8ea95825f51e7ddaad60e8bf4a97f610cabeb /lib/action.php | |
parent | 2f991f93963f60a9a5432816ae64950c7e810a0e (diff) |
add TOS to footer menu if brought-by available
Diffstat (limited to 'lib/action.php')
-rw-r--r-- | lib/action.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php index 89a8c8f4d..77a8ee391 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')), |