|
From: <txm...@us...> - 2014-07-07 14:15:39
|
Revision: 12684
http://sourceforge.net/p/xoops/svn/12684
Author: txmodxoops
Date: 2014-07-07 14:15:31 +0000 (Mon, 07 Jul 2014)
Log Message:
-----------
- Renamed directory name from TDMCreate to tdmcreate
- Fix bug
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/about.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/building.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/menu.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/modules.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/admin/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/admin/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/admin/style.css
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/style.css
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/empty.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/arrow.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/blocks.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/drag.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/editfields.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/left_right.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/nb_fields.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/spinner.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/submenu.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/tables.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/toggle.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/addmodule.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/addtable.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/builder.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/dashboard.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/edittable.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/fields.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/blank.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/loading.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/loading.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logo.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/VeraBd.ttf
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/empty.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/green.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/red.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/xoops2.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/xoopsdevelopmentteam_logo.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/naked.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/xcvLogo.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/fields.js
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/functions.js
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/autoloader.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/building.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fieldattributes.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fieldelements.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fieldkey.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fieldnull.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fieldtype.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/abstract.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/about.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/menu.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/objects.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/permissions.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/blocks/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/blocks/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/blocks/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/classes/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/classes/classes.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/classes/formelements.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/classes/helper.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/classes/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/css/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/css/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/css/styles.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/docs/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/docs/changelog.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/docs/docs.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/docs/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/file.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/htmlsmartycodes.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/comment_functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/comments.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/common.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/install.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/jquery.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/notifications.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/search.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/update.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/help.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/mail.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/main.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/modinfo.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/sql/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/sql/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/sql/mysql.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/structure.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/tablefields.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/about.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/permissions.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/blocks/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/blocks/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/blocks/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/notification_update.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/objects.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/print.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/rss.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/submit.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/xoopsversion.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/form/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/form/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/form/themeform.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/helper.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/html/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/html/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/html/simplelabel.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/logoGenerator.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/modules.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/session.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/changelog.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/credits.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/install.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/lang_diff.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/license.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/readme.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/common.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/install.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/install_copy.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/update.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/help/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/help/help.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/help/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/modinfo.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.0 to 1.1.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.1 to 1.15.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.1 to 1.37.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.15 to 1.37.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.37 to 1.38.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.38 to 1.39.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/sql/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/sql/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/sql/mysql.sql
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_about.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_building.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_fields.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_footer.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_header.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_index.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_modules.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_tables.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/xoops_version.php
Added: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/about.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/about.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/about.php 2014-07-07 14:15:31 UTC (rev 12684)
@@ -0,0 +1,25 @@
+<?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.5.0
+ * @author Txmod Xoops http://www.txmodxoops.org
+ * @version $Id: about.php 11084 2013-02-23 15:44:20Z timgno $
+ */
+include 'header.php';
+$template_main = 'tdmcreate_about.tpl';
+$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('about.php'));
+$GLOBALS['xoopsTpl']->assign('about', $adminMenu->renderAbout('6KJ7RW5DR3VTJ', false));
+include 'footer.php';
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/building.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/building.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/building.php 2014-07-07 14:15:31 UTC (rev 12684)
@@ -0,0 +1,97 @@
+<?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.5.0
+ * @author Txmod Xoops http://www.txmodxoops.org
+ * @version $Id: building.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+include 'header.php';
+$op = XoopsRequest::getString('op', 'default');
+$mid = XoopsRequest::getInt('mod_id');
+$moduleObj = $tdmcreate->getHandler('modules')->get( $mid );
+// Switch option
+switch ($op) {
+ case 'build':
+ $template_main = 'tdmcreate_building.tpl';
+ $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php'));
+ // Get var module dirname
+ $moduleDirname = $moduleObj->getVar('mod_dirname');
+ // Directories for copy from to
+ $fromDir = TDMC_UPLOAD_REPOSITORY_PATH.'/'.strtolower($moduleDirname);
+ $toDir = XOOPS_ROOT_PATH.'/modules/'.strtolower($moduleDirname);
+ if(isset($moduleDirname)) {
+ // Clear this module if it's in repository
+ if(is_dir($fromDir)) {
+ TDMCreate_clearDir($fromDir);
+ }
+ // Clear this module if it's in root/modules
+ if(is_dir($toDir)) {
+ TDMCreate_clearDir($toDir);
+ }
+ }
+ // Structure
+ include_once TDMC_PATH . '/class/files/architecture.php';
+ $handler = TDMCreateArchitecture::getInstance();
+ $handler->getPath( TDMC_PATH );
+ $handler->getUploadPath( TDMC_UPLOAD_PATH );
+ // Creation of the structure of folders and files
+ $base_architecture = $handler->createBaseFoldersFiles( $moduleObj );
+ if($base_architecture !== false) {
+ $GLOBALS['xoopsTpl']->assign('base_architecture', true);
+ } else {
+ $GLOBALS['xoopsTpl']->assign('base_architecture', false);
+ }
+ // Get files
+ $build = array();
+ $files = $handler->createFilesToBuilding( $moduleObj );
+ foreach($files as $file) {
+ if($file) {
+ $build['list'] = $file;
+ }
+ $GLOBALS['xoopsTpl']->append('builds', $build);
+ }
+ unset($build);
+ // Directory to saved all files
+ $GLOBALS['xoopsTpl']->assign('building_directory', sprintf(_AM_TDMCREATE_BUILDING_DIRECTORY, $moduleDirname));
+ // Copy this module in root modules
+ if( $moduleObj->getVar('mod_inroot_copy') == 1 ) {
+ TDMCreate_copyr($fromDir, $toDir);
+ }
+ break;
+
+ case 'default':
+ default:
+ $template_main = 'tdmcreate_building.tpl';
+ $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php'));
+ // Redirect if there aren't modules
+ $nbModules = $tdmcreate->getHandler('modules')->getCount();
+ if( $nbModules == 0 ) {
+ redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES );
+ }
+ unset($nbModules);
+ // Redirect if there aren't tables
+ $nbTables = $tdmcreate->getHandler('tables')->getCount();
+ if($nbTables == 0) {
+ redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES );
+ }
+ unset($nbTables);
+ include_once TDMC_PATH . '/class/building.php';
+ $handler = TDMCreateBuilding::getInstance();
+ $form = $handler->getForm();
+ $GLOBALS['xoopsTpl']->assign('form', $form->render());
+ break;
+}
+include 'footer.php';
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php 2014-07-07 14:15:31 UTC (rev 12684)
@@ -0,0 +1,329 @@
+<?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.5.0
+ * @author Txmod Xoops http://www.txmodxoops.org
+ * @version $Id: 1.91 fields.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+include 'header.php';
+// Recovered value of arguments op in the URL $
+$op = XoopsRequest::getString('op', 'list');
+// Get fields Variables
+$field_mid = TDMCreate_CleanVars($_REQUEST, 'field_mid');
+$fieldTid = TDMCreate_CleanVars($_REQUEST, 'field_tid');
+$fieldNumb = TDMCreate_CleanVars($_REQUEST, 'field_numb');
+$fieldName = TDMCreate_CleanVars($_REQUEST, 'field_name', '', 'string');/**/
+/*$field_mid = XoopsRequest::getInt('field_mid');
+$fieldTid = XoopsRequest::getInt('field_tid');
+$fieldNumb = XoopsRequest::getInt('field_numb');
+$fieldName = XoopsRequest::getString('field_name', ''); */
+//
+switch ($op)
+{
+ case 'list':
+ default:
+ $start = XoopsRequest::getInt('start', 0);
+ $limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('tables_adminpager'));
+ // Define main template
+ $template_main = 'tdmcreate_fields.tpl';
+ $GLOBALS['xoTheme']->addStylesheet( 'modules/TDMCreate/assets/css/admin/style.css' );
+ $GLOBALS['xoTheme']->addScript('modules/TDMCreate/assets/js/functions.js');
+ $GLOBALS['xoTheme']->addScript('modules/TDMCreate/assets/js/fields.js');
+ $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php'));
+ $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add');
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
+ $GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL);
+ $GLOBALS['xoopsTpl']->assign('tdmc_icons_url', TDMC_ICONS_URL);
+ $GLOBALS['xoopsTpl']->assign('tdmc_upload_url', TDMC_UPLOAD_URL);
+ $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgtab_url', TDMC_UPLOAD_IMGTAB_URL);
+ $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16);
+ $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32);
+ //var_dump($sysPathIcon32);
+ // Redirect if there aren't modules
+ $nb_modules = $tdmcreate->getHandler('modules')->getCount();
+ if ( $nb_modules == 0 ) {
+ redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES );
+ }
+ unset($nb_modules);
+ // Redirect if there aren't tables
+ $nb_tables = $tdmcreate->getHandler('tables')->getCount();
+ if ($nb_tables == 0) {
+ redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES );
+ }
+ unset($nb_tables);
+ // Get the list of tables
+ $criteria = new CriteriaCompo();
+ $criteria->setSort('table_id ASC, table_name');
+ $criteria->setOrder('ASC');
+ $nb_tables = $tdmcreate->getHandler('tables')->getCount($criteria);
+ $tables_arr = $tdmcreate->getHandler('tables')->getAll($criteria);
+ unset($criteria);
+ if ($nb_tables > 0)
+ {
+ foreach (array_keys($tables_arr) as $tid)
+ {
+ // Display tables list
+ $table['id'] = $tid;
+ $table['mid'] = $tables_arr[$tid]->getVar('table_mid');
+ $table['name'] = ucfirst($tables_arr[$tid]->getVar('table_name'));
+ $table['image'] = $tables_arr[$tid]->getVar('table_image');
+ $table['nbfields'] = $tables_arr[$tid]->getVar('table_nbfields');
+ $table['autoincrement'] = $tables_arr[$tid]->getVar('table_autoincrement');
+ $table['blocks'] = $tables_arr[$tid]->getVar('table_blocks');
+ $table['admin'] = $tables_arr[$tid]->getVar('table_admin');
+ $table['user'] = $tables_arr[$tid]->getVar('table_user');
+ $table['search'] = $tables_arr[$tid]->getVar('table_search');
+ // Get the list of fields
+ $criteria = new CriteriaCompo();
+ $criteria->add(new Criteria('field_tid', $tid));
+ $criteria->setSort('field_id ASC, field_name');
+ $criteria->setOrder('ASC');
+ $nb_fields = $tdmcreate->getHandler('fields')->getCount($criteria);
+ $fields_arr = $tdmcreate->getHandler('fields')->getObjects($criteria);
+ unset($criteria);
+ // Display fields list
+ $fields = array();
+ $lid = 1;
+ if ( $nb_fields > 0 )
+ {
+ foreach (array_keys($fields_arr) as $fid)
+ {
+ $field['id'] = $fid;
+ $field['lid'] = $lid;
+ $field['name'] = str_replace('_', ' ', ucfirst($fields_arr[$fid]->getVar('field_name')));
+ $field['parent'] = $fields_arr[$fid]->getVar('field_parent');
+ $field['inlist'] = $fields_arr[$fid]->getVar('field_inlist');
+ $field['inform'] = $fields_arr[$fid]->getVar('field_inform');
+ $field['admin'] = $fields_arr[$fid]->getVar('field_admin');
+ $field['user'] = $fields_arr[$fid]->getVar('field_user');
+ $field['block'] = $fields_arr[$fid]->getVar('field_block');
+ $field['main'] = $fields_arr[$fid]->getVar('field_main');
+ $field['search'] = $fields_arr[$fid]->getVar('field_search');
+ $field['required'] = $fields_arr[$fid]->getVar('field_required');
+ $fields[] = $field;
+ unset($field);
+ $lid++;
+ }
+ }
+ unset($lid);
+ $table['fields'] = $fields;
+ $GLOBALS['xoopsTpl']->append('tables_list', $table);
+ unset($table);
+ }
+ if ( $nb_tables > $limit ) {
+ ...
[truncated message content] |
|
From: <txm...@us...> - 2014-07-09 07:55:00
|
Revision: 12690
http://sourceforge.net/p/xoops/svn/12690
Author: txmodxoops
Date: 2014-07-09 07:54:43 +0000 (Wed, 09 Jul 2014)
Log Message:
-----------
- Fixed bugs
- Updated
- Still work to do
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/about.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/building.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/menu.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/modules.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/admin/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/admin/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/admin/style.css
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/css/style.css
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/empty.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/arrow.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/blocks.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/drag.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/editfields.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/fields.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/left_right.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/spinner.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/submenu.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/tables.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/16/toggle.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/addmodule.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/addtable.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/builder.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/dashboard.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/edittable.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/fields.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/32/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/blank.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/icons/loading.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/loading.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logo.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/VeraBd.ttf
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/empty.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/green.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/red.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/xoops2.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/logos/xoopsdevelopmentteam_logo.gif
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/naked.png
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/images/xcvLogo.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/fields.js
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/functions.js
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/assets/js/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/autoloader.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/building.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fieldattributes.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fieldelements.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fieldkey.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fieldnull.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/fieldtype.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/abstract.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/about.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/menu.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/objects.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/admin/permissions.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/blocks/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/blocks/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/blocks/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/classes/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/classes/classes.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/classes/formelements.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/classes/helper.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/classes/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/css/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/css/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/css/styles.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/docs/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/docs/changelog.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/docs/docs.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/docs/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/file.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/htmlsmartycodes.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/comment_functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/comments.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/common.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/install.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/jquery.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/notifications.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/search.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/include/update.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/help.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/mail.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/main.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/language/modinfo.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/sql/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/sql/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/sql/mysql.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/structure.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/tablefields.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/about.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/admin/permissions.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/blocks/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/blocks/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/blocks/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/templates/user/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/notification_update.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/objects.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/print.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/rss.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/submit.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/files/user/xoopsversion.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/form/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/form/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/form/themeform.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/helper.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/html/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/html/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/html/simplelabel.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/logoGenerator.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/modules.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/session.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/class/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/changelog.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/credits.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/install.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/lang_diff.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/license.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/docs/readme.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/common.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/install.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/install_copy.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/include/update.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/help/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/help/help.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/help/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/english/modinfo.php
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.0 to 1.1.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.1 to 1.15.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.1 to 1.37.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.15 to 1.37.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.37 to 1.38.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/language/update language 1.38 to 1.39.txt
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/sql/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/sql/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/sql/mysql.sql
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_about.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_building.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_fields.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_footer.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_header.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_index.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_modules.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/admin/tdmcreate_tables.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/templates/index.html
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/xoops_version.php
Removed Paths:
-------------
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/
Added: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/about.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/about.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/about.php 2014-07-09 07:54:43 UTC (rev 12690)
@@ -0,0 +1,25 @@
+<?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.5.0
+ * @author Txmod Xoops http://www.txmodxoops.org
+ * @version $Id: about.php 11084 2013-02-23 15:44:20Z timgno $
+ */
+include 'header.php';
+$template_main = 'tdmcreate_about.tpl';
+$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('about.php'));
+$GLOBALS['xoopsTpl']->assign('about', $adminMenu->renderAbout('6KJ7RW5DR3VTJ', false));
+include 'footer.php';
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/building.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/building.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/building.php 2014-07-09 07:54:43 UTC (rev 12690)
@@ -0,0 +1,97 @@
+<?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.5.0
+ * @author Txmod Xoops http://www.txmodxoops.org
+ * @version $Id: building.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+include 'header.php';
+$op = XoopsRequest::getString('op', 'default');
+$mid = XoopsRequest::getInt('mod_id');
+$moduleObj = $tdmcreate->getHandler('modules')->get( $mid );
+// Switch option
+switch ($op) {
+ case 'build':
+ $template_main = 'tdmcreate_building.tpl';
+ $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php'));
+ // Get var module dirname
+ $moduleDirname = $moduleObj->getVar('mod_dirname');
+ // Directories for copy from to
+ $fromDir = TDMC_UPLOAD_REPOSITORY_PATH.'/'.strtolower($moduleDirname);
+ $toDir = XOOPS_ROOT_PATH.'/modules/'.strtolower($moduleDirname);
+ if(isset($moduleDirname)) {
+ // Clear this module if it's in repository
+ if(is_dir($fromDir)) {
+ TDMCreate_clearDir($fromDir);
+ }
+ // Clear this module if it's in root/modules
+ if(is_dir($toDir)) {
+ TDMCreate_clearDir($toDir);
+ }
+ }
+ // Structure
+ include_once TDMC_PATH . '/class/files/architecture.php';
+ $handler = TDMCreateArchitecture::getInstance();
+ $handler->getPath( TDMC_PATH );
+ $handler->getUploadPath( TDMC_UPLOAD_PATH );
+ // Creation of the structure of folders and files
+ $base_architecture = $handler->createBaseFoldersFiles( $moduleObj );
+ if($base_architecture !== false) {
+ $GLOBALS['xoopsTpl']->assign('base_architecture', true);
+ } else {
+ $GLOBALS['xoopsTpl']->assign('base_architecture', false);
+ }
+ // Get files
+ $build = array();
+ $files = $handler->createFilesToBuilding( $moduleObj );
+ foreach($files as $file) {
+ if($file) {
+ $build['list'] = $file;
+ }
+ $GLOBALS['xoopsTpl']->append('builds', $build);
+ }
+ unset($build);
+ // Directory to saved all files
+ $GLOBALS['xoopsTpl']->assign('building_directory', sprintf(_AM_TDMCREATE_BUILDING_DIRECTORY, $moduleDirname));
+ // Copy this module in root modules
+ if( $moduleObj->getVar('mod_inroot_copy') == 1 ) {
+ TDMCreate_copyr($fromDir, $toDir);
+ }
+ break;
+
+ case 'default':
+ default:
+ $template_main = 'tdmcreate_building.tpl';
+ $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php'));
+ // Redirect if there aren't modules
+ $nbModules = $tdmcreate->getHandler('modules')->getCount();
+ if( $nbModules == 0 ) {
+ redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES );
+ }
+ unset($nbModules);
+ // Redirect if there aren't tables
+ $nbTables = $tdmcreate->getHandler('tables')->getCount();
+ if($nbTables == 0) {
+ redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES );
+ }
+ unset($nbTables);
+ include_once TDMC_PATH . '/class/building.php';
+ $handler = TDMCreateBuilding::getInstance();
+ $form = $handler->getForm();
+ $GLOBALS['xoopsTpl']->assign('form', $form->render());
+ break;
+}
+include 'footer.php';
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/admin/fields.php 2014-07-09 07:54:43 UTC (rev 12690)
@@ -0,0 +1,330 @@
+<?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.5.0
+ * @author Txmod Xoops http://www.txmodxoops.org
+ * @version $Id: 1.91 fields.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+include 'header.php';
+// Recovered value of arguments op in the URL $
+$op = XoopsRequest::getString('op', 'list');
+// Get fields Variables
+$field_mid = TDMCreate_CleanVars($_REQUEST, 'field_mid');
+$fieldTid = TDMCreate_CleanVars($_REQUEST, 'field_tid');
+$fieldNumb = TDMCreate_CleanVars($_REQUEST, 'field_numb');
+$fieldName = TDMCreate_CleanVars($_REQUEST, 'field_name', '', 'string');/**/
+/*$field_mid = XoopsRequest::getInt('field_mid');
+$fieldTid = XoopsRequest::getInt('field_tid');
+$fieldNumb = XoopsRequest::getInt('field_numb');
+$fieldName = XoopsRequest::getString('field_name', ''); */
+//
+switch ($op)
+{
+ case 'list':
+ default:
+ $start = XoopsRequest::getInt('start', 0);
+ $limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('tables_adminpager'));
+ // Define main template
+ $template_main = 'tdmcreate_fields.tpl';
+ $GLOBALS['xoTheme']->addStylesheet( 'modules/TDMCreate/assets/css/admin/style.css' );
+ $GLOBALS['xoTheme']->addScript('modules/TDMCreate/assets/js/functions.js');
+ $GLOBALS['xoTheme']->addScript('modules/TDMCreate/assets/js/fields.js');
+ $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php'));
+ $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add');
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
+ $GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL);
+ $GLOBALS['xoopsTpl']->assign('tdmc_icons_url', TDMC_ICONS_URL);
+ $GLOBALS['xoopsTpl']->assign('tdmc_upload_url', TDMC_UPLOAD_URL);
+ $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgtab_url', TDMC_UPLOAD_IMGTAB_URL);
+ $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16);
+ $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32);
+ //var_dump($sysPathIcon32);
+ // Redirect if there aren't modules
+ $nb_modules = $tdmcreate->getHandler('modules')->getCount();
+ if ( $nb_modules == 0 ) {
+ redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES );
+ }
+ unset($nb_modules);
+ // Redirect if there aren't tables
+ $nb_tables = $tdmcreate->getHandler('tables')->getCount();
+ if ($nb_tables == 0) {
+ redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES );
+ }
+ unset($nb_tables);
+ // Get the list of tables
+ $criteria = new CriteriaCompo();
+ $criteria->setSort('table_id ASC, table_name');
+ $criteria->setOrder('ASC');
+ $nb_tables = $tdmcreate->getHandler('tables')->getCount($criteria);
+ $tables_arr = $tdmcreate->getHandler('tables')->getAll($criteria);
+ unset($criteria);
+ if ($nb_tables > 0)
+ {
+ foreach (array_keys($tables_arr) as $tid)
+ {
+ // Display tables list
+ $table['id'] = $tid;
+ $table['mid'] = $tables_arr[$tid]->getVar('table_mid');
+ $table['name'] = ucfirst($tables_arr[$tid]->getVar('table_name'));
+ $table['image'] = $tables_arr[$tid]->getVar('table_image');
+ $table['nbfields'] = $tables_arr[$tid]->getVar('table_nbfields');
+ $table['autoincrement'] = $tables_arr[$tid]->getVar('table_autoincrement');
+ $table['blocks'] = $tables_arr[$tid]->getVar('table_blocks');
+ $table['admin'] = $tables_arr[$tid]->getVar('table_admin');
+ $table['user'] = $tables_arr[$tid]->getVar('table_user');
+ $table['search'] = $tables_arr[$tid]->getVar('table_search');
+ // Get the list of fields
+ $criteria = new CriteriaCompo();
+ $criteria->add(new Criteria('field_tid', $tid));
+ $criteria->setSort('field_id ASC, field_name');
+ $criteria->setOrder('ASC');
+ $nb_fields = $tdmcreate->getHandler('fields')->getCount($criteria);
+ $fields_arr = $tdmcreate->getHandler('fields')->getObjects($criteria);
+ unset($criteria);
+ // Display fields list
+ $fields = array();
+ $lid = 1;
+ if ( $nb_fields > 0 )
+ {
+ foreach (array_keys($fields_arr) as $fid)
+ {
+ $field['id'] = $fid;
+ $field['lid'] = $lid;
+ $field['name'] = str_replace('_', ' ', ucfirst($fields_arr[$fid]->getVar('field_name')));
+ $field['parent'] = $fields_arr[$fid]->getVar('field_parent');
+ $field['inlist'] = $fields_arr[$fid]->getVar('field_inlist');
+ $field['inform'] = $fields_arr[$fid]->getVar('field_inform');
+ $field['admin'] = $fields_arr[$fid]->getVar('field_admin');
+ $field['user'] = $fields_arr[$fid]->getVar('field_user');
+ $field['block'] = $fields_arr[$fid]->getVar('field_block');
+ $field['main'] = $fields_arr[$fid]->getVar('field_main');
+ $field['search'] = $fields_arr[$fid]->getVar('field_search');
+ $field['required'] = $fields_arr[$fid]->getVar('field_required');
+ $fields[] = $field;
+ unset($field);
+ $lid++;
+ }
+ }
+ unset($lid);
+ $table['fields'] = $fields;
+ $GLOBALS['xoopsTpl']->append('tables_list', $table);
...
[truncated message content] |
|
From: <txm...@us...> - 2014-07-10 18:47:08
|
Revision: 12696
http://sourceforge.net/p/xoops/svn/12696
Author: txmodxoops
Date: 2014-07-10 18:47:00 +0000 (Thu, 10 Jul 2014)
Log Message:
-----------
- Renamed directory name from TDMCreate to tdmcreate
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/tdmcreate/
Removed Paths:
-------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/
|