Pre-release: Display "no links" if no links are configured: http://www.board3.de/viewtopic.php?style=1&f=14&t=468
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
|
||||
@@ -5,9 +5,13 @@
|
||||
<h3>{L_LINKS}</h3>
|
||||
<div class="panel" style="margin-bottom: 0px;">
|
||||
<ul class="ul-link">
|
||||
<!-- IF .link -->
|
||||
<!-- BEGIN link -->
|
||||
<li><a href="{link.URL}" title="{link.TEXT}">{link.TEXT}</a></li>
|
||||
<!-- END link -->
|
||||
<!-- ELSE -->
|
||||
<span style="float:left;" class="gensmall"><strong>{L_NO_LINKS}</strong></span><br />
|
||||
<!-- ENDIF -->
|
||||
</ul>
|
||||
</div>
|
||||
<span class="corners-bottom"><span></span></span>
|
||||
|
||||
@@ -24,9 +24,13 @@
|
||||
<tr class="row1">
|
||||
<td>
|
||||
<ul class="ul-link">
|
||||
<!-- IF .link -->
|
||||
<!-- BEGIN link -->
|
||||
<li><a href="{link.URL}" title="{link.TEXT}">{link.TEXT}</a></li>
|
||||
<!-- END link -->
|
||||
<!-- ELSE -->
|
||||
<span style="float:left;" class="gensmall"><strong>{L_NO_LINKS}</strong></span><br />
|
||||
<!-- ENDIF -->
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user