diff --git a/webapp_frontscreen.py b/webapp_frontscreen.py
index a4e7b1b2..d8e7e5b9 100644
--- a/webapp_frontscreen.py
+++ b/webapp_frontscreen.py
@@ -15,81 +15,12 @@ from webapp_utils import htmlFooter
from webapp_utils import getIconsWebPath
from webapp_utils import getBannerFile
from webapp_utils import htmlPostSeparator
+from webapp_utils import headerButtonsFrontScreen
from webapp_column_left import getLeftColumnContent
from webapp_column_right import getRightColumnContent
from webapp_post import individualPostAsHtml
-def headerButtonsFrontScreen(translate: {},
- nickname: str, boxName: str,
- authorized: bool,
- iconsAsButtons: bool,
- iconsPath: bool) -> str:
- """Returns the header buttons for the front page of a news instance
- """
- headerStr = ''
- if nickname == 'news':
- buttonFeatures = 'buttonMobile'
- buttonNewswire = 'buttonMobile'
- buttonLinks = 'buttonMobile'
- if boxName == 'features':
- buttonFeatures = 'buttonselected'
- elif boxName == 'newswire':
- buttonNewswire = 'buttonselected'
- elif boxName == 'links':
- buttonLinks = 'buttonselected'
-
- headerStr += \
- ' ' + \
- ''
- if not authorized:
- headerStr += \
- ' ' + \
- ''
- if iconsAsButtons:
- headerStr += \
- ' ' + \
- ''
- headerStr += \
- ' ' + \
- ''
- else:
- headerStr += \
- ' ' + \
- '\n'
- headerStr += \
- ' ' + \
- '
\n'
- else:
- if not authorized:
- headerStr += \
- ' ' + \
- ''
-
- if headerStr:
- headerStr = \
- '\n