From: <txm...@us...> - 2012-04-13 10:07:37
|
Revision: 9313 http://xoops.svn.sourceforge.net/xoops/?rev=9313&view=rev Author: txmodxoops Date: 2012-04-13 10:07:27 +0000 (Fri, 13 Apr 2012) Log Message: ----------- Fixed all bugs Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_coms.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions_const.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/english/admin.php Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -90,7 +90,7 @@ } //Creation of pages and templates user if ( $mods_display_user == 1 ) { - const_user_pages($mods, $mods_name, $tbls_name, $tbls_champs, $tbls_champs, $tbls_parametres); + const_user_pages($mods, $mods_name, $tbls_name, $tbls_champs, $tbls_parametres); // Creation of templates pages const_templates_pages($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); } Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -439,13 +439,13 @@ { echo '<table width="100%" cellspacing="1" class="outer">'; echo '<tr>'; - echo '<th align="center" width="30%">'._AM_TDMCREATE_NAME.'</th>'; + echo '<th align="center" width="10%">'._AM_TDMCREATE_NAME.'</th>'; echo '<th align="center" width="10%">'._AM_TDMCREATE_IMAGE.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_DISPLAY_ADMIN.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_DISPLAY_USER.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_BLOCS.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_NB_CHAMPS.'</th>'; - echo '<th align="center" width="20%">'._AM_TDMCREATE_FORMACTION.'</th>'; + echo '<th align="center" width="8%">'._AM_TDMCREATE_DISPLAY_ADMIN.'</th>'; + echo '<th align="center" width="8%">'._AM_TDMCREATE_DISPLAY_USER.'</th>'; + echo '<th align="center" width="5%">'._AM_TDMCREATE_BLOCS.'</th>'; + echo '<th align="center" width="8%">'._AM_TDMCREATE_NB_CHAMPS.'</th>'; + echo '<th align="center" width="5%">'._AM_TDMCREATE_FORMACTION.'</th>'; echo '</tr>'; $class = 'odd'; foreach (array_keys($modules_arr) as $i) Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_coms.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_coms.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_coms.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -19,7 +19,7 @@ */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/include/functions_const.php'; -function const_include_coms($modules, $modules_name, $tables_name, $tables_module_table, $tables_champs, $tables_parametres, $tables_img) +function const_include_coms($modules, $modules_name, $tables_name, $tables_module_table, $tables_champs, $tables_parametres) { $file = "comment_new.php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/".$file; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -20,12 +20,9 @@ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/include/functions_const.php'; -function const_user_pages($modules, $modules_name, $tables_id, $tables_module_table, $tables_name, $tables_img, $tables_champs, $tables_parametres) +function const_user_pages($modules, $modules_name, $tables_name, $tables_champs, $tables_parametres) { $language = '_MD_'.strtoupper($modules_name).''; - $language_manager = '_MD_'.strtoupper($modules_name).'_'.strtoupper($tables_name).''; - - $modules_name_minuscule = strtolower($modules_name); $file = $tables_name.".php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/".$file; $en_tete = const_entete($modules, 0); Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions_const.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions_const.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions_const.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -35,7 +35,7 @@ if ( $option == 0 ) { - //Creation du constructor + //Creation of constructor for ($i=0; $i<$nb_champs; $i++) { $structure = explode(":", $champs[$i]); @@ -180,8 +180,7 @@ $text = ''; if ( $option == 0 ) { - //print_r($champs_param_display_admin); - //Nom des colonnes du tableau + // Name of columns table for($i=0; $i<$nb_champs; $i++) { if ( $i != 0 ) { @@ -192,7 +191,7 @@ } } } elseif ( $option == 1 ) { - //Donn\xE9es du tableau + // Given Tables for($i=0; $i<$nb_champs; $i++) { if ( $champs_param_display_admin[$i] == 1 ) { Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/english/admin.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/english/admin.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/english/admin.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -62,7 +62,7 @@ //Form define("_AM_TDMCREATE_MODULES_ADD", "Add a new module"); define("_AM_TDMCREATE_MODULES_EDIT", "Create a module"); -define("_AM_TDMCREATE_MODULES_IMPORTANT", "Required Information"); +//define("_AM_TDMCREATE_MODULES_IMPORTANT", "Required Information"); define("_AM_TDMCREATE_MODULES_IMPORTANT", "Information"); define("_AM_TDMCREATE_MODULES_NOTIMPORTANT", "Optional Information"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |