Merge pull request #371 from marc1706/ticket/365
[ticket/365] Use portal.css instead of inline css in donations module
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
<!-- BEGIN announcements_center_row -->
|
||||
<!-- IF announcements_center_row.S_FIRST_ROW -->
|
||||
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
||||
<!-- ENDIF -->
|
||||
<!-- IF $S_POSTBODY_TOP --><div class="postbody" style="width: 100%"><!-- ENDIF -->
|
||||
<!-- IF $S_POSTBODY_TOP --><div class="postbody portal-module-postbody"><!-- ENDIF -->
|
||||
<!-- BEGIN announcements_center_row -->
|
||||
<!-- IF announcements_center_row.S_NO_TOPICS -->
|
||||
<div class="post bg2" style="margin-bottom: 0px">
|
||||
<div class="post bg2">
|
||||
<div class="inner">
|
||||
<span style="text-align: center;"><strong>{L_NO_ANNOUNCEMENTS}</strong></span>
|
||||
<span><strong>{L_NO_ANNOUNCEMENTS}</strong></span>
|
||||
<!-- ELSE -->
|
||||
<div style="margin-bottom: <!-- IF announcements_center_row.S_LAST_ROW -->0px<!-- ELSE -->1px<!-- ENDIF -->;" class="post <!-- IF announcements_center_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --> portal-no-margin">
|
||||
<div class="post <!-- IF announcements_center_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --> portal-no-margin">
|
||||
<div class="inner">
|
||||
<h4 class="first"><a <!-- IF announcements_center_row.S_FIRST_ROW -->id="a" <!-- ENDIF -->name="a{announcements_center_row.A_ID}"></a><!-- IF announcements_center_row.S_UNREAD_INFO --><a href="{announcements_center_row.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{announcements_center_row.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF --> {announcements_center_row.ATTACH_ICON_IMG} <!-- IF announcements_center_row.S_POLL --> <strong>{L_VIEW_TOPIC_POLL}{L_COLON} </strong><!-- ENDIF --><!-- IF announcements_center_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{announcements_center_row.TOPIC_ICON_IMG}" width="{announcements_center_row.TOPIC_ICON_IMG_WIDTH}" height="{announcements_center_row.TOPIC_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{announcements_center_row.U_VIEW_COMMENTS}"><strong>{announcements_center_row.TITLE}</strong></a></h4>
|
||||
<!-- IF announcements_center_row.PAGINATION --><strong class="pagination"><span>{announcements_center_row.PAGINATION}</span></strong><!-- ENDIF -->
|
||||
@@ -16,7 +14,7 @@
|
||||
<li>{L_POSTED} {L_POST_BY_AUTHOR}{L_COLON} {announcements_center_row.POSTER_FULL} » {announcements_center_row.TIME}</li>
|
||||
<li class="rightside"><!-- IF announcements_center_row.FORUM_NAME -->{L_FORUM}{L_COLON} <strong><a href="{announcements_center_row.U_VIEWFORUM}">{announcements_center_row.FORUM_NAME}</a></strong><!-- ELSE -->{L_GLOBAL_ANNOUNCEMENT}<!-- ENDIF --></li>
|
||||
</ul>
|
||||
<!-- IF not $S_POSTBODY_TOP --><div class="postbody" style="width: 100%"><!-- ENDIF -->
|
||||
<!-- IF not $S_POSTBODY_TOP --><div class="postbody portal-module-postbody"><!-- ENDIF -->
|
||||
<div class="content">
|
||||
<br />{announcements_center_row.TEXT}
|
||||
</div>
|
||||
@@ -28,11 +26,11 @@
|
||||
<!-- END attachment -->
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
<br style="clear:both" />
|
||||
<span style="float: left;">{L_TOPIC_VIEWS}{L_COLON} {announcements_center_row.TOPIC_VIEWS} • <a href="{announcements_center_row.U_VIEW_COMMENTS}" title="{L_VIEW_COMMENTS}">{L_COMMENTS}{L_COLON} {announcements_center_row.REPLIES}</a> • <a href="{announcements_center_row.U_POST_COMMENT}">{L_POST_REPLY}</a></span>
|
||||
<span style="float: right; margin: 0 0 5px 0">{announcements_center_row.OPEN}<a href="{announcements_center_row.U_READ_FULL}">{announcements_center_row.L_READ_FULL}</a>{announcements_center_row.CLOSE}</span>
|
||||
<br class="portal-clear" />
|
||||
<span class="portal-title-span">{L_TOPIC_VIEWS}{L_COLON} {announcements_center_row.TOPIC_VIEWS} • <a href="{announcements_center_row.U_VIEW_COMMENTS}" title="{L_VIEW_COMMENTS}">{L_COMMENTS}{L_COLON} {announcements_center_row.REPLIES}</a> • <a href="{announcements_center_row.U_POST_COMMENT}">{L_POST_REPLY}</a></span>
|
||||
<span class="portal-read-all-link">{announcements_center_row.OPEN}<a href="{announcements_center_row.U_READ_FULL}">{announcements_center_row.L_READ_FULL}</a>{announcements_center_row.CLOSE}</span>
|
||||
<div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
|
||||
<!-- IF announcements_center_row.S_NOT_LAST --><br style="clear:both" /><!-- ENDIF -->
|
||||
<!-- IF announcements_center_row.S_NOT_LAST --><br class="portal-clear" /><!-- ENDIF -->
|
||||
<!-- IF announcements_center_row.S_LAST_ROW and (AP_PAGINATION or TOTAL_ANNOUNCEMENTS) -->
|
||||
<hr class="dashed" />
|
||||
<div class="pagination">
|
||||
@@ -44,8 +42,6 @@
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- END announcements_center_row -->
|
||||
<!-- IF $S_POSTBODY_TOP --></div><!-- ENDIF -->
|
||||
<!-- IF announcements_center_row.S_LAST_ROW -->
|
||||
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
|
||||
<!-- ENDIF -->
|
||||
<!-- END announcements_center_row -->
|
||||
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<!-- BEGIN announcements_center_row -->
|
||||
<!-- IF announcements_center_row.S_NO_TOPICS -->
|
||||
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
||||
<div class="post bg2" style="margin-bottom: 0px">
|
||||
<div class="post bg2 portal-no-margin">
|
||||
<div class="inner">
|
||||
<span style="text-align: center;"><strong>{L_NO_ANNOUNCEMENTS}</strong></span>
|
||||
<span><strong>{L_NO_ANNOUNCEMENTS}</strong></span>
|
||||
</div>
|
||||
</div>
|
||||
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
|
||||
@@ -33,7 +33,7 @@
|
||||
<!-- IF announcements_center_row.PAGINATION --><strong class="pagination"><span>{announcements_center_row.PAGINATION}</span></strong><!-- ENDIF -->
|
||||
<br />{L_POSTED} {L_POST_BY_AUTHOR} {announcements_center_row.POSTER_FULL} » {announcements_center_row.TIME}
|
||||
<!-- IF announcements_center_row.FORUM_NAME -->
|
||||
<br />{L_FORUM}{L_COLON} <a href="{announcements_center_row.U_VIEWFORUM}" style="font-weight: bold;">{announcements_center_row.FORUM_NAME}</a>
|
||||
<br />{L_FORUM}{L_COLON} <a href="{announcements_center_row.U_VIEWFORUM}" class="portal-forumtitle">{announcements_center_row.FORUM_NAME}</a>
|
||||
<!-- ELSE -->
|
||||
<br />{L_GLOBAL_ANNOUNCEMENT}
|
||||
<!-- ENDIF -->
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
||||
<ul class="topiclist bg1">
|
||||
<li><dl><dt></dt>
|
||||
<dd class="portal-responsive-show" style="border-left: 0px">
|
||||
<div style="text-align: left; margin: 5px 5px 5px 5px">
|
||||
<dd class="portal-donation-center-content portal-responsive-show">
|
||||
<div>
|
||||
<strong>{SITENAME}</strong> {L_DONATION_TEXT}
|
||||
<br />
|
||||
<div class="portal-paypal-icon"> </div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
|
||||
<div style="text-align: center;">
|
||||
<div class="portal-centered-content">
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<div>
|
||||
<input type="hidden" name="cmd" value="_xclick" />
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
||||
<!-- IF $S_POSTBODY_TOP --><div class="postbody" style="width: 100%"><!-- ENDIF -->
|
||||
<!-- IF $S_POSTBODY_TOP --><div class="postbody portal-module-postbody"><!-- ENDIF -->
|
||||
<!-- BEGIN news_row -->
|
||||
<!-- IF news_row.S_NO_TOPICS -->
|
||||
<div class="post bg2" style="margin-bottom: 0px">
|
||||
<div class="post bg2">
|
||||
<div class="inner">
|
||||
<span style="text-align: center;"><strong>{L_NO_NEWS}</strong></span>
|
||||
<span><strong>{L_NO_NEWS}</strong></span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ELSE -->
|
||||
<div style="margin-bottom: <!-- IF news_row.S_LAST_ROW -->0px<!-- ELSE -->1px<!-- ENDIF -->" class="post <!-- IF news_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="post <!-- IF news_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
<h4 class="first"><a id="n{news_row.N_ID}"></a><!-- IF news_row.S_UNREAD_INFO --><a href="{news_row.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{news_row.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF --> {news_row.ATTACH_ICON_IMG} <!-- IF news_row.S_POLL --><strong>{L_VIEW_TOPIC_POLL}</strong><!-- ENDIF --><!-- IF news_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{news_row.TOPIC_ICON_IMG}" width="{news_row.TOPIC_ICON_IMG_WIDTH}" height="{news_row.TOPIC_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{news_row.U_VIEW_COMMENTS}"><strong>{news_row.TITLE}</strong></a></h4>
|
||||
<!-- IF news_row.PAGINATION --><strong class="pagination"><span>{news_row.PAGINATION}</span></strong><!-- ENDIF -->
|
||||
@@ -16,7 +16,7 @@
|
||||
<li>{POSTED_BY_TEXT} {L_POST_BY_AUTHOR}{L_COLON} {news_row.POSTER_FULL} » {news_row.TIME}</li>
|
||||
<li class="rightside">{L_FORUM}{L_COLON} <strong><a href="{news_row.U_VIEWFORUM}">{news_row.FORUM_NAME}</a></strong></li>
|
||||
</ul>
|
||||
<!-- IF not $S_POSTBODY_TOP --><div class="postbody" style="width: 100%"><!-- ENDIF -->
|
||||
<!-- IF not $S_POSTBODY_TOP --><div class="postbody portal-module-postbody"><!-- ENDIF -->
|
||||
<div class="content">
|
||||
<br />{news_row.TEXT}
|
||||
</div>
|
||||
@@ -28,11 +28,11 @@
|
||||
<!-- END attachment -->
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
<br style="clear:both" />
|
||||
<span style="float: left;">{L_TOPIC_VIEWS}{L_COLON} {news_row.TOPIC_VIEWS} • <a href="{news_row.U_VIEW_COMMENTS}" title="{L_VIEW_COMMENTS}">{L_COMMENTS}{L_COLON} {news_row.REPLIES}</a> • <a href="{news_row.U_POST_COMMENT}">{L_PORTAL_POST_REPLY}</a></span>
|
||||
<span style="float: right; margin: 0 0 5px 0">{news_row.OPEN}<a href="{news_row.U_READ_FULL}">{news_row.L_READ_FULL}</a>{news_row.CLOSE}</span>
|
||||
<br class="portal-clear" />
|
||||
<span class="portal-title-span">{L_TOPIC_VIEWS}{L_COLON} {news_row.TOPIC_VIEWS} • <a href="{news_row.U_VIEW_COMMENTS}" title="{L_VIEW_COMMENTS}">{L_COMMENTS}{L_COLON} {news_row.REPLIES}</a> • <a href="{news_row.U_POST_COMMENT}">{L_PORTAL_POST_REPLY}</a></span>
|
||||
<span class="portal-read-all-link">{news_row.OPEN}<a href="{news_row.U_READ_FULL}">{news_row.L_READ_FULL}</a>{news_row.CLOSE}</span>
|
||||
<div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
|
||||
<!-- IF news_row.S_NOT_LAST --><br style="clear:both" /><!-- ENDIF -->
|
||||
<!-- IF news_row.S_NOT_LAST --><br class="portal-clear" /><!-- ENDIF -->
|
||||
<!-- IF news_row.S_LAST_ROW -->
|
||||
<!-- IF not news_row.S_NO_TOPICS -->
|
||||
<!-- IF NP_PAGINATION or TOTAL_NEWS -->
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<!-- BEGIN news_row -->
|
||||
<!-- IF news_row.S_NO_TOPICS -->
|
||||
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
||||
<div class="post bg2" style="margin-bottom: 0px">
|
||||
<div class="post bg2 portal-no-margin">
|
||||
<div class="inner">
|
||||
<span style="text-align: center;"><strong>{L_NO_NEWS}</strong></span>
|
||||
<span><strong>{L_NO_NEWS}</strong></span>
|
||||
</div>
|
||||
</div>
|
||||
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
|
||||
@@ -43,7 +43,7 @@
|
||||
<!-- ENDIF -->
|
||||
<br />{L_POSTED} {L_POST_BY_AUTHOR} {news_row.POSTER_FULL} » {news_row.TIME}
|
||||
<!-- IF news_row.FORUM_NAME -->
|
||||
<br />{L_FORUM}{L_COLON} <a href="{news_row.U_VIEWFORUM}" style="font-weight: bold;">{news_row.FORUM_NAME}</a>
|
||||
<br />{L_FORUM}{L_COLON} <a href="{news_row.U_VIEWFORUM}" class="portal-forumtitle">{news_row.FORUM_NAME}</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not S_DISPLAY_NEWS_RVS --><!-- IF news_row.FORUM_NAME -->• <!-- ENDIF -->{L_REPLIES}{L_COLON} <strong>{news_row.REPLIES}</strong> • {L_VIEWS}{L_COLON} <strong>{news_row.TOPIC_VIEWS}</strong><!-- ENDIF -->
|
||||
</div> <!-- \END <div class="list-inner"> -->
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
|
||||
<div style="text-align: center;">
|
||||
<div class="portal-centered-content">
|
||||
{USERNAME_FULL}<br />
|
||||
<!-- IF B3P_AVATAR_IMG -->
|
||||
<a href="{U_PROFILE}">{B3P_AVATAR_IMG}</a>
|
||||
|
||||
@@ -137,6 +137,32 @@
|
||||
margin: 0 5px 0 5px;
|
||||
}
|
||||
|
||||
.portal-donation-center-content {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.portal-donation-center-content > div {
|
||||
text-align: left;
|
||||
margin: 5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
.portal-centered-content {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.portal-read-all-link {
|
||||
float: right;
|
||||
margin: 0 0 5px 0;
|
||||
}
|
||||
|
||||
.portal-module-postbody .post:not(:last-child) {
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
|
||||
a.portal-forumtitle {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.portal-paypal-icon {
|
||||
background-image: url("./images/portal/paypal.gif");
|
||||
background-repeat: no-repeat;
|
||||
|
||||
Reference in New Issue
Block a user