Update of /cvsroot/wpdev/xmlscripts/documentation
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3188
Modified Files:
footer.inc.php generate.py
Log Message:
Fixes
Index: generate.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/documentation/generate.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** generate.py 6 Apr 2004 18:24:24 -0000 1.5
--- generate.py 20 Jun 2004 20:15:45 -0000 1.6
***************
*** 76,87 ****
# Time
! print "INSERT INTO documentation_settings VALUES('generated', %u);" % int(time.time())
! print "INSERT INTO documentation_settings VALUES('version', '%s');" % (quote(getVersion()))
for command in commands:
! print "INSERT INTO documentation_commands VALUES('%s', '%s', '%s', '%s');" % (quote(command['name']), quote(command['description']), quote(command['usage']), quote(command['notes']))
for event in events:
! print "INSERT INTO documentation_events VALUES('%s', '%s', '%s', '%s', '%s', '%s');" % (quote(event['name']), quote(event['prototype']), quote(event['parameters']), quote(event['returnvalue']), quote(event['callcondition']), quote(event['notes']))
for object in objects:
--- 76,87 ----
# Time
! print "REPLACE INTO documentation_settings VALUES('generated', %u);" % int(time.time())
! print "REPLACEINTO documentation_settings VALUES('version', '%s');" % (quote(getVersion()))
for command in commands:
! print "REPLACE INTO documentation_commands VALUES('%s', '%s', '%s', '%s');" % (quote(command['name']), quote(command['description']), quote(command['usage']), quote(command['notes']))
for event in events:
! print "REPLACE INTO documentation_events VALUES('%s', '%s', '%s', '%s', '%s', '%s');" % (quote(event['name']), quote(event['prototype']), quote(event['parameters']), quote(event['returnvalue']), quote(event['callcondition']), quote(event['notes']))
for object in objects:
***************
*** 100,108 ****
objectsproperties.append(property)
! print "INSERT INTO documentation_objects VALUES('%s', '%s');" % (quote(object['object']), quote(object['description']))
for method in objectsmethods:
! print "INSERT INTO documentation_objects_methods VALUES('%s', '%s', '%s', '%s', '%s', '%s');" % (quote(method['object']), quote(method['method']), quote(method['prototype']), quote(method['parameters']), quote(method['returnvalue']), quote(method['description']))
for property in objectsproperties:
! print "INSERT INTO documentation_objects_properties VALUES('%s', '%s', '%s', '%s');" % (quote(property['object']), quote(property['property']), quote(property['description']), quote(property['readonly']))
--- 100,108 ----
objectsproperties.append(property)
! print "REPLACE INTO documentation_objects VALUES('%s', '%s');" % (quote(object['object']), quote(object['description']))
for method in objectsmethods:
! print "REPLACE INTO documentation_objects_methods VALUES('%s', '%s', '%s', '%s', '%s', '%s');" % (quote(method['object']), quote(method['method']), quote(method['prototype']), quote(method['parameters']), quote(method['returnvalue']), quote(method['description']))
for property in objectsproperties:
! print "REPLACE INTO documentation_objects_properties VALUES('%s', '%s', '%s', '%s');" % (quote(property['object']), quote(property['property']), quote(property['description']), quote(property['readonly']))
Index: footer.inc.php
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/documentation/footer.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** footer.inc.php 5 Apr 2004 01:12:13 -0000 1.2
--- footer.inc.php 20 Jun 2004 20:15:45 -0000 1.3
***************
*** 1,4 ****
<span class="smalltext">Generated: <?
! echo date('d.m.Y H:m', $SETTINGS['generated']);
?> | Version: <?
echo $SETTINGS['version'];
--- 1,4 ----
<span class="smalltext">Generated: <?
! echo date('d.m.Y H:M', $SETTINGS['generated']);
?> | Version: <?
echo $SETTINGS['version'];
|