Skip to content

Commit

Permalink
#862 Alternative interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Sep 21, 2014
1 parent d96889b commit 5ab1960
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 19 deletions.
2 changes: 1 addition & 1 deletion include/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Version {
const FORUM_VERSION = '0.0-dev';

// The Luna Core version
const FORUM_CORE_VERSION = '0.0.40.3038';
const FORUM_CORE_VERSION = '0.0.40.3039';

// The database version number, every change in the database requires this number to go one up
const FORUM_DB_VERSION = 84.12;
Expand Down
17 changes: 6 additions & 11 deletions style/Sunrise/objects/categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
$num_posts = $cur_forum['num_posts'];

if ($cur_forum['forum_desc'] != '')
$forum_desc = '<div class="desc">'.luna_htmlspecialchars($cur_forum['forum_desc']).'</div>';
$forum_desc = luna_htmlspecialchars($cur_forum['forum_desc']);

// If there is a last_post/last_poster
if ($cur_forum['last_post'] != '') {
Expand All @@ -69,16 +69,11 @@

?>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo luna_htmlspecialchars($cur_forum['forum_name']) ?><?php echo $forum_desc ?></h3>
</div>
<div class="panel-body">
<?php echo $last_post ?>
</div>
<div class="panel-footer">
<b><?php echo forum_number_format($num_topics) ?></b> <?php echo $topics_label ?> and <b><?php echo forum_number_format($num_posts) ?></b> <?php echo $posts_label ?>
</div>
<div class="list-group">
<a href="viewforum.php?id=<?php echo $cur_forum['fid'] ?>" class="list-group-item">
<h4><?php echo luna_htmlspecialchars($cur_forum['forum_name']) ?></h4>
<?php echo $forum_desc ?>
</a>
</div>
</div>
<?php
Expand Down
7 changes: 0 additions & 7 deletions style/Sunrise/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,6 @@ h1, h2, h3, h4, h5, h6 {
margin-right: 15px;
}

.desc {
color: #fff;
font-size: 13px;
margin-top: 5px;
display: block;
}

.category-title {
margin: 0;
}
Expand Down

0 comments on commit 5ab1960

Please sign in to comment.