Browse files

Mirage: Small template fixes.

  • Loading branch information...
1 parent bfce1fc commit 538b9451a4e30718bdf1e8fe4dc5b918a0a06c25 @coder4life committed Apr 7, 2012
View
4 components/com_kunena/language/en-GB/en-GB.com_kunena.ini
@@ -375,7 +375,7 @@ COM_KUNENA_MENU_LATEST_DESC="Recent Topics"
COM_KUNENA_MENU_MYLATEST_DESC="My Topics"
COM_KUNENA_MENU_NOREPLIES_DESC="Topics with No Replies"
COM_KUNENA_MESSAGE="Message"
-COM_KUNENA_MESSAGE_ADMINISTRATION="Unapproved posts"
+COM_KUNENA_MESSAGE_ADMINISTRATION="Unapproved"
COM_KUNENA_MESSAGE_SUBJECT="Message Subject"
COM_KUNENA_MILLION="m"
COM_KUNENA_MOD_NOTHING="No messages are waiting for approval."
@@ -1262,7 +1262,7 @@ COM_KUNENA_FILETYPE="Type"
COM_KUNENA_FILE_DELETE="Delete"
COM_KUNENA_FILEPREVIEW="Preview"
COM_KUNENA_FILEDOWNLOAD="Download"
-COM_KUNENA_MANAGE_ATTACHMENTS="Manage Your Attachments"
+COM_KUNENA_MANAGE_ATTACHMENTS="Attachment Manager"
COM_KUNENA_FILES_DELETE="Delete selected"
COM_KUNENA_ATTACHMENTS_DELETE_SUCCESSFULLY="%s attachments have been deleted successfully"
View
6 components/com_kunena/template/mirage/css/position.css
@@ -889,22 +889,22 @@
display: block;
float: left;
margin: 0px;
- padding: 10px 5px;
+ /*padding: 10px 5px;*/
position: relative;
}
#kunena.layout ul.banmanager-list li.header dd {
display: block;
float: left;
margin: 0px;
- padding: 2px 5px;
+ /*padding: 2px 5px;*/
}
#kunena.layout ul.banmanager-list dd {
display: block;
float: left;
margin: 0px;
- padding: 2px 0;
+ /*padding: 2px 0;*/
}
/*#kunena.layout ul.topic-list li.topics-row dl {
View
6 components/com_kunena/template/mirage/html/topics/default_list.php
@@ -65,8 +65,10 @@
<?php if (empty($this->topics )) : ?>
<li class="topic-row">
<dl class="list-unstyled">
- <dd>
- <?php echo JText::_('COM_KUNENA_VIEW_RECENT_NO_TOPICS'); ?>
+ <dd class="topic-none">
+ <div class="innerspacer-column">
+ <?php echo JText::_('COM_KUNENA_VIEW_RECENT_NO_TOPICS'); ?>
+ </div>
</dd>
</dl>
</li>
View
4 components/com_kunena/template/mirage/html/topics/posts_list.php
@@ -28,7 +28,9 @@
<li class="post-row">
<dl class="list-unstyled">
<dd class="post-none">
- <?php echo JText::_('COM_KUNENA_NO_POSTS'); ?>
+ <div class="innerspacer-column">
+ <?php echo JText::_('COM_KUNENA_NO_POSTS'); ?>
+ </div>
</dd>
</dl>
</li>
View
56 components/com_kunena/template/mirage/html/user/default_banmanager.php
@@ -27,11 +27,31 @@
<ul class="list-unstyled banmanager-list">
<li class="header kbox-hover_header-row clear">
<dl class="list-unstyled">
- <dd class="banmanager-id"><span class="bold">#</span></dd>
- <dd class="banmanager-user"><span class="bold"><?php echo JText::_('COM_KUNENA_BAN_BANNEDUSER'); ?></span></dd>
- <dd class="banmanager-from"><span class="bold"><?php echo JText::_('COM_KUNENA_BAN_BANNEDFROM'); ?></span></dd>
- <dd class="banmanager-start"><span class="bold"><?php echo JText::_('COM_KUNENA_BAN_STARTTIME'); ?></span></dd>
- <dd class="banmanager-expire"><span class="bold"><?php echo JText::_('COM_KUNENA_BAN_EXPIRETIME'); ?></span></dd>
+ <dd class="banmanager-id">
+ <div class="innerspacer-header">
+ <span class="bold">#</span>
+ </div>
+ </dd>
+ <dd class="banmanager-user">
+ <div class="innerspacer-header">
+ <span class="bold"><?php echo JText::_('COM_KUNENA_BAN_BANNEDUSER'); ?></span>
+ </div>
+ </dd>
+ <dd class="banmanager-from">
+ <div class="innerspacer-header">
+ <span class="bold"><?php echo JText::_('COM_KUNENA_BAN_BANNEDFROM'); ?></span>
+ </div>
+ </dd>
+ <dd class="banmanager-start">
+ <div class="innerspacer-header">
+ <span class="bold"><?php echo JText::_('COM_KUNENA_BAN_STARTTIME'); ?></span>
+ </div>
+ </dd>
+ <dd class="banmanager-expire">
+ <div class="innerspacer-header">
+ <span class="bold"><?php echo JText::_('COM_KUNENA_BAN_EXPIRETIME'); ?></span>
+ </div>
+ </dd>
</dl>
</li>
</ul>
@@ -45,27 +65,41 @@
<li class="banmanager-row kbox-hover kbox-hover_list-row">
<dl class="list-unstyled">
<dd class="banmanager-id">
- <?php echo $j; ?>
+ <div class="innerspacer-column">
+ <?php echo $j; ?>
+ </div>
</dd>
<dd class="banmanager-user">
- <?php echo $userban->getUser()->getLink() ?>
+ <div class="innerspacer-column">
+ <?php echo $userban->getUser()->getLink() ?>
+ </div>
</dd>
<dd class="banmanager-from">
- <span><?php echo $userban->blocked ? JText::_('COM_KUNENA_BAN_BANLEVEL_JOOMLA') : JText::_('COM_KUNENA_BAN_BANLEVEL_KUNENA') ?></span>
+ <div class="innerspacer-column">
+ <span><?php echo $userban->blocked ? JText::_('COM_KUNENA_BAN_BANLEVEL_JOOMLA') : JText::_('COM_KUNENA_BAN_BANLEVEL_KUNENA') ?></span>
+ </div>
</dd>
<dd class="banmanager-start">
- <span><?php echo KunenaDate::getInstance($userban->created_time)->toKunena('datetime') ?></span>
+ <div class="innerspacer-column">
+ <span><?php echo KunenaDate::getInstance($userban->created_time)->toKunena('datetime') ?></span>
+ </div>
</dd>
<dd class="banmanager-expire">
- <span><?php echo $userban->isLifetime() ? JText::_('COM_KUNENA_BAN_LIFETIME') : KunenaDate::getInstance($userban->expiration)->toKunena('datetime') ?></span>
+ <div class="innerspacer-column">
+ <span><?php echo $userban->isLifetime() ? JText::_('COM_KUNENA_BAN_LIFETIME') : KunenaDate::getInstance($userban->expiration)->toKunena('datetime') ?></span>
+ </div>
</dd>
</dl>
</li>
<?php endforeach; ?>
<?php else : ?>
<li class="banmanager-row kbox-hover kbox-hover_list-row">
<dl class="list-unstyled">
- <dd><?php echo JText::_('COM_KUNENA_BAN_NO_BANNED_USERS') ?></dd>
+ <dd class="banmanager-none">
+ <div class="innerspacer-column">
+ <?php echo JText::_('COM_KUNENA_BAN_NO_BANNED_USERS') ?>
+ </div>
+ </dd>
</dl>
</li>
<?php endif; ?>
View
2 components/com_kunena/template/mirage/template.php
@@ -116,7 +116,7 @@ public function getPaginationListRender($list) {
$html .= '<ul class="list-pagination">';
$last = 0;
foreach($list['pages'] as $i=>$page) {
- if ($last+1 != $i) $html .= '<li class="kpage-more">...</li>';
+ if ($last+1 != $i) $html .= '<li class="page-item kpage-more">...</li>';
$html .= $page['data'];
$last = $i;
}

0 comments on commit 538b945

Please sign in to comment.