mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-01 21:27:55 +02:00
[ticket/12304] Add CSS class to rules-link container
When a forum has a forum-rules link instead of forum-rules text, there is no way to distinguish in the styling of the container (or the button) it will have. It should be possible to style the <div class="rules"> container differently if there is only a link (no text). PHPBB3-12304
This commit is contained in:
parent
5e688f9540
commit
7a5639816a
phpBB/styles
prosilver/template
subsilver2/template
@ -7,7 +7,7 @@
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_FORUM_RULES -->
|
||||
<div class="rules">
|
||||
<div class="rules<!-- IF U_FORUM_RULES --> rules-link<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
|
||||
<!-- IF U_FORUM_RULES -->
|
||||
|
@ -11,7 +11,7 @@
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_FORUM_RULES -->
|
||||
<div class="rules">
|
||||
<div class="rules<!-- IF U_FORUM_RULES --> rules-link<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
|
||||
<!-- IF U_FORUM_RULES -->
|
||||
|
@ -11,7 +11,7 @@
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_FORUM_RULES -->
|
||||
<div class="rules">
|
||||
<div class="rules<!-- IF U_FORUM_RULES --> rules-link<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
|
||||
<!-- IF U_FORUM_RULES -->
|
||||
|
@ -5,7 +5,7 @@
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_FORUM_RULES -->
|
||||
<div class="forumrules">
|
||||
<div class="forumrules<!-- IF U_FORUM_RULES --> rules-link<!-- ENDIF -->">
|
||||
<!-- IF U_FORUM_RULES -->
|
||||
<h3>{L_FORUM_RULES}</h3><br />
|
||||
<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- IF S_FORUM_RULES -->
|
||||
<div class="forumrules">
|
||||
<div class="forumrules<!-- IF U_FORUM_RULES --> rules-link<!-- ENDIF -->">
|
||||
<!-- IF U_FORUM_RULES -->
|
||||
<h3>{L_FORUM_RULES}</h3><br />
|
||||
<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- IF S_FORUM_RULES -->
|
||||
<div class="forumrules">
|
||||
<div class="forumrules<!-- IF U_FORUM_RULES --> rules-link<!-- ENDIF -->">
|
||||
<!-- IF U_FORUM_RULES -->
|
||||
<h3>{L_FORUM_RULES}</h3><br />
|
||||
<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user