|
From: <txm...@us...> - 2013-03-19 10:16:45
|
Revision: 11253
http://sourceforge.net/p/xoops/svn/11253
Author: txmodxoops
Date: 2013-03-19 10:16:42 +0000 (Tue, 19 Mar 2013)
Log Message:
-----------
Added classes files
Modified some files
Modified Paths:
--------------
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/admin/tables.php
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/form/modules.php
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/locale/en_US/en_US.php
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_fields.html
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_modules.html
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_tables.html
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/xoops_version.php
Added Paths:
-----------
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_admin.php
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_blocks.php
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_class.php
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_include.php
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_locale.php
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_templates.php
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_user.php
XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/index.html
Modified: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/admin/tables.php
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/admin/tables.php 2013-03-19 09:22:26 UTC (rev 11252)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/admin/tables.php 2013-03-19 10:16:42 UTC (rev 11253)
@@ -62,7 +62,7 @@
$criteria->setStart($start);
$criteria->setLimit($nb_pager);
$numrows_tables = $tables_Handler->getCount($criteria);
- $table_arr = $tables_Handler->getAll($criteria);
+ $tables_arr = $tables_Handler->getAll($criteria);
$xoops->tpl()->assign('tables_count', $numrows_tables);
$xoops->tpl()->assign('timg_path', TDMC_TABLES_URL_IMG);
unset($criteria);
@@ -86,22 +86,29 @@
$xoops->tpl()->append_by_ref('modules', $mod);
unset($mod);
}
+ /*if (is_dir($timage = XOOPS_URL ."/uploads/tdmcreate/images/tables/".$table_image)) {
+ $table['image'] = $timage;
+ } elseif (is_dir($timage = XOOPS_URL ."/media/xoops/images/icons/32/".$table_image)) {
+ $table['image'] = $timage;
+ }*/
if ($numrows_tables > 0) {
- foreach (array_keys($table_arr) as $i) {
- $tables['id'] = $table_arr[$i]->getVar('table_id');
- $tables['name'] = $table_arr[$i]->getVar('table_name');
- $module_name = $modules_Handler->get($table_arr[$i]->getVar('table_mid'));
- $tables['mid'] = $module_name->getVar('mod_name');
- $tables['image'] = $table_arr[$i]->getVar('table_image');
- $tables['nbfields'] = $table_arr[$i]->getVar('table_nbfields');
- $tables['blocks'] = $table_arr[$i]->getVar('table_blocks');
- $tables['admin'] = $table_arr[$i]->getVar('table_admin');
- $tables['user'] = $table_arr[$i]->getVar('table_user');
- $tables['submenu'] = $table_arr[$i]->getVar('table_submenu');
- $tables['search'] = $table_arr[$i]->getVar('table_search');
- $tables['comments'] = $table_arr[$i]->getVar('table_comments');
- $tables['notifications'] = $table_arr[$i]->getVar('table_notifications');
- $xoops->tpl()->append_by_ref('tables', $tables);
+ foreach (array_keys($tables_arr) as $i)
+ {
+ $table['id'] = $tables_arr[$i]->getVar('table_id');
+ $table['name'] = $tables_arr[$i]->getVar('table_name');
+ $module_name = $modules_Handler->get($tables_arr[$i]->getVar('table_mid'));
+ $mod_name = $module_name->getVar('mod_name');
+ $table['mid'] = $mod_name;
+ $table['image'] = $tables_arr[$i]->getVar('table_image');
+ $table['nbfields'] = $tables_arr[$i]->getVar('table_nbfields');
+ $table['blocks'] = $tables_arr[$i]->getVar('table_blocks');
+ $table['admin'] = $tables_arr[$i]->getVar('table_admin');
+ $table['user'] = $tables_arr[$i]->getVar('table_user');
+ $table['submenu'] = $tables_arr[$i]->getVar('table_submenu');
+ $table['search'] = $tables_arr[$i]->getVar('table_search');
+ $table['comments'] = $tables_arr[$i]->getVar('table_comments');
+ $table['notifications'] = $tables_arr[$i]->getVar('table_notifications');
+ $xoops->tpl()->append_by_ref('tables', $table);
unset($tables);
}
}
@@ -169,13 +176,11 @@
'table_comments' => (($_REQUEST['table_comments'] == 1) ? '1' : '0'),
'table_notifications' => (($_REQUEST['table_notifications'] == 1) ? '1' : '0')));
- if( $tables_Handler->insert($obj) ) {
- if( $obj->isNew() ) {
- $table_id = $xoops->db->getInsertId();
- $xoops->redirect('fields.php?op=new&field_mid='.$mid.'&field_tid='.$table_id.'&field_numb='.$table_nbfields.'&field_name='.$table_fieldname, 3, XoopsLocale::S_DATA_INSERTED);
- } else {
- $xoops->redirect('tables.php', 3, XoopsLocale::S_DATABASE_UPDATED);
- }
+ if( $tables_Handler->insert($obj) && $obj->isNew() ) {
+ $tid = $xoops->db()->getInsertId();
+ $xoops->redirect('fields.php?op=new&field_mid='.$mid.'&field_tid='.$tid.'&field_numb='.$table_nbfields.'&field_name='.$table_fieldname, 3, XoopsLocale::S_DATA_INSERTED);
+ } elseif($tables_Handler->insert($obj) && !$obj->isNew() ) {
+ $xoops->redirect('tables.php', 3, XoopsLocale::S_DATABASE_UPDATED);
}
$xoops->error($obj->getHtmlErrors());
Index: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files 2013-03-19 09:22:26 UTC (rev 11252)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files 2013-03-19 10:16:42 UTC (rev 11253)
Property changes on: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files
___________________________________________________________________
Added: tsvn:autoprops
## -0,0 +1 ##
+*.php = svn:executable=*;svn:keywords=Author Date Id Rev URL;
\ No newline at end of property
Added: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_admin.php
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_admin.php (rev 0)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_admin.php 2013-03-19 10:16:42 UTC (rev 11253)
@@ -0,0 +1,27 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+*/
+
+/**
+ * tdmcreate module
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package tdmcreate
+ * @since 2.6.0
+ * @author Timgno <txm...@gm...>
+ * @version $Id$
+ */
+defined('XOOPS_ROOT_PATH') or die("Restricted access");
+
+class TDMCreateClassesAdmin extends TDMCreateFile
+{
+
+}
\ No newline at end of file
Property changes on: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_admin.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_blocks.php
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_blocks.php (rev 0)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_blocks.php 2013-03-19 10:16:42 UTC (rev 11253)
@@ -0,0 +1,27 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+*/
+
+/**
+ * tdmcreate module
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package tdmcreate
+ * @since 2.6.0
+ * @author Timgno <txm...@gm...>
+ * @version $Id$
+ */
+defined('XOOPS_ROOT_PATH') or die("Restricted access");
+
+class TDMCreateClassesBlocks extends TDMCreateFile
+{
+
+}
\ No newline at end of file
Property changes on: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_blocks.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_class.php
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_class.php (rev 0)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_class.php 2013-03-19 10:16:42 UTC (rev 11253)
@@ -0,0 +1,27 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+*/
+
+/**
+ * tdmcreate module
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package tdmcreate
+ * @since 2.6.0
+ * @author Timgno <txm...@gm...>
+ * @version $Id$
+ */
+defined('XOOPS_ROOT_PATH') or die("Restricted access");
+
+class TDMCreateClassesClass extends TDMCreateFile
+{
+
+}
\ No newline at end of file
Property changes on: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_class.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_include.php
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_include.php (rev 0)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_include.php 2013-03-19 10:16:42 UTC (rev 11253)
@@ -0,0 +1,27 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+*/
+
+/**
+ * tdmcreate module
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package tdmcreate
+ * @since 2.6.0
+ * @author Timgno <txm...@gm...>
+ * @version $Id$
+ */
+defined('XOOPS_ROOT_PATH') or die("Restricted access");
+
+class TDMCreateClassesInclude extends TDMCreateFile
+{
+
+}
\ No newline at end of file
Property changes on: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_include.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_locale.php
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_locale.php (rev 0)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_locale.php 2013-03-19 10:16:42 UTC (rev 11253)
@@ -0,0 +1,27 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+*/
+
+/**
+ * tdmcreate module
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package tdmcreate
+ * @since 2.6.0
+ * @author Timgno <txm...@gm...>
+ * @version $Id$
+ */
+defined('XOOPS_ROOT_PATH') or die("Restricted access");
+
+class TDMCreateClassesLocale extends TDMCreateFile
+{
+
+}
\ No newline at end of file
Property changes on: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_locale.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_templates.php
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_templates.php (rev 0)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_templates.php 2013-03-19 10:16:42 UTC (rev 11253)
@@ -0,0 +1,27 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+*/
+
+/**
+ * tdmcreate module
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package tdmcreate
+ * @since 2.6.0
+ * @author Timgno <txm...@gm...>
+ * @version $Id$
+ */
+defined('XOOPS_ROOT_PATH') or die("Restricted access");
+
+class TDMCreateClassesTemplates extends TDMCreateFile
+{
+
+}
\ No newline at end of file
Property changes on: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_templates.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_user.php
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_user.php (rev 0)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_user.php 2013-03-19 10:16:42 UTC (rev 11253)
@@ -0,0 +1,27 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+*/
+
+/**
+ * tdmcreate module
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package tdmcreate
+ * @since 2.6.0
+ * @author Timgno <txm...@gm...>
+ * @version $Id$
+ */
+defined('XOOPS_ROOT_PATH') or die("Restricted access");
+
+class TDMCreateClassesUser extends TDMCreateFile
+{
+
+}
\ No newline at end of file
Property changes on: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/classes_user.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/index.html
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/index.html (rev 0)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/files/index.html 2013-03-19 10:16:42 UTC (rev 11253)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Modified: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/form/modules.php
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/form/modules.php 2013-03-19 09:22:26 UTC (rev 11252)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/class/form/modules.php 2013-03-19 10:16:42 UTC (rev 11253)
@@ -102,7 +102,7 @@
$imgtray->addElement($imageselect);
$imgtray->addElement( new XoopsFormLabel( '', "<br /><img src='".XOOPS_URL."/".$uploadir."/".$module_image."' name='image3' id='image3' alt='' />" ) );
$fileseltray = new XoopsFormElementTray('','<br />');
- $fileseltray->addElement(new XoopsFormFile(XoopsLocale::A_UPLOAD , 'modules_image', $xoops->getModuleConfig('maxuploadsize')));
+ $fileseltray->addElement(new XoopsFormFile(XoopsLocale::A_UPLOAD , 'modules_image', $xoops->getModuleConfig('maxuploadsize')), true);
$fileseltray->addElement(new XoopsFormLabel(''));
$imgtray->addElement($fileseltray);
$tab1->addElement($imgtray);
@@ -141,9 +141,9 @@
$button_tray = new XoopsFormElementTray('', '');
$button_tray->addElement(new XoopsFormHidden('op', 'save'));
- $button_2 = new XoopsFormButton('', 'submit', XoopsLocale::A_SUBMIT, 'submit' );
- $button_2->setClass('btn');
- $button_tray->addElement($button_2);
+ $button = new XoopsFormButton('', 'submit', XoopsLocale::A_SUBMIT, 'submit' );
+ $button->setClass('btn');
+ $button_tray->addElement($button);
$tab2->addElement($button_tray);
$tabtray->addElement($tab2);
Modified: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/locale/en_US/en_US.php
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/locale/en_US/en_US.php 2013-03-19 09:22:26 UTC (rev 11252)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/locale/en_US/en_US.php 2013-03-19 10:16:42 UTC (rev 11253)
@@ -86,6 +86,8 @@
const CONF_AUTHOR_WEBSITE_URL = "Author's Website URL";
const CONF_AUTHOR_WEBSITE_NAME = "Author's Website Name";
const CONF_ACTIVE_NOTIFICATIONS = "Allow Notifications";
+ const CONF_BREAK_GENERAL = "General settings";
+ const CONF_BREAK_MODULE = "Module settings";
const CONF_CREDITS = "Credits";
const CONF_DEMO_SITE_URL = "Demo Website URL";
const CONF_DEMO_SITE_NAME = "Demo Website Name";
Modified: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_fields.html
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_fields.html 2013-03-19 09:22:26 UTC (rev 11252)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_fields.html 2013-03-19 10:16:42 UTC (rev 11253)
@@ -25,20 +25,20 @@
<td class='txtcenter'><{$table.id}></td>
<td class='txtcenter'><{$table.name}></td>
<td class='txtcenter'><{$table.nbfields}></td> <!-- uploads/tdmcreate/images/tables -->
- <td class='txtcenter'><img src='<{xoAppUrl media/xoops/images/icons/32}>/<{$table.image}>' height='25px' title='<{$table.name}>' alt='<{$table.name}>' /></td>
- <td class='center'><img src='<{if $table.admin}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /></td>
- <td class='center'><img src='<{if $table.user}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /></td>
- <td class='center'><img src='<{if $table.submenu}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /></td>
- <td class='center'><img src='<{if $table.search}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /></td>
- <td class='center'><img src='<{if $table.comments}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /></td>
+ <td class='txtcenter'><img src='<{xoAppUrl modules/tdmcreate/icons/32}>/<{$table.image}>' height='25px' title='<{$table.name}>' alt='<{$table.name}>' /></td>
+ <td class='center'><img src='<{if $table.admin}><{xoAppUrl modules/tdmcreate/icons/16/green.gif}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.gif}><{/if}>' /></td>
+ <td class='center'><img src='<{if $table.user}><{xoAppUrl modules/tdmcreate/icons/16/green.gif}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.gif}><{/if}>' /></td>
+ <td class='center'><img src='<{if $table.submenu}><{xoAppUrl modules/tdmcreate/icons/16/green.gif}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.gif}><{/if}>' /></td>
+ <td class='center'><img src='<{if $table.search}><{xoAppUrl modules/tdmcreate/icons/16/green.gif}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.gif}><{/if}>' /></td>
+ <td class='center'><img src='<{if $table.comments}><{xoAppUrl modules/tdmcreate/icons/16/green.gif}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.gif}><{/if}>' /></td>
<td class='center'>
- <img src='<{if $table.notifications}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' />
+ <img src='<{if $table.notifications}><{xoAppUrl modules/tdmcreate/icons/16/green.gif}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.gif}><{/if}>' />
</td>
<td class='xo-actions txtcenter width6'>
<a href='tables.php?op=edit&id=<{$table.id}>' title='<{translate key="A_EDIT"}>'>
@@ -55,12 +55,12 @@
<td class='txtcenter'><{$field.name}></td>
<td class='txtcenter' colspan='3'> </td>
<td class='txtcenter'><{$field.nbfields}></td>
- <td class='txtcenter'><img src='<{if $mod.admin}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /><{$field.blocks}></td>
- <td class='txtcenter'><img src='<{if $mod.admin}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /><{$field.admin}></td>
- <td class='txtcenter'><img src='<{if $mod.admin}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /><{$field.user}></td>
+ <td class='txtcenter'><img src='<{if $mod.admin}><{xoAppUrl modules/tdmcreate/icons/16/green.gif}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.gif}><{/if}>' /><{$field.blocks}></td>
+ <td class='txtcenter'><img src='<{if $mod.admin}><{xoAppUrl modules/tdmcreate/icons/16/green.gif}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.gif}><{/if}>' /><{$field.admin}></td>
+ <td class='txtcenter'><img src='<{if $mod.admin}><{xoAppUrl modules/tdmcreate/icons/16/green.gif}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.gif}><{/if}>' /><{$field.user}></td>
<td class='xo-actions txtcenter width6'>
<a href='fields.php?op=edit&id=<{$field.id}>' title='<{translate key="A_EDIT"}>'>
<img src='<{xoAdminIcons edit.png}>' alt='<{translate key="A_EDIT"}>' /></a>
Modified: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_modules.html
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_modules.html 2013-03-19 09:22:26 UTC (rev 11252)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_modules.html 2013-03-19 10:16:42 UTC (rev 11253)
@@ -29,18 +29,18 @@
<td class='txtcenter'><img src='<{xoAppUrl uploads/tdmcreate/images/modules}>/<{$mod.image}>' height='15px' title='<{$mod.name}>' alt='<{$mod.name}>' /></td>
<td class='txtcenter'><{$mod.release}></td>
<td class='txtcenter'><{$mod.status}></td>
- <td class='txtcenter'><img src='<{if $mod.admin}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /></td>
- <td class='txtcenter'><img src='<{if $mod.user}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /></td>
- <td class='txtcenter'><img src='<{if $mod.submenu}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /></td>
- <td class='txtcenter'><img src='<{if $mod.search}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /></td>
- <td class='txtcenter'><img src='<{if $mod.comments}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /></td>
- <td class='txtcenter'><img src='<{if $mod.notifications}><{xoAppUrl media/xoops/images/icons/16/green.gif}>
- <{else}><{xoAppUrl media/xoops/images/icons/16/red.gif}><{/if}>' /></td>
+ <td class='txtcenter'><img src='<{if $mod.admin}><{xoAppUrl modules/tdmcreate/icons/16/green.png}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.png}><{/if}>' /></td>
+ <td class='txtcenter'><img src='<{if $mod.user}><{xoAppUrl modules/tdmcreate/icons/16/green.png}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.png}><{/if}>' /></td>
+ <td class='txtcenter'><img src='<{if $mod.submenu}><{xoAppUrl modules/tdmcreate/icons/16/green.png}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.png}><{/if}>' /></td>
+ <td class='txtcenter'><img src='<{if $mod.search}><{xoAppUrl modules/tdmcreate/icons/16/green.png}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.png}><{/if}>' /></td>
+ <td class='txtcenter'><img src='<{if $mod.comments}><{xoAppUrl modules/tdmcreate/icons/16/green.png}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.png}><{/if}>' /></td>
+ <td class='txtcenter'><img src='<{if $mod.notifications}><{xoAppUrl modules/tdmcreate/icons/16/green.png}>
+ <{else}><{xoAppUrl modules/tdmcreate/icons/16/red.png}><{/if}>' /></td>
<td class='xo-actions txtcenter width6'>
<a href='modules.php?op=edit&mod_id=<{$mod.id}>' title='<{translate key="A_EDIT"}>'>
<img src='<{xoAdminIcons edit.png}>' alt='<{translate key="A_EDIT"}>' /></a>
Modified: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_tables.html
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_tables.html 2013-03-19 09:22:26 UTC (rev 11252)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/templates/admin/tdmcreate_tables.html 2013-03-19 10:16:42 UTC (rev 11253)
@@ -28,7 +28,7 @@
<td class='center'><{$module.id}></td>
<td class='center'><{$module.name}></td>
<td class='center'><{$module.version}></td>
- <td class='center'><img src='<{xoAppUrl uploads/tdmcreate/images/modules}>/<{$module.image}>' height='20px' title='<{$module.name}>' alt='<{$module.name}>' /></td>
+ <td class='center'><img src='<{xoAppUrl uploads/tdmcreate/images/modules}>/<{$module.image}>' height='20px' title='<{$module.name}>' alt='<{$module.name}>' /></td>
<td class='center'><{$module.release}></td>
<td class='center'><{$module.status}></td>
<td class='center'><img src='<{xoAppUrl modules/tdmcreate/icons/16/fields.png}>' /></td>
@@ -58,7 +58,7 @@
<td class='center'><{$table.id}></td>
<td class='center'><{$table.name}></td>
<td class='center'><{$table.mid}></td> <!-- uploads/tdmcreate/images/tables -->
- <td class='center'><img src='<{xoAppUrl modules/tdmcreate/icons/32}>/<{$table.image}>' height='20px' title='<{$table.name}>' alt='<{$table.name}>' /></td>
+ <td class='center'><img src='<{xoAppUrl media/xoops/images/icons/32}>/<{$table.image}>' title='<{$table.name}>' alt='<{$table.name}>' height='20px' /></td>
<td class='center'> </td>
<td class='center'> </td>
<td class='center'><{$table.nbfields}></td>
Modified: XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/xoops_version.php
===================================================================
--- XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/xoops_version.php 2013-03-19 09:22:26 UTC (rev 11252)
+++ XoopsModules26/tdmcreate/branches/2.01/timgno/tdmcreate/xoops_version.php 2013-03-19 10:16:42 UTC (rev 11253)
@@ -40,8 +40,8 @@
$modversion['release_date'] = '2012/12/27';
$modversion['module_website_url'] = 'http://www.xoops.org/';
$modversion['module_website_name'] = 'XOOPS';
-$modversion['module_status'] = 'ALPHA';
-$modversion['min_php'] = '5.2';
+$modversion['module_status'] = 'Alpha';
+$modversion['min_php'] = '5.3';
$modversion['min_xoops'] = '2.6.0';
$modversion['min_db'] = array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7');
// paypal
@@ -89,7 +89,14 @@
/*
Preferences
*/
-$i = 0;/* */
+$i = 1;
+$modversion['config'][$i]['name'] = 'break' . $i;
+$modversion['config'][$i]['title'] = TDMCreateLocale::CONF_BREAK_GENERAL;
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'line_break';
+$modversion['config'][$i]['valuetype'] = 'textbox';
+$modversion['config'][$i]['default'] = 'head';
+$i++;
$editors = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/class/xoopseditor');
$modversion['config'][$i]['name'] = 'editor';
$modversion['config'][$i]['title'] = TDMCreateLocale::CONF_EDITOR;
@@ -124,6 +131,13 @@
$modversion['config'][$i]['valuetype'] = 'int';
$modversion['config'][$i]['default'] = 20;
$i++;
+$modversion['config'][$i]['name'] = 'break' . $i;
+$modversion['config'][$i]['title'] = TDMCreateLocale::CONF_BREAK_MODULE;
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'line_break';
+$modversion['config'][$i]['valuetype'] = 'textbox';
+$modversion['config'][$i]['default'] = 'head';
+$i++;
$modversion['config'][$i]['name'] = 'name';
$modversion['config'][$i]['title'] = TDMCreateLocale::CONF_NAME;
$modversion['config'][$i]['description'] = '';
@@ -241,7 +255,7 @@
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'textbox';
$modversion['config'][$i]['valuetype'] = 'text';
-$modversion['config'][$i]['default'] = 'www.xoops.org';
+$modversion['config'][$i]['default'] = 'http://xoops.org/forums/newbb';
$i++;
$modversion['config'][$i]['name'] = 'support_name';
$modversion['config'][$i]['title'] = TDMCreateLocale::CONF_SUPPORT_NAME;
@@ -255,7 +269,7 @@
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'textbox';
$modversion['config'][$i]['valuetype'] = 'text';
-$modversion['config'][$i]['default'] = 'http://xoops.org/forums/newbb';
+$modversion['config'][$i]['default'] = 'www.xoops.org';
$i++;
$modversion['config'][$i]['name'] = 'website_name';
$modversion['config'][$i]['title'] = TDMCreateLocale::CONF_WEBSITE_NAME;
|