Xaraya / Postnuke CVS Notices - Message

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 Notice

Directory filter : [ all ] / postnuke_modules / postcalendar / pntemplates / default / views / week [ view in CVS ]


Deprecated: Function gmstrftime() is deprecated in /home/mikespub/www/list.php on line 509
Date Directory [filter] File(s) [view] Author [filter]
07 Sep 2002 15:42:03postnuke_modules/postcalendar/pntemplates/default/views/weekdefault.html,NONE,1.1 default_view.html,1.5,NONERoger Raymond
 template cleanup

Update of /home/cvsroot/postnuke_modules/postcalendar/pntemplates/default/views/week
In directory ns7.hostnuke.net:/tmp/cvs-serv30038/pntemplates/default/views/week

Added Files:
	default.html 
Removed Files:
	default_view.html 
Log Message:
template cleanup


--- NEW FILE: default.html ---
[-*Smarty*-]
[-config_load file="default.conf" section="WeekView"-]

<!-- 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>

<!-- week navigation table -->
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="[-#TableBorderColor#-]"><tr><td>
    <table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="[-#TableBackgroundColor#-]">
        <tr>
            <td class="pn-title" width="25%" align="left" valign="middle"><a href="[-$PrevWeekURL-]" style="text-decoration:none;">&lt;&lt;</a></td>
            <td class="pn-title" width="50%" align="center" valign="middle"><a href="[-$CurrentWeekURL-]" style="text-decoration:none;">[-$CurrentWeek-]</a></td>
            <td class="pn-title" width="25%" align="right" valign="middle"><a href="[-$NextWeekURL-]" style="text-decoration:none;">&gt;&gt;</a></td>
        </tr>
    </table>
</td></tr></table>

<!-- event data tables -->
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="[-#TableBorderColor#-]"><tr><td>

[-* Loop through the EventsByDate array : This array contains data for each day in the view. *-]
[-foreach name=dates item=events key=current_date from=$EventsByDate-]
    [-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"-]
    
    [-* Loop through the events for this day and display the event data *-]
    [-foreach name=eventloop key=id item=event from=$events-]
    [-if $smarty.foreach.eventloop.iteration eq 1-] 
    <table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="[-#TableBackgroundColor#-]">
        <tr>
            <td bgcolor="[-#TableBorderColor#-]">
                <b><font color=[-#CurrentDateTextColor#-]">[-$DayNamesLong.$dayname-], [-$day-] [-$MonthNames.$month-] [-$year-]
                <br />
                [-pc_date_format date=$current_date-]</font></b>
            </td>
        </tr>
    </table>
    [-/if-]
    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="[-#CurrentMonthCellColor#-]">
        <tr>
            <td>[-$event.startTime|date_format:"%I:%M"-]&nbsp;-&nbsp;duration [-$event.duration_hours-]:[-$event.duration_minutes-]</td>
        </tr>
        <tr>
            <td colspan="2"><a href="[-pc_event_url view=details eid=$event.eid-]" 
                           onmouseover="ol_fgcolor='[-$bgcolor1-]';ol_bgcolor='[-$event.catcolor-]'; return overlib('[-$event.hometext|escape:"html"-]');" 
                           onmouseout="ol_fgcolor='[-$bgcolor1-]';ol_bgcolor='[-$bgcolor2-]'; return nd();">[-$event.title-]</a><br /><br />
            </td>
        </tr>
    </table>
    
    [-* if no events were in the array for the current day, do this *-]
    [-foreachelse-]
    <table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="[-#TableBackgroundColor#-]">
        <tr>
            <td bgcolor="[-#TableBorderColor#-]">
                <b><font color=[-#CurrentDateTextColor#-]">[-$DayNamesLong.$dayname-], [-$day-] [-$MonthNames.$month-] [-$year-]</font></b>
            </td>
        </tr>
    </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="[-#CurrentMonthCellColor#-]">
        <tr>
            <td><br /><br /></td>
        </tr>
    </table>
    [-/foreach-]
[-/foreach-]
</td></tr></table>

--- default_view.html DELETED ---


Directory filter : [ all ] / postnuke_modules / postcalendar / pntemplates / default / views / week [ view in CVS ]

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