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 / nascar / pntemplates [ view in CVS ]
Date | Directory [filter] | File(s) [view] | Author [filter] |
11 Aug 2002 02:05:05 | postnuke_modules/nascar/pntemplates | admin-modify_tracks.pnd,NONE,1.1 admin-main.pnd,1.1,1.2 admin-new_tracks.pnd,1.1,1.2 admin-view_tracks.pnd,1.3,1.4 | George Neill |
+ changed the tracks view output |
Update of /home/cvsroot/postnuke_modules/nascar/pntemplates In directory ns7.hostnuke.net:/tmp/cvs-serv4415/pntemplates Modified Files: admin-main.pnd admin-new_tracks.pnd admin-view_tracks.pnd Added Files: admin-modify_tracks.pnd Log Message: + changed the tracks view output + added code to allow modification of tracks + added images for track view. Still need to clean up and comment everything I have done thus far. GNeill 2002.08.10 --- NEW FILE: admin-modify_tracks.pnd --- <!--// $Id //--> <table border="0" width="100%" cellspacing="1" cellpadding="8"> <tr> <th colspan=2 align="center">&pnt-var-nascar_title;</th> </tr> <tr> <td> <table border="0" cellspacing="1" cellpadding="8" align=center> <tr align="center" valign="middle"> <td> <a href="&pnt-modurl-nascar-admin-main;"> &pnt-var-nascar_home; </a> </td> <td> <a href="&pnt-modurl-nascar-admin-view_tracks;"> &pnt-var-label_viewtracks; </a> </td> </tr> </table> </td> </tr> </table> <br /> <table width="100%" border="0" cellspacing="1" cellpadding="8"> <form method="post" action="&pnt-modurl-nascar-admin-update_tracks;"> <input type="hidden" name="authid" value="&pnt-var-authid;" /> <input type="hidden" name="tid" value="&pnt-var-item.tid;" /> <tr><td>&pnt-var-label_id;</td> <td>&pnt-var-item.tid;</td></tr> <tr><td>&pnt-var-label_name;</td> <td><input type="text" name="tname" value="&pnt-var-item.tname;" size=40 maxlength=255></td></tr> <tr><td>&pnt-var-label_longname;</td> <td><input type="text" name="tlongname" value="&pnt-var-item.tlongname;" size=40 maxlength=255></td></tr> <tr><td>&pnt-var-label_location;</td> <td><input type="text" name="tlocation" value="&pnt-var-item.tlocation;" size=50 maxlength=50></td></tr> <tr><td>&pnt-var-label_weather_url;</td> <td><input type="text" name="tweather_url" value="&pnt-var-item.tweather_url;" size=40 maxlength=255></td></tr> <tr><td>&pnt-var-label_image;</td> <td><input type="text" name="timage" value="&pnt-var-item.timage;" size=40 maxlength=255></td></tr> <tr><td>&pnt-var-label_length;</td> <td><input type="text" name="tlength" value="&pnt-var-item.tlength;" size=6 maxlength=6></td></tr> <tr><td>&pnt-var-label_url;</td> <td><input type="text" name="turl" value="&pnt-var-item.turl;" size=40 maxlength=255></td></tr> <tr><td>&pnt-var-label_active;</td> <td> <table> <tr> <td><input type="radio" name="tactive" value=1 ></td><td>Yes</td> <td><input type="radio" name="tactive" value=0 ></td><td>No</td> </tr> </table> </td> </tr> <tr><td colspan="2" align="center"> <input type="submit" value="&pnt-var-updatebutton;"></td></tr> </form> </table> <br /> Index: admin-main.pnd =================================================================== RCS file: /home/cvsroot/postnuke_modules/nascar/pntemplates/admin-main.pnd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin-main.pnd 8 Aug 2002 10:10:55 -0000 1.1 --- admin-main.pnd 11 Aug 2002 02:05:03 -0000 1.2 *************** *** 63,67 **** <td> <a href="&pnt-modurl-nascar-admin-view_tracks;"> ! &pnt-var-nascar_tracks; </a> </td> --- 63,67 ---- <td> <a href="&pnt-modurl-nascar-admin-view_tracks;"> ! &pnt-var-nascar_tracks; </a> </td> Index: admin-new_tracks.pnd =================================================================== RCS file: /home/cvsroot/postnuke_modules/nascar/pntemplates/admin-new_tracks.pnd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin-new_tracks.pnd 10 Aug 2002 06:02:34 -0000 1.1 --- admin-new_tracks.pnd 11 Aug 2002 02:05:03 -0000 1.2 *************** *** 55,59 **** <tr><td>&pnt-var-label_active;</td> ! <td><input type="text" name="tactive" size=6 maxlength=6></td></tr> <tr><td colspan="2" align="center"> --- 55,67 ---- <tr><td>&pnt-var-label_active;</td> ! <td> ! <table> ! <tr> ! <td><input type="radio" name="tactive" value=1 CHECKED></td><td>Yes</td> ! <td><input type="radio" name="tactive" value=0></td><td>No</td> ! </tr> ! </table> ! </td> ! </tr> <tr><td colspan="2" align="center"> Index: admin-view_tracks.pnd =================================================================== RCS file: /home/cvsroot/postnuke_modules/nascar/pntemplates/admin-view_tracks.pnd,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin-view_tracks.pnd 10 Aug 2002 06:34:54 -0000 1.3 --- admin-view_tracks.pnd 11 Aug 2002 02:05:03 -0000 1.4 *************** *** 30,44 **** <center><strong>&pnt-var-status;</strong></center><br /> ! <table width="100%" border="1" cellspacing="0" cellpadding="4"> <tr> ! <th>&pnt-var-tracks_id;</th> ! <th>&pnt-var-tracks_name;</th> ! <th>&pnt-var-tracks_longname;</th> ! <th>&pnt-var-tracks_location;</th> ! <th>&pnt-var-tracks_weather_url;</th> ! <th>&pnt-var-tracks_image;</th> ! <th>&pnt-var-tracks_length;</th> ! <th>&pnt-var-tracks_url;</th> ! <th>&pnt-var-tracks_active;</th> <th> </th> </tr> --- 30,39 ---- <center><strong>&pnt-var-status;</strong></center><br /> ! <table border="1" cellspacing="0" cellpadding="4" align="center"> <tr> ! <th> &pnt-var-tracks_id; </th> ! <th> &pnt-var-tracks_name; </th> ! <th> &pnt-var-tracks_active; </th> ! <th> </th> </tr> *************** *** 46,70 **** <pnt:loop name="items"> <tr> ! <td>&pnt-var-tid;</td> ! <td>&pnt-var-tname;</td> ! <td>&pnt-var-tlongname;</td> ! <td>&pnt-var-tlocation;</td> ! <td>&pnt-var-tweather_url;</td> ! <td>&pnt-var-timage;</td> ! <td>&pnt-var-tlength;</td> ! <td>&pnt-var-turl;</td> ! <td>&pnt-var-tactive;</td> <td> <pnt:if condition="empty($editurl)"> ! &pnt-var-edittitle; <pnt:else> ! <a href="&pnt-var-editurl;">&pnt-var-edittitle;</a> </pnt:else> </pnt:if> | <pnt:if condition="empty($deleteurl)"> ! &pnt-var-deletetitle; <pnt:else> ! <a href="&pnt-var-deleteurl;">&pnt-var-deletetitle;</a> </pnt:else> </pnt:if> --- 41,72 ---- <pnt:loop name="items"> <tr> ! <td> &pnt-var-tid; </td> ! <td> &pnt-var-tname; </td> ! ! <pnt:if condition="$tactive"> ! <td align=center> ! <img src="modules/nascar/pnimages/green_dot.gif" border=0> ! </td> ! ! <pnt:else> ! <td align=center> ! <img src="modules/nascar/pnimages/red_dot.gif" border=0> ! </td> ! </pnt:else> ! ! </pnt:if> ! <td> <pnt:if condition="empty($editurl)"> ! &pnt-var-edittitle; <pnt:else> ! <a href="&pnt-var-editurl;">&pnt-var-edittitle;</a> </pnt:else> </pnt:if> | <pnt:if condition="empty($deleteurl)"> ! &pnt-var-deletetitle; <pnt:else> ! <a href="&pnt-var-deleteurl;">&pnt-var-deletetitle;</a> </pnt:else> </pnt:if>
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 |