fix: Calendar still not using proper gateway.
This commit is contained in:
parent
21deed735a
commit
6682be305b
5 changed files with 909 additions and 2 deletions
268
docs/upgrades/templates-7.3.4/calendar_day.tmpl
Normal file
268
docs/upgrades/templates-7.3.4/calendar_day.tmpl
Normal file
|
|
@ -0,0 +1,268 @@
|
|||
#CalendarDay00000000001
|
||||
<tmpl_if admin>
|
||||
<p><tmpl_var adminControls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<p><tmpl_var description></p>
|
||||
</tmpl_if>
|
||||
|
||||
<table cellspacing="0" cellpadding="0" width="600" id="mCAL">
|
||||
<tr>
|
||||
<td style="text-align:right">
|
||||
<a href="<tmpl_var urlDay>" class="tab active">Day</a>
|
||||
<a href="<tmpl_var urlWeek>" class="tab">Week</a>
|
||||
<a href="<tmpl_var urlMonth>" class="tab">Month</a>
|
||||
<a href="<tmpl_var urlSearch>" class="tab">Search</a>
|
||||
|
||||
<div class="controls">
|
||||
<tmpl_if editor><a href="<tmpl_var urlAdd>">Add Event</a> •</tmpl_if>
|
||||
<a href="<tmpl_var urlPrint>">Print</a> <!--• <a href="#">Subscribe</a>-->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="months">
|
||||
<div style="padding:3px 0px;">
|
||||
<a href="<tmpl_var pagePrevUrl>" style="font-weight:bold;margin-right:8px;">« Previous Day
|
||||
</a>•
|
||||
|
||||
<span style="margin-right:8px;margin-left:8px;" class="monthLink current"><tmpl_var dayAbbr>, <tmpl_var monthAbbr> <tmpl_var dayOfMonth>. <tmpl_var year></span>•
|
||||
<a href="<tmpl_var pageNextUrl>" style="font-weight:bold;padding-left:8px">Next Day »</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="curMonth">
|
||||
<tmpl_var dayName>, <tmpl_var monthName> <tmpl_var dayOfMonth>, <tmpl_var year>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100%">
|
||||
<table width="100%" cellspacing="2" cellpadding="0">
|
||||
<tmpl_loop hours><tr>
|
||||
<td class="heading">
|
||||
<div style="padding:4px;"><tmpl_var hour12>:00<tmpl_var hourM></div>
|
||||
</td>
|
||||
<td class="day">
|
||||
<ul class="eventList">
|
||||
<tmpl_loop events><li>
|
||||
<a href="<tmpl_var eventUrl>"><tmpl_var eventTitle></a>
|
||||
</tmpl_loop></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr></tmpl_loop>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
/* Edited with EditCSS */
|
||||
|
||||
/**** Inline STYLE-tag style sheet ****/
|
||||
|
||||
#mCAL td {
|
||||
font-size:10px;
|
||||
font-family:arial;
|
||||
}
|
||||
#mCAL .tab {
|
||||
|
||||
border-bottom-style:none;
|
||||
font-weight:bold;
|
||||
padding: 2px 15px 0px 15px;
|
||||
text-align;center;
|
||||
background-color:#E9ECF3;
|
||||
-moz-border-radius-topLeft:10px;
|
||||
-moz-border-radius-topRight:10px;
|
||||
color:#7588B5;
|
||||
text-decoration:none;
|
||||
font-size:10pt;
|
||||
display:block;
|
||||
float:left;
|
||||
margin-right:5px;
|
||||
}
|
||||
#mCAL .tab:hover {
|
||||
color:black;
|
||||
}
|
||||
#mCAL .active {
|
||||
background-color:#DFE3EE;
|
||||
color:#404F77;
|
||||
border-bottom:solid #DFE3EE 1px;
|
||||
}
|
||||
#mCAL .controls {
|
||||
float:right;
|
||||
vertical-align:bottom;
|
||||
}
|
||||
#mCAL a {
|
||||
font-size:11px;
|
||||
color:#517AC8;
|
||||
}
|
||||
#mCAL .heading {
|
||||
width:200px;
|
||||
-moz-box-sizing:border-box;
|
||||
background-color:#ABB7D1;
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
color:#374664;
|
||||
font-size:9px;
|
||||
letter-spacing:1px;
|
||||
text-transform:uppercase;
|
||||
text-align:right;
|
||||
vertical-align:top;
|
||||
-moz-border-radius-bottomRight:8px;
|
||||
-moz-border-radius-topRight:8px;
|
||||
}
|
||||
#mCAL .day {
|
||||
background-color:#E9ECF3;
|
||||
width:400px;
|
||||
position:relative;
|
||||
vertical-align:top;
|
||||
-moz-border-radius-topLeft:8px;
|
||||
-moz-border-radius-bottomLeft:8px;
|
||||
border:solid #CCD2E3 1px;
|
||||
}
|
||||
#mCAL .curDay {
|
||||
background-color:#FFE4B3;
|
||||
border-color:orange;
|
||||
}
|
||||
#mCAL .dayWrapper {
|
||||
height:100%;
|
||||
width:100%;
|
||||
position:relative;
|
||||
z-index:0;
|
||||
margin:0px;
|
||||
padding:0px 0px 2px 5px;;
|
||||
-moz-box-sizing:border-box;
|
||||
}
|
||||
html > body #mCAL .dayWrapper {
|
||||
height:auto;
|
||||
min-height:100%;
|
||||
}
|
||||
#mCAL .dayNum {
|
||||
width:100%;
|
||||
text-align:right;
|
||||
|
||||
}
|
||||
|
||||
#mCAL span.border {
|
||||
text-align:center;
|
||||
padding:5px;
|
||||
font-weight:bold;
|
||||
-moz-border-radius-bottomRight:5px;
|
||||
-moz-border-radius-topLeft:5px;
|
||||
color:black;
|
||||
border-right:solid #CCD2E3 1px;
|
||||
border-bottom: solid #CCD2E3 1px;
|
||||
background-color:#ABB7D1;
|
||||
-moz-box-sizing:border-box;
|
||||
top:5px;
|
||||
position:relative;
|
||||
|
||||
}
|
||||
#mCAL .curDay span.border {
|
||||
background-color:orange;
|
||||
color:black;
|
||||
border-color:orange;
|
||||
}
|
||||
#mCAL .event {
|
||||
padding:3px;
|
||||
padding-top:8px;
|
||||
clear:left;
|
||||
font-weight:bold;
|
||||
}
|
||||
#mCAL .event a {
|
||||
color:#4F4F4F;
|
||||
text-decoration:none;
|
||||
font-size:9px;
|
||||
}
|
||||
#mCAL .moreButton {
|
||||
border-style:none;
|
||||
z-index:5;
|
||||
position:absolute;
|
||||
bottom:0px;
|
||||
width:100%;
|
||||
height:9px;
|
||||
background-color:#517AC8;
|
||||
font-size:5px;
|
||||
text-align:center;
|
||||
}
|
||||
#mCAL .moreButton:hover {
|
||||
background-color:orange;
|
||||
}
|
||||
#mCAL .empty {
|
||||
border-style:none;
|
||||
background-color:#CCD2E3;
|
||||
-moz-border-radius:10px;
|
||||
|
||||
}
|
||||
#mCAL .months {
|
||||
text-align:center;
|
||||
background-color:#DFE3EE;
|
||||
}
|
||||
#mCAL .months a {
|
||||
color:#517AC8;
|
||||
text-decoration:none;
|
||||
}
|
||||
#mCAL .months .monthLink {
|
||||
text-decoration:none;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
color:#AAB8D5;
|
||||
font-size:12px;
|
||||
font-weight:bold;
|
||||
}
|
||||
#mCAL .months .current {
|
||||
color:#517AC8;
|
||||
}
|
||||
#mCAL .current {
|
||||
font-weight:bold;
|
||||
color:#517AC8;
|
||||
background-color:#fff;
|
||||
-moz-border-radius:5px;
|
||||
}
|
||||
#mCAL .curMonth {
|
||||
text-align:center;
|
||||
margin: 2px 0px;
|
||||
background-color:#517AC8;
|
||||
color:white;
|
||||
font-size:14px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
/* MORE STYLES */
|
||||
#more1 {
|
||||
position:absolute;
|
||||
top:170px;
|
||||
left:10px;
|
||||
|
||||
}
|
||||
* html #more1 {
|
||||
top:158px;
|
||||
left:12px;
|
||||
|
||||
}
|
||||
.moreDisplay {
|
||||
border:solid orange 1px;
|
||||
border-top:solid orange 2px;
|
||||
font-family:arial;
|
||||
font-size:10px;
|
||||
width:300px;
|
||||
padding:2px;
|
||||
background-color:#FFD3A8;
|
||||
z-index:10;
|
||||
}
|
||||
ul.eventList {
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
margin-left:30px;
|
||||
color:#526896;
|
||||
}
|
||||
</style>
|
||||
|
||||
319
docs/upgrades/templates-7.3.4/calendar_month.tmpl
Normal file
319
docs/upgrades/templates-7.3.4/calendar_month.tmpl
Normal file
|
|
@ -0,0 +1,319 @@
|
|||
#CalendarMonth000000001
|
||||
<tmpl_if admin>
|
||||
<p><tmpl_var adminControls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<tmpl_var description>
|
||||
</tmpl_if>
|
||||
|
||||
|
||||
<table cellspacing="0" cellpadding="0" width="630" id="mCAL">
|
||||
<tr>
|
||||
<td style="text-align:right">
|
||||
<a class="tab" href="<tmpl_var urlDay>">Day</a>
|
||||
<a class="tab" href="<tmpl_var urlWeek>">Week</a>
|
||||
<a class="tab" href="<tmpl_var urlMonth>">Month</a>
|
||||
<a class="tab" href="<tmpl_var urlSearch>">Search</a>
|
||||
|
||||
<div class="controls"><tmpl_if editor><a href="<tmpl_var urlAdd>">Add Event</a></tmpl_if> • <a href="<tmpl_var urlPrint>">Print</a>
|
||||
<!--• <a href="#">Subscribe</a>-->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="months">
|
||||
<div style="padding:3px 0px;">
|
||||
<a href="<tmpl_var pagePrevUrl>" style="font-weight:bold;margin-right:8px;">« <tmpl_var pagePrevYear></a>•
|
||||
<tmpl_loop months>
|
||||
<a style="margin-right:4px;" href="<tmpl_var monthUrl>" class="monthLink<tmpl_if monthCurrent> current</tmpl_if>"><tmpl_var monthAbbr></a>
|
||||
</tmpl_loop>
|
||||
•
|
||||
<a href="<tmpl_var pageNextUrl>" style="font-weight:bold;padding-left:8px"><tmpl_var pageNextYear> »</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="curMonth">
|
||||
<tmpl_var monthName> <tmpl_var year>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100%">
|
||||
|
||||
<!-- the calendar table -->
|
||||
<table id="month" width="100%" cellspacing="2" cellpadding="0">
|
||||
<!-- day names -->
|
||||
<tr><tmpl_loop dayNames>
|
||||
<th><tmpl_var dayName></th>
|
||||
</tmpl_loop></tr>
|
||||
|
||||
<!-- the grid -->
|
||||
<tmpl_loop weeks><tr>
|
||||
<tmpl_loop days><td><div class="<tmpl_if dayMonth>active</tmpl_if><tmpl_if dayCurrent> current</tmpl_if>">
|
||||
<tmpl_if dayMonth>
|
||||
<a class="number" href="<tmpl_var dayUrl>"><tmpl_var dayMonth></a>
|
||||
|
||||
<tmpl_if events>
|
||||
<ul class="events"><tmpl_loop events>
|
||||
<li><a href="<tmpl_var eventUrl>">
|
||||
<tmpl_var eventMenuTitle>
|
||||
</a></li>
|
||||
</tmpl_loop></ul>
|
||||
<a href="#" onmouseover="DelayedRollover.showPopup('more<tmpl_var dayMonth>')" onmouseout="DelayedRollover.hidePopup('more<tmpl_var dayMonth>')" class="moreButton" onclick="return false;">
|
||||
<img src="/extras/wobject/Calendar/images/more.gif" />
|
||||
</a>
|
||||
<div style="display: none" id="more<tmpl_var dayMonth>" class="moreDisplay" onmouseover="DelayedRollover.showPopup('more<tmpl_var dayMonth>')" onmouseout="DelayedRollover.hidePopup('more<tmpl_var dayMonth>')" >
|
||||
<tmpl_loop events>
|
||||
<a href="/<tmpl_var eventUrl>"><tmpl_var eventTitle></a><br/>
|
||||
</tmpl_loop>
|
||||
</div>
|
||||
</tmpl_if> <!--/events-->
|
||||
</tmpl_if> <!--/day-->
|
||||
</div></td></tmpl_loop> <!--/days-->
|
||||
</tr></tmpl_loop>
|
||||
</table>
|
||||
</tr>
|
||||
</table>
|
||||
~~~
|
||||
<script type="text/javascript">
|
||||
// Delayed rollovers
|
||||
// From: http://www.pjhyett.com/articles/2006/07/05/timeout-your-mouseovers
|
||||
// Modified by: Doug Bell
|
||||
var DelayedRollover = {
|
||||
timeout : new Array(),
|
||||
showPopup : function(e){
|
||||
element = document.getElementById(e);
|
||||
clearTimeout(this.timeout[e]);
|
||||
if(element.style.display == 'none'){
|
||||
this.timeout[e] = setTimeout(function(){element.style.display="block"},10);
|
||||
}
|
||||
},
|
||||
hidePopup : function(e){
|
||||
element = document.getElementById(e);
|
||||
if(element.style.display == 'none'){
|
||||
clearTimeout(this.timeout[e]);
|
||||
}else{
|
||||
this.timeout[e] = setTimeout(function(){element.style.display="none"},10);
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
#mCAL * {
|
||||
margin:0px;
|
||||
}
|
||||
#mCAL td {
|
||||
font-size:10px;
|
||||
font-family:arial;
|
||||
}
|
||||
#mCAL .tab {
|
||||
border-bottom-style:none;
|
||||
font-weight:bold;
|
||||
padding: 2px 15px 0px 15px;
|
||||
text-align;center;
|
||||
background-color:#E9ECF3;
|
||||
-moz-border-radius-topLeft:10px;
|
||||
-moz-border-radius-topRight:10px;
|
||||
color:#7588B5;
|
||||
text-decoration:none;
|
||||
font-size:10pt;
|
||||
display:block;
|
||||
float:left;
|
||||
margin-right:5px;
|
||||
}
|
||||
#mCAL .tab:hover {
|
||||
color:black;
|
||||
}
|
||||
#mCAL .active {
|
||||
background-color:#DFE3EE;
|
||||
color:#404F77;
|
||||
border-bottom:solid #DFE3EE 1px;
|
||||
}
|
||||
#mCAL .controls {
|
||||
float:right;
|
||||
vertical-align:bottom;
|
||||
}
|
||||
#mCAL a {
|
||||
font-size:11px;
|
||||
color:#517AC8;
|
||||
}
|
||||
#mCAL .months {
|
||||
text-align:center;
|
||||
background-color:#DFE3EE;
|
||||
}
|
||||
#mCAL .months a {
|
||||
color:#517AC8;
|
||||
text-decoration:none;
|
||||
}
|
||||
#mCAL .months .monthLink {
|
||||
text-decoration:none;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
color:#AAB8D5;
|
||||
font-size:12px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
#mCAL .months .current, #mCAL .months .monthLink:hover {
|
||||
font-weight:bold;
|
||||
color:#517AC8;
|
||||
background-color:#fff;
|
||||
-moz-border-radius:5px;
|
||||
}
|
||||
#mCAL .curMonth {
|
||||
text-align:center;
|
||||
margin: 2px 0px;
|
||||
background-color:#517AC8;
|
||||
color:white;
|
||||
font-size:14px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**** Month view ****/
|
||||
/* Table */
|
||||
#mCAL table#month
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#mCAL table#month *
|
||||
{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
}
|
||||
|
||||
#mCAL table#month a
|
||||
{
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
#mCAL table#month th
|
||||
{
|
||||
-moz-box-sizing:border-box;
|
||||
width:85px;
|
||||
background-color:#517AC8;
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
color:white;
|
||||
}
|
||||
|
||||
#mCAL table#month div
|
||||
{
|
||||
position:relative;
|
||||
width:85px;
|
||||
height:85px;
|
||||
margin:0px;
|
||||
background-color:#E9ECF3;
|
||||
}
|
||||
|
||||
#mCAL table#month ul
|
||||
{
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#mCAL table#month .active
|
||||
{
|
||||
-moz-border-radius-topLeft:8px;
|
||||
-moz-border-radius-bottomLeft:8px;
|
||||
-moz-border-radius-bottomRight:8px;
|
||||
vertical-align:top;
|
||||
background-color:#CCD2E3;
|
||||
border:solid #CCD2E3 1px;
|
||||
}
|
||||
|
||||
#mCAL table#month .current
|
||||
{
|
||||
background-color:#FFE4B3;
|
||||
border-color:orange;
|
||||
}
|
||||
|
||||
#mCAL table#month .number
|
||||
{
|
||||
-moz-border-radius-bottomLeft:5px;
|
||||
display:block;
|
||||
position:absolute;
|
||||
top:0px;
|
||||
right:0px;
|
||||
height:10px;
|
||||
width:10px;
|
||||
background-color:#516BA4;
|
||||
color:white;
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
padding:0px 3px 2px 2px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
#mCAL table#month .current .number
|
||||
{
|
||||
background-color:orange;
|
||||
color:black;
|
||||
}
|
||||
|
||||
#mCAL table#month .events
|
||||
{
|
||||
padding:3px;
|
||||
padding-top:8px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
#mCAL table#month .events a
|
||||
{
|
||||
color:#4F4F4F;
|
||||
text-decoration:none;
|
||||
font-size:9px;
|
||||
}
|
||||
|
||||
#mCAL table#month .moreButton
|
||||
{
|
||||
border-style:none;
|
||||
position:absolute;
|
||||
bottom:0px;
|
||||
width:100%;
|
||||
height:9px;
|
||||
background-color:#517AC8;
|
||||
font-size:5px;
|
||||
text-align:center;
|
||||
-moz-border-radius-bottomLeft:8px;
|
||||
-moz-border-radius-bottomRight:8px;
|
||||
}
|
||||
|
||||
#mCAL table#month .moreButton img
|
||||
{
|
||||
border:none;
|
||||
}
|
||||
|
||||
{
|
||||
background-color:orange;
|
||||
}
|
||||
|
||||
|
||||
/* MORE STYLES */
|
||||
|
||||
#mCAL table#month .moreDisplay
|
||||
{
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 85px;
|
||||
border:solid orange 1px;
|
||||
border-top:solid orange 2px;
|
||||
font-family:arial;
|
||||
font-size:10px;
|
||||
width:300px;
|
||||
height: auto;
|
||||
padding:2px;
|
||||
background-color:#FFD3A8;
|
||||
z-index: 100;
|
||||
}
|
||||
* html body table#month td { position: relative; z-index: 1; }
|
||||
</style>
|
||||
|
||||
319
docs/upgrades/templates-7.3.4/calendar_search.tmpl
Normal file
319
docs/upgrades/templates-7.3.4/calendar_search.tmpl
Normal file
|
|
@ -0,0 +1,319 @@
|
|||
#CalendarSearch00000001
|
||||
<tmpl_if admin>
|
||||
<p><tmpl_var adminControls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<tmpl_var description>
|
||||
</tmpl_if>
|
||||
|
||||
|
||||
<tmpl_var form.header>
|
||||
<table cellspacing="0" cellpadding="0" width="600" id="mCAL" border="0">
|
||||
<tr>
|
||||
<td style="text-align:right">
|
||||
<a href="<tmpl_var url>?type=day" class="tab">Day</a>
|
||||
<a href="<tmpl_var url>?type=week" class="tab">Week</a>
|
||||
<a href="<tmpl_var url>?type=month" class="tab">Month</a>
|
||||
<a href="<tmpl_var url>?func=search" class="tab active">Search</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="months">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100%">
|
||||
<table width="100%" cellspacing="2" cellpadding="0">
|
||||
<tr>
|
||||
<td class="heading">
|
||||
<div style="padding:4px;">Keyword</div>
|
||||
</td>
|
||||
<td class="day"><tmpl_var form.keywords>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="heading">
|
||||
<div style="padding:4px;">Start Date</div>
|
||||
</td>
|
||||
<td class="day"><tmpl_var form.startDate>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="heading">
|
||||
<div style="padding:4px;">End Date</div>
|
||||
</td>
|
||||
<td class="day"><tmpl_var form.endDate>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:right">
|
||||
<tmpl_var form.submit>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<tmpl_var form.footer>
|
||||
|
||||
|
||||
|
||||
<tmpl_if results>
|
||||
<table cellspacing="0" cellpadding="0" width="600" id="mCAL">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="curMonth">
|
||||
Search Results
|
||||
<span style="font-size:9px;">Displaying page <tmpl_var pagination.pageCount> of <tmpl_var pagination.pageCount></span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="months">
|
||||
<div style="padding:3px 0px;">
|
||||
<tmpl_var pagination.firstPage>
|
||||
<tmpl_var pagination.pageList>
|
||||
<tmpl_var pagination.lastPage>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100%">
|
||||
<table width="100%" cellspacing="2" cellpadding="0">
|
||||
<tmpl_loop results><tr>
|
||||
<td class="heading">
|
||||
<div style="padding:4px;"><tmpl_var startDate></div>
|
||||
</td>
|
||||
<td class="day">
|
||||
<a href="<tmpl_var url>" style="padding-left:10px"><tmpl_var title></a>
|
||||
</td>
|
||||
</tr></tmpl_loop>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="months">
|
||||
<div style="padding:3px 0px;">
|
||||
<tmpl_var pagination.firstPage>
|
||||
<tmpl_var pagination.pageList>
|
||||
<tmpl_var pagination.lastPage>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</tmpl_if>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
body * {
|
||||
margin:0px;
|
||||
}
|
||||
#mCAL {
|
||||
|
||||
}
|
||||
#mCAL td {
|
||||
font-size:10px;
|
||||
font-family:arial;
|
||||
}
|
||||
#mCAL .tab {
|
||||
|
||||
border-bottom-style:none;
|
||||
font-weight:bold;
|
||||
padding: 2px 15px 0px 15px;
|
||||
text-align;center;
|
||||
background-color:#E9ECF3;
|
||||
-moz-border-radius-topLeft:10px;
|
||||
-moz-border-radius-topRight:10px;
|
||||
color:#7588B5;
|
||||
text-decoration:none;
|
||||
font-size:10pt;
|
||||
display:block;
|
||||
float:left;
|
||||
margin-right:5px;
|
||||
}
|
||||
#mCAL .tab:hover {
|
||||
color:black;
|
||||
}
|
||||
#mCAL .active {
|
||||
background-color:#DFE3EE;
|
||||
color:#404F77;
|
||||
border-bottom:solid #DFE3EE 1px;
|
||||
}
|
||||
#mCAL .controls {
|
||||
float:right;
|
||||
vertical-align:bottom;
|
||||
}
|
||||
#mCAL a {
|
||||
font-size:11px;
|
||||
color:#517AC8;
|
||||
}
|
||||
#mCAL .heading {
|
||||
width:200px;
|
||||
-moz-box-sizing:border-box;
|
||||
background-color:#ABB7D1;
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
color:#374664;
|
||||
font-size:9px;
|
||||
letter-spacing:1px;
|
||||
text-transform:uppercase;
|
||||
text-align:right;
|
||||
vertical-align:top;
|
||||
-moz-border-radius-bottomRight:8px;
|
||||
-moz-border-radius-topRight:8px;
|
||||
}
|
||||
#mCAL .day {
|
||||
background-color:#E9ECF3;
|
||||
width:400px;
|
||||
position:relative;
|
||||
vertical-align:top;
|
||||
-moz-border-radius-topLeft:8px;
|
||||
-moz-border-radius-bottomLeft:8px;
|
||||
border:solid #CCD2E3 1px;
|
||||
}
|
||||
#mCAL .curDay {
|
||||
background-color:#FFE4B3;
|
||||
border-color:orange;
|
||||
}
|
||||
#mCAL .dayWrapper {
|
||||
height:100%;
|
||||
width:100%;
|
||||
position:relative;
|
||||
z-index:0;
|
||||
margin:0px;
|
||||
padding:0px 0px 2px 5px;;
|
||||
-moz-box-sizing:border-box;
|
||||
}
|
||||
html > body #mCAL .dayWrapper {
|
||||
height:auto;
|
||||
min-height:100%;
|
||||
}
|
||||
#mCAL .dayNum {
|
||||
width:100%;
|
||||
text-align:right;
|
||||
|
||||
}
|
||||
|
||||
#mCAL span.border {
|
||||
text-align:center;
|
||||
padding:5px;
|
||||
font-weight:bold;
|
||||
-moz-border-radius-bottomRight:5px;
|
||||
-moz-border-radius-topLeft:5px;
|
||||
color:black;
|
||||
border-right:solid #CCD2E3 1px;
|
||||
border-bottom: solid #CCD2E3 1px;
|
||||
background-color:#ABB7D1;
|
||||
-moz-box-sizing:border-box;
|
||||
top:5px;
|
||||
position:relative;
|
||||
|
||||
}
|
||||
#mCAL .curDay span.border {
|
||||
background-color:orange;
|
||||
color:black;
|
||||
border-color:orange;
|
||||
}
|
||||
#mCAL .event {
|
||||
padding:3px;
|
||||
padding-top:8px;
|
||||
clear:left;
|
||||
font-weight:bold;
|
||||
}
|
||||
#mCAL .event a {
|
||||
color:#4F4F4F;
|
||||
text-decoration:none;
|
||||
font-size:9px;
|
||||
}
|
||||
#mCAL .moreButton {
|
||||
border-style:none;
|
||||
z-index:5;
|
||||
position:absolute;
|
||||
bottom:0px;
|
||||
width:100%;
|
||||
height:9px;
|
||||
background-color:#517AC8;
|
||||
font-size:5px;
|
||||
text-align:center;
|
||||
}
|
||||
#mCAL .moreButton:hover {
|
||||
background-color:orange;
|
||||
}
|
||||
#mCAL .empty {
|
||||
border-style:none;
|
||||
background-color:#CCD2E3;
|
||||
-moz-border-radius:10px;
|
||||
|
||||
}
|
||||
#mCAL .months {
|
||||
text-align:center;
|
||||
background-color:#DFE3EE;
|
||||
}
|
||||
#mCAL .months a {
|
||||
color:#517AC8;
|
||||
text-decoration:none;
|
||||
}
|
||||
#mCAL .months .monthLink {
|
||||
text-decoration:none;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
color:#AAB8D5;
|
||||
font-size:12px;
|
||||
font-weight:bold;
|
||||
}
|
||||
#mCAL .months .current {
|
||||
color:#517AC8;
|
||||
}
|
||||
#mCAL .current {
|
||||
font-weight:bold;
|
||||
color:#517AC8;
|
||||
background-color:#fff;
|
||||
-moz-border-radius:5px;
|
||||
}
|
||||
#mCAL .curMonth {
|
||||
text-align:left;
|
||||
margin: 2px 0px;
|
||||
background-color:#517AC8;
|
||||
color:white;
|
||||
font-size:14px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
/* MORE STYLES */
|
||||
#more1 {
|
||||
position:absolute;
|
||||
top:170px;
|
||||
left:10px;
|
||||
|
||||
}
|
||||
* html #more1 {
|
||||
top:158px;
|
||||
left:12px;
|
||||
|
||||
}
|
||||
.moreDisplay {
|
||||
border:solid orange 1px;
|
||||
border-top:solid orange 2px;
|
||||
font-family:arial;
|
||||
font-size:10px;
|
||||
width:300px;
|
||||
padding:2px;
|
||||
background-color:#FFD3A8;
|
||||
z-index:10;
|
||||
}
|
||||
ul.eventList {
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
margin-left:30px;
|
||||
color:#526896;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
@ -1284,7 +1284,8 @@ sub getTemplateVars
|
|||
: "");
|
||||
|
||||
# Make some friendly URLs
|
||||
$dtStart->truncate(to=>"day");
|
||||
$var{"url"} = $self->getUrl;
|
||||
$dtStart->truncate(to=>"day");
|
||||
$var{"urlDay"} = $self->getParent->getUrl("type=day;start=".$dtStart->toMysql);
|
||||
$var{"urlWeek"} = $self->getParent->getUrl("type=week;start=".$dtStart->toMysql);
|
||||
$var{"urlMonth"} = $self->getParent->getUrl("type=month;start=".$dtStart->toMysql);
|
||||
|
|
|
|||
|
|
@ -1608,7 +1608,7 @@ sub www_search
|
|||
my $perpage = $form->param("perpage");
|
||||
|
||||
my $var = $self->get;
|
||||
|
||||
$var->{url} = $self->getUrl;
|
||||
|
||||
# If there is a search to perform
|
||||
if ($keywords || $startDate || $endDate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue