|
From: <txm...@us...> - 2014-06-21 17:07:43
|
Revision: 12623
http://sourceforge.net/p/xoops/svn/12623
Author: txmodxoops
Date: 2014-06-21 17:07:35 +0000 (Sat, 21 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Updated
- Work in progress
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql/mysql.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-21 16:51:00 UTC (rev 12622)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-21 17:07:35 UTC (rev 12623)
@@ -91,8 +91,8 @@
* @public function getForm
*
* @param integer $field_mid
- * @param integer $f_tid
- * @param integer $f_numb
+ * @param integer $field_tid
+ * @param integer $field_numb
* @param string $f_name
* @param mixed $action
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php 2014-06-21 16:51:00 UTC (rev 12622)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php 2014-06-21 17:07:35 UTC (rev 12623)
@@ -88,7 +88,7 @@
case 'list':
default:
\$limit = xoops_getModuleOption('adminpager');
- \$start = TDMCreate_CleanVars(\$_REQUEST, 'start', 0);
+ \$start = {$module_name}_CleanVars(\$_REQUEST, 'start', 0);
\$adminMenu->addItemButton({$language}ADD_{$stu_table_name}, '{$table_name}.php?op=new', 'add');
echo \$adminMenu->renderButton();
\$criteria = new CriteriaCompo();
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql/mysql.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql/mysql.php 2014-06-21 16:51:00 UTC (rev 12622)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql/mysql.php 2014-06-21 17:07:35 UTC (rev 12623)
@@ -87,6 +87,8 @@
* @param string $module_name
* @param string $table_name
* @param integer $nb_fields
+ *
+ * Unused IF NOT EXISTS
*/
public function getHeadDatabaseTable($module_name, $table_name, $nb_fields)
{
@@ -96,7 +98,7 @@
# Structure table for `mod_{$module_name}_{$table_name}` {$nb_fields}
#
-CREATE TABLE IF NOT EXISTS `mod_{$module_name}_{$table_name}` (\n
+CREATE TABLE `mod_{$module_name}_{$table_name}` (\n
SQL;
return $ret;
}
|