Merge pull request #200 from marc1706/responsive/portal
Responsive/portal
This commit is contained in:
@@ -7,6 +7,7 @@ services:
|
|||||||
- @config
|
- @config
|
||||||
- @template
|
- @template
|
||||||
- @dbal.conn
|
- @dbal.conn
|
||||||
|
- @pagination
|
||||||
- @request
|
- @request
|
||||||
- %core.php_ext%
|
- %core.php_ext%
|
||||||
- %core.root_path%
|
- %core.root_path%
|
||||||
@@ -177,6 +178,7 @@ services:
|
|||||||
- @cache
|
- @cache
|
||||||
- @config
|
- @config
|
||||||
- @dbal.conn
|
- @dbal.conn
|
||||||
|
- @pagination
|
||||||
- @request
|
- @request
|
||||||
- @template
|
- @template
|
||||||
- %core.root_path%
|
- %core.root_path%
|
||||||
|
|||||||
@@ -56,6 +56,9 @@ class announcements extends module_base
|
|||||||
/** @var \phpbb\db\driver */
|
/** @var \phpbb\db\driver */
|
||||||
protected $db;
|
protected $db;
|
||||||
|
|
||||||
|
/** @var \phpbb\pagination */
|
||||||
|
protected $pagination;
|
||||||
|
|
||||||
/** @var \phpbb\request\request */
|
/** @var \phpbb\request\request */
|
||||||
protected $request;
|
protected $request;
|
||||||
|
|
||||||
@@ -76,18 +79,20 @@ class announcements extends module_base
|
|||||||
* @param \phpbb\config\config $config phpBB config
|
* @param \phpbb\config\config $config phpBB config
|
||||||
* @param \phpbb\template $template phpBB template
|
* @param \phpbb\template $template phpBB template
|
||||||
* @param \phpbb\db\driver $db Database driver
|
* @param \phpbb\db\driver $db Database driver
|
||||||
|
* @param \phpbb\pagination $pagination phpBB pagination
|
||||||
* @param \phpbb\request\request $request phpBB request
|
* @param \phpbb\request\request $request phpBB request
|
||||||
* @param string $phpEx php file extension
|
* @param string $phpEx php file extension
|
||||||
* @param string $phpbb_root_path phpBB root path
|
* @param string $phpbb_root_path phpBB root path
|
||||||
* @param \phpbb\user $user phpBB user object
|
* @param \phpbb\user $user phpBB user object
|
||||||
*/
|
*/
|
||||||
public function __construct($auth, $cache, $config, $template, $db, $request, $phpEx, $phpbb_root_path, $user)
|
public function __construct($auth, $cache, $config, $template, $db, $pagination, $request, $phpEx, $phpbb_root_path, $user)
|
||||||
{
|
{
|
||||||
$this->auth = $auth;
|
$this->auth = $auth;
|
||||||
$this->cache = $cache;
|
$this->cache = $cache;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
$this->template = $template;
|
$this->template = $template;
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
|
$this->pagination = $pagination;
|
||||||
$this->request = $request;
|
$this->request = $request;
|
||||||
$this->php_ext = $phpEx;
|
$this->php_ext = $phpEx;
|
||||||
$this->phpbb_root_path = $phpbb_root_path;
|
$this->phpbb_root_path = $phpbb_root_path;
|
||||||
@@ -280,6 +285,7 @@ class announcements extends module_base
|
|||||||
'REPLIES' => $fetch_news[$i]['topic_replies'],
|
'REPLIES' => $fetch_news[$i]['topic_replies'],
|
||||||
'TOPIC_VIEWS' => $fetch_news[$i]['topic_views'],
|
'TOPIC_VIEWS' => $fetch_news[$i]['topic_views'],
|
||||||
'A_ID' => $i,
|
'A_ID' => $i,
|
||||||
|
'TOPIC_IMG_STYLE' => $folder_img,
|
||||||
'TOPIC_FOLDER_IMG' => $this->user->img($folder_img, $folder_alt),
|
'TOPIC_FOLDER_IMG' => $this->user->img($folder_img, $folder_alt),
|
||||||
'TOPIC_FOLDER_IMG_SRC' => $this->user->img($folder_img, $folder_alt, false, '', 'src'),
|
'TOPIC_FOLDER_IMG_SRC' => $this->user->img($folder_img, $folder_alt, false, '', 'src'),
|
||||||
'TOPIC_FOLDER_IMG_ALT' => $this->user->lang[$folder_alt],
|
'TOPIC_FOLDER_IMG_ALT' => $this->user->lang[$folder_alt],
|
||||||
@@ -302,7 +308,7 @@ class announcements extends module_base
|
|||||||
'S_HAS_ATTACHMENTS' => (!empty($fetch_news[$i]['attachments'])) ? true : false,
|
'S_HAS_ATTACHMENTS' => (!empty($fetch_news[$i]['attachments'])) ? true : false,
|
||||||
));
|
));
|
||||||
|
|
||||||
phpbb_generate_template_pagination($this->template, $view_topic_url, 'announcements_center_row.pagination', 'start', $fetch_news[$i]['topic_replies'] + 1, $this->config['posts_per_page'], 1, true, true);
|
$this->pagination->generate_template_pagination($view_topic_url, 'announcements_center_row.pagination', 'start', $fetch_news[$i]['topic_replies'] + 1, $this->config['posts_per_page'], 1, true, true);
|
||||||
|
|
||||||
|
|
||||||
if(!empty($fetch_news[$i]['attachments']))
|
if(!empty($fetch_news[$i]['attachments']))
|
||||||
@@ -319,7 +325,7 @@ class announcements extends module_base
|
|||||||
$this->template->assign_vars(array(
|
$this->template->assign_vars(array(
|
||||||
'AP_PAGINATION' => $pagination,
|
'AP_PAGINATION' => $pagination,
|
||||||
'TOTAL_ANNOUNCEMENTS' => ($total_announcements == 1) ? $this->user->lang['VIEW_LATEST_ANNOUNCEMENT'] : sprintf($this->user->lang['VIEW_LATEST_ANNOUNCEMENTS'], $total_announcements),
|
'TOTAL_ANNOUNCEMENTS' => ($total_announcements == 1) ? $this->user->lang['VIEW_LATEST_ANNOUNCEMENT'] : sprintf($this->user->lang['VIEW_LATEST_ANNOUNCEMENTS'], $total_announcements),
|
||||||
'AP_PAGE_NUMBER' => phpbb_on_page($this->template, $this->user, '', $total_announcements, $this->config['board3_number_of_announcements_' . $module_id], $start))
|
'AP_PAGE_NUMBER' => $this->pagination->on_page('', $total_announcements, $this->config['board3_number_of_announcements_' . $module_id], $start))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -378,7 +384,7 @@ class announcements extends module_base
|
|||||||
'S_HAS_ATTACHMENTS' => (!empty($fetch_news[$i]['attachments'])) ? true : false,
|
'S_HAS_ATTACHMENTS' => (!empty($fetch_news[$i]['attachments'])) ? true : false,
|
||||||
));
|
));
|
||||||
|
|
||||||
phpbb_generate_template_pagination($this->template, $view_topic_url, 'announcements_center_row.pagination', 'start', $fetch_news[$i]['topic_replies'] + 1, $this->config['posts_per_page'], 1, true, true);
|
$this->pagination->generate_template_pagination($view_topic_url, 'announcements_center_row.pagination', 'start', $fetch_news[$i]['topic_replies'] + 1, $this->config['posts_per_page'], 1, true, true);
|
||||||
|
|
||||||
if(!empty($fetch_news[$i]['attachments']))
|
if(!empty($fetch_news[$i]['attachments']))
|
||||||
{
|
{
|
||||||
@@ -395,7 +401,7 @@ class announcements extends module_base
|
|||||||
$this->template->assign_vars(array(
|
$this->template->assign_vars(array(
|
||||||
'AP_PAGINATION' => $pagination,
|
'AP_PAGINATION' => $pagination,
|
||||||
'TOTAL_ANNOUNCEMENTS' => ($total_announcements == 1) ? $this->user->lang['VIEW_LATEST_ANNOUNCEMENT'] : sprintf($this->user->lang['VIEW_LATEST_ANNOUNCEMENTS'], $total_announcements),
|
'TOTAL_ANNOUNCEMENTS' => ($total_announcements == 1) ? $this->user->lang['VIEW_LATEST_ANNOUNCEMENT'] : sprintf($this->user->lang['VIEW_LATEST_ANNOUNCEMENTS'], $total_announcements),
|
||||||
'AP_PAGE_NUMBER' => phpbb_on_page($this->template, $this->user, '', $total_announcements, $this->config['board3_number_of_announcements_' . $module_id], $start))
|
'AP_PAGE_NUMBER' => $this->pagination->on_page('', $total_announcements, $this->config['board3_number_of_announcements_' . $module_id], $start))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,7 +90,11 @@ class forumlist extends module_base
|
|||||||
*/
|
*/
|
||||||
public function get_template_center($module_id)
|
public function get_template_center($module_id)
|
||||||
{
|
{
|
||||||
display_forums('', $this->config['load_moderators'], false);
|
if (!function_exists('display_forums'))
|
||||||
|
{
|
||||||
|
include($this->phpbb_root_path . 'includes/functions_display.' . $this->php_ext);
|
||||||
|
}
|
||||||
|
\display_forums('', $this->config['load_moderators'], false);
|
||||||
|
|
||||||
$this->template->assign_vars(array(
|
$this->template->assign_vars(array(
|
||||||
'FORUM_IMG' => $this->user->img('forum_read', 'NO_NEW_POSTS'),
|
'FORUM_IMG' => $this->user->img('forum_read', 'NO_NEW_POSTS'),
|
||||||
|
|||||||
@@ -53,6 +53,9 @@ class news extends module_base
|
|||||||
/** @var \phpbb\db\driver */
|
/** @var \phpbb\db\driver */
|
||||||
protected $db;
|
protected $db;
|
||||||
|
|
||||||
|
/** @var \phpbb\pagination */
|
||||||
|
protected $pagination;
|
||||||
|
|
||||||
/** @var \phpbb\request\request */
|
/** @var \phpbb\request\request */
|
||||||
protected $request;
|
protected $request;
|
||||||
|
|
||||||
@@ -75,18 +78,20 @@ class news extends module_base
|
|||||||
* @param \phpbb\cache $cache phpBB cache system
|
* @param \phpbb\cache $cache phpBB cache system
|
||||||
* @param \phpbb\config\config $config phpBB config
|
* @param \phpbb\config\config $config phpBB config
|
||||||
* @param \phpbb\db\driver $db phpBB db driver
|
* @param \phpbb\db\driver $db phpBB db driver
|
||||||
|
* @param \phpbb\pagination $pagination phpBB pagination
|
||||||
* @param \phpbb\request\request $request phpBB request
|
* @param \phpbb\request\request $request phpBB request
|
||||||
* @param \phpbb\template $template phpBB template
|
* @param \phpbb\template $template phpBB template
|
||||||
* @param string $phpbb_root_path phpBB root path
|
* @param string $phpbb_root_path phpBB root path
|
||||||
* @param string $phpEx php file extension
|
* @param string $phpEx php file extension
|
||||||
* @param \phpbb\user $user phpBB user object
|
* @param \phpbb\user $user phpBB user object
|
||||||
*/
|
*/
|
||||||
public function __construct($auth, $cache, $config, $db, $request, $template, $phpbb_root_path, $phpEx, $user)
|
public function __construct($auth, $cache, $config, $db, $pagination, $request, $template, $phpbb_root_path, $phpEx, $user)
|
||||||
{
|
{
|
||||||
$this->auth = $auth;
|
$this->auth = $auth;
|
||||||
$this->cache = $cache;
|
$this->cache = $cache;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
|
$this->pagination = $pagination;
|
||||||
$this->request = $request;
|
$this->request = $request;
|
||||||
$this->template = $template;
|
$this->template = $template;
|
||||||
$this->phpbb_root_path = $phpbb_root_path;
|
$this->phpbb_root_path = $phpbb_root_path;
|
||||||
@@ -255,7 +260,7 @@ class news extends module_base
|
|||||||
// Grab icons
|
// Grab icons
|
||||||
$icons = $this->cache->obtain_icons();
|
$icons = $this->cache->obtain_icons();
|
||||||
|
|
||||||
phpbb_generate_template_pagination($this->template, $view_topic_url, 'pagination', 'np', $fetch_news[$i]['topic_replies'], $this->config['board3_number_of_news_' . $module_id], $start);
|
$this->pagination->generate_template_pagination($view_topic_url, 'pagination', 'np', $fetch_news[$i]['topic_replies'], $this->config['board3_number_of_news_' . $module_id], $start);
|
||||||
|
|
||||||
$this->template->assign_block_vars('news_row', array(
|
$this->template->assign_block_vars('news_row', array(
|
||||||
'ATTACH_ICON_IMG' => ($fetch_news[$i]['attachment'] && $this->config['allow_attachments']) ? $this->user->img('icon_topic_attach', $this->user->lang['TOTAL_ATTACHMENTS']) : '',
|
'ATTACH_ICON_IMG' => ($fetch_news[$i]['attachment'] && $this->config['allow_attachments']) ? $this->user->img('icon_topic_attach', $this->user->lang['TOTAL_ATTACHMENTS']) : '',
|
||||||
@@ -309,7 +314,7 @@ class news extends module_base
|
|||||||
$this->template->assign_vars(array(
|
$this->template->assign_vars(array(
|
||||||
'NP_PAGINATION' => $pagination,
|
'NP_PAGINATION' => $pagination,
|
||||||
'TOTAL_NEWS' => ($total_news == 1) ? sprintf($this->user->lang['VIEW_FORUM_TOPICS'][1], $total_news) : sprintf($this->user->lang['VIEW_FORUM_TOPICS'][2], $total_news),
|
'TOTAL_NEWS' => ($total_news == 1) ? sprintf($this->user->lang['VIEW_FORUM_TOPICS'][1], $total_news) : sprintf($this->user->lang['VIEW_FORUM_TOPICS'][2], $total_news),
|
||||||
'NP_PAGE_NUMBER' => phpbb_on_page($this->template, $this->user, $view_topic_url, $total_news, $this->config['board3_number_of_news_' . $module_id], $start))
|
'NP_PAGE_NUMBER' => $this->pagination->on_page($view_topic_url, $total_news, $this->config['board3_number_of_news_' . $module_id], $start))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -356,7 +361,7 @@ class news extends module_base
|
|||||||
'S_HAS_ATTACHMENTS' => (!empty($fetch_news[$i]['attachments'])) ? true : false,
|
'S_HAS_ATTACHMENTS' => (!empty($fetch_news[$i]['attachments'])) ? true : false,
|
||||||
));
|
));
|
||||||
|
|
||||||
phpbb_generate_template_pagination($this->template, $view_topic_url, 'news_row.pagination', 'start', $fetch_news[$i]['topic_replies'] + 1, $this->config['posts_per_page'], 1, true, true);
|
$this->pagination->generate_template_pagination($view_topic_url, 'news_row.pagination', 'start', $fetch_news[$i]['topic_replies'] + 1, $this->config['posts_per_page'], 1, true, true);
|
||||||
|
|
||||||
if(!empty($fetch_news[$i]['attachments']))
|
if(!empty($fetch_news[$i]['attachments']))
|
||||||
{
|
{
|
||||||
@@ -373,7 +378,7 @@ class news extends module_base
|
|||||||
$this->template->assign_vars(array(
|
$this->template->assign_vars(array(
|
||||||
'NP_PAGINATION' => $pagination,
|
'NP_PAGINATION' => $pagination,
|
||||||
'TOTAL_NEWS' => ($total_news == 1) ? $this->user->lang['VIEW_FORUM_TOPIC'] : $this->user->lang('VIEW_FORUM_TOPICS', $total_news),
|
'TOTAL_NEWS' => ($total_news == 1) ? $this->user->lang['VIEW_FORUM_TOPIC'] : $this->user->lang('VIEW_FORUM_TOPICS', $total_news),
|
||||||
'NP_PAGE_NUMBER' => phpbb_on_page($this->template, $this->user, '', $total_news, $this->config['board3_number_of_news_' . $module_id], $start))
|
'NP_PAGE_NUMBER' => $this->pagination->on_page('', $total_news, $this->config['board3_number_of_news_' . $module_id], $start))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1,4 @@
|
|||||||
<!-- IF T_EXT_THEME_PATH --><link href="{T_EXT_THEME_PATH}portal.css" rel="stylesheet" type="text/css" /><!-- ENDIF -->
|
<!-- IF T_EXT_THEME_PATH -->
|
||||||
|
<!-- INCLUDECSS ../theme/portal.css -->
|
||||||
|
<link href="{T_EXT_THEME_PATH}responsive.css" rel="stylesheet" type="text/css" media="only screen and (max-width: 980px), only screen and (max-device-width: 980px)" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<div class="inner"><span class="portal-corners-top-inner"></span>
|
<div class="inner"><span class="portal-corners-top-inner"></span>
|
||||||
<span style="text-align: center;"><strong>{L_NO_ANNOUNCEMENTS}</strong></span>
|
<span style="text-align: center;"><strong>{L_NO_ANNOUNCEMENTS}</strong></span>
|
||||||
<!-- ELSE -->
|
<!-- 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 -->">
|
<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="inner"><span class="portal-corners-top-inner"></span>
|
<div class="inner"><span class="portal-corners-top-inner"></span>
|
||||||
<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}: </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>
|
<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}: </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 -->
|
<!-- IF announcements_center_row.PAGINATION --><strong class="pagination"><span>{announcements_center_row.PAGINATION}</span></strong><!-- ENDIF -->
|
||||||
|
|||||||
@@ -10,32 +10,41 @@
|
|||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
<!-- IF announcements_center_row.S_FIRST_ROW -->
|
<!-- IF announcements_center_row.S_FIRST_ROW -->
|
||||||
{$CC_BLOCK_H_L}
|
{$CC_BLOCK_H_L}
|
||||||
<dt id="a" <!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->style="width: 44%"<!-- ELSE -->style="width: 60%"<!-- ENDIF -->>{$TITLE}</dt>
|
<dt id="a">{$TITLE}</dt>
|
||||||
<!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->
|
<!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->
|
||||||
<dd class="posts" style="width: 11%">{L_REPLIES}</dd>
|
<dd class="posts responsive-portal-announcements">{L_REPLIES}</dd>
|
||||||
<dd class="views" style="width: 11%">{L_VIEWS}</dd>
|
<dd class="views responsive-portal-announcements">{L_VIEWS}</dd>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<dd class="lastpost" style="width: 25%"><span>{L_LAST_POST}</span></dd>
|
<dd class="lastpost responsive-portal-announcements"><span>{L_LAST_POST}</span></dd>
|
||||||
{$CC_BLOCK_H_R}
|
{$CC_BLOCK_H_R}
|
||||||
<ul class="topiclist topics">
|
<ul class="topiclist topics responsive-portal-announcements">
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<li class="row<!-- IF announcements_center_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
<li class="row<!-- IF announcements_center_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||||
<dl class="icon" style="background-image: url({announcements_center_row.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
<dl class="icon {announcements_center_row.TOPIC_IMG_STYLE}">
|
||||||
<dt style="<!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->width: 44%;<!-- ELSE -->width: 60%;<!-- ENDIF --> <!-- IF announcements_center_row.TOPIC_ICON_IMG -->background-image: url({T_ICONS_PATH}{announcements_center_row.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF -->" title="{announcements_center_row.TOPIC_FOLDER_IMG_ALT}"><!-- IF announcements_center_row.S_UNREAD_TOPIC --><a href="{announcements_center_row.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><!-- IF announcements_center_row.ATTACH_ICON_IMG -->{announcements_center_row.ATTACH_ICON_IMG} <!-- ENDIF --><!-- IF announcements_center_row.S_POLL --><strong>{L_VIEW_TOPIC_POLL}</strong><!-- ENDIF --><a href="{announcements_center_row.U_VIEW_COMMENTS}" title="{announcements_center_row.TITLE}" class="topictitle">{announcements_center_row.TITLE}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> • <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> • <!-- ENDIF -->
|
<dt style="<!-- IF announcements_center_row.TOPIC_ICON_IMG -->background-image: url({T_ICONS_PATH}{announcements_center_row.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF -->" title="{announcements_center_row.TOPIC_FOLDER_IMG_ALT}">
|
||||||
<!-- IF announcements_center_row.PAGINATION --><strong class="pagination"><span>{announcements_center_row.PAGINATION}</span></strong><!-- ENDIF -->
|
<!-- IF announcements_center_row.S_UNREAD_TOPIC -->
|
||||||
<br />{L_POSTED} {L_POST_BY_AUTHOR} {announcements_center_row.POSTER_FULL} » {announcements_center_row.TIME}
|
<a href="{announcements_center_row.U_NEWEST_POST}">{NEWEST_POST_IMG}</a>
|
||||||
<!-- IF announcements_center_row.FORUM_NAME -->
|
|
||||||
<br />{L_FORUM}: <a href="{announcements_center_row.U_VIEWFORUM}" style="font-weight: bold;">{announcements_center_row.FORUM_NAME}</a>
|
|
||||||
<!-- ELSE -->
|
|
||||||
<br />{L_GLOBAL_ANNOUNCEMENT}
|
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- IF not S_DISPLAY_ANNOUNCEMENTS_RVS --><!-- IF announcements_center_row.FORUM_NAME -->• <!-- ENDIF -->{L_REPLIES}: <strong>{announcements_center_row.REPLIES}</strong> • {L_VIEWS}: <strong>{announcements_center_row.TOPIC_VIEWS}</strong><!-- ENDIF -->
|
<div class="list-inner">
|
||||||
|
<!-- IF announcements_center_row.ATTACH_ICON_IMG -->{announcements_center_row.ATTACH_ICON_IMG} <!-- ENDIF -->
|
||||||
|
<!-- IF announcements_center_row.S_POLL --><strong>{L_VIEW_TOPIC_POLL}</strong><!-- ENDIF -->
|
||||||
|
<a href="{announcements_center_row.U_VIEW_COMMENTS}" title="{announcements_center_row.TITLE}" class="topictitle">{announcements_center_row.TITLE}</a>
|
||||||
|
<!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> • <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> • <!-- ENDIF -->
|
||||||
|
<!-- 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}: <a href="{announcements_center_row.U_VIEWFORUM}" style="font-weight: bold;">{announcements_center_row.FORUM_NAME}</a>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<br />{L_GLOBAL_ANNOUNCEMENT}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF not S_DISPLAY_ANNOUNCEMENTS_RVS --><!-- IF announcements_center_row.FORUM_NAME -->• <!-- ENDIF -->{L_REPLIES}: <strong>{announcements_center_row.REPLIES}</strong> • {L_VIEWS}: <strong>{announcements_center_row.TOPIC_VIEWS}</strong><!-- ENDIF -->
|
||||||
|
</div>
|
||||||
</dt>
|
</dt>
|
||||||
<!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->
|
<!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->
|
||||||
<dd class="posts" style="width: 11%">{announcements_center_row.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
|
<dd class="posts">{announcements_center_row.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
|
||||||
<dd class="views" style="width: 11%">{announcements_center_row.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd>
|
<dd class="views">{announcements_center_row.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<dd class="lastpost" style="width: 25%"><span><dfn>{L_LAST_POST}</dfn>{L_POST_BY_AUTHOR} {announcements_center_row.USERNAME_FULL_LAST} <!-- 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 --><br />
|
<dd class="lastpost"><span><dfn>{L_LAST_POST}</dfn>{L_POST_BY_AUTHOR} {announcements_center_row.USERNAME_FULL_LAST} <!-- 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 --><br />
|
||||||
{announcements_center_row.LAST_POST_TIME}</span>
|
{announcements_center_row.LAST_POST_TIME}</span>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
||||||
<div class="panel bg1" style="margin-bottom: 0px">
|
<div class="panel bg1 portal-no-margin">
|
||||||
<div class="inner"><span class="portal-corners-top-inner"></span>
|
<div class="inner"><span class="portal-corners-top-inner"></span>
|
||||||
<!-- IF .attach_center -->
|
<!-- IF .attach_center -->
|
||||||
<span style="float:<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->right<!-- ELSE -->left<!-- ENDIF -->;"><strong>{L_FILENAME}</strong></span><br />
|
<span style="float:<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->right<!-- ELSE -->left<!-- ENDIF -->;"><strong>{L_FILENAME}</strong></span><br />
|
||||||
|
|||||||
@@ -1,32 +1,32 @@
|
|||||||
{$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}
|
{$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; min-height: 5em; margin: 0 auto;">
|
<div class="portal-clock-wrapper">
|
||||||
<div id="portal-clock" style="margin-top: 10px; margin-bottom: 10px;">
|
<div class="portal-clock">
|
||||||
<div id="portal-clock-back">
|
<div class="portal-clock-back">
|
||||||
<div id="portal-clock-back-upper">
|
<div class="portal-clock-back-upper">
|
||||||
<img src="{T_EXT_THEME_PATH}/images/portal/spacer_up.png" alt="" style="float: left;" /><div id="portal-clock-back-hours-up"></div>
|
<img src="{T_EXT_THEME_PATH}/images/portal/spacer_up.png" alt="" /><div class="portal-clock-back-hours-up"></div>
|
||||||
<div id="portal-clock-back-minutes-up-left" ></div><div id="portal-clock-back-minutes-up-right"></div>
|
<div class="portal-clock-back-minutes-up-left" ></div><div class="portal-clock-back-minutes-up-right"></div>
|
||||||
<div id="portal-clock-back-seconds-up-left"></div><div id="portal-clock-back-seconds-up-right"></div>
|
<div class="portal-clock-back-seconds-up-left"></div><div class="portal-clock-back-seconds-up-right"></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="portal-clock-back-lower">
|
<div class="portal-clock-back-lower">
|
||||||
<img src="{T_EXT_THEME_PATH}/images/portal/spacer_down.png" alt="" style="float: left;" /><div id="portal-clock-back-hours-down"></div>
|
<img src="{T_EXT_THEME_PATH}/images/portal/spacer_down.png" alt="" /><div class="portal-clock-back-hours-down"></div>
|
||||||
<div id="portal-clock-back-minutes-down-left"></div><div id="portal-clock-back-minutes-down-right"></div>
|
<div class="portal-clock-back-minutes-down-left"></div><div class="portal-clock-back-minutes-down-right"></div>
|
||||||
<div id="portal-clock-back-seconds-down-left"></div><div id="portal-clock-back-seconds-down-right"></div>
|
<div class="portal-clock-back-seconds-down-left"></div><div class="portal-clock-back-seconds-down-right"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="portal-clock-front">
|
<div class="portal-clock-front">
|
||||||
<div id="portal-clock-front-upper">
|
<div class="portal-clock-front-upper">
|
||||||
<img src="{T_EXT_THEME_PATH}/images/portal/spacer_up.png" alt="" style="float: left;" /><div id="portal-clock-front-hours-up"></div>
|
<img src="{T_EXT_THEME_PATH}/images/portal/spacer_up.png" alt="" /><div class="portal-clock-front-hours-up"></div>
|
||||||
<div id="portal-clock-front-minutes-up-left"></div><div id="portal-clock-front-minutes-up-right"></div>
|
<div class="portal-clock-front-minutes-up-left"></div><div class="portal-clock-front-minutes-up-right"></div>
|
||||||
<div id="portal-clock-front-seconds-up-left"></div><div id="portal-clock-front-seconds-up-right"></div>
|
<div class="portal-clock-front-seconds-up-left"></div><div class="portal-clock-front-seconds-up-right"></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="portal-clock-front-lower">
|
<div class="portal-clock-front-lower">
|
||||||
<img src="{T_EXT_THEME_PATH}/images/portal/spacer_down.png" alt="" style="float: left;" /><div id="portal-clock-front-hours-down"></div>
|
<img src="{T_EXT_THEME_PATH}/images/portal/spacer_down.png" alt="" /><div class="portal-clock-front-hours-down"></div>
|
||||||
<div id="portal-clock-front-minutes-down-left"></div><div id="portal-clock-front-minutes-down-right"></div>
|
<div class="portal-clock-front-minutes-down-left"></div><div class="portal-clock-front-minutes-down-right"></div>
|
||||||
<div id="portal-clock-front-seconds-down-left"></div><div id="portal-clock-front-seconds-down-right"></div>
|
<div class="portal-clock-front-seconds-down-left"></div><div class="portal-clock-front-seconds-down-right"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- INCLUDEJS portal/modules/jquery.easing.1.3.js -->
|
<!-- INCLUDEJS portal/modules/jquery.easing.1.3.js -->
|
||||||
<!-- INCLUDEJS portal/modules/portal_clock.js -->
|
<!-- INCLUDEJS portal/modules/portal_clock.js -->
|
||||||
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
|
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
||||||
<ul class="topiclist bg1">
|
<ul class="topiclist bg1">
|
||||||
<li><dl>
|
<li><dl><dt></dt>
|
||||||
<dd style="border-left: 0px">
|
<dd class="portal-responsive-show" style="border-left: 0px">
|
||||||
<div style="text-align: left; margin: 5px 5px 5px 5px">
|
<div style="text-align: left; margin: 5px 5px 5px 5px">
|
||||||
<strong>{SITENAME}</strong> {L_DONATION_TEXT}
|
<strong>{SITENAME}</strong> {L_DONATION_TEXT}
|
||||||
<br />
|
<br />
|
||||||
<div style="float: left; padding: 5px 5px 5px 5px"><img src="{T_THEME_PATH}/images/portal/paypal.gif" alt="" /></div>
|
<div style="float: left; padding: 5px 5px 5px 5px"><img src="{T_EXT_THEME_PATH}/images/portal/paypal.gif" alt="" /></div>
|
||||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="padding-top:15px">
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="padding-top:15px">
|
||||||
<div>
|
<div>
|
||||||
<input type="hidden" name="cmd" value="_xclick" />
|
<input type="hidden" name="cmd" value="_xclick" />
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<input type="hidden" name="bn" value="PP-DonationsBF" />
|
<input type="hidden" name="bn" value="PP-DonationsBF" />
|
||||||
<input type="hidden" name="tax" value="0" />
|
<input type="hidden" name="tax" value="0" />
|
||||||
<!-- IF PAY_CUSTOM_CENTER -->
|
<!-- IF PAY_CUSTOM_CENTER -->
|
||||||
<input type="hidden" name="custom" value="{PAY_CUSTOM_CENTER}">
|
<input type="hidden" name="custom" value="{PAY_CUSTOM_CENTER}" />
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<input type="text" tabindex="11" name="amount" size="10" maxlength="6" value="" class="inputbox autowidth" title="{L_PAY_MSG}" />
|
<input type="text" tabindex="11" name="amount" size="10" maxlength="6" value="" class="inputbox autowidth" title="{L_PAY_MSG}" />
|
||||||
<select name="currency_code" class="autowidth">
|
<select name="currency_code" class="autowidth">
|
||||||
|
|||||||
@@ -12,12 +12,12 @@
|
|||||||
{$CC_BLOCK_H_L}
|
{$CC_BLOCK_H_L}
|
||||||
<dt id="n">{$TITLE}</dt>
|
<dt id="n">{$TITLE}</dt>
|
||||||
<!-- IF S_DISPLAY_NEWS_RVS -->
|
<!-- IF S_DISPLAY_NEWS_RVS -->
|
||||||
<dd class="posts">{L_REPLIES}</dd>
|
<dd class="posts responsive-portal-news">{L_REPLIES}</dd>
|
||||||
<dd class="views">{L_VIEWS}</dd>
|
<dd class="views responsive-portal-news">{L_VIEWS}</dd>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
|
<dd class="lastpost responsive-portal-news"><span>{L_LAST_POST}</span></dd>
|
||||||
{$CC_BLOCK_H_R}
|
{$CC_BLOCK_H_R}
|
||||||
<ul class="topiclist topics">
|
<ul class="topiclist topics responsive-portal-news">
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<li class="row<!-- IF news_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
<li class="row<!-- IF news_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||||
<dl class="icon {news_row.TOPIC_IMG_STYLE}">
|
<dl class="icon {news_row.TOPIC_IMG_STYLE}">
|
||||||
@@ -25,8 +25,8 @@
|
|||||||
<!-- IF news_row.S_UNREAD_TOPIC -->
|
<!-- IF news_row.S_UNREAD_TOPIC -->
|
||||||
<a href="{news_row.U_NEWEST_POST}">{NEWEST_POST_IMG}</a>
|
<a href="{news_row.U_NEWEST_POST}">{NEWEST_POST_IMG}</a>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- IF news_row.ATTACH_ICON_IMG -->{news_row.ATTACH_ICON_IMG} <!-- ENDIF -->
|
|
||||||
<div class="list-inner">
|
<div class="list-inner">
|
||||||
|
<!-- IF news_row.ATTACH_ICON_IMG -->{news_row.ATTACH_ICON_IMG} <!-- ENDIF -->
|
||||||
<a href="{news_row.U_VIEW_COMMENTS}" title="{news_row.TITLE}" class="topictitle">{news_row.TITLE}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> • <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> • <!-- ENDIF -->
|
<a href="{news_row.U_VIEW_COMMENTS}" title="{news_row.TITLE}" class="topictitle">{news_row.TITLE}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> • <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> • <!-- ENDIF -->
|
||||||
<!-- IF news_row.PAGINATION -->
|
<!-- IF news_row.PAGINATION -->
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
@@ -49,8 +49,8 @@
|
|||||||
</div> <!-- \END <div class="list-inner"> -->
|
</div> <!-- \END <div class="list-inner"> -->
|
||||||
</dt>
|
</dt>
|
||||||
<!-- IF S_DISPLAY_NEWS_RVS -->
|
<!-- IF S_DISPLAY_NEWS_RVS -->
|
||||||
<dd class="posts">{news_row.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
|
<dd class="posts" data-skip-responsive="true">{news_row.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
|
||||||
<dd class="views">{news_row.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd>
|
<dd class="views" data-skip-responsive="true">{news_row.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<dd class="lastpost"><span><dfn>{L_LAST_POST}</dfn>{L_POST_BY_AUTHOR} {news_row.USERNAME_FULL_LAST} <!-- 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 --><br />
|
<dd class="lastpost"><span><dfn>{L_LAST_POST}</dfn>{L_POST_BY_AUTHOR} {news_row.USERNAME_FULL_LAST} <!-- 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 --><br />
|
||||||
{news_row.LAST_POST_TIME}</span>
|
{news_row.LAST_POST_TIME}</span>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<fieldset class="polls">
|
<fieldset class="polls">
|
||||||
<!-- IF poll.S_POLL_HAS_OPTIONS -->
|
<!-- IF poll.S_POLL_HAS_OPTIONS -->
|
||||||
<!-- BEGIN poll_option -->
|
<!-- BEGIN poll_option -->
|
||||||
<dl class="<!-- IF poll.poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF -->"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->>
|
<dl class="<!-- IF poll.poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF --> portal-responsive-poll"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->>
|
||||||
<dt><!-- IF poll.S_CAN_VOTE --><label for="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}">{poll.poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll.poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
|
<dt><!-- IF poll.S_CAN_VOTE --><label for="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}">{poll.poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll.poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
|
||||||
<!-- IF poll.S_CAN_VOTE --><dd style="width: auto;"><!-- IF poll.S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
|
<!-- IF poll.S_CAN_VOTE --><dd style="width: auto;"><!-- IF poll.S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
|
||||||
<!-- IF poll.S_DISPLAY_RESULTS --><dd class="resultbar"><div class="<!-- IF poll.poll_option.POLL_OPTION_PCT < 20 -->pollbar1<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 40 -->pollbar2<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 60 -->pollbar3<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 80 -->pollbar4<!-- ELSE -->pollbar5<!-- ENDIF -->" style="width:{poll.poll_option.POLL_OPTION_PERCENT};">{poll.poll_option.POLL_OPTION_RESULT}</div></dd>
|
<!-- IF poll.S_DISPLAY_RESULTS --><dd class="resultbar"><div class="<!-- IF poll.poll_option.POLL_OPTION_PCT < 20 -->pollbar1<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 40 -->pollbar2<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 60 -->pollbar3<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 80 -->pollbar4<!-- ELSE -->pollbar5<!-- ENDIF -->" style="width:{poll.poll_option.POLL_OPTION_PERCENT};">{poll.poll_option.POLL_OPTION_RESULT}</div></dd>
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
<!-- IF poll.S_DISPLAY_RESULTS -->
|
<!-- IF poll.S_DISPLAY_RESULTS -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt> </dt>
|
<dt> </dt>
|
||||||
<dd class="resultbar"><p style="font-size:1.0em;">{L_TOTAL_VOTES} : {poll.TOTAL_VOTES}</p></dd>
|
<dd class="resultbar"><p style="font-size:1.0em; width: 10em;">{L_TOTAL_VOTES} : {poll.TOTAL_VOTES}</p></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
|||||||
@@ -127,27 +127,27 @@ phpbb.b3pClock = function() {
|
|||||||
var secR = now.getSeconds() % 10;
|
var secR = now.getSeconds() % 10;
|
||||||
|
|
||||||
if (hour !== hour_cur) {
|
if (hour !== hour_cur) {
|
||||||
phpbb.b3pFlipClock('#portal-clock-front-hours-up', '#portal-clock-front-hours-down', hour, 'double');
|
phpbb.b3pFlipClock('.portal-clock-front-hours-up', '.portal-clock-front-hours-down', hour, 'double');
|
||||||
hour_cur = hour;
|
hour_cur = hour;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (minR !== minR_cur) {
|
if (minR !== minR_cur) {
|
||||||
phpbb.b3pFlipClock('#portal-clock-front-minutes-up-right', '#portal-clock-front-minutes-down-right', minR, 'single');
|
phpbb.b3pFlipClock('.portal-clock-front-minutes-up-right', '.portal-clock-front-minutes-down-right', minR, 'single');
|
||||||
minR_cur = minR;
|
minR_cur = minR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (minL !== minL_cur) {
|
if (minL !== minL_cur) {
|
||||||
phpbb.b3pFlipClock('#portal-clock-front-minutes-up-left', '#portal-clock-front-minutes-down-left', minL, 'single');
|
phpbb.b3pFlipClock('.portal-clock-front-minutes-up-left', '.portal-clock-front-minutes-down-left', minL, 'single');
|
||||||
minL_cur = minL;
|
minL_cur = minL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (secR !== secR_cur) {
|
if (secR !== secR_cur) {
|
||||||
phpbb.b3pFlipClock('#portal-clock-front-seconds-up-right', '#portal-clock-front-seconds-down-right', secR, 'single');
|
phpbb.b3pFlipClock('.portal-clock-front-seconds-up-right', '.portal-clock-front-seconds-down-right', secR, 'single');
|
||||||
secR_cur = secR;
|
secR_cur = secR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (secL !== secL_cur) {
|
if (secL !== secL_cur) {
|
||||||
phpbb.b3pFlipClock('#portal-clock-front-seconds-up-left', '#portal-clock-front-seconds-down-left', secL, 'single');
|
phpbb.b3pFlipClock('.portal-clock-front-seconds-up-left', '.portal-clock-front-seconds-down-left', secL, 'single');
|
||||||
secL_cur = secL;
|
secL_cur = secL;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,20 +1,20 @@
|
|||||||
<!-- IF .latest_announcements or .latest_hot_topics or .latest_topics -->
|
<!-- IF .latest_announcements or .latest_hot_topics or .latest_topics -->
|
||||||
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
||||||
<div class="panel bg1" style="margin-bottom: 0px">
|
<div class="panel bg1 portal-no-margin">
|
||||||
<div class="inner"><span class="portal-corners-top-inner"></span>
|
<div class="inner"><span class="portal-corners-top-inner"></span>
|
||||||
<div class="portal-navigation">
|
<div class="portal-navigation">
|
||||||
<ul class="topiclist bg1">
|
<ul class="topiclist bg1">
|
||||||
<li><dl><dt></dt>
|
<li><dl><dt></dt>
|
||||||
<dd style="border-left:0px; width:100%">
|
<dd class="portal-responsive-show" style="border-left:0px; width:100%">
|
||||||
<table style="width: 100%;">
|
<table style="width: 100%;">
|
||||||
<tr class="menutitle">
|
<tr class="menutitle">
|
||||||
<!-- IF .latest_announcements --><td><strong>{L_PORTAL_RECENT_ANN}</strong></td><!-- ENDIF -->
|
<!-- IF .latest_announcements --><td class="portal-responsive-hide"><strong>{L_PORTAL_RECENT_ANN}</strong></td><!-- ENDIF -->
|
||||||
<!-- IF .latest_hot_topics --><td><strong>{L_PORTAL_RECENT_HOT_TOPIC}</strong></td><!-- ENDIF -->
|
<!-- IF .latest_hot_topics --><td class="portal-responsive-hide"><strong>{L_PORTAL_RECENT_HOT_TOPIC}</strong></td><!-- ENDIF -->
|
||||||
<!-- IF .latest_topics --><td><strong>{L_PORTAL_RECENT_TOPIC}</strong></td><!-- ENDIF -->
|
<!-- IF .latest_topics --><td><strong>{L_PORTAL_RECENT_TOPIC}</strong></td><!-- ENDIF -->
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<!-- IF .latest_announcements -->
|
<!-- IF .latest_announcements -->
|
||||||
<td class="row1" style="width: 33%; vertical-align: top;">
|
<td class="row1 portal-responsive-hide" style="width: 33%; vertical-align: top;">
|
||||||
<span class="gensmall">
|
<span class="gensmall">
|
||||||
<!-- BEGIN latest_announcements -->
|
<!-- BEGIN latest_announcements -->
|
||||||
<a href="{latest_announcements.U_VIEW_TOPIC}" title="{latest_announcements.FULL_TITLE}">{latest_announcements.TITLE}</a>
|
<a href="{latest_announcements.U_VIEW_TOPIC}" title="{latest_announcements.FULL_TITLE}">{latest_announcements.TITLE}</a>
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- IF .latest_hot_topics -->
|
<!-- IF .latest_hot_topics -->
|
||||||
<td class="row1" style="width: 33%; vertical-align: top;">
|
<td class="row1 portal-responsive-hide" style="width: 33%; vertical-align: top;">
|
||||||
<span class="gensmall">
|
<span class="gensmall">
|
||||||
<!-- BEGIN latest_hot_topics -->
|
<!-- BEGIN latest_hot_topics -->
|
||||||
<a href="{latest_hot_topics.U_VIEW_TOPIC}" title="{latest_hot_topics.FULL_TITLE}">{latest_hot_topics.TITLE}</a>
|
<a href="{latest_hot_topics.U_VIEW_TOPIC}" title="{latest_hot_topics.FULL_TITLE}">{latest_hot_topics.TITLE}</a>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- IF S_NOTIFICATIONS_DISPLAY -->
|
<!-- IF S_NOTIFICATIONS_DISPLAY -->
|
||||||
<li data-skip-responsive="true">
|
<li data-skip-responsive="true">
|
||||||
<a href="{U_VIEW_ALL_NOTIFICATIONS}" id="notification_list_button"><span>{L_NOTIFICATIONS} [</span><strong>{NOTIFICATIONS_COUNT}</strong><span>]</span></a>
|
<a href="{U_VIEW_ALL_NOTIFICATIONS}"><span>{L_NOTIFICATIONS} [</span><strong>{NOTIFICATIONS_COUNT}</strong><span>]</span></a>
|
||||||
</li>
|
</li>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- IF S_DISPLAY_PM -->
|
<!-- IF S_DISPLAY_PM -->
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
|
||||||
<div class="panel bg1" style="margin-bottom: 0px">
|
<div class="panel bg1 portal-no-margin">
|
||||||
<div class="inner"><span class="portal-corners-top-inner"></span>
|
<div class="inner"><span class="portal-corners-top-inner"></span>
|
||||||
<div class="postbody" style="width: 100%">
|
<div class="postbody" style="width: 100%">
|
||||||
<div class="content" style="min-height: 1em;">{PORTAL_WELCOME_MSG}</div>
|
<div class="content" style="min-height: 1em;">{PORTAL_WELCOME_MSG}</div>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{$C_BLOCK_H_L}<!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF -->{$C_BLOCK_H_R}
|
{$C_BLOCK_H_L}<!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF -->{$C_BLOCK_H_R}
|
||||||
<ul class="topiclist bg1">
|
<ul class="topiclist bg1">
|
||||||
<li><dl><dt></dt>
|
<li><dl><dt></dt>
|
||||||
<dd style="border-left:0px">
|
<dd class="portal-responsive-show" style="border-left:0px">
|
||||||
<p style="margin: 0 5px 0 5px;">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
|
<p style="margin: 0 5px 0 5px;">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
|
||||||
<!-- IF PORTAL_LEGEND --><br /><em>{L_LEGEND}: {PORTAL_LEGEND}</em><!-- ENDIF --></p>
|
<!-- IF PORTAL_LEGEND --><br /><em>{L_LEGEND}: {PORTAL_LEGEND}</em><!-- ENDIF --></p>
|
||||||
</dd>
|
</dd>
|
||||||
|
|||||||
@@ -10,11 +10,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<table id="portal-body">
|
<div id="portal-body">
|
||||||
<!-- IF S_TOP_COLUMN -->
|
<!-- IF S_TOP_COLUMN -->
|
||||||
<tr>
|
<div id="portal-top">
|
||||||
<!-- [+] top module area -->
|
<!-- [+] top module area -->
|
||||||
<td colspan="3">
|
<ul>
|
||||||
|
<li>
|
||||||
<!-- BEGIN modules_top -->
|
<!-- BEGIN modules_top -->
|
||||||
<!-- DEFINE $TEMPLATE_FILE = '{modules_top.TEMPLATE_FILE}' -->
|
<!-- DEFINE $TEMPLATE_FILE = '{modules_top.TEMPLATE_FILE}' -->
|
||||||
<!-- DEFINE $IMAGE_SRC = '{modules_top.IMAGE_SRC}' -->
|
<!-- DEFINE $IMAGE_SRC = '{modules_top.IMAGE_SRC}' -->
|
||||||
@@ -25,31 +26,15 @@
|
|||||||
<!-- DEFINE $MODULE_ID = '{modules_top.MODULE_ID}' -->
|
<!-- DEFINE $MODULE_ID = '{modules_top.MODULE_ID}' -->
|
||||||
<!-- INCLUDE {$TEMPLATE_FILE} -->
|
<!-- INCLUDE {$TEMPLATE_FILE} -->
|
||||||
<!-- END modules_top -->
|
<!-- END modules_top -->
|
||||||
</td>
|
</li>
|
||||||
|
</ul>
|
||||||
<!-- [-] top module area -->
|
<!-- [-] top module area -->
|
||||||
</tr>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<tr>
|
|
||||||
<!-- [+] left module area -->
|
|
||||||
<!-- IF S_LEFT_COLUMN -->
|
|
||||||
<td style="width: {S_PORTAL_LEFT_COLUMN}px; padding-<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->left<!-- ELSE -->right<!-- ENDIF -->: {$BLOCK_DISTANCE};">
|
|
||||||
<!-- BEGIN modules_left -->
|
|
||||||
<!-- DEFINE $TEMPLATE_FILE = '{modules_left.TEMPLATE_FILE}' -->
|
|
||||||
<!-- DEFINE $IMAGE_SRC = '{modules_left.IMAGE_SRC}' -->
|
|
||||||
<!-- DEFINE $IMAGE_WIDTH = '{modules_left.IMAGE_WIDTH}' -->
|
|
||||||
<!-- DEFINE $IMAGE_HEIGHT = '{modules_left.IMAGE_HEIGHT}' -->
|
|
||||||
<!-- DEFINE $CUSTOM_CODE = '{modules_left.CODE}' -->
|
|
||||||
<!-- DEFINE $TITLE = '{modules_left.TITLE}' -->
|
|
||||||
<!-- DEFINE $MODULE_ID = '{modules_left.MODULE_ID}' -->
|
|
||||||
<!-- INCLUDE {$TEMPLATE_FILE} -->
|
|
||||||
<!-- END modules_left -->
|
|
||||||
</td>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<!-- [-] left module area -->
|
|
||||||
|
|
||||||
<!-- [+] center module area -->
|
<!-- [+] center module area -->
|
||||||
<!-- IF S_CENTER_COLUMN -->
|
<!-- IF S_CENTER_COLUMN -->
|
||||||
<td>
|
<div id="portal-center-wrapper">
|
||||||
|
<div id="portal-center" style="margin: 0 {S_PORTAL_LEFT_COLUMN}px 0 {S_PORTAL_RIGHT_COLUMN}px; padding: 0 {$BLOCK_DISTANCE};">
|
||||||
<!-- BEGIN modules_center -->
|
<!-- BEGIN modules_center -->
|
||||||
<!-- DEFINE $TEMPLATE_FILE = '{modules_center.TEMPLATE_FILE}' -->
|
<!-- DEFINE $TEMPLATE_FILE = '{modules_center.TEMPLATE_FILE}' -->
|
||||||
<!-- DEFINE $IMAGE_SRC = '{modules_center.IMAGE_SRC}' -->
|
<!-- DEFINE $IMAGE_SRC = '{modules_center.IMAGE_SRC}' -->
|
||||||
@@ -64,13 +49,30 @@
|
|||||||
<br />
|
<br />
|
||||||
<!-- INCLUDE portal/modules/jumpbox.html -->
|
<!-- INCLUDE portal/modules/jumpbox.html -->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</td>
|
</div>
|
||||||
<!-- ENDIF -->
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
<!-- [-] center module area -->
|
<!-- [-] center module area -->
|
||||||
|
<!-- [+] left module area -->
|
||||||
|
<!-- IF S_LEFT_COLUMN -->
|
||||||
|
<div id="portal-left" style="width: {S_PORTAL_LEFT_COLUMN}px;">
|
||||||
|
<!-- BEGIN modules_left -->
|
||||||
|
<!-- DEFINE $TEMPLATE_FILE = '{modules_left.TEMPLATE_FILE}' -->
|
||||||
|
<!-- DEFINE $IMAGE_SRC = '{modules_left.IMAGE_SRC}' -->
|
||||||
|
<!-- DEFINE $IMAGE_WIDTH = '{modules_left.IMAGE_WIDTH}' -->
|
||||||
|
<!-- DEFINE $IMAGE_HEIGHT = '{modules_left.IMAGE_HEIGHT}' -->
|
||||||
|
<!-- DEFINE $CUSTOM_CODE = '{modules_left.CODE}' -->
|
||||||
|
<!-- DEFINE $TITLE = '{modules_left.TITLE}' -->
|
||||||
|
<!-- DEFINE $MODULE_ID = '{modules_left.MODULE_ID}' -->
|
||||||
|
<!-- INCLUDE {$TEMPLATE_FILE} -->
|
||||||
|
<!-- END modules_left -->
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- [-] left module area -->
|
||||||
|
|
||||||
<!-- [+] right module area -->
|
<!-- [+] right module area -->
|
||||||
<!-- IF S_RIGHT_COLUMN -->
|
<!-- IF S_RIGHT_COLUMN -->
|
||||||
<td style="width: {S_PORTAL_RIGHT_COLUMN}px; padding-<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->right<!-- ELSE -->left<!-- ENDIF -->: {$BLOCK_DISTANCE};">
|
<div id="portal-right" style="width: {S_PORTAL_RIGHT_COLUMN}px; margin-left: -{S_PORTAL_RIGHT_COLUMN}px;">
|
||||||
<!-- BEGIN modules_right -->
|
<!-- BEGIN modules_right -->
|
||||||
<!-- DEFINE $TEMPLATE_FILE = '{modules_right.TEMPLATE_FILE}' -->
|
<!-- DEFINE $TEMPLATE_FILE = '{modules_right.TEMPLATE_FILE}' -->
|
||||||
<!-- DEFINE $IMAGE_SRC = '{modules_right.IMAGE_SRC}' -->
|
<!-- DEFINE $IMAGE_SRC = '{modules_right.IMAGE_SRC}' -->
|
||||||
@@ -81,14 +83,15 @@
|
|||||||
<!-- DEFINE $MODULE_ID = '{modules_right.MODULE_ID}' -->
|
<!-- DEFINE $MODULE_ID = '{modules_right.MODULE_ID}' -->
|
||||||
<!-- INCLUDE {$TEMPLATE_FILE} -->
|
<!-- INCLUDE {$TEMPLATE_FILE} -->
|
||||||
<!-- END modules_right -->
|
<!-- END modules_right -->
|
||||||
</td>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- [-] right module area -->
|
<!-- [-] right module area -->
|
||||||
</tr>
|
<br style="clear: both" />
|
||||||
<!-- IF S_BOTTOM_COLUMN -->
|
<!-- IF S_BOTTOM_COLUMN -->
|
||||||
<tr>
|
<div id="portal-bottom">
|
||||||
<!-- [+] bottom module area -->
|
<!-- [+] bottom module area -->
|
||||||
<td colspan="3">
|
<ul>
|
||||||
|
<li>
|
||||||
<!-- BEGIN modules_bottom -->
|
<!-- BEGIN modules_bottom -->
|
||||||
<!-- DEFINE $TEMPLATE_FILE = '{modules_bottom.TEMPLATE_FILE}' -->
|
<!-- DEFINE $TEMPLATE_FILE = '{modules_bottom.TEMPLATE_FILE}' -->
|
||||||
<!-- DEFINE $IMAGE_SRC = '{modules_bottom.IMAGE_SRC}' -->
|
<!-- DEFINE $IMAGE_SRC = '{modules_bottom.IMAGE_SRC}' -->
|
||||||
@@ -99,11 +102,12 @@
|
|||||||
<!-- DEFINE $MODULE_ID = '{modules_bottom.MODULE_ID}' -->
|
<!-- DEFINE $MODULE_ID = '{modules_bottom.MODULE_ID}' -->
|
||||||
<!-- INCLUDE {$TEMPLATE_FILE} -->
|
<!-- INCLUDE {$TEMPLATE_FILE} -->
|
||||||
<!-- END modules_bottom -->
|
<!-- END modules_bottom -->
|
||||||
</td>
|
</li>
|
||||||
|
</ul>
|
||||||
<!-- [-] bottom module area -->
|
<!-- [-] bottom module area -->
|
||||||
</tr>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</table>
|
</div>
|
||||||
|
|
||||||
<!--// board3 Portal by www.board3.de //-->
|
<!--// board3 Portal by www.board3.de //-->
|
||||||
<div class="copyright">Powered by <a href="http://www.board3.de/">Board3 Portal</a> © 2009 - 2013 Board3 Group</div>
|
<div class="copyright">Powered by <a href="http://www.board3.de/">Board3 Portal</a> © 2009 - 2013 Board3 Group</div>
|
||||||
|
|||||||
@@ -68,6 +68,29 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{
|
|||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Replacement for table layout
|
||||||
|
*/
|
||||||
|
#portal-left, #portal-right {
|
||||||
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#portal-center-wrapper {
|
||||||
|
width: 100%;
|
||||||
|
float: left;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#portal-column-area {
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#portal-left {
|
||||||
|
margin-left: -100%;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* top spacing between portal body table and headerbar spacing is usually 10px
|
* top spacing between portal body table and headerbar spacing is usually 10px
|
||||||
*/
|
*/
|
||||||
@@ -92,6 +115,10 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{
|
|||||||
padding: 1px 0 1px 12px;
|
padding: 1px 0 1px 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#portal-body #viewpoll {
|
||||||
|
margin-left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* margin spacing as in default prosilver for the forumlist
|
* margin spacing as in default prosilver for the forumlist
|
||||||
*/
|
*/
|
||||||
@@ -99,6 +126,10 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{
|
|||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.portal-no-margin {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* RTL language fixes */
|
/* RTL language fixes */
|
||||||
.rtl .portal-navigation ul li a{
|
.rtl .portal-navigation ul li a{
|
||||||
background-image: url("./images/portal/arrowbullet_rtl.gif");
|
background-image: url("./images/portal/arrowbullet_rtl.gif");
|
||||||
@@ -108,48 +139,60 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{
|
|||||||
|
|
||||||
/* Portal clock
|
/* Portal clock
|
||||||
-------------------------------------- */
|
-------------------------------------- */
|
||||||
#portal-clock {
|
.portal-clock-wrapper {
|
||||||
position: relative;
|
text-align: center;
|
||||||
width: 100%;
|
min-height: 5em;
|
||||||
|
margin: 0 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-front, #portal-clock-back {
|
.portal-clock {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.portal-clock * img {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.portal-clock-front, .portal-clock-back {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-front-upper div {
|
.portal-clock-front-upper div {
|
||||||
height: 21px;
|
height: 21px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-front-lower div {
|
.portal-clock-front-lower div {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-back-upper div {
|
.portal-clock-back-upper div {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-back-lower div {
|
.portal-clock-back-lower div {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-back-seconds-up-left, #portal-clock-back-seconds-up-right,
|
.portal-clock-back-seconds-up-left, .portal-clock-back-seconds-up-right,
|
||||||
#portal-clock-front-minutes-up-left, #portal-clock-front-minutes-up-right,
|
.portal-clock-front-minutes-up-left, .portal-clock-front-minutes-up-right,
|
||||||
#portal-clock-back-minutes-up-left, #portal-clock-back-minutes-up-right,
|
.portal-clock-back-minutes-up-left, .portal-clock-back-minutes-up-right,
|
||||||
#portal-clock-front-seconds-up-left, #portal-clock-front-seconds-up-right,
|
.portal-clock-front-seconds-up-left, .portal-clock-front-seconds-up-right,
|
||||||
#portal-clock-back-minutes-down-left, #portal-clock-back-minutes-down-right,
|
.portal-clock-back-minutes-down-left, .portal-clock-back-minutes-down-right,
|
||||||
#portal-clock-back-seconds-down-left, #portal-clock-back-seconds-down-right,
|
.portal-clock-back-seconds-down-left, .portal-clock-back-seconds-down-right,
|
||||||
#portal-clock-front-minutes-down-left, #portal-clock-front-minutes-down-right,
|
.portal-clock-front-minutes-down-left, .portal-clock-front-minutes-down-right,
|
||||||
#portal-clock-front-seconds-down-left, #portal-clock-front-seconds-down-right {
|
.portal-clock-front-seconds-down-left, .portal-clock-front-seconds-down-right {
|
||||||
width: 21px;
|
width: 21px;
|
||||||
height: 21px;
|
height: 21px;
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
@@ -158,91 +201,91 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{
|
|||||||
|
|
||||||
/* Minutes start
|
/* Minutes start
|
||||||
-------------------------------------- */
|
-------------------------------------- */
|
||||||
#portal-clock-back-minutes-up-left{
|
.portal-clock-back-minutes-up-left{
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
margin: 0 0 0 43px;
|
margin: 0 0 0 43px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-back-minutes-up-right {
|
.portal-clock-back-minutes-up-right {
|
||||||
background-position: 0 -43px;
|
background-position: 0 -43px;
|
||||||
margin: 0 0 0 64px;
|
margin: 0 0 0 64px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-front-minutes-up-left {
|
.portal-clock-front-minutes-up-left {
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
margin: 0 0 0 43px;
|
margin: 0 0 0 43px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-front-minutes-up-right {
|
.portal-clock-front-minutes-up-right {
|
||||||
background-position: 0 -43px;
|
background-position: 0 -43px;
|
||||||
margin: 0 0 0 63px;
|
margin: 0 0 0 63px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-back-minutes-down-left{
|
.portal-clock-back-minutes-down-left{
|
||||||
background-position: 0 -22px;
|
background-position: 0 -22px;
|
||||||
margin: 21px 0 0 43px;
|
margin: 21px 0 0 43px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-back-minutes-down-right {
|
.portal-clock-back-minutes-down-right {
|
||||||
background-position: 0 -65px;
|
background-position: 0 -65px;
|
||||||
margin: 21px 0 0 64px;
|
margin: 21px 0 0 64px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-front-minutes-down-left {
|
.portal-clock-front-minutes-down-left {
|
||||||
background-position: 0 -22px;
|
background-position: 0 -22px;
|
||||||
margin: 21px 0 0 42px;
|
margin: 21px 0 0 42px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-front-minutes-down-right {
|
.portal-clock-front-minutes-down-right {
|
||||||
background-position: 0 -65px;
|
background-position: 0 -65px;
|
||||||
margin: 21px 0 0 63px;
|
margin: 21px 0 0 63px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Seconds start
|
/* Seconds start
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
#portal-clock-back-seconds-up-left{
|
.portal-clock-back-seconds-up-left{
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
margin: 0 0 0 85px;
|
margin: 0 0 0 85px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-back-seconds-up-right {
|
.portal-clock-back-seconds-up-right {
|
||||||
background-position: 0 -43px;
|
background-position: 0 -43px;
|
||||||
margin: 0 0 0 106px;
|
margin: 0 0 0 106px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-front-seconds-up-left {
|
.portal-clock-front-seconds-up-left {
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
margin: 0 0 0 84px;
|
margin: 0 0 0 84px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-front-seconds-up-right {
|
.portal-clock-front-seconds-up-right {
|
||||||
background-position: 0 -43px;
|
background-position: 0 -43px;
|
||||||
margin: 0 0 0 105px;
|
margin: 0 0 0 105px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-back-seconds-down-left{
|
.portal-clock-back-seconds-down-left{
|
||||||
background-position: 0 -22px;
|
background-position: 0 -22px;
|
||||||
margin: 21px 0 0 85px;
|
margin: 21px 0 0 85px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-back-seconds-down-right {
|
.portal-clock-back-seconds-down-right {
|
||||||
background-position: 0 -65px;
|
background-position: 0 -65px;
|
||||||
margin: 21px 0 0 106px;
|
margin: 21px 0 0 106px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-front-seconds-down-left {
|
.portal-clock-front-seconds-down-left {
|
||||||
background-position: 0 -22px;
|
background-position: 0 -22px;
|
||||||
margin: 21px 0 0 84px;
|
margin: 21px 0 0 84px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-front-seconds-down-right {
|
.portal-clock-front-seconds-down-right {
|
||||||
background-position: 0 -65px;
|
background-position: 0 -65px;
|
||||||
margin: 21px 0 0 105px;
|
margin: 21px 0 0 105px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hours start
|
/* Hours start
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
#portal-clock-back-hours-up, #portal-clock-front-hours-up {
|
.portal-clock-back-hours-up, .portal-clock-front-hours-up {
|
||||||
width: 42px;
|
width: 42px;
|
||||||
height: 21px;
|
height: 21px;
|
||||||
background: url(./images/portal/portal_clock_double.png) no-repeat;
|
background: url(./images/portal/portal_clock_double.png) no-repeat;
|
||||||
@@ -252,7 +295,7 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{
|
|||||||
margin: 0 0 0 0;
|
margin: 0 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#portal-clock-back-hours-down, #portal-clock-front-hours-down {
|
.portal-clock-back-hours-down, .portal-clock-front-hours-down {
|
||||||
width: 42px;
|
width: 42px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
background: url(./images/portal/portal_clock_double.png) no-repeat;
|
background: url(./images/portal/portal_clock_double.png) no-repeat;
|
||||||
|
|||||||
55
styles/prosilver/theme/responsive.css
Normal file
55
styles/prosilver/theme/responsive.css
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
@media only screen and (max-width: 895px), only screen and (max-device-width: 895px)
|
||||||
|
{
|
||||||
|
#portal-right { margin-left: 0 !important; }
|
||||||
|
#portal-center {
|
||||||
|
margin-right: 0 !important;
|
||||||
|
padding-right: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.responsive-portal-announcements dd.views { display: none !important; }
|
||||||
|
dd.responsive-portal-announcements { display: none !important; }
|
||||||
|
|
||||||
|
.responsive-portal-announcements dd.posts, .responsive-portal-announcements dd.views {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
dt#a { width: 125% !important; }
|
||||||
|
.responsive-portal-announcements dt { width: 125% !important; }
|
||||||
|
|
||||||
|
@media only screen and (max-width: 950px), only screen and (max-device-width: 950px)
|
||||||
|
{
|
||||||
|
dd.responsive-portal-news { display: none !important; }
|
||||||
|
|
||||||
|
.responsive-portal-news dd.posts, .responsive-portal-news dd.views {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.responsive-portal-news dt { width: 125% !important; }
|
||||||
|
dt#n { width: 125% !important; }
|
||||||
|
.topiclist .topics, .topiclist .posts { display: none !important; }
|
||||||
|
#portal-forumlist dl.icon dt { width: 125% !important; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
|
||||||
|
{
|
||||||
|
.responsive-portal-news dd.lastpost, .responsive-portal-announcements dd.lastpost { display: none !important; }
|
||||||
|
.responsive-portal-news dt .list-inner, .responsive-portal-announcements dt .list-inner { margin-right: 0px !important; }
|
||||||
|
.responsive-portal-news dt, .responsive-portal-announcements dt { width: 100% !important; }
|
||||||
|
dt#n, dt#a { width: 100% !important; }
|
||||||
|
|
||||||
|
.portal-responsive-poll .resultbar {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.portal-responsive-poll dt { width: 45% !important; }
|
||||||
|
.portal-responsive-poll dd {
|
||||||
|
width: 45% !important;
|
||||||
|
float: right !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#portal-forumlist dl.icon dt { width: 100% !important; }
|
||||||
|
#portal-left ul.topiclist dd, #portal-right ul.topiclist dd { display: block !important; }
|
||||||
|
.portal-responsive-show { display: block !important; }
|
||||||
|
.portal-responsive-hide { display: none !important; }
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user