1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

Minor calendar styling fixes

This commit is contained in:
Cameron
2013-03-08 20:10:13 -08:00
parent d4a5772bf3
commit 452aa5d539
2 changed files with 11 additions and 11 deletions

View File

@@ -316,7 +316,7 @@ class event_calendar_shortcodes
public function sc_ec_nav_but_allevents($parm = '') public function sc_ec_nav_but_allevents($parm = '')
{ {
$allevents = (e_PAGE == "event.php" ? EC_LAN_96 : EC_LAN_93); $allevents = (e_PAGE == "event.php" ? EC_LAN_96 : EC_LAN_93);
return "<input class='button' type='submit' style='width:140px;' name='viewallevents' value='".$allevents."' title='".$allevents."' />"; return "<input class='btn button' type='submit' style='width:140px;' name='viewallevents' value='".$allevents."' title='".$allevents."' />";
} }
public function sc_ec_nav_but_viewcat($parm = '') public function sc_ec_nav_but_viewcat($parm = '')
@@ -328,7 +328,7 @@ class event_calendar_shortcodes
{ {
if (isset($this->ecalClass->pref['eventpost_asubs']) && ($this->ecalClass->pref['eventpost_asubs']>0) && USER) if (isset($this->ecalClass->pref['eventpost_asubs']) && ($this->ecalClass->pref['eventpost_asubs']>0) && USER)
{ {
return "<input class='button' type='submit' style='width:140px;' name='subs' value='".EC_LAN_123."' title='".EC_LAN_182."' />"; return "<input class='btn button' type='submit' style='width:140px;' name='subs' value='".EC_LAN_123."' title='".EC_LAN_182."' />";
} }
return ''; return '';
} }
@@ -338,7 +338,7 @@ class event_calendar_shortcodes
$ret = "<input type='hidden' name='enter_new_val' value='".$this->prop."' />"; $ret = "<input type='hidden' name='enter_new_val' value='".$this->prop."' />";
if ($this->ecalClass->cal_super || check_class($this->ecalClass->pref['eventpost_admin'])) if ($this->ecalClass->cal_super || check_class($this->ecalClass->pref['eventpost_admin']))
{ {
$ret .= "<input class='button' type='submit' style='width:140px;' name='doit' value='".EC_LAN_94."' />"; $ret .= "<input class='btn button' type='submit' style='width:140px;' name='doit' value='".EC_LAN_94."' />";
} }
return $ret; return $ret;
} }
@@ -348,7 +348,7 @@ class event_calendar_shortcodes
$ret = ''; $ret = '';
if ($this->month != $this->nowMonth || $this->year != $this->nowYear || $this->ds == 'one') if ($this->month != $this->nowMonth || $this->year != $this->nowYear || $this->ds == 'one')
{ // Just jump to current page without a query part - that will default to today { // Just jump to current page without a query part - that will default to today
$ret = "<input class='button' type='button' style='width:140px;' name='cur' value='".EC_LAN_40."' onclick=\"javascript:document.location='".e_SELF."'\" />"; $ret = "<input class='btn button' type='button' style='width:140px;' name='cur' value='".EC_LAN_40."' onclick=\"javascript:document.location='".e_SELF."'\" />";
} }
return $ret; return $ret;
} }
@@ -357,7 +357,7 @@ class event_calendar_shortcodes
{ {
if (isset($this->ecalClass->pref['eventpost_printlists']) && ($this->ecalClass->pref['eventpost_printlists']>0) && USER) if (isset($this->ecalClass->pref['eventpost_printlists']) && ($this->ecalClass->pref['eventpost_printlists']>0) && USER)
{ {
return "<input class='button' type='submit' style='width:140px;' name='printlists' value='".EC_LAN_164."' title='".EC_LAN_183."' />"; return "<input class='btn button' type='submit' style='width:140px;' name='printlists' value='".EC_LAN_164."' title='".EC_LAN_183."' />";
} }
else else
{ {

View File

@@ -63,7 +63,7 @@ $sc_style['EC_NEXT_YEAR']['post'] = '';
$CALENDAR_TIME_TABLE = " $CALENDAR_TIME_TABLE = "
<table cellpadding='0' cellspacing='1' class='table fborder' style='width:100%'> <table cellpadding='0' cellspacing='1' class='table fborder'>
<tr> <tr>
<td class='forumheader' style='width:18%; text-align:left'>{EC_PREV_MONTH}</td> <td class='forumheader' style='width:18%; text-align:left'>{EC_PREV_MONTH}</td>
<td class='fcaption' style='width:64%; text-align:center'>{EC_CURRENT_MONTH}</td> <td class='fcaption' style='width:64%; text-align:center'>{EC_CURRENT_MONTH}</td>
@@ -87,7 +87,7 @@ $sc_style['EC_NAV_LINKCURRENTMONTH']['post'] = "";
$CALENDAR_NAVIGATION_TABLE = " $CALENDAR_NAVIGATION_TABLE = "
<div style='text-align:center; margin-bottom:20px;'> <div style='text-align:center; margin-bottom:20px;'>
<form method='post' action='" . e_SELF . "?" . e_QUERY . "' id='calform'> <form method='post' action='" . e_SELF . "?" . e_QUERY . "' id='calform'>
<table border='0' cellpadding='0' cellspacing='0' style='width:100%;'> <table class='table'>
<tr> <tr>
<td style='text-align:center;'>{EC_NAV_CATEGORIES} {EC_NAV_BUT_ALLEVENTS} {EC_NAV_BUT_VIEWCAT} {EC_NAV_BUT_ENTEREVENT} {EC_NAV_BUT_SUBSCRIPTION} {EC_NAV_BUT_PRINTLISTS} {EC_NAV_LINKCURRENTMONTH}</td> <td style='text-align:center;'>{EC_NAV_CATEGORIES} {EC_NAV_BUT_ALLEVENTS} {EC_NAV_BUT_VIEWCAT} {EC_NAV_BUT_ENTEREVENT} {EC_NAV_BUT_SUBSCRIPTION} {EC_NAV_BUT_PRINTLISTS} {EC_NAV_LINKCURRENTMONTH}</td>
</tr>\n </tr>\n
@@ -101,7 +101,7 @@ $CALENDAR_NAVIGATION_TABLE = "
$sc_style['EC_EVENTLIST_CAPTION']['pre'] = "<tr><td class='fcaption' colspan='2'>"; $sc_style['EC_EVENTLIST_CAPTION']['pre'] = "<tr><td class='fcaption' colspan='2'>";
$sc_style['EC_EVENTLIST_CAPTION']['post'] = ":<br /><br /></td></tr>\n"; $sc_style['EC_EVENTLIST_CAPTION']['post'] = ":<br /><br /></td></tr>\n";
$EVENT_EVENTLIST_TABLE_START = "<table style='width:100%' class='table fborder'>{EC_EVENTLIST_CAPTION}"; $EVENT_EVENTLIST_TABLE_START = "<table class='table fborder'>{EC_EVENTLIST_CAPTION}";
$EVENT_EVENTLIST_TABLE_END = "</table>"; $EVENT_EVENTLIST_TABLE_END = "</table>";
@@ -110,7 +110,7 @@ $EVENT_EVENTLIST_TABLE_END = "</table>";
$sc_style['EC_EVENTARCHIVE_CAPTION']['pre'] = "<tr><td colspan='2' class='fcaption'>"; $sc_style['EC_EVENTARCHIVE_CAPTION']['pre'] = "<tr><td colspan='2' class='fcaption'>";
$sc_style['EC_EVENTARCHIVE_CAPTION']['post'] = "</td></tr>\n"; $sc_style['EC_EVENTARCHIVE_CAPTION']['post'] = "</td></tr>\n";
$EVENT_ARCHIVE_TABLE_START = "<br /><table style='width:100%' class='table fborder'>{EC_EVENTARCHIVE_CAPTION}"; $EVENT_ARCHIVE_TABLE_START = "<br /><table class='table fborder'>{EC_EVENTARCHIVE_CAPTION}";
$EVENT_ARCHIVE_TABLE = " $EVENT_ARCHIVE_TABLE = "
<tr> <tr>
<td style='width:35%; vertical-align:top' class='forumheader3'>{EC_EVENT_RECENT_ICON}{EC_EVENTARCHIVE_DATE}</td> <td style='width:35%; vertical-align:top' class='forumheader3'>{EC_EVENT_RECENT_ICON}{EC_EVENTARCHIVE_DATE}</td>
@@ -123,7 +123,7 @@ $EVENT_ARCHIVE_TABLE_END = "</table>";
// EVENT SHOW EVENT ------------------------------------------------------------ // EVENT SHOW EVENT ------------------------------------------------------------
$EVENT_EVENT_TABLE_START = "<table style='width:100%' class='table fborder' cellspacing='0' cellpadding='0'>"; $EVENT_EVENT_TABLE_START = "<table class='table fborder' cellspacing='0' cellpadding='0'>";
$EVENT_EVENT_TABLE_END = "</table>"; $EVENT_EVENT_TABLE_END = "</table>";
$sc_style['EC_EVENT_HEADING_DATE']['pre'] = ""; $sc_style['EC_EVENT_HEADING_DATE']['pre'] = "";
@@ -199,7 +199,7 @@ $EVENT_EVENT_TABLE = "
//------------------------------------------ //------------------------------------------
$CALENDAR_CALENDAR_START = " $CALENDAR_CALENDAR_START = "
<div style='text-align:center'> <div style='text-align:center'>
<table cellpadding='0' cellspacing='1' class='table fborder' style='background-color:#DDDDDD; width:100%'> <table class='table fborder' style='background-color:#DDDDDD; width:100%'>
<colgroup> <colgroup>
<col style='width:14%; padding-bottom:0px;padding-right:0px; margin-right:0px; padding:2px;' /> <col style='width:14%; padding-bottom:0px;padding-right:0px; margin-right:0px; padding:2px;' />
<col style='width:14%; padding-bottom:0px;padding-right:0px; margin-right:0px; padding:2px;' /> <col style='width:14%; padding-bottom:0px;padding-right:0px; margin-right:0px; padding:2px;' />