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 / month [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 04 Oct 2002 00:39:58 | postnuke_modules/postcalendar/pntemplates/default/views/month | small.html,NONE,1.1 | Roger Raymond |
| added small template and some other things | |||
Update of /home/cvsroot/postnuke_modules/postcalendar/pntemplates/default/views/month
In directory ns7.hostnuke.net:/tmp/cvs-serv10376/pntemplates/default/views/month
Added Files:
small.html
Log Message:
added small template and some other things
--- NEW FILE: small.html ---
[-*Smarty*-]
[-config_load file="default.conf"-]
[-config_load file="navigation.conf"-]
[-*Load the Language Definitions*-]
[-config_load file="lang.$USER_LANG"-]
<style>
div.highlightNormal:hover {
background-color:lightblue;
}
div.highlightCurrentDay:hover {
background-color:lightblue;
}
td.calDay:hover {
background-color:#f6f6f6;
}
td.calDayCurrent:hover {
background-color:#f6c606;
}
.bnav { border-top: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; }
td.nav { border-right: 1px solid #000000; background-color:[-#TAB_BGCOLOR#-]; }
td.nav:hover { border-right: 1px solid #000000; background-color:[-#HOV_TAB_BGCOLOR#-]; }
td.rnav { background-color:[-#TAB_BGCOLOR#-]; }
td.rnav:hover { background-color:[-#HOV_TAB_BGCOLOR#-]; }
td.snav { border-right: 1px solid #000000; background-color:[-#SEL_TAB_BGCOLOR#-]; font-weight : bold; }
td.rsnav { background-color:[-#SEL_TAB_BGCOLOR#-]; font-weight : bold; }
a.nav:hover { color: #000000; text-decoration: none; }
a.nav { color: #000000; text-decoration: none; }
SELECT.nav {color: #000000; background-color:[-$BGCOLOR1-]; border-top: 1px solid #000000; }
OPTION.nav {color: #000000; background-color:[-$BGCOLOR1-]; border-top: 1px solid #000000; }
INPUT.nav {color: #000000; background-color:[-$BGCOLOR1-]; border-top: 1px solid #000000; }
</style>
[-pc_view_select form="on" label=#_PC_TPL_VIEW_LABEL# class="nav"-]
<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" bgcolor="[-#TableBorderColor#-]" align="center"><tr><td>
<table border="0" cellpadding="0" cellspacing="1" align="center">
<tr>
<td colspan="7" valign="bottom" align="right" bgcolor=[-$BGCOLOR1-]>
<table id="bnav" class="bnav" border="0" cellpadding="3" cellspacing="0" bgcolor="[-#TABLE_BGCOLOR#-]">
<tr>
<td nowrap align="center" valign="bottom" [-if $VIEW_TYPE eq "day"-]class="snav"[-else-]class="nav"[-/if-]>
<a class="nav" href="[-pc_url action="day"-]">[-#_PC_THEME_DAY#-]</a>
</td>
<td nowrap align="center" valign="bottom" [-if $VIEW_TYPE eq "week"-]class="snav"[-else-]class="nav"[-/if-]>
<a class="nav" href="[-pc_url action="week"-]">[-#_PC_THEME_WEEK#-]</a>
</td>
<td nowrap align="center" valign="bottom" [-if $VIEW_TYPE eq "month"-]class="snav"[-else-]class="nav"[-/if-]>
<a class="nav" href="[-pc_url action="month"-]">[-#_PC_THEME_MONTH#-]</a>
</td>
<td nowrap align="center" valign="bottom" [-if $VIEW_TYPE eq "year"-]class="snav"[-else-]class="nav"[-/if-]>
<a class="nav" href="[-pc_url action="year"-]">[-#_PC_THEME_YEAR#-]</a>
</td>
<td nowrap align="center" valign="bottom" [-if $FUNCTION eq "submit"-]class="snav"[-else-]class="nav"[-/if-]>
<a class="nav" href="[-pc_url action="submit"-]">[-#_PC_THEME_SUBMIT#-]</a>
</td>
<td nowrap align="center" valign="bottom" [-if $FUNCTION eq "search"-]class="rsnav"[-else-]class="rnav"[-/if-]>
<a class="nav" href="[-pc_url action="search"-]">[-#_PC_THEME_SEARCH#-]</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="7" width="100%" align="left" valign="top">
<table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="[-#TableBackgroundColor#-]">
<tr>
<td class="pn-title" width="25%" align="left" valign="middle"><a href="[-$PREV_MONTH_URL-]" style="text-decoration:none;"><<</a></td>
<td class="pn-title" width="50%" align="center" valign="middle">[-$CURRENT_MONTH_NAME-]</td>
<td class="pn-title" width="25%" align="right" valign="middle"><a href="[-$NEXT_MONTH_URL-]" style="text-decoration:none;">>></a></td>
</tr>
</table>
</td>
</tr>
<tr>
[-foreach from=$A_SHORT_DAY_NAMES item=day-]
<td align="center" valign="middle"><font color="[-#DayNameColor#-]">[-$day-]</font></td>
[-/foreach-]
</tr>
<tr>
[-foreach name=dates item=events key=current_date from=$A_EVENTS-]
[-assign var="dayname" value=$current_date|date_format:"%w"-]
[-assign var="day" value=$current_date|date_format:"%d"|string_format:"%1d"-]
[-assign var="month" value=$current_date|date_format:"%m"|string_format:"%1d"-]
[-assign var="year" value=$current_date|date_format:"%Y"|string_format:"%4d"-]
[-if $createrow eq 1-]
<tr>
[-assign var="createrow" value="0"-]
[-/if-]
[-if $current_date < $MONTH_START_DATE || $current_date > $MONTH_END_DATE-]
<td width="[-math equation="100/7" format="%02d"-]%" align="left" valign="top" bgcolor="[-#PrevMonthCellColor#-]">
<table border="0" cellpadding="2" cellspacing="0"><tr>
<td nowrap align="left" valign="top">
<a href="[-pc_event_url view=day date=$current_date-]"
style="text-decoration:none;">[-$current_date|date_format:"%d"-]</a>
[-if $smarty.foreach.dates.iteration eq 1-]
<a href="[-pc_event_url view=week date=$current_date-]" style="text-decoration:none;">-</a>
[-/if-]
</td></tr></table>
</td>
[-else-]
[-if $current_date eq $TODAY_DATE-]
<td align="left" valign="top" bgcolor="[-#CurrentDayHighlightColor#-]" class="calDayCurrent">
[-else-]
<td align="left" valign="top" bgcolor="[-#CurrentMonthCellColor#-]" class="calDay">
[-/if-]
<table border="0" cellpadding="2" cellspacing="0"><tr>
<td nowrap align="left" valign="top">
<a href="[-pc_event_url view=day date=$current_date-]"
style="text-decoration:none;"><font color="#CC6600"><b>[-$current_date|date_format:"%d"-]</b></font></a>
[-if $smarty.foreach.dates.iteration % 7 eq 1-]
<a href="[-pc_event_url view=week date=$current_date-]" style="text-decoration:none;">-</a>
[-/if-]
</td>
<td align="right" valign="top">
<a href="[-pc_event_url view=submit date=$current_date-]" style="text-decoration:none;"><img
src="[-$TPL_IMAGE_PATH-]new.gif" width="10" height="10" border="0" /></a>
</td>
</tr></table>
[-assign var="count" value=0-]
[-foreach name=eventloop key=id item=event from=$events-]
[-assign var="count" value=$count+1-]
[-/foreach-]
[-if $count gt 4-][-assign var="count" value=4-][-/if-]
<center><img src="[-$TPL_IMAGE_PATH-]events[-$count-].gif" /></center>
</td>
[-/if-]
[-if ($smarty.foreach.dates.iteration + 1) % 7 eq 1-]
</tr><!-- new row -->
[-assign var="createrow" value="1"-]
[-/if-]
[-/foreach-]
[-if $createrow != 1-]
</tr>
[-/if-]
</table>
</td></tr></table>
</td></tr></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left">
<a href="[-pc_url action="month" print="true"-]">[-#_PC_THEME_PRINT#-]</a>
</td>
</tr>
</table>
[-pc_date_select day="off" month="on" year="on" view="off" form="on" label=#_PC_JUMP_MENU_LABEL# class="nav"-]
ok - this is just a sample of what can be done - i didn't want to spend a hell of a lot of time on it :)
<br /><br />
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 |