Update of /cvsroot/tutos/tutos/php/stuff
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv15742/php/stuff
Modified Files:
stuff_new.php stuff_select.php stuff_show.php
Log Message:
various html fixes
Index: stuff_show.php
===================================================================
RCS file: /cvsroot/tutos/tutos/php/stuff/stuff_show.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- stuff_show.php 23 Nov 2006 08:57:34 -0000 1.7
+++ stuff_show.php 2 Jan 2007 19:59:59 -0000 1.8
@@ -1,6 +1,6 @@
<?php
/**
- * Copyright 2004 - 2006 by Gero Kohnert
+ * Copyright 2004 - 2007 by Gero Kohnert
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -83,8 +83,12 @@
echo "</tr>\n";
+ #
+ # Show additional custom fields
+ #
+ echo show_custom_fields($this,$this->obj->gettype(),$this->obj,4);
# References to modules
- show_module_infolists($this->user,$this->obj,4);
+ echo show_module_infolists($this->user,$this->obj,4);
echo $this->obj->getHistoryLink(4);
echo $this->DataTableEnd();
}
Index: stuff_select.php
===================================================================
RCS file: /cvsroot/tutos/tutos/php/stuff/stuff_select.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- stuff_select.php 3 Apr 2005 18:32:17 -0000 1.2
+++ stuff_select.php 2 Jan 2007 19:59:59 -0000 1.3
@@ -1,6 +1,6 @@
<?php
/*
- * Copyright 2004 - 2005 by Gero Kohnert
+ * Copyright 2004 - 2007 by Gero Kohnert
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -17,8 +17,8 @@
/* Check if user is allowed to use it */
check_user();
- loadmodules("stuff","select");
- loadmodule("stuff");
+ loadmodules('stuff','select');
+ loadmodule('stuff');
loadlayout();
/**
@@ -33,8 +33,8 @@
echo "<br /><br />\n";
- echo "<form name=\"stuffsearch\" method=\"get\" action=\"stuff_overview.php\">\n";
- DoubleTableStart();
+ echo "<form id=\"stuffsearch\" name=\"stuffsearch\" method=\"get\" action=\"stuff_overview.php\">\n";
+ echo DoubleTableStart();
echo "<tr>\n";
echo "<th colspan=\"3\">". $lang['StuffSearch'] ."</th>\n";
@@ -47,8 +47,8 @@
echo " </td>\n";
echo "</tr>\n";
- DoubleTableEnd();
- hiddenFormElements();
+ echo DoubleTableEnd();
+ echo hiddenFormElements();
echo $this->getHidden();
echo "</form>\n";
Index: stuff_new.php
===================================================================
RCS file: /cvsroot/tutos/tutos/php/stuff/stuff_new.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- stuff_new.php 25 Nov 2006 14:47:16 -0000 1.8
+++ stuff_new.php 2 Jan 2007 19:59:59 -0000 1.9
@@ -1,6 +1,6 @@
<?php
/*
- * Copyright 2004 - 2006 by Gero Kohnert
+ * Copyright 2004 - 2007 by Gero Kohnert
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -90,21 +90,21 @@
echo "</tr>\n";
# References to modules
- module_addforms($this->user,$this->obj,4);
+ echo module_addforms($this->user,$this->obj,4);
if ( $this->obj->mod_ok() != 0 ) {
echo "<tr>\n";
if ($this->obj->id > 0 ) {
- submit_reset(0,1,1,1,1,0);
+ echo submit_reset(0,1,1,1,1,0);
} else {
- submit_reset(0,-1,1,1,1,0);
+ echo submit_reset(0,-1,1,1,1,0);
}
echo "</tr>\n";
}
echo $this->DataTableEnd();
- hiddenFormElements();
+ echo hiddenFormElements();
echo $this->getHidden();
echo "</form>\n";
echo $this->setfocus("stuffnew.name");
|