-ui.register_multi(ui.PAGE_TOP_TABS,
- ui.UiTopPageTabObject('questions', _('questions'), 'questions', weight=0),
- ui.UiTopPageTabObject('tags', _('tags'), 'tags', weight=100),
- ui.UiTopPageTabObject('users', _('users'), 'users', weight=200),
- ui.UiTopPageTabObject('badges', _('badges'), 'badges', weight=300),
- ui.UiTopPageTabObject('unanswered', _('unanswered questions'), 'unanswered', weight=400),
+
+ui.register(ui.FOOTER_LINKS,
+ ui.Link(
+ text=_('contact'),
+ url=lambda u, c: settings.CONTACT_URL and settings.CONTACT_URL or "%s?next=%s" % (reverse('feedback'), c['request'].path),
+ weight=400),
+ SupportLink(_('support'), settings.SUPPORT_URL, attrs={'target': '_blank'}, weight=300),
+ ui.Link(_('privacy'), ui.Url('privacy'), weight=200),
+ ui.Link(_('faq'), ui.Url('faq'), weight=100),
+ ui.Link(_('about'), ui.Url('about'), weight=0),