]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add TOS to footer menu if brought-by available
authorEvan Prodromou <evan@controlyourself.ca>
Sun, 21 Jun 2009 05:36:56 +0000 (22:36 -0700)
committerEvan Prodromou <evan@controlyourself.ca>
Sun, 21 Jun 2009 05:36:56 +0000 (22:36 -0700)
lib/action.php

index 89a8c8f4d3aa1c5af24440a528f865db5287c6f9..77a8ee391f3efc77416ceb2205abc9303ea39e57 100644 (file)
@@ -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')),