Merge pull request #568 from marc1706/ticket/527
[ticket/527] Move calendar arrow icons to styles/all/
This commit is contained in:
@@ -188,8 +188,8 @@ class calendar extends module_base
|
||||
// output our general calendar bits
|
||||
$down = $this->mini_cal_month - 1;
|
||||
$up = $this->mini_cal_month + 1;
|
||||
$prev_month = '<a href="' . $this->modules_helper->route('board3_portal_controller') . "?m$module_id=$down#minical$module_id" . '" rel="nofollow"><img src="' . $this->portal_root_path . 'styles/' . $this->user->style['style_path'] . '/theme/images/portal/cal_icon_left_arrow.png' . '" title="' . $this->user->lang['VIEW_PREVIOUS_MONTH'] . '" height="16" width="16" alt="<<" /></a>';
|
||||
$next_month = '<a href="' . $this->modules_helper->route('board3_portal_controller') . "?m$module_id=$up#minical$module_id" . '" rel="nofollow"><img src="' . $this->portal_root_path . 'styles/' . $this->user->style['style_path'] . '/theme/images/portal/cal_icon_right_arrow.png' . '" title="' . $this->user->lang['VIEW_NEXT_MONTH'] . '" height="16" width="16" alt=">>" /></a>';
|
||||
$prev_month = '<a href="' . $this->modules_helper->route('board3_portal_controller') . "?m$module_id=$down#minical$module_id" . '" rel="nofollow"><span class="portal-arrow-left-icon" title="' . $this->user->lang['VIEW_PREVIOUS_MONTH'] . '"></span></a>';
|
||||
$next_month = '<a href="' . $this->modules_helper->route('board3_portal_controller') . "?m$module_id=$up#minical$module_id" . '" rel="nofollow"><span class="portal-arrow-right-icon" title="' . $this->user->lang['VIEW_NEXT_MONTH'] . '"></span></a>';
|
||||
|
||||
$this->template->assign_block_vars('minical', array(
|
||||
'S_SUNDAY_FIRST' => ($this->config['board3_sunday_first_' . $module_id]) ? true : false,
|
||||
|
||||
|
Before Width: | Height: | Size: 744 B After Width: | Height: | Size: 744 B |
|
Before Width: | Height: | Size: 676 B After Width: | Height: | Size: 676 B |
@@ -63,6 +63,22 @@
|
||||
float: right;
|
||||
}
|
||||
|
||||
.portal-arrow-left-icon {
|
||||
background-image: url('../../all/theme/images/portal/cal_icon_left_arrow.png');
|
||||
padding-left: 16px;
|
||||
padding-top: 16px;
|
||||
float: left;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.portal-arrow-right-icon {
|
||||
background-image: url('../../all/theme/images/portal/cal_icon_right_arrow.png');
|
||||
padding-left: 16px;
|
||||
padding-top: 16px;
|
||||
float: right;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.portal-user-span {
|
||||
float: left;
|
||||
padding-left: 5px;
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 744 B |
Binary file not shown.
|
Before Width: | Height: | Size: 676 B |
@@ -204,3 +204,19 @@
|
||||
padding-top: 16px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.portal-arrow-left-icon {
|
||||
background-image: url('../../all/theme/images/portal/cal_icon_left_arrow.png');
|
||||
padding-left: 16px;
|
||||
padding-top: 16px;
|
||||
float: left;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.portal-arrow-right-icon {
|
||||
background-image: url('../../all/theme/images/portal/cal_icon_right_arrow.png');
|
||||
padding-left: 16px;
|
||||
padding-top: 16px;
|
||||
float: right;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user