mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 13:11:52 +02:00
Minor calendar styling fixes
This commit is contained in:
parent
d4a5772bf3
commit
452aa5d539
@ -316,7 +316,7 @@ class event_calendar_shortcodes
|
||||
public function sc_ec_nav_but_allevents($parm = '')
|
||||
{
|
||||
$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 = '')
|
||||
@ -328,7 +328,7 @@ class event_calendar_shortcodes
|
||||
{
|
||||
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 '';
|
||||
}
|
||||
@ -338,7 +338,7 @@ class event_calendar_shortcodes
|
||||
$ret = "<input type='hidden' name='enter_new_val' value='".$this->prop."' />";
|
||||
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;
|
||||
}
|
||||
@ -348,7 +348,7 @@ class event_calendar_shortcodes
|
||||
$ret = '';
|
||||
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
|
||||
$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;
|
||||
}
|
||||
@ -357,7 +357,7 @@ class event_calendar_shortcodes
|
||||
{
|
||||
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
|
||||
{
|
||||
|
@ -63,7 +63,7 @@ $sc_style['EC_NEXT_YEAR']['post'] = '';
|
||||
|
||||
|
||||
$CALENDAR_TIME_TABLE = "
|
||||
<table cellpadding='0' cellspacing='1' class='table fborder' style='width:100%'>
|
||||
<table cellpadding='0' cellspacing='1' class='table fborder'>
|
||||
<tr>
|
||||
<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>
|
||||
@ -87,7 +87,7 @@ $sc_style['EC_NAV_LINKCURRENTMONTH']['post'] = "";
|
||||
$CALENDAR_NAVIGATION_TABLE = "
|
||||
<div style='text-align:center; margin-bottom:20px;'>
|
||||
<form method='post' action='" . e_SELF . "?" . e_QUERY . "' id='calform'>
|
||||
<table border='0' cellpadding='0' cellspacing='0' style='width:100%;'>
|
||||
<table class='table'>
|
||||
<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>
|
||||
</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']['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>";
|
||||
|
||||
|
||||
@ -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']['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 = "
|
||||
<tr>
|
||||
<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_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>";
|
||||
|
||||
$sc_style['EC_EVENT_HEADING_DATE']['pre'] = "";
|
||||
@ -199,7 +199,7 @@ $EVENT_EVENT_TABLE = "
|
||||
//------------------------------------------
|
||||
$CALENDAR_CALENDAR_START = "
|
||||
<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>
|
||||
<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;' />
|
||||
|
Loading…
x
Reference in New Issue
Block a user