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_official / html / modules / template / pntemplates [ view in CVS ]
Date | Directory [filter] | File(s) [view] | Author [filter] |
02 Aug 2002 15:20:36 | postnuke_official/html/modules/template/pntemplates | user-display.pnd,1.1,1.2 user-main.pnd,1.1,1.2 user-view.pnd,1.1,1.2 | Mike |
make user menu API-callable too + some little template changes - designers wanted |
Update of /home/cvsroot/postnuke_official/html/modules/template/pntemplates In directory ns7.hostnuke.net:/tmp/cvs-serv26959/pntemplates Modified Files: user-display.pnd user-main.pnd user-view.pnd Log Message: make user menu API-callable too + some little template changes - designers wanted Index: user-display.pnd =================================================================== RCS file: /home/cvsroot/postnuke_official/html/modules/template/pntemplates/user-display.pnd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** user-display.pnd 1 Aug 2002 18:23:53 -0000 1.1 --- user-display.pnd 2 Aug 2002 15:20:33 -0000 1.2 *************** *** 1,8 **** ! <!-- common menu for this module - remove the link to the current function --> <table border="0" width="100%"> ! <!-- the variables used in the menu come from template_usermenu() --> <tr><th align="center">&pnt-var-menutitle;</th></tr> --- 1,8 ---- ! <!-- common user menu for this module - remove link to the current function --> <table border="0" width="100%"> ! <!-- the variables used in this menu come from template_user_menu() --> <tr><th align="center">&pnt-var-menutitle;</th></tr> *************** *** 12,16 **** <!-- a link to a particular menu item --> ! <td><a href="&pnt-var-menulinkview;">&pnt-var-menulabelview;</a></td> <!-- more menu items come here... --> --- 12,16 ---- <!-- a link to a particular menu item --> ! <td><a href="&pnt-var-menulink_view;">&pnt-var-menulabel_view;</a></td> <!-- more menu items come here... --> *************** *** 23,26 **** --- 23,28 ---- <br /> + <!-- the specific template for the current function comes here --> + <!-- some status given by the function using this template --> *************** *** 31,48 **** <table border="0" cellspacing="0" cellpadding="5"> <tr> ! <td align="right">&pnt-var-namelabel; : </td> <!-- display depends on another variable specified by the function --> ! <pnt:if condition="!empty($bold)"> ! <td><strong>&pnt-var-namevalue;</strong></td> <pnt:else> ! <td>&pnt-var-namevalue;</td> </pnt:else> </pnt:if> </tr> <tr> ! <td align="right">&pnt-var-numberlabel; : </td> ! <td>&pnt-var-numbervalue;</td> </tr> </table> --- 33,50 ---- <table border="0" cellspacing="0" cellpadding="5"> <tr> ! <td align="right">&pnt-var-name_label; : </td> <!-- display depends on another variable specified by the function --> ! <pnt:if condition="!empty($is_bold)"> ! <td><strong>&pnt-var-name_value;</strong> (in bold now)</td> <pnt:else> ! <td>&pnt-var-name_value; (not in bold now)</td> </pnt:else> </pnt:if> </tr> <tr> ! <td align="right">&pnt-var-number_label; : </td> ! <td>&pnt-var-number_value;</td> </tr> </table> Index: user-main.pnd =================================================================== RCS file: /home/cvsroot/postnuke_official/html/modules/template/pntemplates/user-main.pnd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** user-main.pnd 1 Aug 2002 18:23:53 -0000 1.1 --- user-main.pnd 2 Aug 2002 15:20:33 -0000 1.2 *************** *** 1,8 **** ! <!-- common menu for this module - remove the link to the current function --> <table border="0" width="100%"> ! <!-- the variables used in the menu come from template_usermenu() --> <tr><th align="center">&pnt-var-menutitle;</th></tr> --- 1,8 ---- ! <!-- common user menu for this module - remove link to the current function --> <table border="0" width="100%"> ! <!-- the variables used in this menu come from template_user_menu() --> <tr><th align="center">&pnt-var-menutitle;</th></tr> *************** *** 12,16 **** <!-- a link to a particular menu item --> ! <td><a href="&pnt-var-menulinkview;">&pnt-var-menulabelview;</a></td> <!-- more menu items come here... --> --- 12,16 ---- <!-- a link to a particular menu item --> ! <td><a href="&pnt-var-menulink_view;">&pnt-var-menulabel_view;</a></td> <!-- more menu items come here... --> *************** *** 22,25 **** --- 22,27 ---- </table> <br /> + + <!-- the specific template for the current function comes here --> <!-- some variable filled in by the function using this template --> Index: user-view.pnd =================================================================== RCS file: /home/cvsroot/postnuke_official/html/modules/template/pntemplates/user-view.pnd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** user-view.pnd 1 Aug 2002 18:23:53 -0000 1.1 --- user-view.pnd 2 Aug 2002 15:20:33 -0000 1.2 *************** *** 1,8 **** ! <!-- common menu for this module - remove the link to the current function --> <table border="0" width="100%"> ! <!-- the variables used in the menu come from template_usermenu() --> <tr><th align="center">&pnt-var-menutitle;</th></tr> --- 1,8 ---- ! <!-- common user menu for this module - remove link to the current function --> <table border="0" width="100%"> ! <!-- the variables used in this menu come from template_user_menu() --> <tr><th align="center">&pnt-var-menutitle;</th></tr> *************** *** 12,16 **** <!-- since this is the menu item we're on, we only show the label --> ! <td>&pnt-var-menulabelview;</td> <!-- more menu items come here... --> --- 12,16 ---- <!-- since this is the menu item we're on, we only show the label --> ! <td> &pnt-var-menulabel_view; </td> <!-- more menu items come here... --> *************** *** 23,31 **** <br /> <!-- some status given by the function using this template --> <strong>&pnt-var-status;</strong> ! <table border="0" width="100%"> <!-- loop over all the items given by the function --> --- 23,36 ---- <br /> + <!-- the specific template for the current function comes here --> + <!-- some status given by the function using this template --> <strong>&pnt-var-status;</strong> ! <table border="1" cellpadding="5" cellspacing="0"> ! <tr> ! <th> &pnt-var-someheader; </th> ! </tr> <!-- loop over all the items given by the function -->
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 |