diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-01-31 08:20:44 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-01-31 08:20:44 +0000 |
| commit | 33670914cbb4a46ff63690df64f6cba2487c9b10 (patch) | |
| tree | 3b4ad778d6ebfc3dc1f1113986ca2d66912b8d81 /library | |
| parent | b928ab401ccc5351c36c5b6898df2c3e141a1dda (diff) | |
| download | webtrees-33670914cbb4a46ff63690df64f6cba2487c9b10.tar.gz webtrees-33670914cbb4a46ff63690df64f6cba2487c9b10.tar.bz2 webtrees-33670914cbb4a46ff63690df64f6cba2487c9b10.zip | |
Remove support for pending changes links in the footer - bad UI design
Diffstat (limited to 'library')
| -rw-r--r-- | library/WT/Theme/BaseTheme.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/library/WT/Theme/BaseTheme.php b/library/WT/Theme/BaseTheme.php index 7261102fec..58916bccaf 100644 --- a/library/WT/Theme/BaseTheme.php +++ b/library/WT/Theme/BaseTheme.php @@ -296,19 +296,6 @@ abstract class BaseTheme { } /** - * Create a pending changes link for the page footer. - * - * @return string - */ - protected function formatPendingChangesLink() { - if ($this->pendingChangesExist()) { - return '<div class="pending-changes-link">' . $this->pendingChangesLink() . '</div>'; - } else { - return ''; - } - } - - /** * Create a quick search form for the header. * * @return string @@ -1649,27 +1636,6 @@ abstract class BaseTheme { } /** - * Create a pending changes link. - * - * @return string - */ - protected function pendingChangesLink() { - return - '<a href="#" onclick="window.open(\'edit_changes.php\', \'_blank\', chan_window_specs); return false;">' . - $this->pendingChangesLinkText() . - '</a>'; - } - - /** - * Text to use in the pending changes link. - * - * @return string - */ - protected function pendingChangesLinkText() { - return WT_I18N::translate('There are pending changes for you to moderate.'); - } - - /** * Generate a list of items for the main menu. * * @return WT_Menu[] |
