Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_modules / postcalendar / pntemplates / default / views / year [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 07 Sep 2002 15:42:03 | postnuke_modules/postcalendar/pntemplates/default/views/year | default.html,NONE,1.1 default_view.html,1.3,NONE | Roger Raymond |
| template cleanup | |||
Update of /home/cvsroot/postnuke_modules/postcalendar/pntemplates/default/views/year
In directory ns7.hostnuke.net:/tmp/cvs-serv30038/pntemplates/default/views/year
Added Files:
default.html
Removed Files:
default_view.html
Log Message:
template cleanup
--- NEW FILE: default.html ---
[-*Smarty*-]
<!-- main navigation -->
<table border="0" cellpadding="1" cellspacing="0" width="100%" bgcolor="[-$bgcolor2-]"><tr><td>
<table border="0" cellpadding="5" cellspacing="0" width="100%" bgcolor="[-$bgcolor1-]">
<tr>
<td width="10" align="left" valign="top">
<center><img src="modules/[-$ModuleDirectory-]/pnimages/admin.gif"></center>
</td>
<td align="center" valign="middle">
<font class="pn-logo">[-$ModuleName-]</font>
<p style="color: [-$bgcolor2-]">
[ <a href="[-pc_url action="day"-]">[-$DayView-]</a> ]
[ <a href="[-pc_url action="week"-]">[-$WeekView-]</a> ]
[ <a href="[-pc_url action="month"-]">[-$MonthView-]</a> ]
[ <a href="[-pc_url action="year"-]">[-$YearView-]</a> ]
[ <a href="[-pc_url action="submit"-]">[-$Submit-]</a> ]
[ <a href="[-pc_url action="search"-]">[-$Search-]</a> ]
</p>
</td>
<td align="center" valign="top">
Legend:<br />
<table border="0" cellpadding="4" cellspacing="2">
<tr>
[-foreach name=categories from=$category item=cat-]
<td bgcolor="[-$cat.color-]">
<font color="#000000">[-$cat.name-]</font>
</td>
[-if ($smarty.foreach.categories.iteration) % 3 eq 1-]
</tr><tr>
[-/if-]
[-/foreach-]
</tr>
</table>
</td>
</tr>
</table>
</form>
</td></tr></table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="[-$bgcolor2-]"><tr><td>
<table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="[-$bgcolor2-]">
<tr>
<td class="pn-title" width="25%" align="left" valign="middle"><a href="[-$PrevMonthURL-]" style="text-decoration:none;"><<</a></td>
<td class="pn-title" width="50%" align="center" valign="middle"><a href="[-$CurrentMonthURL-]" style="text-decoration:none;">[-$CurrentMonth-]</a></td>
<td class="pn-title" width="25%" align="right" valign="middle"><a href="[-$NextMonthURL-]" style="text-decoration:none;">>></a></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
[-foreach from=$DayNames item=day-]
<td align="center" valign="middle"><font color="#CC6600">[-$day-]</font></td>
[-/foreach-]
</tr>
<tr>
[-foreach name=dates item=events key=current_date from=$EventsByDate-]
[-if $current_date < $month_view_start || $current_date > $month_view_end-]
<td align="left" valign="top" bgcolor="[-$bgcolor2-]">
<a href="[-$PostCalendarURL-][-$ActionViewDay-][-$current_date|date_format:"%m/%d/%Y"-]"
style="text-decoration:none;">[-$current_date|date_format:"%d"-]</a>
[-if $smarty.foreach.dates.iteration eq 1-]
[<a href="[-$PostCalendarURL-][-$ActionViewWeek-][-$current_date|date_format:"%m/%d/%Y"-]"
style="text-decoration:none;">week</a>]
[-/if-]
[-else-]
[-if $current_date eq $today_date-]
<td align="left" valign="top" bgcolor="[-$DayHighlightColor-]">
<font color="#CC6600"><b>[-$current_date|date_format:"%d"-]</b></font>
[-else-]
<td align="left" valign="top" bgcolor="[-$bgcolor1-]">
<font color="#CC6600"><b>[-$current_date|date_format:"%d"-]</b></font>
[-/if-]
[-if $smarty.foreach.dates.iteration % 7 eq 1-]
[<a href="[-$PostCalendarURL-][-$ActionViewWeek-][-$current_date|date_format:"%m/%d/%Y"-]"
style="text-decoration:none;">week</a>]
[-/if-]
[-strip-]
[-foreach name=eventloop key=id item=event from=$events-]
<div style="margin:5px; border:1px solid [-$event.catcolor-];"
onmouseover="this.style.backgroundColor='[-$bgcolor2-];'"
onmouseout="this.style.backgroundColor=
[-if $current_date eq $today_date-]
'[-$DayHighlightColor-];'
[-else-]
'[-$bgcolor1-];'
[-/if-]
">
[-if $event.alldayevent eq 1-]
allday
[-else-]
[-$event.startTime|date_format:"%I:%M"-] - duration [-$event.duration_hours-]:[-$event.duration_minutes-]
[-/if-]
<br />
[-$event.title-]</div>
[-/foreach-]
[-/strip-]
</td>
[-/if-]
[-if ($smarty.foreach.dates.iteration + 1) % 7 eq 1-]
</tr>
<tr>
[-/if-]
[-/foreach-]
</tr>
</table>
</td></tr></table>
--- default_view.html DELETED ---
View Statistics - Next Notice - Previous Notice
| Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |