From 33ec57d087aa0ff928cc8083663b0253720fb2c0 Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 29 Apr 2008 11:56:47 +0000 Subject: [PATCH] Pre-release: Display "no links" if no links are configured: http://www.board3.de/viewtopic.php?style=1&f=14&t=468 --- languages/de/mods/lang_portal.php | 3 ++- root/language/en/mods/lang_portal.php | 5 +++-- root/styles/prosilver/template/portal/block/links.html | 4 ++++ templates/subsilver2/template/portal/block/links.html | 4 ++++ 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/languages/de/mods/lang_portal.php b/languages/de/mods/lang_portal.php index a8c67221..df6bfc38 100644 --- a/languages/de/mods/lang_portal.php +++ b/languages/de/mods/lang_portal.php @@ -113,7 +113,8 @@ $lang = array_merge($lang, array( 'NO_ATTACHMENTS' => 'Keine Dateianhänge', // links - 'LINKS' => 'Links', + 'LINKS' => 'Links', + 'NO_LINKS' => 'Keine Links vorhanden', // latest members 'LATEST_MEMBERS' => 'Neue Mitglieder', diff --git a/root/language/en/mods/lang_portal.php b/root/language/en/mods/lang_portal.php index cd869874..691b6923 100644 --- a/root/language/en/mods/lang_portal.php +++ b/root/language/en/mods/lang_portal.php @@ -121,8 +121,9 @@ $lang = array_merge($lang, array( 'NO_ATTACHMENTS' => 'No attachments', // links - 'LINKS' => 'Links', - + 'LINKS' => 'Links', + 'NO_LINKS' => 'No links', + // latest members 'LATEST_MEMBERS' => 'Latest members', diff --git a/root/styles/prosilver/template/portal/block/links.html b/root/styles/prosilver/template/portal/block/links.html index ac61bbfb..2a3e9027 100644 --- a/root/styles/prosilver/template/portal/block/links.html +++ b/root/styles/prosilver/template/portal/block/links.html @@ -5,9 +5,13 @@

{L_LINKS}

diff --git a/templates/subsilver2/template/portal/block/links.html b/templates/subsilver2/template/portal/block/links.html index ae6067f9..1edff756 100644 --- a/templates/subsilver2/template/portal/block/links.html +++ b/templates/subsilver2/template/portal/block/links.html @@ -24,9 +24,13 @@