mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Fixes #1129 - hardcoded term 'by' replaced with Glyph. Warning: Template changes - see style.css
This commit is contained in:
@@ -44,6 +44,7 @@ $NEWS_TEMPLATE['list']['item'] = '
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="visible-xs" />
|
||||
|
||||
';
|
||||
|
||||
@@ -112,29 +113,28 @@ $NEWS_TEMPLATE['default']['item'] = '
|
||||
// As displayed by news.php?extend.1
|
||||
|
||||
$NEWS_TEMPLATE['view']['item'] = '
|
||||
{SETIMAGE: w=900&h=300}
|
||||
{SETIMAGE: w=900&h=600}
|
||||
<div class="view-item">
|
||||
<h2>{NEWSTITLELINK}</h2>
|
||||
<p class="lead">by {NEWSAUTHOR}</p>
|
||||
<hr>
|
||||
<h2 class="news-title">{NEWSTITLELINK}</h2>
|
||||
<p class="lead">{NEWSSUMMARY}</p>
|
||||
<hr class="news-heading-sep">
|
||||
<div class="row">
|
||||
<div class="col-md-4">{GLYPH=time} {NEWSDATE=short} </div>
|
||||
<div class="col-md-8 text-right options">{GLYPH=tags} {NEWSTAGS} {GLYPH=folder-open} {NEWSCATEGORY} </div>
|
||||
<div class="col-md-6"><small>{GLYPH=user} {NEWSAUTHOR} {GLYPH=time} {NEWSDATE=short} </small></div>
|
||||
<div class="col-md-6 text-right options"><small>{GLYPH=tags} {NEWSTAGS} {GLYPH=folder-open} {NEWSCATEGORY} </small></div>
|
||||
</div>
|
||||
<hr>
|
||||
{NEWSIMAGE: item=1}
|
||||
{NEWSVIDEO: item=1}
|
||||
<hr>
|
||||
<p class="lead">{NEWSSUMMARY}</p>
|
||||
<hr>
|
||||
|
||||
|
||||
<div class="body">
|
||||
|
||||
{NEWSVIDEO: item=2}
|
||||
{NEWSVIDEO: item=3}
|
||||
|
||||
|
||||
<span class="news-images-main pull-left col-xs-12 col-sm-6 col-md-6"> {NEWSIMAGE: item=1}</span>
|
||||
{NEWSBODY=body}
|
||||
<div class="news-videos-1">
|
||||
{NEWSVIDEO: item=1}
|
||||
{NEWSVIDEO: item=2}
|
||||
{NEWSVIDEO: item=3}
|
||||
</div>
|
||||
|
||||
|
||||
<br />
|
||||
{SETIMAGE: w=400&h=400}
|
||||
|
||||
|
@@ -1117,8 +1117,8 @@ a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}
|
||||
.alert-success{background-color:#51a351;border-color:#559249;color:#fff}
|
||||
.alert-success hr{border-top-color:#4b8140}
|
||||
.alert-success .alert-link{color:#e6e6e6}
|
||||
.alert-info{background-color:#5bc0de;border-color:#3dced8;color:#fff}
|
||||
.alert-info hr{border-top-color:#2ac7d2}
|
||||
.alert-info{background-color:#337ab7;border-color:#4f93ce;color:#fff}
|
||||
.alert-info hr{border-top-color:#3b87c8}
|
||||
.alert-info .alert-link{color:#e6e6e6}
|
||||
.alert-warning{background-color:#f89406;border-color:#df6105;color:#fff}
|
||||
.alert-warning hr{border-top-color:#c65605}
|
||||
@@ -1494,4 +1494,4 @@ legend{color:#fff}
|
||||
a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#0f0f0f}
|
||||
.jumbotron{border:1px solid rgba(0,0,0,.6)}
|
||||
.panel-danger .panel-heading,.panel-info .panel-heading,.panel-primary .panel-heading,.panel-success .panel-heading,.panel-warning .panel-heading{border-color:#000}
|
||||
.btn:focus,.nav-pills>li>a,.nav-tabs>li>a,.navbar-default .navbar-nav>li>a,.navbar-inverse .navbar-nav>li>a,a,a:active,a:hover{outline:0}
|
||||
.btn:focus,.nav-pills>li>a,.nav-tabs>li>a,.navbar-default .navbar-nav>li>a,.navbar-inverse .navbar-nav>li>a,a,a:active,a:hover{outline:0}
|
@@ -126,25 +126,25 @@ img.featurebox { border-radius: 5px }
|
||||
@media all and (max-width: 767px) {
|
||||
|
||||
.featurebox .carousel-indicators { top:10px; }
|
||||
.featurebox-item-image.pull-left, .featurebox-item-image.pull-right { margin-top: 30px; }
|
||||
.featurebox-item-image.pull-left, .featurebox-item-image.pull-right { margin-top: 30px; }
|
||||
.news-images-main { padding-left: 0; padding-bottom:15px; padding-right:0}
|
||||
}
|
||||
|
||||
/* Small devices Tablets .col-sm */
|
||||
@media all and (min-width: 768px) and (max-width: 991px) {
|
||||
|
||||
|
||||
@media all and (min-width: 768px) and (max-width: 991px) {
|
||||
.news-images-main { padding-left: 0; padding-bottom:5px }
|
||||
}
|
||||
|
||||
/* Medium devices Desktops (≥992px) .col-md */
|
||||
@media all and (min-width: 992px) and (max-width: 1199px) {
|
||||
|
||||
.news-images-main { padding-left: 0; padding-bottom:5px}
|
||||
|
||||
}
|
||||
|
||||
/* Large devices (large desktops, 1200px and up).col-lg */
|
||||
@media all and (min-width: 1200px) {
|
||||
|
||||
|
||||
|
||||
.news-images-main { padding-left: 0; padding-bottom:5px}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user