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 / adminpanels [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 10 Aug 2002 02:33:24 | postnuke_official/html/modules/adminpanels | pnadminapi.php,1.3,1.4 | Gary Mitchell |
| Add GenID to Insert Statement and reformat to SQL92 standard | |||
Update of /home/cvsroot/postnuke_official/html/modules/adminpanels
In directory ns7.hostnuke.net:/tmp/cvs-serv27584
Modified Files:
pnadminapi.php
Log Message:
Add GenID to Insert Statement and reformat to SQL92 standard
Index: pnadminapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/adminpanels/pnadminapi.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pnadminapi.php 5 May 2002 12:53:21 -0000 1.3
--- pnadminapi.php 10 Aug 2002 02:33:22 -0000 1.4
***************
*** 337,344 ****
}
// ToDo: add weight info for each module in a category
! $query = "INSERT INTO $menutable
! SET pn_name = '".pnVarPrepForStore($mod['name'])."',
! pn_category = '".$modcat."'";
$dbconn->Execute($query);
--- 337,351 ----
}
+
// ToDo: add weight info for each module in a category
! $query = "INSERT INTO $menutable (
! pn_amid,
! pn_name,
! pn_category)
! VALUES (
! " . pnVarPrepForStore($dbconn->GenId($menutable)) . ",
! '" .pnVarPrepForStore($mod['name']) . "',
! '" . pnVarPrepForStore($hooktype) . "',
! '" .$modcat."')";
$dbconn->Execute($query);
***************
*** 353,355 ****
return true;
}
! ?>
\ No newline at end of file
--- 360,362 ----
return true;
}
! ?>
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 |