You can subscribe to this list here.
| 2012 |
Jan
|
Feb
(214) |
Mar
(139) |
Apr
(198) |
May
(187) |
Jun
(151) |
Jul
(210) |
Aug
(169) |
Sep
(58) |
Oct
(53) |
Nov
(54) |
Dec
(301) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2013 |
Jan
(348) |
Feb
(178) |
Mar
(219) |
Apr
(154) |
May
(117) |
Jun
(194) |
Jul
(61) |
Aug
(132) |
Sep
(121) |
Oct
(110) |
Nov
(11) |
Dec
(18) |
| 2014 |
Jan
(34) |
Feb
(50) |
Mar
(82) |
Apr
(98) |
May
(39) |
Jun
(111) |
Jul
(67) |
Aug
(36) |
Sep
(33) |
Oct
(26) |
Nov
(53) |
Dec
(44) |
| 2015 |
Jan
(29) |
Feb
(47) |
Mar
(25) |
Apr
(19) |
May
(23) |
Jun
(20) |
Jul
(49) |
Aug
(7) |
Sep
(10) |
Oct
(10) |
Nov
(4) |
Dec
(25) |
| 2016 |
Jan
(8) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(7) |
Dec
(5) |
| 2017 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(15) |
Jun
|
Jul
(18) |
Aug
(24) |
Sep
|
Oct
(14) |
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
(22) |
Mar
|
Apr
(11) |
May
(1) |
Jun
(17) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(5) |
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <txm...@us...> - 2014-07-01 14:18:22
|
Revision: 12667
http://sourceforge.net/p/xoops/svn/12667
Author: txmodxoops
Date: 2014-07-01 14:18:13 +0000 (Tue, 01 Jul 2014)
Log Message:
-----------
Added frameworks/moduleclasses/icons/ 32 & 16 folder default.png
Added Paths:
-----------
XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/
XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/
XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/
XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/16/
XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/16/default.png
XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/32/
XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/32/default.png
Added: XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/16/default.png
===================================================================
(Binary files differ)
Index: XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/16/default.png
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/16/default.png 2014-06-30 10:02:07 UTC (rev 12666)
+++ XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/16/default.png 2014-07-01 14:18:13 UTC (rev 12667)
Property changes on: XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/16/default.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/32/default.png
===================================================================
(Binary files differ)
Index: XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/32/default.png
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/32/default.png 2014-06-30 10:02:07 UTC (rev 12666)
+++ XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/32/default.png 2014-07-01 14:18:13 UTC (rev 12667)
Property changes on: XoopsCore/branches/2.5.x/2.5.7_timgno/htdocs/Frameworks/moduleclasses/icons/32/default.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
|
|
From: <be...@us...> - 2014-06-30 10:02:16
|
Revision: 12666
http://sourceforge.net/p/xoops/svn/12666
Author: beckmi
Date: 2014-06-30 10:02:07 +0000 (Mon, 30 Jun 2014)
Log Message:
-----------
normalizing copyright notice
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/jquery.php
XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/main.php
XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/language/english/admin/filemanager.php
XoopsCore/branches/2.5.x/2.5.8/extras/mysqli/mysqldatabase.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.admin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.cache.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.ini.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.locale.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.user.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/object.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/xoopsart.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/backend.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/browse.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_ads.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_ldap.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_provisionning.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_xoops.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/authfactory.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/apc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/file.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/memcache.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/model.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/xcache.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/xoopscache.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/config.image.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/config.recaptcha.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/config.text.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/image/scripts/image.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/image.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/recaptcha.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/text.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/xoopscaptcha.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/commentrenderer.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/criteria.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/database/database.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/database/databasefactory.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/database/mysqldatabase.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/database/sqlutility.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/downloader.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/errorhandler.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/file/file.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/file/folder.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/file/xoopsfile.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/logger/render.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/logger/xoopslogger.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/logger.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/logger_render.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mail/xoopsmultimailer.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/mimetypes.inc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/joint.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/read.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/stats.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/sync.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/write.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/xoopsmodel.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/module.errorhandler.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/module.textsanitizer.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/pagenav.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/preload.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/compiler.foreachq.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/compiler.includeq.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/compiler.xoAdminIcons.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/compiler.xoAdminNav.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/compiler.xoAppUrl.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/compiler.xoImgUrl.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/compiler.xoModuleIcons16.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/compiler.xoModuleIcons32.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/compiler.xoModuleIconsBookmarks.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.xoMemberInfo.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/function.xoops_link.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/xoops_plugins/resource.db.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/tardownloader.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/template.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/censor/censor.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/censor/config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/config.custom.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/flash/config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/flash/flash.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/iframe/iframe.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/image/config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/image/image.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/li/li.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/mms/mms.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/mp3/mp3.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/rtsp/rtsp.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/syntaxhighlight/config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/syntaxhighlight/syntaxhighlight.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/textfilter/config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/textfilter/textfilter.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/ul/ul.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/wiki/config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/wiki/wiki.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/wmp/wmp.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/youtube/youtube.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/theme.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/theme_blocks.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/tree.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/uploader.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/userutility.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/utility/xoopsutility.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/bloggerapi.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/metaweblogapi.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/movabletypeapi.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpcapi.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpcparser.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xmlrpctag.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rpc/xoopsapi.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/rss/xmlrss2parser.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xml/themesetparser.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsblock.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopscomments.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/dhtmltextarea.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/editor_registry.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/language/english.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/sampleform.inc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/textarea/editor_registry.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/textarea/language/english.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/textarea/textarea.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/editor_registry.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/formtinymce.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/include/xoopscode.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/include/xoopsemotions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/include/xoopsimagemanager.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/include/xoopsmlcontent.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/include/xoopsquote.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/language/english.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/settings.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagemanager.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/xoopsmlcontent.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/xoopseditor.inc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/xoopseditor.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsfilterinput.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/form.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formbutton.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formbuttontray.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formcaptcha.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formcheckbox.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formcolorpicker.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formdatetime.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formdhtmltextarea.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formeditor.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formelement.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formelementtray.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formfile.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formhidden.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formhiddentoken.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formlabel.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formpassword.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formradio.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formradioyn.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselect.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselectcheckgroup.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselectcountry.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselecteditor.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselectgroup.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselectlang.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselectmatchoption.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselecttheme.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselecttimezone.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formselectuser.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtext.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtextarea.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/formtextdateselect.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/grouppermform.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/simpleform.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/tableform.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsform/themeform.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsformloader.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopskernel.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopslists.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsload.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopslocal.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsmailer.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsmodule.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsobject.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsrequest.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopssecurity.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsstory.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopstopic.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopstree.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopsuser.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/zipdownloader.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/edituser.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/footer.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/image.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/imagemanager.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/checklogin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_constants.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_delete.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_edit.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_form.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_new.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_post.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_reply.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/comment_view.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/commentform.inc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/common.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/cp_functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/cp_header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/defines.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/findusers.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/formdhtmltextarea_preview.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.encoding.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.legacy.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/license.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/mimetypes.inc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/notification_constants.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/notification_functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/notification_select.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/notification_update.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/old_functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/old_theme_functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/registerform.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/searchform.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/site-closed.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/xoops13_header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/xoopscodes.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/xoopslocal.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/index.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/class/dbmanager.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/class/installwizard.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/class/pathcontroller.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/cleanup.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/css/reset.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/common.inc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/createconfigform.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/install_tpl.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/license.dist.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/makedata.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/modulesadmin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/page.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/index.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/language/english/install.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_configsave.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_configsite.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_dbconnection.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_dbsettings.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_end.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_langselect.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_modcheck.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_moduleinstaller.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_pathsettings.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_siteinit.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_start.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_tablescreate.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_tablesfill.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/page_theme.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/avatar.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/block.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/blockinstance.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/comment.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/configcategory.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/configitem.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/configoption.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/group.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/groupperm.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/handlerregistry.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/image.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/imagecategory.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/imageset.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/imagesetimg.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/member.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/module.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/notification.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/object.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/online.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/privmessage.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/session.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/tplfile.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/tplset.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/user.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/language/english/formdhtmltextarea.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/language/english/locale.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/language/english/logger.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/language/english/xoopsmailerlocal.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/lostpass.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/mainfile.dist.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/misc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/about.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/admin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/admin_footer.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/admin_header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/menu.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/prune.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/class/message.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/include/install.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/include/update.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/index.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/pmlite.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/preloads/core.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/preloads/system.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/readpmsg.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/viewpmsg.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/activate.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/about.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/admin_footer.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/admin_header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/category.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/field.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/index.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/menu.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/permissions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/step.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/user.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/visibility.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/changemail.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/changepass.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/class/category.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/class/field.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/class/profile.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/class/regstep.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/class/visibility.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/edituser.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/footer.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/include/forms.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/include/install.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/include/update.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/index.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/lostpass.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/preloads/core.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/register.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/search.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/user.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/userinfo.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/preloads/core.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/avatars/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/avatars/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/banners/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/banners/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/blocksadmin/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/blocksadmin/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/comments/admin_header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/comments/comment_delete.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/comments/comment_edit.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/comments/comment_post.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/comments/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/comments/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/groups/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/groups/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/images/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/images/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/mailusers/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/mailusers/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/maintenance/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/maintenance/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/modulesadmin/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/modulesadmin/modulesadmin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/modulesadmin/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/preferences/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/preferences/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/smilies/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/smilies/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/jquery.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/userrank/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/userrank/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/users/jquery.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/users/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/users/users.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/users/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/blocks/system_blocks.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/avatar.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/banner.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/bannerclient.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/bannerfinish.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/block.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/blocklinkmodule.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/breadcrumb.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/cookie.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/cpanel.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/group.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/gui.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/maintenance.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/menu.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/smilies.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/userrank.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/users.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/constants.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/css/menu.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/help.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/include/functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/include/update.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/js/admin.js
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/js/module.js
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/avatars.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/banners.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/blocksadmin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/comments.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/images.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/mailusers.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/maintenance.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/modulesadmin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/preferences.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/smilies.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/tplsets.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/userrank.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin/users.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/language/english/admin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/menu.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/preloads/core.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/accordion.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/buttonbar.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/choosestyle.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/content.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/dark.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/dashboard.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/footer.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/forms.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/globalnav.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/icons.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/logger.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/orange.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/pagenav.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/reset.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/silver.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/style.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/tablesorter.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/tabs.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/toolbar.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/css/tooltip.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/default.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/menu.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/legacy/cp_functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/legacy/legacy.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/thadmin/thadmin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/css/reset.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/css/tooltip.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/menu.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/zetadigme.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/notifications.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/pda.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/pmlite.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/readpmsg.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/register.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/search.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/default/xo-info.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/baradmin.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/globalnav.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/layout-soup.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/print.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/reset.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/style.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/css/userbar.css
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/extras/function.xoMemberInfo.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/language/english/main.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/suico/xo-info.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/class/pagenav.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/blocks/search.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/class/category.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/class/item.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/item.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/search.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xo-info.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/user.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/userinfo.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/viewpmsg.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xmlrpc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_data/data/secure.dist.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/about.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/admin_footer.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/admin_header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/abstract.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/check_version.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/cnt-2.2.x-to-2.3.0/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/language.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.0.18-to-2.3.0/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.0.18-to-2.3.0/mainfile.dist.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.0.18-to-2.3.0/pathcontroller.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.0.18-to-2.3.0/settings_db.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.0.18-to-2.3.0/settings_path.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.3.0-to-2.3.1/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.3.3-to-2.4.0/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.3.3-to-2.4.0/license.dist.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.4.0-to-2.4.1/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.4.0-to-2.4.1/license.dist.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.4.x-to-2.5.0/dbmanager.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.4.x-to-2.5.0/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.5.4-to-2.5.5/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.5.5-to-2.5.6/index.php
Modified: XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/jquery.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/jquery.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/jquery.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -11,7 +11,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Maxime Cointin (AKA Kraven30)
* @package system
@@ -378,7 +378,7 @@
$form->addElement( new XoopsFormButton( '', 'dir_button', _SUBMIT, 'submit'));
echo $form->render();
break;
-
+
//Confirm delete directory
case 'filemanager_confirm_delete_directory':
$path = system_CleanVars ( $_REQUEST, 'path', '', 'string' );
@@ -388,16 +388,16 @@
// Delete one directory
case 'filemanager_delete_directory':
$path = system_CleanVars ( $_REQUEST, 'path', '', 'string' );
-
+
function deltree($dossier){
if(($dir=opendir($dossier))===false)
return;
-
+
while($name=readdir($dir)){
if($name==='.' or $name==='..')
continue;
$full_name=$dossier.'/'.$name;
-
+
if(is_dir($full_name))
deltree($full_name);
else unlink($full_name);
@@ -406,7 +406,7 @@
@rmdir($dossier);
return true;
}
-
+
if(deltree($_REQUEST['path'])) {
xoops_result(_AM_SYSTEM_FILEMANAGER_DELDIR_OK);
} else {
@@ -469,4 +469,4 @@
break;
}
-?>
\ No newline at end of file
+?>
Modified: XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/main.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/main.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/main.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -9,7 +9,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Maxime Cointin (AKA Kraven30)
* @package system
Modified: XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/xoops_version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/xoops_version.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/admin/filemanager/xoops_version.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -9,9 +9,9 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
- * @author Maxime Cointin (AKA Kraven30)
+ * @author Maxime Cointin (AKA Kraven30)
* @package system
* @version $Id$
*/
@@ -30,4 +30,4 @@
$modversion['adminpath'] = 'admin.php?fct=filemanager';
$modversion['category'] = XOOPS_SYSTEM_FILEMANAGER;
-?>
\ No newline at end of file
+?>
Modified: XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/language/english/admin/filemanager.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/language/english/admin/filemanager.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/extras/modules/system/language/english/admin/filemanager.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -1,12 +1,12 @@
<?php
/**
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license http://www.fsf.org/copyleft/gpl.html GNU public license
* _LANGCODE en
* _CHARSET UTF-8
* @version $Id$
*/
-
+
//Nav
define('_AM_SYSTEM_FILEMANAGER_NAV_MANAGER','File Manager');
define('_AM_SYSTEM_FILEMANAGER_NAV_MAIN','File Manager');
Modified: XoopsCore/branches/2.5.x/2.5.8/extras/mysqli/mysqldatabase.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/extras/mysqli/mysqldatabase.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/extras/mysqli/mysqldatabase.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -9,7 +9,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * @copyright The XOOPS project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @package class
* @subpackage database
@@ -27,7 +27,7 @@
*
* @abstract
* @author Kazumi Ono <on...@xo...>
- * @copyright copyright (c) 2000-2014 XOOPS.org
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @package class
* @subpackage database
*/
@@ -444,7 +444,7 @@
* Safe Connection to a MySQL database.
*
* @author Kazumi Ono <on...@xo...>
- * @copyright copyright (c) 2000-2003 XOOPS.org
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @package kernel
* @subpackage database
*/
@@ -472,7 +472,7 @@
* {@link query()} method for security reasons.
*
* @author Kazumi Ono <on...@xo...>
- * @copyright copyright (c) 2000-2003 XOOPS.org
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @package class
* @subpackage database
*/
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.admin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.admin.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.admin.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -2,7 +2,7 @@
/**
* Module admin functions
*
- * @copyright The XOOPS project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Taiwen Jiang <ph...@us...>
* @since 1.00
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.cache.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.cache.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.cache.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -2,7 +2,7 @@
/**
* Cache handlers
*
- * @copyright The XOOPS project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Taiwen Jiang <ph...@us...>
* @since 1.00
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.config.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.config.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.config.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -2,7 +2,7 @@
/**
* Functions handling module configs
*
- * @copyright The XOOPS project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Taiwen Jiang <ph...@us...>
* @since 1.00
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.ini.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.ini.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.ini.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -2,7 +2,7 @@
/**
* Initial functions
*
- * @copyright The XOOPS project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Taiwen Jiang <ph...@us...>
* @since 1.00
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.locale.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.locale.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.locale.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -12,7 +12,7 @@
/**
* Xoops Localization class
*
- * @copyright The XOOPS project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Taiwen Jiang <ph...@us...>
* @since 1.00
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -2,7 +2,7 @@
/**
* common functions
*
- * @copyright The XOOPS project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Taiwen Jiang <ph...@us...>
* @since 1.00
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.user.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.user.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.user.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -2,7 +2,7 @@
/**
* user/member handlers
*
- * @copyright The XOOPS project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Taiwen Jiang <ph...@us...>
* @since 1.00
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/object.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/object.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/object.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -4,7 +4,7 @@
*
* For backward compatibility
*
- * @copyright The XOOPS project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Taiwen Jiang <ph...@us...>
* @since 1.00
@@ -20,7 +20,7 @@
* Art Object
*
* @author D.J. (phppp)
- * @copyright copyright © 2005 XoopsForge.com
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @package module::article
*
* {@link XoopsObject}
@@ -47,7 +47,7 @@
* @package module::article
*
* @author D.J. (phppp)
-* @copyright copyright © 2000 The XOOPS Project
+* @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
*
* {@link XoopsPersistableObjectHandler}
*
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/xoops_version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/xoops_version.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/xoops_version.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -2,7 +2,7 @@
/**
* Xoops Frameworks addon: art
*
- * @copyright The XOOPS project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Taiwen Jiang <ph...@us...>
* @since 1.00
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/xoopsart.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/xoopsart.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/xoopsart.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -2,7 +2,7 @@
/**
* Xoops Frameworks addon: art
*
- * @copyright The XOOPS project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Taiwen Jiang <ph...@us...>
* @since 1.00
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -10,6 +10,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* @copyright Grégory Mage (Aka Mage)
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Grégory Mage (Aka Mage)
*/
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -10,6 +10,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* @copyright Grégory Mage (Aka Mage)
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Grégory Mage (Aka Mage)
*/
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/xoops_version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/xoops_version.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/xoops_version.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -10,6 +10,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* @copyright Grégory Mage (Aka Mage)
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Grégory Mage (Aka Mage)
*/
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -9,7 +9,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @version $Id$
*/
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/backend.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/backend.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/backend.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -9,7 +9,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @since 2.0.0
* @version $Id$
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -9,7 +9,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @since 2.0.0
* @author Kazumi Ono <web...@my...>
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/browse.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/browse.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/browse.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -9,7 +9,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @package core
* @since 2.4.0
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -9,7 +9,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @package kernel
* @subpackage auth
@@ -26,7 +26,7 @@
* @subpackage auth
* @description Authentification base class
* @author Pierre-Eric MENUET <pe...@fr...>
- * @copyright copyright (c) 2000-2003 XOOPS.org
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
*/
class XoopsAuth
{
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_ads.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_ads.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_ads.php 2014-06-30 10:02:07 UTC (rev 12666)
@@ -9,7 +9,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @package kernel
* @subpackage auth
@@ -26,7 +26,7 @@
* @subpackage auth
* @description Authentification class for Active Directory
* @author Pierre-Eric MENUET <pe...@fr...>
- * @copyright copyright (c) 2000-2003 XOOPS.org
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
*/
include_once $GLOBALS['xoops']->path('class/auth/auth_ldap.php');
@@ -35,7 +35,7 @@
*
* @package
* @author John
- * @copyright Copyright (c) 2009
+ * @copyright (c) 2000-2014 XOOPS Project (www.xoops.org)
* @version $Id$
* @access public
*/
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_ldap.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/auth/auth_ldap.php 2014-06-29 21:44:03 UTC (rev 12665)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/aut...
[truncated message content] |
|
From: <txm...@us...> - 2014-06-29 21:44:19
|
Revision: 12665
http://sourceforge.net/p/xoops/svn/12665
Author: txmodxoops
Date: 2014-06-29 21:44:03 +0000 (Sun, 29 Jun 2014)
Log Message:
-----------
Added mod_dirname field in modules to avoid conflicts with the names of the modules
and to have more freedom of choice for the names of the modules directory
- Fixed bugs
- Updated
- Still work to do
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php
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.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/blocks.php
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/css/styles.php
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/file.php
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/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/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/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/mysql.php
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.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/blocks/blocks.php
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.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php
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.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/modules.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/modinfo.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/sql/mysql.sql
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/xoops_version.php
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/permissions.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -27,12 +27,12 @@
case 'build':
$template_main = 'tdmcreate_building.tpl';
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php'));
- // Get var module name
- $mod_name = $moduleObj->getVar('mod_name');
+ // Get var module dirname
+ $mod_dirname = $moduleObj->getVar('mod_dirname');
// Directories for copy from to
- $from_dir = TDMC_UPLOAD_REPOSITORY_PATH.'/'.strtolower($mod_name);
- $to_dir = XOOPS_ROOT_PATH.'/modules/'.strtolower($mod_name);
- if(isset($mod_name)) {
+ $from_dir = TDMC_UPLOAD_REPOSITORY_PATH.'/'.strtolower($mod_dirname);
+ $to_dir = XOOPS_ROOT_PATH.'/modules/'.strtolower($mod_dirname);
+ if(isset($mod_dirname)) {
// Clear this module if it's in repository
if(is_dir($from_dir)) {
TDMCreate_clearDir($from_dir);
@@ -65,7 +65,7 @@
}
unset($build);
// Directory to saved all files
- $GLOBALS['xoopsTpl']->assign('building_directory', sprintf(_AM_TDMCREATE_BUILDING_DIRECTORY, str_replace(' ', '', strtolower($mod_name))));
+ $GLOBALS['xoopsTpl']->assign('building_directory', sprintf(_AM_TDMCREATE_BUILDING_DIRECTORY, $mod_dirname));
// Copy this module in root modules
if ( $moduleObj->getVar('mod_inroot_copy') == 1 ) {
TDMCreate_copyr($from_dir, $to_dir);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -103,6 +103,7 @@
}
//Form module save
$obj->setVars(array('mod_name' => $_POST['mod_name'],
+ 'mod_dirname' => preg_replace('/[^a-zA-Z0-9]\s+/', '', strtolower($_POST['mod_dirname'])),
'mod_version' => $_POST['mod_version'],
'mod_since' => $_POST['mod_since'],
'mod_min_php' => $_POST['mod_min_php'],
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/about.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/about.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/about.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -57,17 +57,17 @@
public function render() {
$module = $this->getModule();
$filename = $this->getFileName();
- $module_name = strtolower($module->getVar('mod_name'));
+ $module_dirname = $module->getVar('mod_dirname');
$module_donations = $module->getVar('mod_donations');
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
include 'header.php';
-\$template_main = '{$module_name}_about.tpl';
+\$template_main = '{$module_dirname}_admin_about.tpl';
\$GLOBALS['xoopsTpl']->assign('navigation', \$adminMenu->addNavigation('about.php'));
\$GLOBALS['xoopsTpl']->assign('about', \$adminMenu->renderAbout('{$module_donations}', false));
include 'footer.php';
EOT;
- $this->tdmcfile->create($module_name, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($module_dirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/footer.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/footer.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/footer.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -58,7 +58,7 @@
public function render() {
$module = $this->getModule();
$filename = $this->getFileName();
- $module_name = strtolower($module->getVar('mod_name'));
+ $module_dirname = $module->getVar('mod_dirname');
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
if ( isset(\$template_main) ) {
@@ -67,7 +67,7 @@
xoops_cp_footer();
?>
EOT;
- $this->tdmcfile->create($module_name, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($module_dirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/header.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/header.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/header.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -62,9 +62,8 @@
$table = $this->getTable();
$tables = $this->getTables();
$filename = $this->getFileName();
- $module_name = $module->getVar('mod_name');
- $stl_mod_name = strtolower($module_name);
- $ucfmod_name = ucfirst($module_name);
+ $module_dirname = $module->getVar('mod_dirname');
+ $ucfmod_name = ucfirst($module_dirname);
$language = $this->getLanguage('AM');
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
@@ -77,7 +76,7 @@
if ( $table->getVar('table_name') != '' ) {
$content .= <<<EOT
// Get instance of module
-\${$stl_mod_name} = {$ucfmod_name}Helper::getInstance();\n
+\${$module_dirname} = {$ucfmod_name}Helper::getInstance();\n
EOT;
}
$content .= <<<EOT
@@ -94,7 +93,7 @@
{
$table_name = $tables[$i]->getVar('table_name');
$content .= <<<EOT
-\${$table_name}Handler =& \${$stl_mod_name}->getHandler('{$table_name}');\n
+\${$table_name}Handler =& \${$module_dirname}->getHandler('{$table_name}');\n
EOT;
}
$content .=<<<EOT
@@ -123,7 +122,7 @@
xoops_cp_header();
\$adminMenu = new ModuleAdmin();
EOT;
- $this->tdmcfile->create($module_name, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($module_dirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/index.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/index.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/index.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -60,9 +60,9 @@
$module = $this->getModule();
$tables = $this->getTables();
$filename = $this->getFileName();
- $module_name = strtolower($module->getVar('mod_name'));
- $language = $this->getLanguage($module_name, 'AM');
- $language_thereare = $this->getLanguage($module_name, 'AM', 'THEREARE_');
+ $module_dirname = $module->getVar('mod_dirname');
+ $language = $this->getLanguage($module_dirname, 'AM');
+ $language_thereare = $this->getLanguage($module_dirname, 'AM', 'THEREARE_');
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
include_once 'header.php';\n
@@ -77,7 +77,7 @@
}
$content .= <<<EOT
// Template Index
-\$template_main = '{$module_name}_index.tpl';
+\$template_main = '{$module_dirname}_admin_index.tpl';
// InfoBox Statistics
\$adminMenu->addInfoBox({$language}STATISTICS);
// InfoBox\n
@@ -96,7 +96,7 @@
echo \$adminMenu->renderIndex();
include_once 'footer.php';
EOT;
- $this->tdmcfile->create($module_name, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($module_dirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/menu.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/menu.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/menu.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -60,8 +60,8 @@
$module = $this->getModule();
$tables = $this->getTables();
$filename = $this->getFileName();
- $module_name = $module->getVar('mod_name');
- $language = $this->getLanguage($module_name, 'MI', 'ADMENU');
+ $module_dirname = $module->getVar('mod_dirname');
+ $language = $this->getLanguage($module_dirname, 'MI', 'ADMENU');
$menu = 1;
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
@@ -109,7 +109,7 @@
EOT;
unset( $menu );
- $this->tdmcfile->create($module_name, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($module_dirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/objects.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/objects.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/objects.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -69,17 +69,17 @@
}
/*
* @public function getUploadImage
- * @param string $module_name
+ * @param string $module_dirname
* @param string $table_name
* @param string $field_name
*/
- public function getUploadImage($module_name, $table_name, $field_name) {
+ public function getUploadImage($module_dirname, $table_name, $field_name) {
$ret = <<<EOT
// Set Var Image
include_once XOOPS_ROOT_PATH.'/class/uploader.php';
- \$uploaddir = XOOPS_UPLOAD_PATH.'/{$module_name}/images/{$table_name}/';
- \$uploader = new XoopsMediaUploader(\$uploaddir, xoops_getModuleOption('mimetypes', '{$module_name}'),
- xoops_getModuleOption('maxsize', '{$module_name}'), null, null);
+ \$uploaddir = XOOPS_UPLOAD_PATH.'/{$module_dirname}/images/{$table_name}/';
+ \$uploader = new XoopsMediaUploader(\$uploaddir, \${$module_dirname}->getConfig('mimetypes'),
+ \${$module_dirname}->getConfig('maxsize'), null, null);
if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0])) {
\$uploader->setPrefix('{$field_name}_');
\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0]);
@@ -97,17 +97,17 @@
}
/*
* @public function getUploadFile
- * @param string $module_name
+ * @param string $module_dirname
* @param string $table_name
* @param string $field_name
*/
- public function getUploadFile($module_name, $table_name, $field_name) {
+ public function getUploadFile($module_dirname, $table_name, $field_name) {
$ret = <<<EOT
// Set Var File
include_once XOOPS_ROOT_PATH.'/class/uploader.php';
- \$uploaddir = XOOPS_UPLOAD_PATH.'/{$module_name}/files/{$table_name}/';
- \$uploader = new XoopsMediaUploader(\$uploaddir, xoops_getModuleOption('mimetypes', '{$module_name}'),
- xoops_getModuleOption('maxsize', '{$module_name}'), null, null);
+ \$uploaddir = XOOPS_UPLOAD_PATH.'/{$module_dirname}/files/{$table_name}/';
+ \$uploader = new XoopsMediaUploader(\$uploaddir, \${$module_dirname}->getConfig('mimetypes'),
+ \${$module_dirname}->getConfig('maxsize'), null, null);
if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0])) {
\$uploader->setPrefix('{$field_name}_') ;
\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0]);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -58,15 +58,15 @@
}
/*
* @public function getAdminPagesHeader
- * @param string $mod_name
+ * @param string $module_dirname
* @param string $table_name
*/
- public function getAdminPagesHeader($mod_name, $table_name) {
+ public function getAdminPagesHeader($module_dirname, $table_name) {
$ret = <<<EOT
\ninclude_once 'header.php';
//It recovered the value of argument op in URL$
-\$op = {$mod_name}_CleanVars(\$_REQUEST, 'op', 'list', 'string');
+\$op = {$module_dirname}_CleanVars(\$_REQUEST, 'op', 'list', 'string');
// Navigation
echo \$adminMenu->addNavigation('{$table_name}.php');
switch (\$op)
@@ -80,18 +80,17 @@
* @param string $table_name
* @param string $language
*/
- public function getAdminPagesList($module_name, $table_name, $table_fieldname, $language, $fields, $fpif, $fpmf) {
- $stu_mod_name = strtoupper($module_name);
- $stl_mod_name = strtolower($module_name);
+ public function getAdminPagesList($module_dirname, $table_name, $table_fieldname, $language, $fields, $fpif, $fpmf) {
+ $stu_module_dirname = strtoupper($module_dirname);
$stu_table_name = strtoupper($table_name);
$stu_table_fieldname = strtoupper($table_fieldname);
$ret = <<<EOT
case 'list':
default:
- \$limit = xoops_getModuleOption('adminpager');
- \$start = {$module_name}_CleanVars(\$_REQUEST, 'start', 0);
+ \$limit = \${$module_dirname}->getConfig('adminpager');
+ \$start = {$module_dirname}_CleanVars(\$_REQUEST, 'start', 0);
\$adminMenu->addItemButton({$language}ADD_{$stu_table_fieldname}, '{$table_name}.php?op=new', 'add');
- \$template_main = '{$stl_mod_name}_{$table_name}.tpl';
+ \$template_main = '{$module_dirname}_admin_{$table_name}.tpl';
echo \$adminMenu->renderButton();
\$criteria = new CriteriaCompo();
\$criteria->setSort('{$fpif} ASC, {$fpmf}');
@@ -99,8 +98,8 @@
\${$table_name}_rows = \${$table_name}Handler->getCount(\$criteria);
\${$table_name}_arr = \${$table_name}Handler->getAll(\$criteria);
unset(\$criteria);
- \$GLOBALS['xoopsTpl']->assign('{$stl_mod_name}_url', {$stu_mod_name}_URL);
- \$GLOBALS['xoopsTpl']->assign('{$stl_mod_name}_upload_url', {$stu_mod_name}_UPLOAD_URL);
+ \$GLOBALS['xoopsTpl']->assign('{$module_dirname}_url', {$stu_module_dirname}_URL);
+ \$GLOBALS['xoopsTpl']->assign('{$module_dirname}_upload_url', {$stu_module_dirname}_UPLOAD_URL);
// Table view
if (\${$table_name}_rows > 0)
{
@@ -154,12 +153,11 @@
* @param string $table_name
* @param string $language
*/
- public function getAdminPagesNew($module_name, $table_name, $language) {
- $stl_mod_name = strtolower($module_name);
+ public function getAdminPagesNew($module_dirname, $table_name, $language) {
$stu_table_name = strtoupper($table_name);
$ret = <<<EOT
case 'new':
- \$template_main = '{$stl_mod_name}_{$table_name}.tpl';
+ \$template_main = '{$module_dirname}_admin_{$table_name}.tpl';
\$adminMenu->addItemButton({$language}{$stu_table_name}_LIST, '{$table_name}.php', 'list');
echo \$adminMenu->renderButton();
// Get Form
@@ -176,7 +174,7 @@
* @param string $table_name
* @param string $language
*/
- public function getAdminPagesSave($module_name, $table_name, $language, $fields, $fpif, $fpmf)
+ public function getAdminPagesSave($module_dirname, $table_name, $language, $fields, $fpif, $fpmf)
{
$ret = <<<EOT
case 'save':
@@ -201,10 +199,10 @@
$ret .= $this->adminobjects->getCheckBoxOrRadioYN($table_name, $field_name);
break;
case 9:
- $ret .= $this->adminobjects->getUploadImage($module_name, $table_name, $field_name);
+ $ret .= $this->adminobjects->getUploadImage($module_dirname, $table_name, $field_name);
break;
case 10:
- $ret .= $this->adminobjects->getUploadFile($module_name, $table_name, $field_name);
+ $ret .= $this->adminobjects->getUploadFile($module_dirname, $table_name, $field_name);
break;
case 11:
$ret .= $this->adminobjects->getTextDateSelect($table_name, $field_name);
@@ -235,12 +233,11 @@
* @param string $table_name
* @param string $language
*/
- public function getAdminPagesEdit($module_name, $table_name, $language, $fpif) {
- $stl_mod_name = strtolower($module_name);
+ public function getAdminPagesEdit($module_dirname, $table_name, $language, $fpif) {
$stu_table_name = strtoupper($table_name);
$ret = <<<EOT
case 'edit':
- \$template_main = '{$stl_mod_name}_{$table_name}.tpl';
+ \$template_main = '{$module_dirname}_admin_{$table_name}.tpl';
\$adminMenu->addItemButton({$language}ADD_{$stu_table_name}, '{$table_name}.php?op=new', 'add');
\$adminMenu->addItemButton({$language}{$stu_table_name}_LIST, '{$table_name}.php', 'list');
echo \$adminMenu->renderButton();
@@ -300,10 +297,10 @@
{
$module = $this->getModule();
$table = $this->getTable();
- $module_name = $module->getVar('mod_name');
+ $module_dirname = $module->getVar('mod_dirname');
$table_name = $table->getVar('table_name');
$table_fieldname = $table->getVar('table_fieldname');
- $language = $this->getLanguage($module_name, 'AM');
+ $language = $this->getLanguage($module_dirname, 'AM');
$fields = $this->getTableFields($table->getVar('table_id'));
foreach(array_keys($fields) as $f)
{
@@ -316,15 +313,15 @@
}
}
$content = $this->getHeaderFilesComments($module, $filename);
- $content .= $this->getAdminPagesHeader($module_name, $table_name);
- $content .= $this->getAdminPagesList($module_name, $table_name, $table_fieldname, $language, $fields, $fpif, $fpmf);
- $content .= $this->getAdminPagesNew($module_name, $table_name, $language);
- $content .= $this->getAdminPagesSave($module_name, $table_name, $language, $fields, $fpif, $fpmf);
- $content .= $this->getAdminPagesEdit($module_name, $table_name, $language, $fpif);
+ $content .= $this->getAdminPagesHeader($module_dirname, $table_name);
+ $content .= $this->getAdminPagesList($module_dirname, $table_name, $table_fieldname, $language, $fields, $fpif, $fpmf);
+ $content .= $this->getAdminPagesNew($module_dirname, $table_name, $language);
+ $content .= $this->getAdminPagesSave($module_dirname, $table_name, $language, $fields, $fpif, $fpmf);
+ $content .= $this->getAdminPagesEdit($module_dirname, $table_name, $language, $fpif);
$content .= $this->getAdminPagesDelete($table_name, $language, $fpif, $fpmf);
$content .= $this->getAdminPagesFooter();
//
- $this->tdmcfile->create($module_name, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($module_dirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/permissions.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/permissions.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/permissions.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -45,21 +45,20 @@
/*
* @public function write
* @param string $module
- * @param mixed $table
* @param mixed $tables
* @param string $filename
*/
public function write($module, $tables, $filename) {
$this->setModule($module);
+ $this->setTables($tables);
$this->setFileName($filename);
- $this->setTables($tables);
}
/*
* @private function getPermissionsCodeHeader
- * @param string $module_name
+ * @param string $module_dirname
* @param string $language
*/
- private function getPermissionsCodeHeader($module_name, $language)
+ private function getPermissionsCodeHeader($module_dirname, $language)
{
$ret = <<<PRM
\ninclude_once 'header.php';
@@ -74,10 +73,10 @@
if (count ( array_intersect ( \$group, \$groups ) ) <= 0) {
redirect_header ( 'index.php', 3, _NOPERM );
}*/
-
+\$template_main = '{$module_dirname}_admin_permissions.tpl';
echo \$adminMenu->addNavigation('permissions.php');
-\$permission = {$module_name}_CleanVars(\$_REQUEST, 'permission', 1, 'int');
+\$permission = {$module_dirname}_CleanVars(\$_REQUEST, 'permission', 1, 'int');
\$selected = array('', '', '', '');
\$selected[\$permission-1] = ' selected';
xoops_load('XoopsFormLoader');
@@ -96,10 +95,10 @@
/*
* @private function getPermissionsCodeSwitch
- * @param string $module_name
+ * @param string $module_dirname
* @param string $language
*/
- private function getPermissionsCodeSwitch($module_name, $language)
+ private function getPermissionsCodeSwitch($module_dirname, $language)
{
$ret = <<<PRM
\$module_id = \$xoopsModule->getVar('mid');
@@ -107,7 +106,7 @@
{
case 1:
\$formTitle = {$language}GLOBAL;
- \$permName = '{$module_name}_ac';
+ \$permName = '{$module_dirname}_ac';
\$permDesc = {$language}GLOBAL_DESC;
\$globalPerms = array( '4' => {$language}GLOBAL_4,
'8' => {$language}GLOBAL_8,
@@ -115,17 +114,17 @@
break;
case 2:
\$formTitle = {$language}APPROVE;
- \$permName = '{$module_name}_access';
+ \$permName = '{$module_dirname}_access';
\$permDesc = {$language}APPROVE_DESC;
break;
case 3:
\$formTitle = {$language}SUBMIT;
- \$permName = '{$module_name}_submit';
+ \$permName = '{$module_dirname}_submit';
\$permDesc = {$language}SUBMIT_DESC;
break;
case 4:
\$formTitle = {$language}VIEW;
- \$permName = '{$module_name}_view';
+ \$permName = '{$module_dirname}_view';
\$permDesc = {$language}VIEW_DESC;
break;
}\n
@@ -135,11 +134,11 @@
/*
* @private function getPermissionsCodeBody
- * @param string $module_name
+ * @param string $module_dirname
* @param string $table_name
* @param string $language
*/
- private function getPermissionsCodeBody($module_name, $language)
+ private function getPermissionsCodeBody($module_dirname, $language)
{
$tables = $this->getTables();
foreach(array_keys($tables) as $t)
@@ -209,15 +208,15 @@
public function render() {
$module = $this->getModule();
$filename = $this->getFileName();
- $module_name = strtolower($module->getVar('mod_name'));
- $language = $this->getLanguage($module_name, 'AM');
+ $module_dirname = strtolower($module->getVar('mod_dirname'));
+ $language = $this->getLanguage($module_dirname, 'AM');
$content = $this->getHeaderFilesComments($module, $filename);
- $content .= $this->getPermissionsCodeHeader($module_name, $language);
- $content .= $this->getPermissionsCodeSwitch($module_name, $language);
- $content .= $this->getPermissionsCodeBody($module_name, $language);
+ $content .= $this->getPermissionsCodeHeader($module_dirname, $language);
+ $content .= $this->getPermissionsCodeSwitch($module_dirname, $language);
+ $content .= $this->getPermissionsCodeBody($module_dirname, $language);
$content .= $this->getPermissionsCodeFooter();
//
- $this->tdmcfile->create($module_name, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($module_dirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -103,7 +103,7 @@
$indexFile = $this->path.'/index.html';
$docs_folder = $this->path.'/docs';
$logos_folder = $this->path.'/assets/images/logos';
- $stl_module_name = str_replace(' ', '', strtolower($module->getVar('mod_name')));
+ $stl_module_name = $module->getVar('mod_dirname');
$stl_module_author = str_replace(' ', '', strtolower($module->getVar('mod_author')));
// Creation of the Directory in repository
$targetDirectory = $this->upload_path.'/repository/'. $stl_module_name;
@@ -203,8 +203,7 @@
{
// Module
$mod_id = $module->getVar('mod_id');
- $mod_name = $module->getVar('mod_name');
- $stl_mod_name = strtolower($mod_name);
+ $mod_dirname = $module->getVar('mod_dirname');
// Id of tables
$criteria_tables = new CriteriaCompo();
$criteria_tables->add(new Criteria('table_mid', $mod_id));
@@ -237,7 +236,7 @@
// Admin Templates File
$adminTemplatesPages = TemplatesAdminPages::getInstance();
$adminTemplatesPages->write($module, $table);
- $ret[] = $adminTemplatesPages->renderFile($stl_mod_name.'_'.$table_name.'.tpl');
+ $ret[] = $adminTemplatesPages->renderFile($mod_dirname.'_admin_'.$table_name.'.tpl');
}
// Creation of blocks
if ( $table_blocks == 1) {
@@ -248,7 +247,7 @@
// Templates Blocks Files
$templatesFiles = TemplatesBlocks::getInstance();
$templatesFiles->write($module, $table);
- $ret[] = $templatesFiles->renderFile($stl_mod_name.'_block_'.$table_name.'.tpl');
+ $ret[] = $templatesFiles->renderFile($mod_dirname.'_block_'.$table_name.'.tpl');
}
// Blocks Templates File
/*$blocksTemplates = BlocksTemplates::getInstance();
@@ -270,7 +269,7 @@
// User Templates File
$userTemplatesPages = TemplatesUserPages::getInstance();
$userTemplatesPages->write($module, $table);
- $ret[] = $userTemplatesPages->renderFile($stl_mod_name.'_'.$table_name.'.tpl');
+ $ret[] = $userTemplatesPages->renderFile($mod_dirname.'_'.$table_name.'.tpl');
}
/*var_dump($table_name); */
}
@@ -306,7 +305,11 @@
// Admin Permissions File
$adminPermissions = AdminPermissions::getInstance();
$adminPermissions->write($module, $tables, 'permissions.php');
- $ret[] = $adminPermissions->render();
+ $ret[] = $adminPermissions->render();
+ // Templates Admin Permissions File
+ $adminTemplatesPermissions = TemplatesAdminPermissions::getInstance();
+ $adminTemplatesPermissions->write($module, $mod_dirname.'_admin_permissions.tpl');
+ $ret[] = $adminTemplatesPermissions->render();
}
// Admin Aboutr File
$adminAbout = AdminAbout::getInstance();
@@ -320,21 +323,21 @@
$languageAdmin = LanguageAdmin::getInstance();
$languageAdmin->write($module, $tables, 'admin.php');
$ret[] = $languageAdmin->render();
- // Templates Index File
+ // Templates Admin About File
$adminTemplatesAbout = TemplatesAdminAbout::getInstance();
- $adminTemplatesAbout->write($module, $stl_mod_name.'_about.tpl');
+ $adminTemplatesAbout->write($module, $mod_dirname.'_admin_about.tpl');
$ret[] = $adminTemplatesAbout->render();
- // Templates Index File
+ // Templates Admin Index File
$adminTemplatesIndex = TemplatesAdminIndex::getInstance();
- $adminTemplatesIndex->write($module, $stl_mod_name.'_index.tpl');
+ $adminTemplatesIndex->write($module, $mod_dirname.'_admin_index.tpl');
$ret[] = $adminTemplatesIndex->render();
- // Templates Footer File
+ // Templates Admin Footer File
$adminTemplatesFooter = TemplatesAdminFooter::getInstance();
- $adminTemplatesFooter->write($module, $stl_mod_name.'_footer.tpl');
+ $adminTemplatesFooter->write($module, $mod_dirname.'_admin_footer.tpl');
$ret[] = $adminTemplatesFooter->render();
- // Templates Header File
+ // Templates Admin Header File
$adminTemplatesHeader = TemplatesAdminHeader::getInstance();
- $adminTemplatesHeader->write($module, $stl_mod_name.'_header.tpl');
+ $adminTemplatesHeader->write($module, $mod_dirname.'_admin_header.tpl');
$ret[] = $adminTemplatesHeader->render();
}
// Creation of notifications files
@@ -397,15 +400,15 @@
if ( ($table->getVar('table_user') == 1)) {
// Templates Index File
$userTemplatesIndex = TemplatesUserIndex::getInstance();
- $userTemplatesIndex->write($module, $stl_mod_name.'_index.tpl');
+ $userTemplatesIndex->write($module, $mod_dirname.'_index.tpl');
$ret[] = $userTemplatesIndex->render();
// Templates Footer File
$userTemplatesFooter = TemplatesUserFooter::getInstance();
- $userTemplatesFooter->write($module, $table, $stl_mod_name.'_footer.tpl');
+ $userTemplatesFooter->write($module, $table, $mod_dirname.'_footer.tpl');
$ret[] = $userTemplatesFooter->render();
// Templates Header File
$userTemplatesHeader = TemplatesUserHeader::getInstance();
- $userTemplatesHeader->write($module, $tables, $stl_mod_name.'_header.tpl');
+ $userTemplatesHeader->write($module, $tables, $mod_dirname.'_header.tpl');
$ret[] = $userTemplatesHeader->render();
// User Footer File
$userFooter = UserFooter::getInstance();
@@ -436,7 +439,7 @@
$classHelper->write($module, 'helper.php');
$ret[] = $classHelper->render();
// Css Styles File
- $cssStyles = CssStyles::getInstance($module, 'style.css');
+ $cssStyles = CssStyles::getInstance();
$cssStyles->write($module, 'style.css');
$ret[] = $cssStyles->render();
// Include Common File
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -55,23 +55,23 @@
* @public function getBlocksShow
* @param null
*/
- public function getBlocksShow($module_name, $table_name, $table_fieldname, $table_category, $fields, $fpif) {
- $stu_module_name = strtoupper($module_name);
- $stl_module_name = strtolower($module_name);
+ public function getBlocksShow($module_dirname, $table_name, $table_fieldname, $table_category, $fields, $fpif) {
+ $stu_module_dirname = strtoupper($module_dirname);
+ $ucfmod_name = ucfirst($module_dirname);
$ret = <<<EOT
-include_once XOOPS_ROOT_PATH.'/modules/{$stl_module_name}/include/common.php';
-include_once XOOPS_ROOT_PATH.'/modules/{$stl_module_name}/include/functions.php';
-function b_{$stl_module_name}_{$table_name}_show(\$options)
+include_once XOOPS_ROOT_PATH.'/modules/{$module_dirname}/include/common.php';
+include_once XOOPS_ROOT_PATH.'/modules/{$module_dirname}/include/functions.php';
+function b_{$module_dirname}_{$table_name}_show(\$options)
{
- include_once XOOPS_ROOT_PATH.'/modules/{$stl_module_name}/class/{$table_name}.php';
+ include_once XOOPS_ROOT_PATH.'/modules/{$module_dirname}/class/{$table_name}.php';
\$myts =& MyTextSanitizer::getInstance();
- \$GLOBALS['xoopsTpl']->assign('{$stl_module_name}_upload_url', {$stu_module_name}_UPLOAD_URL);
+ \$GLOBALS['xoopsTpl']->assign('{$module_dirname}_upload_url', {$stu_module_dirname}_UPLOAD_URL);
\${$table_fieldname} = array();
\$type_block = \$options[0];
\$nb_{$table_name} = \$options[1];
\$lenght_title = \$options[2];
-
- \${$table_name}Handler =& xoops_getModuleHandler('{$table_name}', '{$module_name}');
+ \${$module_dirname} = {$ucfmod_name}Helper::getInstance();
+ \${$table_name}Handler =& \${$module_dirname}->getHandler('{$table_name}');
\$criteria = new CriteriaCompo();
array_shift(\$options);
array_shift(\$options);
@@ -80,7 +80,7 @@
if ( $table_category == 1 ) {
$ret .= <<<EOT
if (!(count(\$options) == 1 && \$options[0] == 0)) {
- \$criteria->add(new Criteria('{$table_fieldname}_category', {$module_name}_block_addCatSelect(\$options), 'IN'));
+ \$criteria->add(new Criteria('{$table_fieldname}_category', {$module_dirname}_block_addCatSelect(\$options), 'IN'));
}\n
EOT;
}
@@ -129,21 +129,22 @@
}
/*
* @public function getBlocksEdit
- * @param string $module_name
+ * @param string $module_dirname
* @param string $table_name
* @param string $fpif
* @param string $fpmf
* @param string $language
*/
- public function getBlocksEdit($module_name, $table_name, $fpif, $fpmf, $language) {
- $stu_module_name = strtoupper($module_name);
- $stl_module_name = strtolower($module_name);
+ public function getBlocksEdit($module_dirname, $table_name, $fpif, $fpmf, $language) {
+ $stu_module_dirname = strtoupper($module_dirname);
+ $ucfmod_name = ucfirst($module_dirname);
$ret = <<<EOT
-function b_{$stl_module_name}_{$table_name}_edit(\$options)
+function b_{$module_dirname}_{$table_name}_edit(\$options)
{
- include_once XOOPS_ROOT_PATH.'/modules/{$stl_module_name}/class/{$table_name}.php';
- \${$table_name}Handler =& xoops_getModuleHandler('{$table_name}', '{$module_name}');
- \$GLOBALS['xoopsTpl']->assign('{$stl_module_name}_upload_url', {$stu_module_name}_UPLOAD_URL);
+ include_once XOOPS_ROOT_PATH.'/modules/{$module_dirname}/class/{$table_name}.php';
+ \${$module_dirname} = {$ucfmod_name}Helper::getInstance();
+ \${$table_name}Handler =& \${$module_dirname}->getHandler('{$table_name}');
+ \$GLOBALS['xoopsTpl']->assign('{$module_dirname}_upload_url', {$stu_module_dirname}_UPLOAD_URL);
\$form = {$language}DISPLAY;
\$form .= "<input type='hidden' name='options[0]' value='".\$options[0]."' />";
\$form .= "<input name='options[1]' size='5' maxlength='255' value='".\$options[1]."' type='text' /> <br />";
@@ -177,11 +178,11 @@
{
$module = $this->getModule();
$table = $this->getTable();
- $module_name = strtolower($module->getVar('mod_name'));
+ $module_dirname = $module->getVar('mod_dirname');
$table_name = $table->getVar('table_name');
$table_fieldname = $table->getVar('table_fieldname');
$table_category = $table->getVar('table_category');
- $language = $this->getLanguage($module_name, 'MB');
+ $language = $this->getLanguage($module_dirname, 'MB');
$fields = $this->getTableFields($table->getVar('table_id'));
foreach(array_keys($fields) as $f)
{
@@ -193,10 +194,10 @@
}
}
$content = $this->getHeaderFilesComments($module, $filename);
- $content .= $this->getBlocksShow($module_name, $table_name, $table_fieldname, $table_category, $fields, $fpif);
- $content .= $this->getBlocksEdit($module_name, $table_name, $fpif, $fpmf, $language);
+ $content .= $this->getBlocksShow($module_dirname, $table_name, $table_fieldname, $table_category, $fields, $fpif);
+ $content .= $this->getBlocksEdit($module_dirname, $table_name, $fpif, $fpmf, $language);
//
- $this->tdmcfile->create($module_name, 'blocks', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($module_dirname, 'blocks', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/classes.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/classes.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/classes.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -127,19 +127,19 @@
}
/*
* @public function getHeadClass
- * @param string $module_name
+ * @param string $module_dirname
* @param string $table_name
* @param array $fields
*/
- public function getHeadClass($module_name, $table_name, $fields) {
- $ucf_module_name = ucfirst($module_name);
- $ucf_table_name = ucfirst($table_name);
+ public function getHeadClass($module_dirname, $table_name, $fields) {
+ $ucf_module_dirname = ucfirst($module_dirname);
+ $ucf_table_name = ucfirst($table_name);
$ret = <<<EOT
defined('XOOPS_ROOT_PATH') or die("Restricted access");
/*
- * Class Object {$ucf_module_name}{$ucf_table_name}
+ * Class Object {$ucf_module_dirname}{$ucf_table_name}
*/
-class {$ucf_module_name}{$ucf_table_name} extends XoopsObject
+class {$ucf_module_dirname}{$ucf_table_name} extends XoopsObject
{
/*
* Constructor
@@ -148,7 +148,7 @@
*/
public function __construct()
{
- \$this->XoopsObject();
+ \$this->{$module_dirname} = {$ucf_module_dirname}Helper::getInstance();
{$this->getInitVars($fields)}\t}
/*
* @static function &getInstance
@@ -173,8 +173,8 @@
*/
public function getHeadFunctionForm($module, $table)
{
- $module_name = strtolower($module->getVar('mod_name'));
- $language = $this->getLanguage($module_name, 'AM');
+ $module_dirname = $module->getVar('mod_dirname');
+ $language = $this->getLanguage($module_dirname, 'AM');
$stu_table_name = strtoupper($table->getVar('table_name'));
$this->formelements->initForm($module, $table);
$ret = <<<EOT
@@ -200,13 +200,13 @@
}
/*
* @public function getPermissionsInFunctionForm
- * @param string $module_name
+ * @param string $module_dirname
* @param string $fpif
*/
- public function getPermissionsInFunctionForm($module_name, $fpif) {
- $perm_approve = $this->getLanguage($module_name, 'AM', 'PERMISSIONS_APPROVE');
- $perm_submit = $this->getLanguage($module_name, 'AM', 'PERMISSIONS_SUBMIT');
- $perm_view = $this->getLanguage($module_name, 'AM', 'PERMISSIONS_VIEW');
+ public function getPermissionsInFunctionForm($module_dirname, $fpif) {
+ $perm_approve = $this->getLanguage($module_dirname, 'AM', 'PERMISSIONS_APPROVE');
+ $perm_submit = $this->getLanguage($module_dirname, 'AM', 'PERMISSIONS_SUBMIT');
+ $perm_view = $this->getLanguage($module_dirname, 'AM', 'PERMISSIONS_VIEW');
$ret = <<<EOT
// Permissions
\$member_handler = & xoops_gethandler ( 'member' );
@@ -215,9 +215,9 @@
\$full_list = array_keys ( \$group_list );
global \$xoopsModule;
if ( !\$this->isNew() ) {
- \$groups_ids_approve = \$gperm_handler->getGroupIds ( '{$module_name}_approve', \$this->getVar ( '{$fpif}' ), \$xoopsModule->getVar ( 'mid' ) );
- \$groups_ids_submit = \$gperm_handler->getGroupIds ( '{$module_name}_submit', \$this->getVar ( '{$fpif}' ), \$xoopsModule->getVar ( 'mid' ) );
- \$groups_ids_view = \$gperm_handler->getGroupIds ( '{$module_name}_view', \$this->getVar ( '{$fpif}' ), \$xoopsModule->getVar ( 'mid' ) );
+ \$groups_ids_approve = \$gperm_handler->getGroupIds ( '{$module_dirname}_approve', \$this->getVar ( '{$fpif}' ), \$xoopsModule->getVar ( 'mid' ) );
+ \$groups_ids_submit = \$gperm_handler->getGroupIds ( '{$module_dirname}_submit', \$this->getVar ( '{$fpif}' ), \$xoopsModule->getVar ( 'mid' ) );
+ \$groups_ids_view = \$gperm_handler->getGroupIds ( '{$module_dirname}_view', \$this->getVar ( '{$fpif}' ), \$xoopsModule->getVar ( 'mid' ) );
\$groups_ids_approve = array_values ( \$groups_ids_approve );
\$groups_can_approve_checkbox = new XoopsFormCheckBox ( {$perm_approve}, 'groups_approve[]', \$groups_ids_approve );
\$groups_ids_submit = array_values ( \$groups_ids_submit );
@@ -258,18 +258,18 @@
}
/*
* @public function getClassHandler
- * @param string $module_name
+ * @param string $module_dirname
* @param string $table_name
* @param string $fpif
* @param string $fpmf
*/
- public function getClassHandler($module_name, $table_name, $fpif, $fpmf) {
- $ucf_module_name = ucfirst($module_name);
+ public function getClassHandler($module_dirname, $table_name, $fpif, $fpmf) {
+ $ucf_module_dirname = ucfirst($module_dirname);
$ucf_table_name = ucfirst($table_name);
- $ucf_mod_table_handler = $ucf_module_name . $ucf_table_name;
+ $ucf_mod_table_handler = $ucf_module_dirname . $ucf_table_name;
$ret = <<<EOT
/*
- * Class Object Handler {$ucf_module_name}{$ucf_table_name}
+ * Class Object Handler {$ucf_module_dirname}{$ucf_table_name}
*/
class {$ucf_mod_table_handler}Handler extends XoopsPersistableObjectHandler
{
@@ -280,7 +280,7 @@
*/
public function __construct(&\$db)
{
- parent::__construct(\$db, '{$module_name}_{$table_name}', '{$module_name}{$table_name}', '{$fpif}', '{$fpmf}');
+ parent::__construct(\$db, '{$module_dirname}_{$table_name}', '{$module_dirname}{$table_name}', '{$fpif}', '{$fpmf}');
}
}
EOT;
@@ -295,7 +295,7 @@
$table = $this->getTable();
$table_nbfields = $table->getVar('table_nbfields');
$table_name = $table->getVar('table_name');
- $module_name = strtolower($module->getVar('mod_name'));
+ $module_dirname = $module->getVar('mod_dirname');
$fields = $this->getTableFields($table->getVar('table_id'));
foreach(array_keys($fields) as $f)
{
@@ -308,15 +308,15 @@
}
}
$content = $this->getHeaderFilesComments($module, $filename);
- $content .= $this->getHeadClass($module_name, $table_name, $fields);
+ $content .= $this->getHeadClass($module_dirname, $table_name, $fields);
$content .= $this->getHeadFunctionForm($module, $table);
if ($table->getVar('table_permissions') == 1) {
- $content .= $this->getPermissionsInFunctionForm($module_name, $fpif);
+ $content .= $this->getPermissionsInFunctionForm($module_dirname, $fpif);
}
$content .= $this->getFootFunctionForm();
- $content .= $this->getClassHandler($module_name, $table_name, $fpif, $fpmf);
+ $content .= $this->getClassHandler($module_dirname, $table_name, $fpif, $fpmf);
- $this->tdmcfile->create($module_name, 'class', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($module_dirname, 'class', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/formelements.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/formelements.php 2014-06-29 03:11:49 UTC (rev 12664)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/formelements.php 2014-06-29 21:44:03 UTC (rev 12665)
@@ -68,7 +68,7 @@
*/
public function getXoopsFormText($language, $field_name, $required = 'false') {
$ret = <<<EOT
- \$form->addElement(new XoopsFormText({$language}, '{$field_name}', 50, 255, \$this->getVar('{$field_name}')){$required});\n
+ \$form->addElement( new XoopsFormText({$language}, '{$field_name}', 50, 255, \$this->getVar('{$field_name}')){$required} );\n
EOT;
return $ret;
}
@@ -80,18 +80,18 @@
*/
public function getXoopsFormTextArea($language, $field_name, $required = 'false') {
$ret = <<<EOT
- \$form->addElement(new XoopsFormTextArea({$language}, '{$field_name}', \$this->getVar('{$field_name}'), 4, 47){$required});\n
+ \$form->addElement( new XoopsFormTextArea({$language}, '{$field_name}', \$this->getVar('{$field_name}'), 4, 47){$required} );\n
EOT;
return $ret;
}
/*
* @public function getXoopsFormDhtmlTextArea
* @param string $language
- * @param string $module_name
+ * @param string $module_dirname
* @param string $field_name
* @param string $required
*/
- public function getXoopsFormDhtmlTextArea($language, $module_name, $field_name, $required = 'false') {
+ public function getXoopsFormDhtmlTextArea($language, $module_dirname, $field_name, $required = 'false') {
$ret = <<<EOT
\$editor_configs = array();
\$editor_configs['name'] = '{$field_name}';
@@ -100,8 +100,8 @@
\$editor_configs['cols'] = 40;
\$editor_configs['width'] = '100%';
\$editor_configs['height'] = '400px';
- \$editor_configs['editor'] = xoops_getModuleOption('{$module_name}_editor', '{$module_name}');
- \$form->addElement( new XoopsFormEditor({$language}, '{$field_name}', \$editor_configs){$required});\n
+ \$editor_configs['editor'] = \$this->{$module_dirname}->getConfig('{$module_dirname}_editor');
+ \$form->addElement( new XoopsFormEditor({$language}, '{$field_name}', \$editor_configs){$required} );\n
EOT;
return $ret;
}
@@ -116,7 +116,7 @@
\${$field_name} = \$this->isNew() ? 0 : \$this->getVar('{$field_name}');
\$check_{$field_name} = new XoopsFormCheckBox({$language}, '{$field_name}', \${$field_name});
\$check_{$field_name}->addOption(1, " ");
- \$form->addElement(\$check_{$field_name}{$required});\n
+ \$form->addElement( \$check_{$field_name}{$required} );\n
EOT;
return $ret;
}
@@ -126,7 +126,7 @@
*/
public function getXoopsFormHidden($field_name) {
$ret = <<<EOT
- \$form->addElement(new XoopsFormHidden('{$field_name}', \$this->getVar('{$field_name}')));\n
+ \$form->addElement( new XoopsFormHidden('{$field_name}', \$this->getVar('{$field_name}')) );\n
EOT;
return $ret;
}
@@ -136,9 +136,9 @@
* @param string $field_name
* @param string $required
*/
- public function getXoopsFormUploadFile($language, $field_name, $required = 'false') {
+ public function getXoopsFormUploadFile($language, $module_dirname, $field_name, $required = 'false') {
$ret = <<<EOT
- \$form->addElement(new XoopsFormUploadFile({$language}, '{$field_name}', \$GLOBALS['xoopsModuleConfig']['maxsize']){$required});\n
+ \$form->addElement( new XoopsFormFile({$language}, '{$field_name}', \$this->{$module_dirname}->getConfig('maxsize')){$required} );\n
EOT;
return $ret;
}
@@ -149,10 +149,10 @@
* @param string $field_name
* @param string $required
*/
- public function getXoopsFormUploadImage($language, $table_name, $field_name, $required = 'false') {
+ public function getXoopsFormUploadImage($language, $module_dirname, $table_name, $field_name, $required = 'false') {
$stu_field_name = strtoupper($field_name);
$ret = <<<EOT
- //\$form->addElement(new XoopsFormUploadImage({$language}, '{$field_name}', \$GLOBALS['xoopsModuleConfig']['maxsize']){$required});
+ //\$form->addElement(new XoopsFormImage({$language}, '{$field_name}', \$this->{$module_dirname}->getConfig('maxsize')){$required});
\$get_{$field_name} = \$this->getVar('{$field_name}');
\${$field_name} = \$get_{$field_name} ? \$get_{$field_name} : 'blank.gif';
\$iconsdir = '/Frameworks/moduleclasses/icons/32';
@@ -179,10 +179,10 @@
\$imgtray1->addElement(\$imageselect1, false);
\$imgtray1->addElement( new XoopsFormLabel( '', "<br /><img src='".XOOPS_URL."/".\$iconsdirectory."/".\${$field_name}."' name='image1' id='image1' alt='' />" ) );
\$fileseltray1 = new XoopsFormElementTray('','<br />');
- \$fileseltray1->addElement(new XoopsFormFile({$language}FORMUPLOAD , 'attachedfile', \$GLOBALS['xoopsModuleConfig']['maxsize']));
+ \$fileseltray1->addElement(new XoopsFormFile({$language}FORMUPLOAD , 'attachedfile', \$this->{$module_dirname}->getConfig('maxsize')));
\$fileseltray1->addElement(new XoopsFormLabel(''));
\$imgtray1->addElement(\$fileseltray1);
- \$form->addElement(\$imgtray1{$required});\n
+ \$form->addElement( \$imgtray1{$required} );\n
EOT;
return $ret;
}
@@ -192,9 +192,9 @@
* @param string $field_name
* @param string $required
*/
- public function getXoopsFormColorPicker($language, $field_name, $required = 'false') {
+ public function getXoopsFormColorPicker($language, $module_dirname, $field_name, $required = 'false') {
$ret = <<<EOT
- \$form->addElement(new XoopsFormColorPicker({$language}, '{$field_name}', \$xoopsModuleConfig['maxsize']){$required});\n
+ \$form->addElement( new XoopsFormColorPicker({$language}, '{$field_name}', \$this->{$module_dirname}->getConfig('maxsize')){$required} );\n
EOT;
return $ret;
}
@@ -209,7 +209,7 @@
$ret = <<<EOT
\${$field_name}_select = new XoopsFormSelect({$language}, '{$field_name}', \$this->getVar('{$field_name}'));
\${$field_name}_select->addOptionArray({$table_name}Handler->getList());
- \$form->addElement(\${$field_name}_select{$required});\n
+ \$form->addElement( \${$field_name}_select{$required} );\n
EOT;
return $ret;
}
@@ -221,7 +221,7 @@
*/
public function getXoopsFormSelectUser($language, $field_name, $required = 'false') {
$ret = <<<EOT
- \$form->addElement(new XoopsFormSelectUser({$language}, '{$field_name}', false, \$this->getVar('{$field_name}'), 1, false){$required});\n
+ \$form->addElement( new XoopsFormSelectUser({$language}, '{$field_name}', false, \$this->getVar('{$field_name}'), 1, false){$required} );\n
EOT;
return $ret;
}
@@ -234,7 +234,7 @@
public function getXoopsFormRadioYN($language, $field_name, $required = 'false') {
$ret = <<<EOT
${$field_name} = \$this->isNew() ? 0 : \$this->getVar('{$field_name}');
- \$form->addElement(new XoopsFormRadioYN({$language}, '{$field_name}', ${$field_name}){$required});\n
+ \$form->addElement( new XoopsFormRadioYN({$language}, '{$field_name}', ${$field_name}){$required} );\n
EOT;
return $ret;
}
@@ -244,21 +244,21 @@
* @param string $field_name
* @param string $required
*/
- public function getXoopsFormTextDateSelect($language, $field_name, $required = 'false') {
+ public function getXoopsFormTextDateSelect($language, $module_dirname, $field_name, $required = 'false') {
$ret = <<<EOT
- \$form->addElement(new XoopsFormTextDateSelect({$language}, '{$field_name}', '', \$this->getVar('{$field_name}')){$required});\n
+ \$form->addElement( new XoopsFormTextDateSelect({$language}, '{$field_name}', '', \$this->getVar('{$field_name}')){$required} );\n
EOT;
return $ret;
}
/*
* @public function getXoopsFormTable
* @param string $language
- * @param string $module_name
+ * @param string $module_dirname
* @param string $table_name
* @param string $fields
* @param string $required
*/
- public function getXoopsFormTable($language, $module_name, $table_name, $fields, $required = 'false')
+ public function getXoopsFormTable($language, $module_dirname, $table_name, $fields, $required = 'false')
{
$field_name = '';
foreach(array_keys($fields) as $f)
@@ -268,22 +268,22 @@
}
}
$ret = <<<XFT
- \${$table_name}Handler =& xoops_getModuleHandler('{$table_name}', '{$module_name}');
+ \${$table_name}Handler =& \$this->{$module_dirname}->getHandler('{$table_name}');
\${$field_name}_select = new XoopsFormSelect({$language}, '{$field_name}', \$this->getVar('{$field_name}'));
\${$field_name}_select->addOptionArray(\${$field_name}Handler->getList());
- \$form->addElement(\${$field_name}_select{$required});\n
+ \$form->addElement( \${$field_name}_select{$required} );\n
XFT;
return $ret;
}
/*
* @public function getXoopsFormTopic
* @param string $language
- * @param string $module_name
+ * @param string $module_dirname
* @param string $table_name
* @param string $fields
* @param string $required
*/
- public function getXoopsFormTopic($language, $module_name, $table_name, $fields, $required = 'false')
+ public function getXoopsFormTopic($language, $module_dirname, $table_name, $fields, $required = 'false')
{
foreach(array_keys($fields) as $f)
{
@@ -300,13 +300,13 @@
}
$ret = <<<XFT
include_once(XOOPS_ROOT_PATH . '/class/tree.php');
- \${$table_name}Handler = xoops_getModuleHandler('{$table_name}', '\${$module_name}' );
+ \${$table_name}Handler = \$this->{$module_dirname}->getHandler('{$table_name}');
\$criteria = new CriteriaCompo();
\${$table_name} = \${$table_name}Handler->getObjects( \$criteria );
if(\${$table_name}) {
\${$table_name}_tree = new XoopsObjectTree( \${$table_name}, '{$field_id}', '{$field_pid}' );
\${$field_pid} = \${$table_name}_tree->makeSelBox( '{$field_pid}', '{$field_main}','--', \$this->getVar('{$field_pid}', 'e' ), true );
- \$form->addElement( new XoopsFormLabel ( {$language}, \${$field_pid} ){$required});
+ \$form->addElement( new XoopsFormLabel ( {$language}, \${$field_pid} ){$required} );
}\n
XFT;
return $ret;
@@ -318,9 +318,9 @@
public function renderElements() {
$module = $this->getModule();
$table = $this->getTable();
- $module_name = $module->getVar('mod_name');
+ $module_dirname = $module->getVar('mod_dirname');
$table_name = $table->getVar('table_name');
- $language_funct = $this->getLanguage($module_name, 'AM');
+ $language_funct = $this->getLanguage($module_dirname, 'AM');
$language_table = $language_funct . strtoupper($table_name);
$ret = '';
$fields = $this->getTableFields($table->getVar('table_id'));
@@ -341,7 +341,7 @@
$ret .= $this->getXoopsFormTextArea($language, $field_name, $required);
break;
case 3:
- $ret .= $this->getXoopsFormDhtmlTextArea($language, $module_name, $field_name, $required);
+ $ret .= $this->getXoopsFormDhtmlTextArea($language, $module_dirname, $field_name, $required);
break;
case 4:
$ret .= $this->getXoopsFormCheckBox($language, $field_name, $required);
@@ -356,16 +356,16 @@
$ret .= $this->getXoopsFormSelectUser($language, $field_name, $required);
break;
case 8:
- $ret .= $this->getXoopsFormColorPicker($language, $field_name, $required);
+ $ret .= $this->getXoopsFormColorPicker($language, $module_dirname, $field_name, $required);
break;
case 9:
- $ret .= $this->getXoopsFormUploadImage($language_funct, $table_name, $field_name, $required);
+ $ret .= $this->getXoopsFormUploadImage($language_funct, $module_dirname, $table_name, $field_name, $required);
break;
case 10:
- $ret .= $this->getXoopsFormUploadFile...
[truncated message content] |
|
From: <be...@us...> - 2014-06-29 03:11:58
|
Revision: 12664
http://sourceforge.net/p/xoops/svn/12664
Author: beckmi
Date: 2014-06-29 03:11:49 +0000 (Sun, 29 Jun 2014)
Log Message:
-----------
replaced "dirname(__FILE__)" with "__DIR__" (part 2)
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/readme.txt
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/soundcloud/soundcloud.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/youtube/youtube.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/dhtmltextarea.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/about.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/about.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/admin_menu.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/advisory.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/center.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/index.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/prefix_manager.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/blocks/blocks.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/index.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/module_icon.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/mytrustdirname.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/notification.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/notification_update.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/oninstall.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/onuninstall.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/onupdate.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/search.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/jquery.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpThumb.config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.class.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/mymenu.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/blocks.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/class/gtickets.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/include/install_extramodcheck.inc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/main.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.0.18-to-2.3.0/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.3.0-to-2.3.1/index.php
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/readme.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/readme.txt 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/readme.txt 2014-06-29 03:11:49 UTC (rev 12664)
@@ -51,7 +51,7 @@
function decode($text)
{
// Load config data if any
- $config = parent::loadConfig( __DIR__ );
+ $config = parent::loadConfig(__DIR__);
if ( empty($text) || empty($config['enabled']) ) return $text;
$ret = someFunctionToConvertTheTextToDefinedFormat($text);
return $ret;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/soundcloud/soundcloud.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/soundcloud/soundcloud.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/soundcloud/soundcloud.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -12,7 +12,7 @@
*/
public function encode($textarea_id)
{
- $config = parent::loadConfig( __DIR__ );
+ $config = parent::loadConfig(__DIR__);
$code = "<img src='{$this->image_path}/soundcloud.png' alt='" . _XOOPS_FORM_ALT_SOUNDCLOUD
. "' title='" . _XOOPS_FORM_ALT_SOUNDCLOUD . "' '"
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/youtube/youtube.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/youtube/youtube.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/youtube/youtube.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -27,7 +27,7 @@
*/
function encode($textarea_id)
{
- $config = parent::loadConfig( __DIR__ );
+ $config = parent::loadConfig(__DIR__);
$code = "<img src='{$this->image_path}/youtube.gif' alt='" . _XOOPS_FORM_ALTYOUTUBE . "' title='" . _XOOPS_FORM_ALTYOUTUBE . "' '" . "' onclick='xoopsCodeYoutube(\"{$textarea_id}\",\""
. htmlspecialchars(_XOOPS_FORM_ENTERYOUTUBEURL, ENT_QUOTES) . "\",\""
. htmlspecialchars(_XOOPS_FORM_ALT_ENTERHEIGHT, ENT_QUOTES)
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/dhtmltextarea.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/dhtmltextarea.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/dhtmltextarea.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -48,7 +48,7 @@
function __construct($options = array())
{
parent::__construct( $options );
- $this->rootPath = '/class/xoopseditor/' . basename( dirname( __FILE__ ) );
+ $this->rootPath = '/class/xoopseditor/' . basename(__DIR__);
$hiddenText = isset( $this->configs['hiddenText'] ) ? $this->configs['hiddenText'] : $this->_hiddenText;
xoops_load('XoopsFormDhtmlTextArea');
$this->renderer = new XoopsFormDhtmlTextArea( '', $this->getName(), $this->getValue(), $this->getRows(), $this->getCols(), $hiddenText, $this->configs );
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/about.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/about.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/about.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -18,7 +18,7 @@
**/
include_once __DIR__ . '/../../../include/cp_header.php';
-include '../../../class/xoopsformloader.php';
+include_once __DIR__ . '/../../../class/xoopsformloader.php';
include_once __DIR__ . '/admin_header.php';
xoops_cp_header();
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/about.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/about.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/about.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -3,8 +3,8 @@
require '../../../mainfile.php' ;
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH in mainfile.php' ) ;
-$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
-$mydirpath = dirname( dirname( __FILE__ ) ) ;
+$mydirname = basename( dirname(__DIR__) ) ;
+$mydirpath = dirname(__DIR__) ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/admin/about.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/admin_menu.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/admin_menu.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/admin_menu.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -2,8 +2,8 @@
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH into mainfile.php' ) ;
-$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
-$mydirpath = dirname( dirname( __FILE__ ) ) ;
+$mydirname = basename( dirname(__DIR__) ) ;
+$mydirpath = dirname(__DIR__) ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/admin_menu.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/advisory.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/advisory.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/advisory.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -3,8 +3,8 @@
require '../../../mainfile.php' ;
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH in mainfile.php' ) ;
-$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
-$mydirpath = dirname( dirname( __FILE__ ) ) ;
+$mydirname = basename( dirname(__DIR__) ) ;
+$mydirpath = dirname(__DIR__) ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/admin/advisory.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/center.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/center.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/center.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -3,8 +3,8 @@
require '../../../mainfile.php' ;
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH in mainfile.php' ) ;
-$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
-$mydirpath = dirname( dirname( __FILE__ ) ) ;
+$mydirname = basename( dirname(__DIR__) ) ;
+$mydirpath = dirname(__DIR__) ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
//require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/admin.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/index.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/index.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/index.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -3,8 +3,8 @@
require '../../../mainfile.php' ;
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH in mainfile.php' ) ;
-$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
-$mydirpath = dirname( dirname( __FILE__ ) ) ;
+$mydirname = basename( dirname(__DIR__) ) ;
+$mydirpath = dirname(__DIR__) ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/admin/index.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/prefix_manager.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/prefix_manager.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/admin/prefix_manager.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -3,8 +3,8 @@
require '../../../mainfile.php' ;
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH in mainfile.php' ) ;
-$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
-$mydirpath = dirname( dirname( __FILE__ ) ) ;
+$mydirname = basename( dirname(__DIR__) ) ;
+$mydirpath = dirname(__DIR__) ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/admin/prefix_manager.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/blocks/blocks.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/blocks/blocks.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/blocks/blocks.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -2,8 +2,8 @@
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH into mainfile.php' ) ;
-$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
-$mydirpath = dirname( dirname( __FILE__ ) ) ;
+$mydirname = basename( dirname( __DIR__ ) ) ;
+$mydirpath = dirname(__DIR__) ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/blocks.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/index.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/index.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/index.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -3,8 +3,8 @@
require '../../mainfile.php' ;
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH in mainfile.php' ) ;
-$mydirname = basename( dirname( __FILE__ ) ) ;
-$mydirpath = dirname( __FILE__ ) ;
+$mydirname = basename(__DIR__) ;
+$mydirpath = __DIR__ ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
if( @$_GET['mode'] == 'admin' ) {
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/module_icon.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/module_icon.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/module_icon.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -5,8 +5,8 @@
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH into mainfile.php' ) ;
-$mydirname = basename( dirname( __FILE__ ) ) ;
-$mydirpath = dirname( __FILE__ ) ;
+$mydirname = basename(__DIR__) ;
+$mydirpath = __DIR__ ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/module_icon.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/mytrustdirname.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/mytrustdirname.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/mytrustdirname.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -6,7 +6,7 @@
include_once XOOPS_TRUST_PATH . '/modules/' . $mytrustdirname . '/class/registry.php';
$registry =& ProtectorRegistry::getInstance();
-$registry->setEntry('mydirname', basename(dirname( __FILE__ )));
-$registry->setEntry('mydirpath', dirname( __FILE__ ));
+$registry->setEntry('mydirname', basename(__DIR__));
+$registry->setEntry('mydirpath', __DIR__);
$registry->setEntry('mytrustdirname', $mytrustdirname);
$registry->setEntry('language', empty($xoopsConfig['language']) ? "english" : $xoopsConfig['language']);
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/notification.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/notification.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/notification.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -2,8 +2,8 @@
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH into mainfile.php' ) ;
-$mydirname = basename( dirname( __FILE__ ) ) ;
-$mydirpath = dirname( __FILE__ ) ;
+$mydirname = basename(__DIR__) ;
+$mydirpath = __DIR__ ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/notification.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/notification_update.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/notification_update.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/notification_update.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -2,8 +2,8 @@
require '../../mainfile.php' ;
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH in mainfile.php' ) ;
-$mydirname = basename( dirname( __FILE__ ) ) ;
-$mydirpath = dirname( __FILE__ ) ;
+$mydirname = basename(__DIR__) ;
+$mydirpath = __DIR__ ;
$mydirurl = XOOPS_URL.'/modules/'.$mydirname;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/oninstall.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/oninstall.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/oninstall.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -2,8 +2,8 @@
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH into mainfile.php' ) ;
-$mydirname = basename( dirname( __FILE__ ) ) ;
-$mydirpath = dirname( __FILE__ ) ;
+$mydirname = basename(__DIR__) ;
+$mydirpath = __DIR__ ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/oninstall.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/onuninstall.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/onuninstall.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/onuninstall.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -2,8 +2,8 @@
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH into mainfile.php' ) ;
-$mydirname = basename( dirname( __FILE__ ) ) ;
-$mydirpath = dirname( __FILE__ ) ;
+$mydirname = basename(__DIR__) ;
+$mydirpath = __DIR__ ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/onuninstall.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/onupdate.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/onupdate.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/onupdate.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -2,8 +2,8 @@
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH into mainfile.php' ) ;
-$mydirname = basename( dirname( __FILE__ ) ) ;
-$mydirpath = dirname( __FILE__ ) ;
+$mydirname = basename(__DIR__) ;
+$mydirpath = __DIR__ ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/onupdate.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/search.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/search.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/search.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -2,8 +2,8 @@
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH into mainfile.php' ) ;
-$mydirname = basename( dirname( __FILE__ ) ) ;
-$mydirpath = dirname( __FILE__ ) ;
+$mydirname = basename(__DIR__) ;
+$mydirpath = __DIR__ ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/search.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/xoops_version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/xoops_version.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/protector/xoops_version.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -2,8 +2,8 @@
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH into mainfile.php' ) ;
-$mydirname = basename( dirname( __FILE__ ) ) ;
-$mydirpath = dirname( __FILE__ ) ;
+$mydirname = basename(__DIR__) ;
+$mydirpath = __DIR__ ;
require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/xoops_version.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/jquery.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/jquery.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/tplsets/jquery.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -17,7 +17,7 @@
* @version $Id$
*/
-include dirname( dirname( dirname( __FILE__ ) ) ) . '/header.php';
+include dirname( dirname(__DIR__) ) . '/header.php';
// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined");
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpThumb.config.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpThumb.config.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpThumb.config.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -9,7 +9,7 @@
// THIS CONFIG FILE ONLY APPLIES TO phpThumb.php //
// ///
//////////////////////////////////////////////////////////////
-require dirname( dirname( dirname( __FILE__ ) ) ) . '/header.php';
+require dirname( dirname(__DIR__) ) . '/header.php';
ob_start();
if (!file_exists(__DIR__.'/phpthumb.functions.php') || !include_once(__DIR__.'/phpthumb.functions.php')) {
ob_end_flush();
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.class.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.class.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.class.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -9,9 +9,9 @@
//////////////////////////////////////////////////////////////
ob_start();
-if (!include_once(__DIR__.'/phpthumb.functions.php')) {
+if (!include_once(__DIR__ . '/phpthumb.functions.php')) {
ob_end_flush();
- die('failed to include_once("'.realpath(__DIR__.'/phpthumb.functions.php').'")');
+ die('failed to include_once("'.realpath(__DIR__ . '/phpthumb.functions.php').'")');
}
ob_end_clean();
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/header.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/header.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/header.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -15,7 +15,7 @@
*/
// Include XOOPS control panel header
-include_once dirname( dirname( dirname( __FILE__ ) ) ) . '/include/cp_header.php';
+include_once dirname( dirname(__DIR__) ) . '/include/cp_header.php';
// Check user rights
if (is_object($xoopsUser)) {
$admintest = 0;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/mymenu.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/mymenu.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/mymenu.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -3,7 +3,7 @@
if( defined( 'XOOPS_ORETEKI' ) ) return ;
global $xoopsModule;
-$mydirpath = dirname( dirname( __FILE__ ) ) ;
+$mydirpath = dirname(__DIR__) ;
if( ! is_object( $xoopsModule ) ) die( '$xoopsModule is not set' ) ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -8,8 +8,8 @@
$language = $registry->getEntry('language');
// end hack by Trabis
-$mytrustdirname = basename( dirname( __FILE__ ) ) ;
-$mytrustdirpath = dirname( __FILE__ ) ;
+$mytrustdirname = basename(__DIR__) ;
+$mytrustdirpath = __DIR__ ;
// environment
require_once XOOPS_ROOT_PATH.'/class/template.php' ;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/blocks.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/blocks.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/blocks.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -8,8 +8,8 @@
$language = $registry->getEntry('language');
// end hack by Trabis
-$mytrustdirname = basename( dirname( __FILE__ ) ) ;
-$mytrustdirpath = dirname( __FILE__ ) ;
+$mytrustdirname = basename(__DIR__) ;
+$mytrustdirpath = __DIR__ ;
// language files
//$language = empty( $GLOBALS['xoopsConfig']['language'] ) ? 'english' : $GLOBALS['xoopsConfig']['language'] ; //hack by Trabis
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/class/gtickets.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/class/gtickets.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/class/gtickets.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -19,8 +19,8 @@
// language file
if ( defined( 'XOOPS_ROOT_PATH' ) && ! empty( $xoopsConfig['language'] ) && ! strstr( $xoopsConfig['language'] , '/' ) ) {
- if ( file_exists( dirname( dirname( __FILE__ ) ) . '/language/' . $xoopsConfig['language'] . '/gticket_messages.phtml' ) ) {
- include dirname( dirname( __FILE__ ) ) . '/language/' . $xoopsConfig['language'] . '/gticket_messages.phtml' ;
+ if ( file_exists( dirname(__DIR__) . '/language/' . $xoopsConfig['language'] . '/gticket_messages.phtml' ) ) {
+ include dirname(__DIR__) . '/language/' . $xoopsConfig['language'] . '/gticket_messages.phtml' ;
}
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/include/install_extramodcheck.inc.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/include/install_extramodcheck.inc.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/include/install_extramodcheck.inc.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -8,5 +8,5 @@
*/
function get_writeoks_from_protector( $xoops_root_path , $mytrustdirname )
{
- return array( dirname(dirname( __FILE__ )) . '/configs' ) ;
+ return array( __DIR__ . '/configs' ) ;
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/main.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/main.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/main.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -8,8 +8,8 @@
$language = $registry->getEntry('language');
// end hack by Trabis
-$mytrustdirname = basename( dirname( __FILE__ ) ) ;
-$mytrustdirpath = dirname( __FILE__ ) ;
+$mytrustdirname = basename(__DIR__) ;
+$mytrustdirpath = __DIR__ ;
// check permission of 'module_read' of this module
// (already checked by common.php)
Modified: XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.0.18-to-2.3.0/index.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.0.18-to-2.3.0/index.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.0.18-to-2.3.0/index.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -179,7 +179,7 @@
{
$allowWebChanges = $GLOBALS['xoopsDB']->allowWebChanges;
$GLOBALS['xoopsDB']->allowWebChanges = true;
- $result = $GLOBALS['xoopsDB']->queryFromFile( __DIR__ . "/mysql.structure.sql" );
+ $result = $GLOBALS['xoopsDB']->queryFromFile(__DIR__ . "/mysql.structure.sql" );
$GLOBALS['xoopsDB']->allowWebChanges = $allowWebChanges;
return $result;
Modified: XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.3.0-to-2.3.1/index.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.3.0-to-2.3.1/index.php 2014-06-29 01:44:58 UTC (rev 12663)
+++ XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.3.0-to-2.3.1/index.php 2014-06-29 03:11:49 UTC (rev 12664)
@@ -72,7 +72,7 @@
{
$allowWebChanges = $GLOBALS['xoopsDB']->allowWebChanges;
$GLOBALS['xoopsDB']->allowWebChanges = true;
- $result = $GLOBALS['xoopsDB']->queryFromFile( __DIR__ . "/mysql.structure.sql" );
+ $result = $GLOBALS['xoopsDB']->queryFromFile(__DIR__ . "/mysql.structure.sql" );
$GLOBALS['xoopsDB']->allowWebChanges = $allowWebChanges;
return $result;
}
|
|
From: <be...@us...> - 2014-06-29 01:45:05
|
Revision: 12663
http://sourceforge.net/p/xoops/svn/12663
Author: beckmi
Date: 2014-06-29 01:44:58 +0000 (Sun, 29 Jun 2014)
Log Message:
-----------
replaced "dirname(__FILE__)" with "__DIR__"
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt
XoopsCore/branches/2.5.x/2.5.8/extras/altsys_functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.admin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/backend.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/browse.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/xoopscache.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/recaptcha.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/file/xoopsfile.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/xoopsmodel.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/Smarty.class.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/censor/censor.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/flash/flash.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/image/image.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/mms/mms.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/readme.txt
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/rtsp/rtsp.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/soundcloud/soundcloud.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/syntaxhighlight/syntaxhighlight.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/textfilter/textfilter.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/wiki/wiki.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/wmp/wmp.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/youtube/youtube.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/formtinymce.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagemanager.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/xoopsmlcontent.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/xoopseditor.inc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/edituser.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/image.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/imagemanager.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/cp_header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/findusers.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/formdhtmltextarea_preview.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/version.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/index.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/makedata.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/object.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/lostpass.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/misc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/about.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/admin.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/admin_header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/menu.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/prune.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/include/update.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/pmlite.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/readpmsg.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/viewpmsg.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/activate.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/about.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/admin_header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/category.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/deactivate.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/field.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/index.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/menu.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/permissions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/step.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/user.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/visibility.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/changemail.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/changepass.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/edituser.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/include/update.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/index.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/lostpass.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/register.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/search.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/user.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/userinfo.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/groupperm.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpThumb.config.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpThumb.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/class/thumbs/phpthumb.class.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/default/default.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/legacy/legacy.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/themes/zetadigme/zetadigme.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/notifications.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/pda.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/pmlite.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/readpmsg.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/register.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/search.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/blocks/search.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/class/category.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/class/item.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/item.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/xbootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/search.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/user.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/userinfo.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/viewpmsg.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xmlrpc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/admin_header.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/advisory.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/center.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/mymenu.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/admin/prefix_manager.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/class/ProtectorFilter.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/class/protector.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4everyone.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4guest.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/include/postcheck.inc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/include/postcheck_functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/include/precheck.inc.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/include/precheck_functions.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Bootstrap.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/LanguageFactory.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/library/HTMLPurifier.auto.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/library/HTMLPurifier.kses.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/library/HTMLPurifier.path.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/library/HTMLPurifier.safe-includes.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/module_icon.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/notification.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/oninstall.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/onuninstall.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/onupdate.php
XoopsCore/branches/2.5.x/2.5.8/htdocs/xoops_lib/modules/protector/xoops_version.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/cnt-2.2.x-to-2.3.0/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.0.18-to-2.3.0/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.3.0-to-2.3.1/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.3.3-to-2.4.0/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.4.0-to-2.4.1/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.4.x-to-2.5.0/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.5.4-to-2.5.5/index.php
XoopsCore/branches/2.5.x/2.5.8/upgrade/upd-2.5.5-to-2.5.6/index.php
Added Paths:
-----------
XoopsCore/branches/2.5.x/2.5.8/extras/mainfile.php
Modified: XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt 2014-06-29 01:44:58 UTC (rev 12663)
@@ -3,9 +3,18 @@
===============================
NOT RELEASED: Version 2.5.8 Beta 1
===============================
-Bugfixes:
+- replaced "dirname(__FILE__)" with "__DIR__" since the min. PHP is now 5.3.7, and __DIR__ is faster (mamba)
===============================
+2014-06-20: Version 2.5.7 Final (Patch)
+===============================
+
+- Updating docu for the correct version of tablesorter (mamba)
+- Fix path specified for include (rgriffith, mamba)
+- added mainfile.php to /extras for use on servers where write to root is not possible (rgriffith)
+- fix for array issue in pm/viempmsg.php (Roby73/mamba)
+
+===============================
2014/06/14: Version 2.5.7 Final
===============================
- updated XoopsMediaUploader to use system memory values from php.ini, and to offer random file names (mamba/luciorota/zyspec)
@@ -30,7 +39,7 @@
Bugfixes:
- fixed System Module image manager html/js bugs (luciorota)
- replaced "array_diff_assoc" with "array_diff_key" in /class/theme_blocks.php (masel/mamba)
-- icons for active module sections in System module not shown correctly (Slider84/mamba)
+- icons for active module sections in System module not shown correctly (Slider84/mamba)
- added two new language definitions (see lang_diff.txt)
- added Office 2007 MIME types (Voltan)
- added xml MIME type (Goffy)
@@ -837,4 +846,4 @@
- modules/system/class/users.php: User Class Manager (Add)
* Manage user with a specific class
- modules/system/language/english/admin/users.php: User variable (Modify)
- * Changed define name to follow XOOPS standard
\ No newline at end of file
+ * Changed define name to follow XOOPS standard
Modified: XoopsCore/branches/2.5.x/2.5.8/extras/altsys_functions.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/extras/altsys_functions.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/extras/altsys_functions.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -33,7 +33,7 @@
foreach( $mymenu_find_paths as $mymenu_find_path ) {
if( file_exists( $mymenu_find_path ) ) {
include $mymenu_find_path ;
- include_once dirname(__FILE__).'/adminmenu_functions.php' ;
+ include_once __DIR__.'/adminmenu_functions.php' ;
altsys_adminmenu_insert_mymenu( $xoopsModule ) ;
altsys_adminmenu_hack_ft() ;
break ;
@@ -120,4 +120,4 @@
}
-?>
\ No newline at end of file
+?>
Added: XoopsCore/branches/2.5.x/2.5.8/extras/mainfile.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/extras/mainfile.php (rev 0)
+++ XoopsCore/branches/2.5.x/2.5.8/extras/mainfile.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -0,0 +1,19 @@
+<?php
+/**
+ * This is a dummy placeholder for mainfile.php, the XOOPS configuration file
+ *
+ * This is only needed for installation on servers that cannot write a file directly
+ * into the main XOOPS root directory. On these servers, the install will stop
+ * progressing after configuring the database (install/page_dbconnection.php)
+ *
+ * If you experience this problem:
+ * - copy this file to the XOOPS root directory
+ * - set the file permissions to make it writeable
+ * - rerun the install
+ *
+ * Typical writable permission would be 665 (user read/write, group read/write, other read)
+ * If problems persist, escalate permission to 777 (world read/write/execute) as a last resort.
+ */
+if (! defined('XOOPS_INSTALL')) {
+ header('Location: install/index.php');
+}
Property changes on: XoopsCore/branches/2.5.x/2.5.8/extras/mainfile.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.admin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.admin.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.admin.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -14,7 +14,7 @@
if(!defined("FRAMEWORKS_ART_FUNCTIONS_ADMIN")):
define("FRAMEWORKS_ART_FUNCTIONS_ADMIN", true);
-defined("FRAMEWORKS_ART_FUNCTIONS_INI") || include_once dirname(__FILE__) . "/functions.ini.php";
+defined("FRAMEWORKS_ART_FUNCTIONS_INI") || include_once __DIR__ . "/functions.ini.php";
/**
* @param $currentoption
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/art/functions.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -14,7 +14,7 @@
if (defined('XOOPS_ART_FUNCTIONS')) return false;
define('XOOPS_ART_FUNCTIONS', true);
-include_once dirname(__FILE__) . "/functions.ini.php";
+include_once __DIR__ . "/functions.ini.php";
load_functions("cache");
load_functions("user");
@@ -22,7 +22,7 @@
load_functions("admin");
if (!class_exists('ArtObject'))
- include_once dirname(__FILE__) . "/object.php";
+ include_once __DIR__ . "/object.php";
/**
* get MySQL server version
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/admin.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -15,7 +15,7 @@
*/
$xoopsOption['pagetype'] = 'admin';
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include __DIR__ . DIRECTORY_SEPARATOR . 'mainfile.php';
include_once $GLOBALS['xoops']->path('include/cp_functions.php');
/**
* Admin Authentication
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/backend.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/backend.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/backend.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -15,7 +15,7 @@
* @version $Id$
*/
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include __DIR__ . DIRECTORY_SEPARATOR . 'mainfile.php';
$GLOBALS['xoopsLogger']->activated = false;
if (function_exists('mb_http_output')) {
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/banners.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -20,7 +20,7 @@
*/
$xoopsOption['pagetype'] = 'banners';
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include __DIR__ . DIRECTORY_SEPARATOR . 'mainfile.php';
/********************************************/
/* Function to let your client login to see */
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/browse.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/browse.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/browse.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -21,7 +21,7 @@
defined('NWLINE')or define('NWLINE', "\n");
$xoopsOption['nocommon'] = true;
-require_once dirname(__FILE__) . DS . 'mainfile.php';
+require_once __DIR__ . DS . 'mainfile.php';
error_reporting(0);
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/xoopscache.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/xoopscache.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/cache/xoopscache.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -86,7 +86,7 @@
function loadEngine($name)
{
if (!class_exists('XoopsCache' . ucfirst($name))) {
- if (file_exists($file = dirname(__FILE__) . '/' . strtolower($name) . '.php')) {
+ if (file_exists($file = __DIR__ . '/' . strtolower($name) . '.php')) {
include $file;
} else {
trigger_error('File :' . $file . ' not found in file : ' . __FILE__ . ' at line: ' . __LINE__, E_USER_WARNING);
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/recaptcha.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/recaptcha.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/captcha/recaptcha.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -42,7 +42,7 @@
*/
function render()
{
- require_once dirname(__FILE__) . '/recaptcha/recaptchalib.php';
+ require_once __DIR__ . '/recaptcha/recaptchalib.php';
$form = "<script type=\"text/javascript\">
var RecaptchaOptions = {
theme : '" . $this->config['theme']."',
@@ -64,7 +64,7 @@
function verify($sessionName)
{
$is_valid = false;
- require_once dirname(__FILE__) . '/recaptcha/recaptchalib.php';
+ require_once __DIR__ . '/recaptcha/recaptchalib.php';
if (!empty($_POST['recaptcha_response_field'])) {
$resp = recaptcha_check_answer(
$this->config['private_key'],
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/file/xoopsfile.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/file/xoopsfile.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/file/xoopsfile.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -71,7 +71,7 @@
switch ($name) {
case 'folder':
if (!class_exists('XoopsFolderHandler')) {
- if (file_exists($folder = dirname(__FILE__) . '/folder.php')) {
+ if (file_exists($folder = __DIR__ . '/folder.php')) {
include $folder;
} else {
trigger_error('Require Item : ' . str_replace(XOOPS_ROOT_PATH, '', $folder) . ' In File ' . __FILE__ . ' at Line ' . __LINE__, E_USER_WARNING);
@@ -83,7 +83,7 @@
case 'file':
default:
if (!class_exists('XoopsFileHandler')) {
- if (file_exists($file = dirname(__FILE__) . '/file.php')) {
+ if (file_exists($file = __DIR__ . '/file.php')) {
include $file;
} else {
trigger_error('Require File : ' . str_replace(XOOPS_ROOT_PATH, '', $file) . ' In File ' . __FILE__ . ' at Line ' . __LINE__, E_USER_WARNING);
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/xoopsmodel.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/xoopsmodel.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/model/xoopsmodel.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -79,7 +79,7 @@
{
static $handlers;
if (!isset($handlers[$name])) {
- if (file_exists($file = dirname(__FILE__) . '/' . $name . '.php')) {
+ if (file_exists($file = __DIR__ . '/' . $name . '.php')) {
include_once $file;
$className = 'XoopsModel' . ucfirst($name);
$handler = new $className();
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/Smarty.class.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/Smarty.class.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/smarty/Smarty.class.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -46,7 +46,7 @@
*/
if (!defined('SMARTY_DIR')) {
- define('SMARTY_DIR', dirname(__FILE__) . DIRECTORY_SEPARATOR);
+ define('SMARTY_DIR', __DIR__ . DIRECTORY_SEPARATOR);
}
if (!defined('SMARTY_CORE_DIR')) {
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/censor/censor.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/censor/censor.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/censor/censor.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -40,7 +40,7 @@
if (!isset($censorConf)) {
$config_handler = & xoops_gethandler('config');
$censorConf = $config_handler->getConfigsByCat(XOOPS_CONF_CENSOR);
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
//merge and allow config override
$censorConf = array_merge($censorConf, $config);
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/flash/flash.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/flash/flash.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/flash/flash.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -31,7 +31,7 @@
*/
function encode($textarea_id)
{
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
$code = "<img src='{$this->image_path}/swf.gif' alt='" . _XOOPS_FORM_ALTFLASH . "' title='" . _XOOPS_FORM_ALTFLASH . "' '" . "' onclick='xoopsCodeFlash(\"{$textarea_id}\",\""
. htmlspecialchars(_XOOPS_FORM_ENTERFLASHURL, ENT_QUOTES) . "\",\""
. htmlspecialchars(_XOOPS_FORM_ALT_ENTERHEIGHT, ENT_QUOTES) . "\",\""
@@ -98,7 +98,7 @@
*/
static function decode($url, $width, $height)
{
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
if ((empty($width) || empty($height)) && !empty($config['detect_dimension'])) {
if (!$dimension = @getimagesize($url)) {
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/image/image.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/image/image.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/image/image.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -35,7 +35,7 @@
{
static $jsLoaded;
- $config = $this->loadConfig(dirname(__FILE__));
+ $config = $this->loadConfig(__DIR__);
$ts->patterns[] = "/\[img align=(['\"]?)(left|center|right)\\1 width=(['\"]?)([0-9]*)\\3]([^\"\(\)\?\&'<>]*)\[\/img\]/sU";
$ts->patterns[] = "/\[img align=(['\"]?)(left|center|right)\\1]([^\"\(\)\?\&'<>]*)\[\/img\]/sU";
$ts->patterns[] = "/\[img width=(['\"]?)([0-9]*)\\1]([^\"\(\)\?\&'<>]*)\[\/img\]/sU";
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/mms/mms.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/mms/mms.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/mms/mms.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -31,7 +31,7 @@
*/
function encode($textarea_id)
{
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
$code = "<img src='{$this->image_path}/mmssrc.gif' alt='" . _XOOPS_FORM_ALTMMS . "' title='" . _XOOPS_FORM_ALTMMS . "' '" . "' onclick='xoopsCodeMms(\"{$textarea_id}\",\""
. htmlspecialchars(_XOOPS_FORM_ENTERMMSURL, ENT_QUOTES) . "\",\""
. htmlspecialchars(_XOOPS_FORM_ALT_ENTERHEIGHT, ENT_QUOTES) . "\",\""
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/readme.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/readme.txt 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/readme.txt 2014-06-29 01:44:58 UTC (rev 12663)
@@ -14,7 +14,7 @@
function encode($textarea_id)
{
// If the extension has config data, load it
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
// Make sure that the icon is available /images/form/mycode.gif
$code = "<img src='{$this->image_path}/mycode.gif' alt='" . _XOOPS_FORM_ALTMYCODE . "' onclick='xoopsCodeMycode(\"{$textarea_id}\",\"" . htmlspecialchars(_XOOPS_FORM_ENTERMYCODETERM, ENT_QUOTES) . "\");' onmouseover='style.cursor=\"hand\"'/> ";
$javascript = <<<EOH
@@ -39,26 +39,26 @@
// Return the scripts to be displayed in editor form and the javascript for relevant actions
return array($code, $javascript);
}
-
+
// The code parser
- function load(&$ts)
+ function load(&$ts)
{
$ts->patterns[] = "/\[mycode\]([^\]]*)\[\/mycode\]/esU";
- $ts->replacements[] = __CLASS__."::decode( '\\1' )";
+ $ts->replacements[] = __CLASS__."::decode( '\\1' )";
}
-
+
// Processing the text
function decode($text)
{
// Load config data if any
- $config = parent::loadConfig( dirname(__FILE__) );
+ $config = parent::loadConfig( __DIR__ );
if ( empty($text) || empty($config['enabled']) ) return $text;
$ret = someFunctionToConvertTheTextToDefinedFormat($text);
return $ret;
}
}
-config.custom.php:
+config.custom.php:
return $config = array(
"extensions" => array(
"iframe" => 0,
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/rtsp/rtsp.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/rtsp/rtsp.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/rtsp/rtsp.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -31,7 +31,7 @@
*/
function encode($textarea_id)
{
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
$code = "<img src='{$this->image_path}/rtspimg.gif' alt='" . _XOOPS_FORM_ALTRTSP . "' title='" . _XOOPS_FORM_ALTRTSP . "' '" . "' onclick='xoopsCodeRtsp(\"{$textarea_id}\",\""
. htmlspecialchars(_XOOPS_FORM_ENTERRTSPURL, ENT_QUOTES) . "\",\""
. htmlspecialchars(_XOOPS_FORM_ALT_ENTERHEIGHT, ENT_QUOTES) . "\",\""
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/soundcloud/soundcloud.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/soundcloud/soundcloud.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/soundcloud/soundcloud.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -12,7 +12,7 @@
*/
public function encode($textarea_id)
{
- $config = parent::loadConfig( dirname(__FILE__) );
+ $config = parent::loadConfig( __DIR__ );
$code = "<img src='{$this->image_path}/soundcloud.png' alt='" . _XOOPS_FORM_ALT_SOUNDCLOUD
. "' title='" . _XOOPS_FORM_ALT_SOUNDCLOUD . "' '"
@@ -57,7 +57,7 @@
public static function myCallback($match)
{
$url = $match[1] . $match[2];
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
if (!preg_match("/^http[s]?:\/\/(www\.)?soundcloud\.com\/(.*)/i", $url, $matches)) {
trigger_error("Not matched: {$url}", E_USER_WARNING);
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/syntaxhighlight/syntaxhighlight.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/syntaxhighlight/syntaxhighlight.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/syntaxhighlight/syntaxhighlight.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -33,7 +33,7 @@
*/
function load(&$ts, $source, $language)
{
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
if (empty($config['highlight'])) {
return "<pre>{$source}</pre>";
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/textfilter/textfilter.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/textfilter/textfilter.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/textfilter/textfilter.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -55,7 +55,7 @@
$tags = array();
$search = array();
$replace = array();
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
if (!empty($config["patterns"])) {
foreach ($config["patterns"] as $pattern) {
if (empty($pattern['search']))
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/wiki/wiki.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/wiki/wiki.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/wiki/wiki.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -34,7 +34,7 @@
*/
function encode($textarea_id)
{
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
$code = "<img src='{$this->image_path}/wiki.gif' alt='" . _XOOPS_FORM_ALTWIKI
. "' title='" . _XOOPS_FORM_ALTWIKI . "' '"
. "' onclick='xoopsCodeWiki(\"{$textarea_id}\",\"" . htmlspecialchars(_XOOPS_FORM_ENTERWIKITERM, ENT_QUOTES) . "\");' onmouseover='style.cursor=\"hand\"'/> ";
@@ -94,7 +94,7 @@
*/
static function decode($text)
{
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
if (empty($text) || empty($config['link'])) {
return $text;
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/wmp/wmp.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/wmp/wmp.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/wmp/wmp.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -31,7 +31,7 @@
*/
function encode($textarea_id)
{
- $config = parent::loadConfig(dirname(__FILE__));
+ $config = parent::loadConfig(__DIR__);
$code = "<img src='{$this->image_path}/wmp.gif' alt='" . _XOOPS_FORM_ALTWMP . "' title='" . _XOOPS_FORM_ALTWMP . "' '" . "' onclick='xoopsCodeWmp(\"{$textarea_id}\",\""
. htmlspecialchars(_XOOPS_FORM_ENTERWMPURL, ENT_QUOTES) . "\",\""
. htmlspecialchars(_XOOPS_FORM_ALT_ENTERHEIGHT, ENT_QUOTES) . "\",\""
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/youtube/youtube.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/youtube/youtube.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/textsanitizer/youtube/youtube.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -27,7 +27,7 @@
*/
function encode($textarea_id)
{
- $config = parent::loadConfig( dirname(__FILE__) );
+ $config = parent::loadConfig( __DIR__ );
$code = "<img src='{$this->image_path}/youtube.gif' alt='" . _XOOPS_FORM_ALTYOUTUBE . "' title='" . _XOOPS_FORM_ALTYOUTUBE . "' '" . "' onclick='xoopsCodeYoutube(\"{$textarea_id}\",\""
. htmlspecialchars(_XOOPS_FORM_ENTERYOUTUBEURL, ENT_QUOTES) . "\",\""
. htmlspecialchars(_XOOPS_FORM_ALT_ENTERHEIGHT, ENT_QUOTES)
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/formtinymce.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/formtinymce.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/formtinymce.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -54,7 +54,7 @@
$this->configs["area_height"] = isset($this->configs["height"]) ? $this->configs["height"] : $this->height;
$this->configs["fonts"] = $this->getFonts();
- require_once dirname(__FILE__) . "/tinymce.php";
+ require_once __DIR__ . "/tinymce.php";
$this->editor = new TinyMCE($this->configs);
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -14,7 +14,7 @@
*/
// load mainfile.php - start
-$current_path = dirname(__FILE__);
+$current_path = __DIR__;
if (DIRECTORY_SEPARATOR != "/") {
$current_path = str_replace( DIRECTORY_SEPARATOR, "/", $current_path);
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -14,7 +14,7 @@
*/
// load mainfile.php
-$current_path = dirname(__FILE__);
+$current_path = __DIR__;
if (DIRECTORY_SEPARATOR != "/") {
$current_path = str_replace( DIRECTORY_SEPARATOR, "/", $current_path);
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagemanager.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagemanager.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagemanager.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -14,7 +14,7 @@
*/
// load mainfile.php
-$current_path = dirname(__FILE__);
+$current_path = __DIR__;
if (DIRECTORY_SEPARATOR != "/") {
$current_path = str_replace( DIRECTORY_SEPARATOR, "/", $current_path);
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/xoopsmlcontent.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/xoopsmlcontent.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/xoopsmlcontent.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -14,7 +14,7 @@
*/
// load mainfile.php - start
-$current_path = dirname(__FILE__);
+$current_path = __DIR__;
if (DIRECTORY_SEPARATOR != "/") {
$current_path = str_replace( DIRECTORY_SEPARATOR, "/", $current_path);
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -90,7 +90,7 @@
// Load default settings
if ( ! ($this->setting = @include( $GLOBALS['xoops']->path( "var/configs/tinymce.php" ) ) ) ) {
- $this->setting = include dirname(__FILE__) . "/settings.php";
+ $this->setting = include __DIR__ . "/settings.php";
}
// get editor language (from ...)
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/xoopseditor.inc.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/xoopseditor.inc.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/class/xoopseditor/xoopseditor.inc.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -32,7 +32,7 @@
return true;
}
-$mainfile = dirname(dirname(dirname(__FILE__))) . '/mainfile.php';
+$mainfile = dirname(dirname(__DIR__)) . '/mainfile.php';
if (DIRECTORY_SEPARATOR != '/') {
$mainfile = str_replace(DIRECTORY_SEPARATOR, '/', $mainfile);
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/edituser.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/edituser.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/edituser.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -16,7 +16,7 @@
* @version $Id$
*/
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include __DIR__ . DIRECTORY_SEPARATOR . 'mainfile.php';
$xoopsPreload =& XoopsPreload::getInstance();
$xoopsPreload->triggerEvent('core.edituser.start');
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/image.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/image.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/image.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -78,7 +78,7 @@
}
$xoopsOption['nocommon'] = true;
-require_once dirname(__FILE__) . DS . 'mainfile.php';
+require_once __DIR__ . DS . 'mainfile.php';
include_once XOOPS_ROOT_PATH . DS . 'include' . DS .'defines.php';
include_once XOOPS_ROOT_PATH . DS . 'include' . DS . 'functions.php';
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/imagemanager.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/imagemanager.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/imagemanager.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -16,7 +16,7 @@
* @version $Id$
*/
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include __DIR__ . DIRECTORY_SEPARATOR . 'mainfile.php';
XoopsLoad::load('XoopsFilterInput');
if (isset($_REQUEST['target'])) {
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/include/cp_header.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/include/cp_header.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/include/cp_header.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -21,7 +21,7 @@
* the file that will include this file must be located under xoops_url/modules/module_directory_name/admin_directory_name/
*/
$xoopsOption['pagetype'] = 'admin';
-include_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'mainfile.php';
include_once $GLOBALS['xoops']->path('include/cp_functions.php');
$moduleperm_handler =& xoops_gethandler('groupperm');
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/include/findusers.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/include/findusers.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/include/findusers.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -16,7 +16,7 @@
* @author Taiwen Jiang <ph...@us...>
* @version $Id$
*/
-include_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'mainfile.php';
xoops_header(false);
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/include/formdhtmltextarea_preview.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/include/formdhtmltextarea_preview.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/include/formdhtmltextarea_preview.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -17,7 +17,7 @@
* @author Taiwen Jiang <ph...@us...>
* @version $Id$
*/
-include_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'mainfile.php';
$xoopsLogger->activated = false;
$myts =& MyTextSanitizer::getInstance();
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/include/functions.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -1143,5 +1143,5 @@
return $domain;
}
-include_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'functions.encoding.php';
-include_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'functions.legacy.php';
+include_once __DIR__ . DIRECTORY_SEPARATOR . 'functions.encoding.php';
+include_once __DIR__ . DIRECTORY_SEPARATOR . 'functions.legacy.php';
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/include/version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/include/version.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/include/version.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -25,7 +25,7 @@
* It is highly discouraged to use the license file
* It will be depreciated and removed
*/
-@include_once dirname(__FILE__) . '/license.php';
+@include_once __DIR__ . '/license.php';
/**
* Define XOOPS version
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/index.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/index.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/index.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -19,11 +19,11 @@
* @version $Id$
*/
-if (file_exists(dirname(__FILE__) . '/mainfile.php')) {
- include dirname(__FILE__) . '/mainfile.php';
+if (file_exists(__DIR__ . '/mainfile.php')) {
+ include __DIR__ . '/mainfile.php';
}
if (!defined('XOOPS_MAINFILE_INCLUDED')) {
- if (file_exists(dirname(__FILE__) . '/install/index.php')) {
+ if (file_exists(__DIR__ . '/install/index.php')) {
header('Location: install/index.php');
exit;
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/functions.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/functions.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/functions.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -491,7 +491,7 @@
// Private Key
$xoops_serdat['file'] = $func(__FILE__);
$xoops_serdat['basename'] = $func(basename(__FILE__));
- $xoops_serdat['path'] = $func(dirname(__FILE__));
+ $xoops_serdat['path'] = $func(__DIR__);
foreach ($_SERVER as $key => $data) {
$xoops_serdat[$key] = substr($func(serialize($data)),0, 4);
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/makedata.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/makedata.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/install/include/makedata.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -343,5 +343,5 @@
{
set_time_limit(180);
- return xoPutLicenseKey(xoBuildLicenceKey(), XOOPS_ROOT_PATH . '/include/license.php', dirname(__FILE__) . '/license.dist.php');
+ return xoPutLicenseKey(xoBuildLicenceKey(), XOOPS_ROOT_PATH . '/include/license.php', __DIR__ . '/license.dist.php');
}
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/object.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/object.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/kernel/object.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -880,7 +880,7 @@
}
$loaded = 1;
- $path = empty($this->plugin_path) ? dirname(__FILE__) . '/filters' : $this->plugin_path;
+ $path = empty($this->plugin_path) ? __DIR__ . '/filters' : $this->plugin_path;
if (file_exists($file = $path . '/filter.php')) {
include_once $file;
foreach ($this->_filters as $f) {
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/lostpass.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/lostpass.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/lostpass.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -16,7 +16,7 @@
* @version $Id$
*/
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include __DIR__ . DIRECTORY_SEPARATOR . 'mainfile.php';
$xoopsPreload =& XoopsPreload::getInstance();
$xoopsPreload->triggerEvent('core.lostpass.start');
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/misc.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/misc.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/misc.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -16,7 +16,7 @@
* @version $Id$
*/
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include __DIR__ . DIRECTORY_SEPARATOR . 'mainfile.php';
xoops_loadLanguage('misc');
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/about.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/about.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/about.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -17,9 +17,9 @@
* @version $Id $
**/
-include_once dirname(__FILE__) . '/../../../include/cp_header.php';
+include_once __DIR__ . '/../../../include/cp_header.php';
include '../../../class/xoopsformloader.php';
-include_once dirname(__FILE__) . '/admin_header.php';
+include_once __DIR__ . '/admin_header.php';
xoops_cp_header();
$aboutAdmin = new ModuleAdmin();
@@ -27,5 +27,5 @@
echo $aboutAdmin->addNavigation('about.php');
echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false);
-include_once dirname(__FILE__) . '/admin_footer.php';
+include_once __DIR__ . '/admin_footer.php';
//xoops_cp_footer();
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/admin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/admin.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/admin.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -17,7 +17,7 @@
* @version $Id$
*/
-include_once dirname(__FILE__) . '/admin_header.php';
+include_once __DIR__ . '/admin_header.php';
xoops_cp_header();
$indexAdmin = new ModuleAdmin();
@@ -25,5 +25,5 @@
echo $indexAdmin->addNavigation('admin.php');
echo $indexAdmin->renderIndex();
-include_once dirname(__FILE__) . '/admin_footer.php';
+include_once __DIR__ . '/admin_footer.php';
//xoops_cp_footer();
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/admin_header.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/admin_header.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/admin_header.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -18,7 +18,7 @@
*/
-$path = dirname(dirname(dirname(dirname(__FILE__))));
+$path = dirname(dirname(dirname(__DIR__)));
include_once $path . '/mainfile.php';
include_once $path . '/include/cp_functions.php';
require_once $path . '/include/cp_header.php';
@@ -28,7 +28,7 @@
$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname');
//if functions.php file exist
-//require_once dirname(dirname(__FILE__)) . '/include/functions.php';
+//require_once dirname(__DIR__) . '/include/functions.php';
// Load language files
xoops_loadLanguage('admin', $thisModuleDir);
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/menu.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/menu.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/menu.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -19,10 +19,10 @@
// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined");
-$path = dirname(dirname(dirname(dirname(__FILE__))));
+$path = dirname(dirname(dirname(__DIR__)));
include_once $path . '/mainfile.php';
-$dirname = basename(dirname(dirname(__FILE__)));
+$dirname = basename(dirname(__DIR__));
$module_handler = xoops_gethandler('module');
$module = $module_handler->getByDirname($dirname);
$pathIcon32 = $module->getInfo('icons32');
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/prune.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/prune.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/admin/prune.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -17,7 +17,7 @@
* @author Taiwen Jiang <ph...@us...>
* @version $Id$
*/
-include_once dirname(__FILE__) . '/admin_header.php';
+include_once __DIR__ . '/admin_header.php';
xoops_cp_header();
$indexAdmin = new ModuleAdmin();
@@ -84,5 +84,5 @@
redirect_header('admin.php', 2, sprintf(_PM_AM_MESSAGESPRUNED, $deletedrows));
break;
}
-include_once dirname(__FILE__) . '/admin_footer.php';
+include_once __DIR__ . '/admin_footer.php';
//xoops_cp_footer();
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/include/update.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/include/update.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/include/update.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -17,7 +17,7 @@
* @version $Id$
*/
-$path = dirname(dirname(dirname(dirname(__FILE__))));
+$path = dirname(dirname(dirname(__DIR__)));
require_once $path . DIRECTORY_SEPARATOR . 'include'
. DIRECTORY_SEPARATOR . 'cp_header.php';
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/pmlite.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/pmlite.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/pmlite.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -19,7 +19,7 @@
*/
if (!defined('XOOPS_MAINFILE_INCLUDED')) {
- include_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'mainfile.php';
+ include_once dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'mainfile.php';
} else {
chdir(XOOPS_ROOT_PATH . '/modules/pm/');
xoops_loadLanguage('main', 'pm');
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/readpmsg.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/readpmsg.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/readpmsg.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -18,7 +18,7 @@
* @version $Id$
*/
-include_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include_once dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'mainfile.php';
if (!is_object($GLOBALS['xoopsUser'])) {
redirect_header(XOOPS_URL, 3, _NOPERM);
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/viewpmsg.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/viewpmsg.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/pm/viewpmsg.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -18,7 +18,7 @@
* @version $Id$
*/
-include_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'mainfile.php';
+include_once dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'mainfile.php';
if (!is_object($GLOBALS['xoopsUser'])) {
redirect_header(XOOPS_URL, 3, _NOPERM);
@@ -44,7 +44,7 @@
} else {
$clean_msg_id = json_decode($_POST['msg_id'], true, 2);
if (!empty($clean_msg_id)) {
- $clean_msg_id = array_map("intval", $clean_msg_id);
+ $clean_msg_id = array_map("intval", (array) $clean_msg_id);
}
$size = count($clean_msg_id);
$msg =& $clean_msg_id;
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/activate.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/activate.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/activate.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -19,7 +19,7 @@
*/
$xoopsOption['pagetype'] = "user";
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'header.php';
+include __DIR__ . DIRECTORY_SEPARATOR . 'header.php';
include $GLOBALS['xoops']->path('header.php');
if (!empty($_GET['id']) && !empty($_GET['actkey'])) {
@@ -62,7 +62,7 @@
} else {
printf(_US_ACTVMAILOK, $thisuser->getVar('uname') );
}
- include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php';
+ include __DIR__ . DIRECTORY_SEPARATOR . 'footer.php';
} else {
redirect_header(XOOPS_URL . '/user.php', 5, _US_ACTLOGIN, false);
}
@@ -106,4 +106,4 @@
}
$xoBreadcrumbs[] = array('title' => _PROFILE_MA_REGISTER);
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php';
+include __DIR__ . DIRECTORY_SEPARATOR . 'footer.php';
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/about.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/about.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/about.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -17,8 +17,8 @@
* @version $Id $
**/
-include_once dirname(__FILE__) . '/../../../include/cp_header.php';
-include_once dirname(__FILE__) . '/admin_header.php';
+include_once __DIR__ . '/../../../include/cp_header.php';
+include_once __DIR__ . '/admin_header.php';
xoops_cp_header();
$module_info =& $module_handler->get($xoopsModule->getVar("mid"));
@@ -28,4 +28,4 @@
echo $aboutAdmin->addNavigation('about.php');
echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false);
-include_once dirname(__FILE__) . '/admin_footer.php';
+include_once __DIR__ . '/admin_footer.php';
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/admin_header.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/admin_header.php 2014-06-28 21:02:47 UTC (rev 12662)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/admin/admin_header.php 2014-06-29 01:44:58 UTC (rev 12663)
@@ -17,7 +17,7 @@
* @version $Id$
*/
-$path = dirname(dirname(dirname(dirname(__FILE__))));
+$path = dirname(dirname(dirname(__DIR__)));
include_once $path . '/mainfile.php';
include_once $path . '/include/cp_functions.php';
require_once $path . '/include/cp_header.php';
@@ -27,7 +27,7 @@
$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname');
//if functions.php file exis...
[truncated message content] |
|
From: <txm...@us...> - 2014-06-28 21:02:58
|
Revision: 12662
http://sourceforge.net/p/xoops/svn/12662
Author: txmodxoops
Date: 2014-06-28 21:02:47 +0000 (Sat, 28 Jun 2014)
Log Message:
-----------
Added italian language for default theme
Added Paths:
-----------
XoopsLanguages/italian/themes/default/
XoopsLanguages/italian/themes/default/language/
XoopsLanguages/italian/themes/default/language/italian/
XoopsLanguages/italian/themes/default/language/italian/main.php
XoopsLanguages/italian/themes/default/language/italian/script.js
XoopsLanguages/italian/themes/default/language/italian/style.css
Added: XoopsLanguages/italian/themes/default/language/italian/main.php
===================================================================
--- XoopsLanguages/italian/themes/default/language/italian/main.php (rev 0)
+++ XoopsLanguages/italian/themes/default/language/italian/main.php 2014-06-28 21:02:47 UTC (rev 12662)
@@ -0,0 +1,125 @@
+<?php
+// generality
+define('THEME_NAME', "Default");
+define('THEME_DESC', "nascita di sviluppo");
+define('THEME_DESIGNER', "Disegno da : <a href='http://www.xoops.org/' title='XOOPS Project Community'>XOOPS Community</a>");
+define('THEME_UPTOP', "Parte Superiore");
+define('THEME_VALIDCSS', "Questo tema template ho stato W3C Validato per CSS 1 e 2");
+define('THEME_VALIDXHTML', "Questo tema template ho stato W3C Validato per XHTML 1.01");
+define('THEME_LICENSE', "See Creative Commons Licence");
+define('THEME_W3C', "Valid W3C - XHTML 1.01 and CSS 1/2/3");
+
+// userbar.html
+define('THEME_REGISTER', "Registrazione utente");
+define('THEME_REMEMBER', " Ricordi da me?");
+define('THEME_PSEUDO', " Nome utente");
+define('THEME_DESC_PSEUDO', " Invia utente");
+define('THEME_PASSWORD', " Password");
+define('THEME_DESC_PASSWORD', " Invia password");
+
+define('THEME_WELLCOME', "Benvenuto");
+define('THEME_PROFILE', "Mostra profilo");
+define('THEME_NOTIFICATION', "Notifiche");
+define('THEME_MESSAGE', "Messaggi in arrivo");
+define('THEME_YOUHAVE', "Tu hai");
+define('THEME_NOTREAD', "nuovi messaggi");
+define('THEME_MYACCOUNT', "Mio profilo");
+
+// searchbar.html
+define('THEME_SEARCH', "Cerca");
+define('THEME_DESC_SEARCH', "Ricerca questo sito");
+define('THEME_KEYWORDS', "Invia keywords");
+
+// language.html
+define('THEME_ENGLISH', "English");
+define('THEME_FRENCH', "Fran\xE7ais");
+define('THEME_SPAIN', "Espa\xF1ol");
+define('THEME_DEUTCH', "Deutsch");
+define('THEME_ITALIA', "Italiano");
+define('THEME_PORTUGUESE', "Portugu\xEAs");
+define('THEME_ROMANIAN', "Rom\xE2neste");
+define('THEME_RUSSE', "Russian");
+define('THEME_JAPAN', "Japanese");
+define('THEME_CHINESE', "Chinese");
+define('THEME_KOREAN', "Korean");
+define('THEME_HOLLAND', "Dutch");
+define('THEME_FARSI', "Farsi");
+define('THEME_ARAB', "Arab");
+define('THEME_HEBRAIC', "Hebrew");
+define('THEME_BREITZ', "Breitz");
+define('THEME_BASQUE', "Euskadi");
+
+// globalnav.html
+define('THEME_CONTACT', "Contatto");
+define('THEME_CONTACT_DESC', "Contattaci?");
+define('THEME_SITEMAP', "Sitemap");
+define('THEME_RSS', "RSS Feeds");
+
+define('THEME_NAVTITLE', "Navigatione");
+define('THEME_HOME', "Home");
+define('THEME_HOME_DESC', "Back to home");
+
+define('THEME_MODULE1', "Notizie");
+define('THEME_MODULE1_DESC', "Vedi le notizie");
+
+define('THEME_MODULE1_SUB1', "Category 1"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+define('THEME_MODULE1_SUB2', "Category 2"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+define('THEME_MODULE1_SUB3', "Category 3"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+define('THEME_MODULE1_SUB4', "Category 4"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+define('THEME_MODULE1_SUB5', "Category 5"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+
+define('THEME_MODULE2', "BBS");
+define('THEME_MODULE2_DESC', "Visita il nostro forum");
+
+define('THEME_MODULE3', "Galleria");
+define('THEME_MODULE3_DESC', "Visita la nostra galleria della foto");
+
+define('THEME_MODULE3_SUB1', "Gallery 1"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+define('THEME_MODULE3_SUB2', "Gallery 2"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+define('THEME_MODULE3_SUB3', "Gallery 3"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+define('THEME_MODULE3_SUB4', "Gallery 4"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+define('THEME_MODULE3_SUB5', "Gallery 5"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+
+define('THEME_MODULE4', "Film");
+define('THEME_MODULE4_DESC', "Vedi i nostri film");
+
+define('THEME_MODULE4_SUB1', "Movie 1");
+define('THEME_MODULE4_SUB2', "Movie 2"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+define('THEME_MODULE4_SUB3', "Movie 3"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+define('THEME_MODULE4_SUB4', "Movie 4"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+define('THEME_MODULE4_SUB5', "Movie 5"); //*** the SUB are for sub-menu in globalnav.html 'dynamic'
+
+define('THEME_MODULE5', "Archivio Link");
+define('THEME_MODULE5_DESC', "Visita i nostri link web");
+
+define('THEME_MODULE6', "Downloads");
+define('THEME_MODULE6_DESC', "Download il nostro limite");
+
+define('THEME_MODULE7', "XoopsInfo");
+define('THEME_MODULE7_DESC', "Uso Modulo XoopsInfo ");
+
+define('THEME_MODULE8', "Protector");
+define('THEME_MODULE8_DESC', "Uso Modulo Protector");
+
+// noms des modules dans globalnav.html en mode anonyme
+define('THEME_MODULE1a', "Accreditamenti");
+define('THEME_MODULE1a_DESC', "Accreditamenti del Sito");
+define('THEME_MODULE2a', "Localizzazione");
+define('THEME_MODULE2a_DESC', "Localizzali su una mappa");
+
+// menu Admin in globalnav.html 'Dynamic'
+define('THEME_ADMIN', "Amministrazione");
+define('THEME_ADMIN_DESC', "Vai all'Administrazione");
+define('THEME_ADMIN_PREFERENCES', "Preferenze Del Sito");
+define('THEME_ADMIN_PREFERENCES_DESC', "Vai alle preferenze del sito");
+define('THEME_ADMIN_GENERAL', "Regolazioni Generali");
+define('THEME_ADMIN_GENERAL_DESC', "Vai alle Regolazioni Generali");
+define('THEME_ADMIN_MODULES', "Moduli");
+define('THEME_ADMIN_MODULES_DESC', "Vai all'Administrazione dei Moduli");
+define('THEME_ADMIN_IMAGES', "Immagini");
+define('THEME_ADMIN_IMAGES_DESC', "Vai all'Administrazione delle Immagini");
+
+// accessibilitybar.html
+define('THEME_ACCESS_PLUS', "Dimensione in su !");
+define('THEME_ACCESS_MINUS', "Dimensione gi\xF9 !");
+?>
\ No newline at end of file
Added: XoopsLanguages/italian/themes/default/language/italian/script.js
===================================================================
--- XoopsLanguages/italian/themes/default/language/italian/script.js (rev 0)
+++ XoopsLanguages/italian/themes/default/language/italian/script.js 2014-06-28 21:02:47 UTC (rev 12662)
@@ -0,0 +1,2 @@
+/* $Id$ */
+/* Localization script */
\ No newline at end of file
Added: XoopsLanguages/italian/themes/default/language/italian/style.css
===================================================================
--- XoopsLanguages/italian/themes/default/language/italian/style.css (rev 0)
+++ XoopsLanguages/italian/themes/default/language/italian/style.css 2014-06-28 21:02:47 UTC (rev 12662)
@@ -0,0 +1,2 @@
+/* $Id$ */
+/* Localization stylesheet */
\ No newline at end of file
|
|
From: <txm...@us...> - 2014-06-28 14:04:37
|
Revision: 12661
http://sourceforge.net/p/xoops/svn/12661
Author: txmodxoops
Date: 2014-06-28 14:04:32 +0000 (Sat, 28 Jun 2014)
Log Message:
-----------
- Fixed bugs for field_name empty
- Still work to do
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/blocks/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/pages.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php 2014-06-28 09:55:59 UTC (rev 12660)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php 2014-06-28 14:04:32 UTC (rev 12661)
@@ -111,21 +111,31 @@
{
$field_name = $fields[$f]->getVar('field_name');
$rp_field_name = $field_name;
- if(strpos($field_name, '_')) {
- $str = strpos($field_name, '_');
- if($str !== false){
- $rp_field_name = substr($field_name, $str + 1, strlen($field_name));
- }
- }
- $lp_field_name = substr($field_name, 0, strpos($field_name, '_'));
- $ret .= <<<EOT
+ // Verify if table_fieldname is not empty
+ if(!empty($table_fieldname)) {
+ if(strpos($field_name, '_')) {
+ $str = strpos($field_name, '_');
+ if($str !== false){
+ $rp_field_name = substr($field_name, $str + 1, strlen($field_name));
+ }
+ }
+ $lp_field_name = substr($field_name, 0, strpos($field_name, '_'));
+ $ret .= <<<EOT
\${$lp_field_name}['{$rp_field_name}'] = \${$table_name}_arr[\$i]->getVar('{$field_name}');\n
EOT;
+ } else {
+ $lp_field_name = $table_name;
+ $ret .= <<<EOT
+ \${$lp_field_name}['{$rp_field_name}'] = \${$table_name}_arr[\$i]->getVar('{$field_name}');\n
+EOT;
+ }
}
$ret .= <<<EOT
\$GLOBALS['xoopsTpl']->append('{$table_name}_list', \${$lp_field_name});
unset(\${$lp_field_name});
- }
+ }\n
+EOT;
+ $ret .= <<<EOT
if ( \${$table_name}_rows > \$limit ) {
include_once XOOPS_ROOT_PATH . '/class/pagenav.php';
\$pagenav = new XoopsPageNav(\${$table_name}_rows, \$limit, \$start, 'start', 'op=list&limit=' . \$limit);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php 2014-06-28 09:55:59 UTC (rev 12660)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php 2014-06-28 14:04:32 UTC (rev 12661)
@@ -101,15 +101,24 @@
{
$field_name = $fields[$f]->getVar('field_name');
$rp_field_name = $field_name;
- if(strpos($field_name, '_')) {
- $str = strpos($field_name, '_');
- if($str !== false){
- $rp_field_name = substr($field_name, $str + 1, strlen($field_name));
- }
+ // Verify if table_fieldname is not empty
+ if(!empty($table_fieldname)) {
+ if(strpos($field_name, '_')) {
+ $str = strpos($field_name, '_');
+ if($str !== false){
+ $rp_field_name = substr($field_name, $str + 1, strlen($field_name));
+ }
+ }
+ $tname = $table_fieldname;
+ $ret .= <<<EOT
+ \${$tname}['{$rp_field_name}'] = \${$table_name}_arr[\$i]->getVar('{$field_name}');\n
+EOT;
+ } else {
+ $tname = $table_name;
+ $ret .= <<<EOT
+ \${$tname}['{$rp_field_name}'] = \${$table_name}_arr[\$i]->getVar('{$field_name}');\n
+EOT;
}
- $ret .= <<<EOT
- \${$table_fieldname}['{$rp_field_name}'] = \${$table_name}_arr[\$i]->getVar('{$field_name}');\n
-EOT;
}
$ret .= <<<EOT
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php 2014-06-28 09:55:59 UTC (rev 12660)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php 2014-06-28 14:04:32 UTC (rev 12661)
@@ -52,20 +52,15 @@
$this->setTable($table);
}
/*
- * @public function render
- * @param null
+ * @private function getTemplatesAdminPagesHeader
+ * @param string $module_name
+ * @param string $table
+ * @param string $language
*/
- public function renderFile($filename) {
- $module = $this->getModule();
- $table = $this->getTable();
- $module_name = $module->getVar('mod_name');
- $stl_mod_name = strtolower($module_name);
+ private function getTemplatesAdminPagesHeader($module_name, $table, $language) {
+ $stl_mod_name = strtolower($module_name);
$table_name = $table->getVar('table_name');
- $table_fieldname = $table->getVar('table_fieldname');
- //
- $stu_module_name = strtoupper($module_name);
- $language = $this->getLanguage($module_name, 'AM');
- $content = <<<EOT
+ $ret = <<<EOT
<{include file="db:{$stl_mod_name}_header.tpl"}>
<{if {$table_name}_list}>
<table class="outer {$table_name} width100">
@@ -77,17 +72,32 @@
{
$field_name = $fields[$f]->getVar('field_name');
$lang_fn = $language.strtoupper($field_name);
- $content .= <<<EOT
+ $ret .= <<<EOT
<th class="center"><{\$smarty.const.{$lang_fn}}></th>\n
EOT;
}
- $content .= <<<EOT
+ $ret .= <<<EOT
</tr>
- </thead>
+ </thead>\n
+EOT;
+ return $ret;
+ }
+ /*
+ * @private function getTemplatesAdminPagesBody
+ * @param string $module_name
+ * @param string $table
+ * @param string $language
+ */
+ private function getTemplatesAdminPagesBody($module_name, $table, $language)
+ {
+ $stl_mod_name = strtolower($module_name);
+ $table_name = $table->getVar('table_name');
+ $ret = <<<EOT
<tbody>
- <{foreach item={$table_fieldname} from=\${$table_name}_list}>
+ <{foreach item=list from=\${$table_name}_list}>
<tr class="<{cycle values='odd, even'}>">\n
EOT;
+ $fields = $this->getTableFields($table->getVar('table_id'));
foreach(array_keys($fields) as $f)
{
$field_name = $fields[$f]->getVar('field_name');
@@ -101,27 +111,83 @@
}
switch( $field_element ) {
case 8:
- $content .= <<<EOT
- <td class="center"><span style="background-color: <{\${$table_fieldname}.{$rp_field_name}}>;"> </span></td>\n
+ $ret .= <<<EOT
+ <td class="center"><span style="background-color: <{\$list.{$rp_field_name}}>;"> </span></td>\n
EOT;
break;
case 9:
- $content .= <<<EOT
- <td class="center"><img src="<{\${$stl_mod_name}_upload_url}>/images/{$table_name}/<{\${$table_fieldname}.{$rp_field_name}}>" alt="{$table_name}"></td>\n
+ $ret .= <<<EOT
+ <td class="center"><img src="<{\${$stl_mod_name}_upload_url}>/images/{$table_name}/<{\$list.{$rp_field_name}}>" alt="{$table_name}"></td>\n
EOT;
break;
default:
- $content .= <<<EOT
- <td class="center"><{\${$table_fieldname}.{$rp_field_name}}></td>\n
+ $ret .= <<<EOT
+ <td class="center"><{\$list.{$rp_field_name}}></td>\n
EOT;
break;
}
}
- $content .= <<<EOT
+ $ret .= <<<EOT
</tr>
<{/foreach}>
</tbody>
- </table>
+ </table>\n
+EOT;
+ return $ret;
+ }
+ /*
+ * @private function getTemplatesAdminPagesBodyFieldnameEmpty
+ * @param string $module_name
+ * @param string $table
+ * @param string $language
+ */
+ private function getTemplatesAdminPagesBodyFieldnameEmpty($module_name, $table, $language)
+ {
+ $stl_mod_name = strtolower($module_name);
+ $table_name = $table->getVar('table_name');
+ $ret = <<<EOT
+ <tbody>
+ <{foreach item=list from=\${$table_name}_list}>
+ <tr class="<{cycle values='odd, even'}>">\n
+EOT;
+ $fields = $this->getTableFields($table->getVar('table_id'));
+ foreach(array_keys($fields) as $f)
+ {
+ $field_name = $fields[$f]->getVar('field_name');
+ $field_element = $fields[$f]->getVar('field_element');
+ switch( $field_element ) {
+ case 8:
+ $ret .= <<<EOT
+ <td class="center"><span style="background-color: <{\$list.{$field_name}}>;">\t\t</span></td>\n
+EOT;
+ break;
+ case 9:
+ $ret .= <<<EOT
+ <td class="center"><img src="<{\${$stl_mod_name}_upload_url}>/images/{$table_name}/<{\$list.{$field_name}}>" alt="{$table_name}"></td>\n
+EOT;
+ break;
+ default:
+ $ret .= <<<EOT
+ <td class="center"><{\$list.{$field_name}}></td>\n
+EOT;
+ break;
+ }
+ }
+ $ret .= <<<EOT
+ </tr>
+ <{/foreach}>
+ </tbody>
+ </table>\n
+EOT;
+ return $ret;
+ }
+ /*
+ * @private function getTemplatesAdminPagesFooter
+ * @param string $module_name
+ */
+ private function getTemplatesAdminPagesFooter($module_name) {
+ $stl_mod_name = strtolower($module_name);
+ $ret = <<<EOT
<div class="clear"> </div>
<{if \$pagenav}><br />
<!-- Display navigation -->
@@ -141,6 +207,31 @@
<!-- Footer -->
<{include file="db:{$stl_mod_name}_footer.tpl"}>
EOT;
+ return $ret;
+ }
+ /*
+ * @public function render
+ * @param null
+ */
+ public function renderFile($filename) {
+ $module = $this->getModule();
+ $table = $this->getTable();
+ $module_name = $module->getVar('mod_name');
+ $stl_mod_name = strtolower($module_name);
+ $table_name = $table->getVar('table_name');
+ $table_fieldname = $table->getVar('table_fieldname');
+ //
+ $stu_module_name = strtoupper($module_name);
+ $language = $this->getLanguage($module_name, 'AM');
+ $content = $this->getTemplatesAdminPagesHeader($module_name, $table, $language);
+ // Verify if table_fieldname is not empty
+ if(!empty($table_fieldname)) {
+ $content .= $this->getTemplatesAdminPagesBody($module_name, $table, $language);
+ } else {
+ $content .= $this->getTemplatesAdminPagesBodyFieldnameEmpty($module_name, $table, $language);
+ }
+ $content .= $this->getTemplatesAdminPagesFooter($module_name);
+ //
$this->tdmcfile->create($module_name, 'templates/admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/blocks/blocks.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/blocks/blocks.php 2014-06-28 09:55:59 UTC (rev 12660)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/blocks/blocks.php 2014-06-28 14:04:32 UTC (rev 12661)
@@ -46,25 +46,21 @@
* @public function write
* @param string $module
* @param string $table
- * @param string $filename
*/
public function write($module, $table) {
$this->setModule($module);
$this->setTable($table);
- }
+ }
/*
- * @public function renderFile
- * @param string $filename
+ * @private function getTemplatesBlocksHeader
+ * @param string $module_name
+ * @param string $table
+ * @param string $language
*/
- public function renderFile($filename) {
- $module = $this->getModule();
- $table = $this->getTable();
- $module_name = strtolower($module->getVar('mod_name'));
+ private function getTemplatesBlocksHeader($module_name, $table, $language) {
+ $stl_mod_name = strtolower($module_name);
$table_name = $table->getVar('table_name');
- $table_fieldname = $table->getVar('table_fieldname');
- //$filename = $this->getFileName();
- $language = $this->getLanguage($module_name, 'MB');
- $content = <<<EOT
+ $ret = <<<EOT
<table class="{$table_name} width100">
<thead>
<tr class="head">\n
@@ -74,17 +70,32 @@
{
$field_name = $fields[$f]->getVar('field_name');
$lang_stu_field_name = $language.strtoupper($field_name);
- $content .= <<<EOT
+ $ret .= <<<EOT
<th class="center"><{\$smarty.const.{$lang_stu_field_name}}></th>\n
EOT;
}
- $content .= <<<EOT
+ $ret .= <<<EOT
</tr>
- </thead>
+ </thead>\n
+EOT;
+ return $ret;
+ }
+ /*
+ * @private function getTemplatesBlocksBody
+ * @param string $module_name
+ * @param string $table
+ * @param string $language
+ */
+ private function getTemplatesBlocksBody($module_name, $table, $language)
+ {
+ $stl_mod_name = strtolower($module_name);
+ $table_name = $table->getVar('table_name');
+ $ret = <<<EOT
<tbody>
- <{foreach item={$table_fieldname} from=\${$table_name}}>
+ <{foreach item=list from=\${$table_name}}>
<tr class="<{cycle values='odd, even'}>">\n
EOT;
+ $fields = $this->getTableFields($table->getVar('table_id'));
foreach(array_keys($fields) as $f)
{
$field_name = $fields[$f]->getVar('field_name');
@@ -97,27 +108,93 @@
}
}
if( $field_element == 9 ) {
- $content .= <<<EOT
+ $ret .= <<<EOT
<td class="center">
- <img src="<{\${$module_name}_upload_url}>/images/{$table_name}/<{\${$table_fieldname}.{$rp_field_name}}>" alt="{$table_name}">
+ <img src="<{\${$module_name}_upload_url}>/images/{$table_name}/<{\$list.{$rp_field_name}}>" alt="{$table_name}">
</td>\n
EOT;
} elseif( $field_element == 8 ) {
- $content .= <<<EOT
- <td class="center"><span style="background-color: <{\${$table_fieldname}.{$rp_field_name}}>;"> </span></td>\n
+ $ret .= <<<EOT
+ <td class="center"><span style="background-color: <{\$list.{$rp_field_name}}>;">\t\t</span></td>\n
EOT;
} else {
- $content .= <<<EOT
- <td class="center"><{\${$table_fieldname}.{$rp_field_name}}></td>\n
+ $ret .= <<<EOT
+ <td class="center"><{\$list.{$rp_field_name}}></td>\n
EOT;
}
}
- $content .= <<<EOT
+ $ret .= <<<EOT
</tr>
<{/foreach}>
</tbody>
</table>
EOT;
+ return $ret;
+ }
+ /*
+ * @private function getTemplatesBlocksBodyFieldnameEmpty
+ * @param string $module_name
+ * @param string $table
+ * @param string $language
+ */
+ private function getTemplatesBlocksBodyFieldnameEmpty($module_name, $table, $language)
+ {
+ $stl_mod_name = strtolower($module_name);
+ $table_name = $table->getVar('table_name');
+ $ret = <<<EOT
+ <tbody>
+ <{foreach item=list from=\${$table_name}}>
+ <tr class="<{cycle values='odd, even'}>">\n
+EOT;
+ $fields = $this->getTableFields($table->getVar('table_id'));
+ foreach(array_keys($fields) as $f)
+ {
+ $field_name = $fields[$f]->getVar('field_name');
+ $field_element = $fields[$f]->getVar('field_element');
+ if( $field_element == 9 ) {
+ $ret .= <<<EOT
+ <td class="center">
+ <img src="<{\${$module_name}_upload_url}>/images/{$table_name}/<{\$list.{$field_name}}>" alt="{$table_name}">
+ </td>\n
+EOT;
+ } elseif( $field_element == 8 ) {
+ $ret .= <<<EOT
+ <td class="center"><span style="background-color: <{\$list.{$field_name}}>;">\t\t</span></td>\n
+EOT;
+ } else {
+ $ret .= <<<EOT
+ <td class="center"><{\$list.{$field_name}}></td>\n
+EOT;
+ }
+ }
+ $ret .= <<<EOT
+ </tr>
+ <{/foreach}>
+ </tbody>
+</table>
+EOT;
+ return $ret;
+ }
+ /*
+ * @public function renderFile
+ * @param string $filename
+ */
+ public function renderFile($filename) {
+ $module = $this->getModule();
+ $table = $this->getTable();
+ $module_name = strtolower($module->getVar('mod_name'));
+ $table_name = $table->getVar('table_name');
+ $table_fieldname = $table->getVar('table_fieldname');
+ $language = $this->getLanguage($module_name, 'MB');
+ $content = $this->getTemplatesBlocksHeader($module_name, $table, $language);
+ // Verify if table_fieldname is not empty
+ if(!empty($table_fieldname)) {
+ $content .= $this->getTemplatesBlocksBody($module_name, $table, $language);
+ } else {
+ $content .= $this->getTemplatesBlocksBodyFieldnameEmpty($module_name, $table, $language);
+ }
+ //$content .= $this->getTemplatesBlocksFooter($module_name);
+ //
$this->tdmcfile->create($module_name, 'templates/blocks', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php 2014-06-28 09:55:59 UTC (rev 12660)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php 2014-06-28 14:04:32 UTC (rev 12661)
@@ -51,21 +51,16 @@
public function write($module, $table) {
$this->setModule($module);
$this->setTable($table);
- }
- /*
- * @public function renderFile
- * @param string $filename
+ }
+ /*
+ * @private function getTemplatesUserPagesHeader
+ * @param string $module_name
+ * @param string $table
+ * @param string $language
*/
- public function renderFile($filename) {
- $module = $this->getModule();
- $table = $this->getTable();
- $module_name = $module->getVar('mod_name');
- $stl_mod_name = strtolower($module_name);
- $table_name = $table->getVar('table_name');
- $table_fieldname = $table->getVar('table_fieldname');
- //$filename = $this->getFileName();
- $language = $this->getLanguage($module_name, 'MA');
- $content = <<<EOT
+ private function getTemplatesUserPagesHeader($module_name, $table, $language) {
+ $stl_mod_name = strtolower($module_name);
+ $ret = <<<EOT
<{include file="db:{$stl_mod_name}_header.tpl"}>
<table class="{$module_name}">
<thead class="outer">
@@ -76,17 +71,32 @@
{
$field_name = $fields[$f]->getVar('field_name');
$lang_stu_field_name = $language.strtoupper($field_name);
- $content .= <<<EOT
+ $ret .= <<<EOT
<th class="center"><{\$smarty.const.{$lang_stu_field_name}}></th>\n
EOT;
}
- $content .= <<<EOT
+ $ret .= <<<EOT
</tr>
- </thead>
+ </thead>\n
+EOT;
+ return $ret;
+ }
+ /*
+ * @private function getTemplatesUserPagesBody
+ * @param string $module_name
+ * @param string $table
+ * @param string $language
+ */
+ private function getTemplatesUserPagesBody($module_name, $table, $language)
+ {
+ $stl_mod_name = strtolower($module_name);
+ $table_name = $table->getVar('table_name');
+ $ret = <<<EOT
<tbody>
- <{foreach item={$table_fieldname} from=\${$table_name}}>
+ <{foreach item=list from=\${$table_name}}>
<tr class="<{cycle values='odd, even'}>">\n
EOT;
+ $fields = $this->getTableFields($table->getVar('table_id'));
foreach(array_keys($fields) as $f)
{
$field_name = $fields[$f]->getVar('field_name');
@@ -100,31 +110,106 @@
}
switch( $field_element ) {
case 8:
- $content .= <<<EOT
- <td class="center"><span style="background-color: <{\${$table_fieldname}.{$rp_field_name}}>;"> </span></td>\n
+ $ret .= <<<EOT
+ <td class="center"><span style="background-color: <{\$list.{$rp_field_name}}>;">\t\t</span></td>\n
EOT;
break;
case 9:
- $content .= <<<EOT
- <td class="center"><img src="<{\${$stl_mod_name}_upload_url}>/images/{$table_name}/<{\${$table_fieldname}.{$rp_field_name}}>" alt="{$table_name}"></td>\n
+ $ret .= <<<EOT
+ <td class="center"><img src="<{\${$stl_mod_name}_upload_url}>/images/{$table_name}/<{\$list.{$rp_field_name}}>" alt="{$table_name}"></td>\n
EOT;
break;
default:
- $content .= <<<EOT
- <td class="center"><{\${$table_fieldname}.{$rp_field_name}}></td>\n
+ $ret .= <<<EOT
+ <td class="center"><{\$list.{$rp_field_name}}></td>\n
EOT;
break;
- }
+ }
}
- $content .= <<<EOT
+ $ret .= <<<EOT
</tr>
<{/foreach}>
</tbody>
</table>\n
EOT;
- $content .= <<<EOT
+ return $ret;
+ }
+ /*
+ * @private function getTemplatesUserPagesBodyFieldnameEmpty
+ * @param string $module_name
+ * @param string $table
+ * @param string $language
+ */
+ private function getTemplatesUserPagesBodyFieldnameEmpty($module_name, $table, $language)
+ {
+ $stl_mod_name = strtolower($module_name);
+ $table_name = $table->getVar('table_name');
+ $ret = <<<EOT
+ <tbody>
+ <{foreach item=list from=\${$table_name}}>
+ <tr class="<{cycle values='odd, even'}>">\n
+EOT;
+ $fields = $this->getTableFields($table->getVar('table_id'));
+ foreach(array_keys($fields) as $f)
+ {
+ $field_name = $fields[$f]->getVar('field_name');
+ $field_element = $fields[$f]->getVar('field_element');
+ switch( $field_element ) {
+ case 8:
+ $ret .= <<<EOT
+ <td class="center"><span style="background-color: <{\$list.{$field_name}}>;"></span></td>\n
+EOT;
+ break;
+ case 9:
+ $ret .= <<<EOT
+ <td class="center"><img src="<{\${$stl_mod_name}_upload_url}>/images/{$table_name}/<{\$list.{$field_name}}>" alt="{$table_name}"></td>\n
+EOT;
+ break;
+ default:
+ $ret .= <<<EOT
+ <td class="center"><{\$list.{$field_name}}></td>\n
+EOT;
+ break;
+ }
+ }
+ $ret .= <<<EOT
+ </tr>
+ <{/foreach}>
+ </tbody>
+</table>\n
+EOT;
+ return $ret;
+ }
+ /*
+ * @private function getTemplatesUserPagesFooter
+ * @param string $module_name
+ */
+ private function getTemplatesUserPagesFooter($module_name) {
+ $stl_mod_name = strtolower($module_name);
+ $ret = <<<EOT
<{include file="db:{$stl_mod_name}_footer.tpl"}>
EOT;
+ return $ret;
+ }
+ /*
+ * @public function renderFile
+ * @param string $filename
+ */
+ public function renderFile($filename) {
+ $module = $this->getModule();
+ $table = $this->getTable();
+ $module_name = $module->getVar('mod_name');
+ $table_fieldname = $table->getVar('table_fieldname');
+ $language = $this->getLanguage($module_name, 'MA');
+ $content = $this->getTemplatesUserPagesHeader($module_name, $table, $language);
+ // Verify if table_fieldname is not empty
+ if(!empty($table_fieldname)) {
+ $content .= $this->getTemplatesUserPagesBody($module_name, $table, $language);
+ } else {
+ $content .= $this->getTemplatesUserPagesBodyFieldnameEmpty($module_name, $table, $language);
+ }
+ $content .= $this->getTemplatesUserPagesFooter($module_name);
+ //
$this->tdmcfile->create($module_name, 'templates', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/pages.php 2014-06-28 09:55:59 UTC (rev 12660)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/pages.php 2014-06-28 14:04:32 UTC (rev 12661)
@@ -51,83 +51,21 @@
$this->setModule($module);
$this->setTable($table);
}
+
/*
- * @public function getAdminPagesList
- * @param string $table_name
+ * @private function getUserPages
* @param string $language
*/
- public function getUserPagesList($table_name, $language, $fields, $fpif, $fpmf) {
- $stu_table_name = strtoupper($table_name);
- $ret = <<<EOT
- case 'list':
- default:
- \$limit = xoops_getModuleOption('adminpager');
- \$start = TDMCreate_CleanVars(\$_REQUEST, 'start', 0);
- \$adminMenu->addItemButton({$language}ADD_{$stu_table_name}, '{$table_name}.php?op=new', 'add');
- echo \$adminMenu->renderButton();
- \$criteria = new CriteriaCompo();
- \$criteria->setSort('{$fpif} ASC, {$fpmf}');
- \$criteria->setOrder('ASC');
- \${$table_name}_rows = \${$table_name}Handler->getCount();
- \${$table_name}_arr = \${$table_name}Handler->getAll(\$criteria);
- unset(\$criteria);
-
- // Table view
- if (\${$table_name}_rows > 0)
- {
- foreach (array_keys(\${$table_name}_arr) as \$i)
- {\n
-EOT;
-
- foreach(array_keys($fields) as $f)
- {
- $field_name = $fields[$f]->getVar('field_name');
- $rp_field_name = $field_name;
- if(strpos($field_name, '_')) {
- $str = strpos($field_name, '_');
- if($str !== false){
- $rp_field_name = substr($field_name, $str + 1, strlen($field_name));
- }
- }
- $lp_field_name = substr($field_name, 0, strpos($field_name, '_'));
- $ret .= <<<EOT
- \${$lp_field_name}['{$rp_field_name}'] = \${$table_name}_arr[\$i]->getVar('{$field_name}');\n
-EOT;
- }
- $ret .= <<<EOT
- \$GLOBALS['xoopsTpl']->append('{$table_name}_list', \${$lp_field_name});
- unset(\${$lp_field_name});
- }
- if ( \${$table_name}_rows > \$limit ) {
- include_once XOOPS_ROOT_PATH . '/class/pagenav.php';
- \$pagenav = new XoopsPageNav(\${$table_name}_rows, \$limit, \$start, 'start', 'op=list&limit=' . \$limit);
- \$GLOBALS['xoopsTpl']->assign('pagenav', \$pagenav->renderNav(4));
- }
- } else {
- \$GLOBALS['xoopsTpl']->assign('error', {$language}THEREARENT_{$stu_table_name});
- }
- break;\n
-EOT;
- return $ret;
- }
-
- /*
- * @public function render
- * @param null
- */
- public function renderFile($filename) {
- $module = $this->getModule();
+ private function getUserPages($module_name, $language)
+ {
$table = $this->getTable();
- $module_name = $module->getVar('mod_name');
$table_name = $table->getVar('table_name');
$table_fieldname = $table->getVar('table_fieldname');
$stu_mod_name = strtoupper($module_name);
$stl_mod_name = strtolower($module_name);
$stu_table_name = strtoupper($table_name);
- $stl_table_name = strtolower($table_name);
- $language = $this->getLanguage($module_name, 'MA');
- $content = $this->getHeaderFilesComments($module, $filename);
- $content .= <<<EOT
+ $stl_table_name = strtolower($table_name);
+ $ret = <<<EOT
\ninclude_once 'header.php';
\$xoopsOption['template_main'] = '{$stl_mod_name}_{$table_name}.tpl';
include_once XOOPS_ROOT_PATH . '/header.php';
@@ -153,33 +91,52 @@
{
$field_name = $fields[$f]->getVar('field_name');
$rp_field_name = $field_name;
- if(strpos($field_name, '_')) {
- $str = strpos($field_name, '_');
- if($str !== false){
- $rp_field_name = substr($field_name, $str + 1, strlen($field_name));
- }
- }
- $lp_field_name = substr($field_name, 0, strpos($field_name, '_'));
- $field_element = $fields[$f]->getVar('field_element');
- if ( $fields[$f]->getVar('field_main') == 1 ) {
- $fpmf = $field_name; // fpmf = fields parameters main field
- }
-
- // Verify if this is a textarea or dhtmltextarea
- if ( $field_element == 2 || $field_element == 3 ) {
- $content .= <<<EOT
- \${$lp_field_name}['{$rp_field_name}'] = strip_tags(\${$stl_table_name}_arr[\$i]->getVar('{$field_name}'));\n
+ // Verify if table_fieldname is not empty
+ if(!empty($table_fieldname)) {
+ if(strpos($field_name, '_')) {
+ $str = strpos($field_name, '_');
+ if($str !== false){
+ $rp_field_name = substr($field_name, $str + 1, strlen($field_name));
+ }
+ }
+ $lp_field_name = substr($field_name, 0, strpos($field_name, '_'));
+ $tname = $lp_field_name;
+ $field_element = $fields[$f]->getVar('field_element');
+ if ( $fields[$f]->getVar('field_main') == 1 ) {
+ $fpmf = $field_name; // fpmf = fields parameters main field
+ }
+ // Verify if this is a textarea or dhtmltextarea
+ if ( $field_element == 2 || $field_element == 3 ) {
+ $ret .= <<<EOT
+ \${$tname}['{$rp_field_name}'] = strip_tags(\${$stl_table_name}_arr[\$i]->getVar('{$field_name}'));\n
EOT;
+ } else {
+ $ret .= <<<EOT
+ \${$tname}['{$rp_field_name}'] = \${$stl_table_name}_arr[\$i]->getVar('{$field_name}');\n
+EOT;
+ }
} else {
- $content .= <<<EOT
- \${$lp_field_name}['{$rp_field_name}'] = \${$stl_table_name}_arr[\$i]->getVar('{$field_name}');\n
+ $tname = $table_name;
+ $field_element = $fields[$f]->getVar('field_element');
+ if ( $fields[$f]->getVar('field_main') == 1 ) {
+ $fpmf = $field_name; // fpmf = fields parameters main field
+ }
+ // Verify if this is a textarea or dhtmltextarea
+ if ( $field_element == 2 || $field_element == 3 ) {
+ $ret .= <<<EOT
+ \${$tname}['{$rp_field_name}'] = strip_tags(\${$stl_table_name}_arr[\$i]->getVar('{$field_name}'));\n
EOT;
+ } else {
+ $ret .= <<<EOT
+ \${$tname}['{$rp_field_name}'] = \${$stl_table_name}_arr[\$i]->getVar('{$field_name}');\n
+EOT;
+ }
}
}
- $content .= <<<EOT
- \$GLOBALS['xoopsTpl']->append('{$stl_table_name}', \${$table_fieldname});
+ $ret .= <<<EOT
+ \$GLOBALS['xoopsTpl']->append('{$stl_table_name}', \${$tname});
\$keywords[] = \${$stl_table_name}_arr[\$i]->getVar('{$fpmf}');
- unset(\${$table_fieldname});
+ unset(\${$tname});
}
// Display Navigation
if (\${$stl_table_name}_count > \$limit) {
@@ -188,15 +145,28 @@
\$GLOBALS['xoopsTpl']->assign('pagenav', \$nav->renderNav(4));
}
}
-//keywords
+// keywords
{$stl_mod_name}_meta_keywords(xoops_getModuleOption('keywords', \$dirname) .', '. implode(', ', \$keywords));
-//description
+// description
{$stl_mod_name}_meta_description({$language}{$stu_table_name}_DESC);
//
\$GLOBALS['xoopsTpl']->assign('xoops_mpageurl', {$stu_mod_name}_URL.'/{$stl_table_name}.php');
//
include_once 'footer.php';
EOT;
+ return $ret;
+ }
+ /*
+ * @public function render
+ * @param null
+ */
+ public function renderFile($filename) {
+ $module = $this->getModule();
+ $module_name = $module->getVar('mod_name');
+ $language = $this->getLanguage($module_name, 'MA');
+ $content = $this->getHeaderFilesComments($module, $filename);
+ $content .= $this->getUserPages($module_name, $language);
+ //
$this->tdmcfile->create($module_name, '/', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
|
|
From: <txm...@us...> - 2014-06-28 09:56:03
|
Revision: 12660
http://sourceforge.net/p/xoops/svn/12660
Author: txmodxoops
Date: 2014-06-28 09:55:59 +0000 (Sat, 28 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Still work to do
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.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/include/comment_functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php 2014-06-27 15:47:48 UTC (rev 12659)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php 2014-06-28 09:55:59 UTC (rev 12660)
@@ -95,9 +95,9 @@
* @param mixed $tables
*/
public function setTables($tables) {
- //if (is_object($tables) && ($tables instanceof TDMCreateTables)) {
+ if (is_array($tables)) {
$this->tables = $tables;
- //}
+ }
}
/*
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/permissions.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/permissions.php 2014-06-27 15:47:48 UTC (rev 12659)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/permissions.php 2014-06-28 09:55:59 UTC (rev 12660)
@@ -55,11 +55,11 @@
$this->setTables($tables);
}
/*
- * @public function render
+ * @private function getPermissionsCodeHeader
* @param string $module_name
* @param string $language
*/
- public function getHeaderPermissionsCode($module_name, $language)
+ private function getPermissionsCodeHeader($module_name, $language)
{
$ret = <<<PRM
\ninclude_once 'header.php';
@@ -77,12 +77,13 @@
echo \$adminMenu->addNavigation('permissions.php');
-\$permission = {$module_name}_CleanVars(\$_POST, 'permission', 1, 'int');
+\$permission = {$module_name}_CleanVars(\$_REQUEST, 'permission', 1, 'int');
\$selected = array('', '', '', '');
\$selected[\$permission-1] = ' selected';
-
-\$permTableForm = new XoopsTableForm('fselperm', 'permissions.php', 'post');
-\$formSelect = new XoopsFormSelect('', 'permission', onChange='javascript: document.fselperm.submit()');
+xoops_load('XoopsFormLoader');
+\$permTableForm = new XoopsSimpleForm('', 'fselperm', 'permissions.php', 'get');
+\$formSelect = new XoopsFormSelect('', 'permission', \$permission);
+\$formSelect->setExtra('onchange="document.forms.fselperm.submit()"');
\$formSelect->addOption(\$selected[0], {$language}GLOBAL);
\$formSelect->addOption(\$selected[1], {$language}APPROVE);
\$formSelect->addOption(\$selected[2], {$language}SUBMIT);
@@ -94,11 +95,11 @@
}
/*
- * @public function render
+ * @private function getPermissionsCodeSwitch
* @param string $module_name
* @param string $language
*/
- public function getSwitchPermissionsCode($module_name, $language)
+ private function getPermissionsCodeSwitch($module_name, $language)
{
$ret = <<<PRM
\$module_id = \$xoopsModule->getVar('mid');
@@ -133,12 +134,12 @@
}
/*
- * @public function render
+ * @private function getPermissionsCodeBody
* @param string $module_name
* @param string $table_name
* @param string $language
*/
- public function getBodyPermissionsCode($module_name, $language)
+ private function getPermissionsCodeBody($module_name, $language)
{
$tables = $this->getTables();
foreach(array_keys($tables) as $t)
@@ -189,10 +190,10 @@
}
/*
- * @public function getFooterPermissionsCode
+ * @private function getPermissionsCodeFooter
* @param null
*/
- public function getFooterPermissionsCode() {
+ private function getPermissionsCodeFooter() {
$ret = <<<PRM
}
unset(\$permform);
@@ -211,10 +212,10 @@
$module_name = strtolower($module->getVar('mod_name'));
$language = $this->getLanguage($module_name, 'AM');
$content = $this->getHeaderFilesComments($module, $filename);
- $content .= $this->getHeaderPermissionsCode($module_name, $language);
- $content .= $this->getSwitchPermissionsCode($module_name, $language);
- $content .= $this->getBodyPermissionsCode($module_name, $language);
- $content .= $this->getFooterPermissionsCode();
+ $content .= $this->getPermissionsCodeHeader($module_name, $language);
+ $content .= $this->getPermissionsCodeSwitch($module_name, $language);
+ $content .= $this->getPermissionsCodeBody($module_name, $language);
+ $content .= $this->getPermissionsCodeFooter();
//
$this->tdmcfile->create($module_name, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-27 15:47:48 UTC (rev 12659)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-28 09:55:59 UTC (rev 12660)
@@ -350,7 +350,7 @@
}
// Include Install File
$includeInstall = IncludeInstall::getInstance();
- $includeInstall->write($module, $tables, 'install.php');
+ $includeInstall->write($module, $table, $tables, 'install.php');
$ret[] = $includeInstall->render();
// Creation of sql file
if ( $table->getVar('table_name') != null) {
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/comment_functions.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/comment_functions.php 2014-06-27 15:47:48 UTC (rev 12659)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/comment_functions.php 2014-06-28 09:55:59 UTC (rev 12660)
@@ -64,6 +64,7 @@
$table_name = $table->getVar('table_name');
$ucf_module_name = ucfirst($module_name);
$ucf_table_name = ucfirst($table_name);
+ $filename = $this->getFileName();
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
defined('XOOPS_ROOT_PATH') or die('Restricted access');
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php 2014-06-27 15:47:48 UTC (rev 12659)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php 2014-06-28 09:55:59 UTC (rev 12660)
@@ -48,112 +48,159 @@
* @param mixed $tables
* @param string $filename
*/
- public function write($module, $tables, $filename) {
+ public function write($module, $table, $tables, $filename) {
$this->setModule($module);
+ $this->setTable($table);
$this->setTables($tables);
$this->setFileName($filename);
}
/*
- * @private function getHeaderInstall
+ * @private function getInstallModuleFolder
* @param string $module_name
*/
- private function getHeaderInstall($module_name) {
+ private function getInstallModuleFolder($module_name) {
$ret = <<<EOT
+//
defined('XOOPS_ROOT_PATH') or die('Restricted access');
+// Copy base file
\$indexFile = XOOPS_UPLOAD_PATH.'/index.html';
\$blankFile = XOOPS_UPLOAD_PATH.'/blank.gif';
-
// Making of "uploads/{$module_name}" folder
\${$module_name} = XOOPS_UPLOAD_PATH.'/{$module_name}';
if(!is_dir(\${$module_name}))
mkdir(\${$module_name}, 0777);
chmod(\${$module_name}, 0777);
-copy(\$indexFile, \${$module_name}.'/index.html');
+copy(\$indexFile, \${$module_name}.'/index.html');\n
EOT;
return $ret;
}
/*
- * @public function render
- * @param null
+ * @private function getHeaderTableFolder
+ * @param string $module_name
+ * @param string $table_name
*/
- public function render()
- {
- $module = $this->getModule();
- $module_name = strtolower($module->getVar('mod_name'));
- $tables = $this->getTables();
- $filename = $this->getFileName();
- $content = $this->getHeaderFilesComments($module, $filename);
- $content .= <<<EOT
-defined('XOOPS_ROOT_PATH') or die('Restricted access');
-\$indexFile = XOOPS_UPLOAD_PATH.'/index.html';
-\$blankFile = XOOPS_UPLOAD_PATH.'/blank.gif';
-
-// Making of "uploads/{$module_name}" folder
-\${$module_name} = XOOPS_UPLOAD_PATH.'/{$module_name}';
-if(!is_dir(\${$module_name}))
- mkdir(\${$module_name}, 0777);
- chmod(\${$module_name}, 0777);
-copy(\$indexFile, \${$module_name}.'/index.html');
-EOT;
- $field_element = '';
- foreach (array_keys($tables) as $t)
- {
- $table_name = $tables[$t]->getVar('table_name');
- $fields = $this->getTableFields($tables[$t]->getVar('table_id'));
- foreach(array_keys($fields) as $f)
- {
- $field_name = $fields[$f]->getVar('field_name');
- if ( ($f > 0) && ($tables[$t]->getVar('table_autoincrement') == 1) ) {
- $field_element = $fields[$f]->getVar('field_element');
- }
- if ( $f == 0 ) {
- $content .= <<<EOT
-\n// Making of {$table_name} uploads folder
+ private function getInstallTableFolder($module_name, $table_name) {
+ $ret = <<<EOT
+// Making of {$table_name} uploads folder
\${$table_name} = \${$module_name}.'/{$table_name}';
if(!is_dir(\${$table_name}))
mkdir(\${$table_name}, 0777);
chmod(\${$table_name}, 0777);
copy(\$indexFile, \${$table_name}.'/index.html');\n
EOT;
- } else {
- if ( $field_element == 9 ) {
- $content .= <<<EOT
-// Making of "{$field_name}" images folder
-\${$table_name} = \${$module_name}.'/images';
+ return $ret;
+ }
+ /*
+ * @private function getInstallImagesFolder
+ * @param string $module_name
+ */
+ private function getInstallImagesFolder($module_name) {
+ $ret = <<<EOT
+// Making of images folder
+\$images = \${$module_name}.'/images';
+if(!is_dir(\$images))
+ mkdir(\$images, 0777);
+ chmod(\$images, 0777);
+copy(\$indexFile, \$images.'/index.html');
+copy(\$blankFile, \$images.'/blank.gif');\n
+EOT;
+ return $ret;
+ }
+ /*
+ * @private function getInstallTableImagesFolder
+ * @param string $table_name
+ */
+ private function getInstallTableImagesFolder($table_name) {
+ $ret = <<<EOT
+// Making of "{$table_name}" images folder
+\${$table_name} = \$images.'/{$table_name}';
if(!is_dir(\${$table_name}))
mkdir(\${$table_name}, 0777);
chmod(\${$table_name}, 0777);
copy(\$indexFile, \${$table_name}.'/index.html');
-copy(\$blankFile, \${$table_name}.'/blank.gif');
-
-// Making of "{$field_name}" images folder
-\${$table_name} = \${$module_name}.'/images/{$table_name}';
-if(!is_dir(\${$table_name}))
- mkdir(\${$table_name}, 0777);
- chmod(\${$table_name}, 0777);
-copy(\$indexFile, \${$table_name}.'/index.html');
-copy(\$blankFile, \${$table_name}.'/blank.gif');
+copy(\$blankFile, \${$table_name}.'/blank.gif');\n
EOT;
- } elseif ( $field_element == 10 ) {
- $content .= <<<EOT
-// Making of "{$field_name}" files folder
-\${$table_name} = \${$module_name}.'/files';
+ return $ret;
+ }
+ /*
+ * @private function getInstallFilesFolder
+ * @param string $module_name
+ */
+ private function getInstallFilesFolder($module_name) {
+ $ret = <<<EOT
+// Making of files folder
+\$files = \${$module_name}.'/files';
+if(!is_dir(\$files))
+ mkdir(\$files, 0777);
+ chmod(\$files, 0777);
+copy(\$indexFile, \$files.'/index.html');\n
+EOT;
+ return $ret;
+ }
+ /*
+ * @private function getInstallTableFilesFolder
+ * @param string $table_name
+ */
+ private function getInstallTableFilesFolder($table_name) {
+ $ret = <<<EOT
+// Making of "{$table_name}" files folder
+\${$table_name} = \$files.'/{$table_name}';
if(!is_dir(\${$table_name}))
mkdir(\${$table_name}, 0777);
chmod(\${$table_name}, 0777);
-copy(\$indexFile, \${$table_name}.'/index.html');
-
-// Making of "{$field_name}" files folder
-\${$table_name} = \${$module_name}.'/files/{$table_name}';
-if(!is_dir(\${$table_name}))
- mkdir(\${$table_name}, 0777);
- chmod(\${$table_name}, 0777);
-copy(\$indexFile, \${$table_name}.'/index.html');
+copy(\$indexFile, \${$table_name}.'/index.html');\n
EOT;
- }
- }
+ return $ret;
+ }
+ /*
+ * @private function getInstallFooter
+ * @param null
+ */
+ private function getInstallFooter() {
+ $ret = <<<EOT
+// ---------- Install Footer ---------- //
+EOT;
+ return $ret;
+ }
+ /*
+ * @public function render
+ * @param null
+ */
+ public function render()
+ {
+ $module = $this->getModule();
+ $module_name = strtolower($module->getVar('mod_name'));
+ $table = $this->getTable();
+ $tables = $this->getTables();
+ $filename = $this->getFileName();
+ $content = $this->getHeaderFilesComments($module, $filename);
+ $content .= $this->getInstallModuleFolder($module_name);
+ $fields = $this->getTableFields($table->getVar('table_id'));
+ foreach(array_keys($fields) as $f)
+ {
+ $field_element = $fields[$f]->getVar('field_element');
+ // All fields elements selected
+ switch( $field_element ) {
+ case 9:
+ $content .= $this->getInstallImagesFolder($module_name);
+ foreach(array_keys($tables) as $t)
+ {
+ $table_name = $tables[$t]->getVar('table_name');
+ $content .= $this->getInstallTableImagesFolder($table_name);
+ }
+ break;
+ case 10:
+ $content .= $this->getInstallFileFolder($module_name);
+ foreach(array_keys($tables) as $t)
+ {
+ $table_name = $tables[$t]->getVar('table_name');
+ $content .= $this->getInstallTableFilesFolder($table_name);
+ }
+ break;
}
- }
+ }
+ $content .= $this->getInstallFooter();
+ //
$this->tdmcfile->create($module_name, 'include', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-27 15:47:48 UTC (rev 12659)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-28 09:55:59 UTC (rev 12660)
@@ -129,8 +129,8 @@
'dirmoduleadmin' => "Frameworks/moduleclasses/moduleadmin",
'sysicons16' => "../../Frameworks/moduleclasses/icons/16",
'sysicons32' => "../../Frameworks/moduleclasses/icons/32",
- 'modicons16' => 'assets/images/icons/16',
- 'modicons32' => 'assets/images/icons/32',
+ 'modicons16' => "assets/images/icons/16",
+ 'modicons32' => "assets/images/icons/32",
//About
'demo_site_url' => "{$module->getVar('mod_demo_site_url')}",
'demo_site_name' => "{$module->getVar('mod_demo_site_name')}",
@@ -139,19 +139,12 @@
'module_website_url' => "{$module->getVar('mod_website_url')}",
'module_website_name' => "{$module->getVar('mod_website_name')}",
'release' => "{$module->getVar('mod_release')}",
- 'module_status' => "{$module->getVar('mod_status')}",
- // Admin system menu
- 'system_menu' => 1,\n
+ 'module_status' => "{$module->getVar('mod_status')}",\n
EOT;
- if(is_object($table)) {
- $table_admin = $table->getVar('table_admin');
- $table_user = $table->getVar('table_user');
- } else {
- $table_admin = null;
- $table_user = null;
- }
- if ( $module->getVar('mod_admin') == 1 && $table_admin == 1 ) {
+ if ( $table->getVar('table_admin') == 1 ) {
$ret .= <<<EOT
+ // Admin system menu
+ 'system_menu' => 1,
// Admin things
'hasAdmin' => 1,
'adminindex' => "admin/index.php",
@@ -165,22 +158,24 @@
'hasAdmin' => 0,\n
EOT;
}
- if ( $module->getVar('mod_user') == 1 && $table_user == 1 ) {
+ if ( $table->getVar('table_user') == 1 )
+ {
$ret .= <<<EOT
// Menu
- 'hasMain' => 1,
- // Scripts to run upon installation or update
- 'onInstall' => "include/install.php",
- 'onUpdate' => "include/update.php"
-);\n
+ 'hasMain' => 1,\n
EOT;
} else {
$ret .= <<<EOT
// Menu
- 'hasMain' => 0
+ 'hasMain' => 0,\n
+EOT;
+ }
+ $ret .= <<<EOT
+ // Install/Update
+ 'onInstall' => "include/install.php",
+ 'onUpdate' => "include/update.php"
);\n
EOT;
- }
return $ret;
}
/*
@@ -219,15 +214,12 @@
{
$module_name = $module->getVar('mod_name');
$stl_mod_name = strtolower($module_name);
- $ret = '';
- if ( $module->getVar('mod_search') == 1 ) {
- $ret .= <<<EOT
+ $ret = <<<EOT
// Search
\$modversion['hasSearch'] = 1;
\$modversion['search']['file'] = "include/search.inc.php";
\$modversion['search']['func'] = "{$stl_mod_name}_search";\n
EOT;
- }
return $ret;
}
/*
@@ -238,9 +230,7 @@
{
$module_name = $module->getVar('mod_name');
$stl_mod_name = strtolower($module_name);
- $ret = '';
- if ( $module->getVar('mod_comments') == 1 ) {
- $ret .= <<<EOT
+ $ret = <<<EOT
// Comments
\$modversion['comments']['pageName'] = "comments.php";
\$modversion['comments']['itemName'] = "com_id";
@@ -249,7 +239,6 @@
\$modversion['comments']['callback']['approve'] = "{$stl_mod_name}_com_approve";
\$modversion['comments']['callback']['update'] = "{$stl_mod_name}_com_update";\n
EOT;
- }
return $ret;
}
/*
@@ -435,7 +424,7 @@
'default' => "{$stl_mod_name}, {$keyword}");\n
EOT;
unset($this->keywords);
- if ($table->getVar('table_name') != '')
+ if( $field_element == 9 )
{
$ret .= <<<EOT
\n//Uploads : maxsize of image
@@ -518,24 +507,22 @@
{
$module_name = $module->getVar('mod_name');
$stl_mod_name = strtolower($module_name);
- $ret = '';
- if ( $module->getVar('mod_notifications') == 1 )
- {
- $notify_file = '';
- $tables = $this->getTables();
- foreach (array_keys($tables) as $i)
- {
- $table_name = $tables[$i]->getVar('table_name');
- $count = count($table_name);
- if($tables[$i]->getVar('table_notifications') == 1) {
- if($i <= $count) {
- $notify_file .= "'".$table_name.".php', ";
- } else {
- $notify_file .= "'".$table_name.".php'";
- }
+ $ret = '';
+ $notify_file = '';
+ $tables = $this->getTables();
+ foreach(array_keys($tables) as $t)
+ {
+ $table_name = $tables[$t]->getVar('table_name');
+ $count = count($table_name);
+ if($tables[$t]->getVar('table_notifications') == 1) {
+ if($t <= $count) {
+ $notify_file .= "'".$table_name.".php', ";
+ } else {
+ $notify_file .= "'".$table_name.".php'";
}
- }
- $ret .= <<<EOT
+ }
+ }
+ $ret .= <<<EOT
\n// Notifications {$stl_mod_name}
\$modversion['hasNotification'] = 1;
\$modversion['notification']['lookup_file'] = 'include/notification.inc.php';
@@ -640,7 +627,6 @@
'mail_template' => "file_approve_notify",
'mail_subject' => {$language}FILE_APPROVE_NOTIFY_SUBJECT);
EOT;
- }
return $ret;
}
@@ -664,9 +650,9 @@
if ($table->getVar('table_comments') == 1) {
$content .= $this->getXoopsVersionComments($module);
}
- if($table->getVar('table_admin') == 1) {
+ /*if($table->getVar('table_admin') == 1) {
$content .= $this->getXoopsVersionTemplatesAdmin($module_name);
- }
+ }*/
if($table->getVar('table_user') == 1) {
$content .= $this->getXoopsVersionTemplatesUser($module_name);
}
|
|
From: <txm...@us...> - 2014-06-27 15:47:57
|
Revision: 12659
http://sourceforge.net/p/xoops/svn/12659
Author: txmodxoops
Date: 2014-06-27 15:47:48 +0000 (Fri, 27 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Updated
- Still work to do
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/logos/xoopsdevelopmentteam_logo.gif
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-06-27 14:22:17 UTC (rev 12658)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-06-27 15:47:48 UTC (rev 12659)
@@ -63,7 +63,7 @@
}
$GLOBALS['xoopsTpl']->append('builds', $build);
}
- unset($builds);
+ unset($build);
// Directory to saved all files
$GLOBALS['xoopsTpl']->assign('building_directory', sprintf(_AM_TDMCREATE_BUILDING_DIRECTORY, str_replace(' ', '', strtolower($mod_name))));
// Copy this module in root modules
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/logos/xoopsdevelopmentteam_logo.gif
===================================================================
(Binary files differ)
Index: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/logos/xoopsdevelopmentteam_logo.gif
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/logos/xoopsdevelopmentteam_logo.gif 2014-06-27 14:22:17 UTC (rev 12658)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/logos/xoopsdevelopmentteam_logo.gif 2014-06-27 15:47:48 UTC (rev 12659)
Property changes on: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/logos/xoopsdevelopmentteam_logo.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-27 14:22:17 UTC (rev 12658)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-27 15:47:48 UTC (rev 12659)
@@ -341,7 +341,7 @@
if ( $table->getVar('table_notifications') == 1 ) {
// Include Notifications File
$includeNotifications = IncludeNotifications::getInstance();
- $includeNotifications->write($module, $table, 'notifications.php');
+ $includeNotifications->write($module, $table, 'notifications.inc.php');
$ret[] = $includeNotifications->render();
// Language Mail Template Category File
$languageMailTpl = LanguageMailTpl::getInstance();
@@ -363,7 +363,7 @@
if ( $table->getVar('table_search') == 1) {
// Include Search File
$includeSearch = IncludeSearch::getInstance();
- $includeSearch->write($module, $table, 'search.php');
+ $includeSearch->write($module, $table, 'search.inc.php');
$ret[] = $includeSearch->render();
}
// Creation of comments files
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php 2014-06-27 14:22:17 UTC (rev 12658)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php 2014-06-27 15:47:48 UTC (rev 12659)
@@ -54,6 +54,25 @@
$this->setFileName($filename);
}
/*
+ * @private function getHeaderInstall
+ * @param string $module_name
+ */
+ private function getHeaderInstall($module_name) {
+ $ret = <<<EOT
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+\$indexFile = XOOPS_UPLOAD_PATH.'/index.html';
+\$blankFile = XOOPS_UPLOAD_PATH.'/blank.gif';
+
+// Making of "uploads/{$module_name}" folder
+\${$module_name} = XOOPS_UPLOAD_PATH.'/{$module_name}';
+if(!is_dir(\${$module_name}))
+ mkdir(\${$module_name}, 0777);
+ chmod(\${$module_name}, 0777);
+copy(\$indexFile, \${$module_name}.'/index.html');
+EOT;
+ return $ret;
+ }
+ /*
* @public function render
* @param null
*/
@@ -81,8 +100,8 @@
{
$table_name = $tables[$t]->getVar('table_name');
$fields = $this->getTableFields($tables[$t]->getVar('table_id'));
- foreach(array_keys($fields) as $f) {
- {
+ foreach(array_keys($fields) as $f)
+ {
$field_name = $fields[$f]->getVar('field_name');
if ( ($f > 0) && ($tables[$t]->getVar('table_autoincrement') == 1) ) {
$field_element = $fields[$f]->getVar('field_element');
@@ -94,12 +113,12 @@
if(!is_dir(\${$table_name}))
mkdir(\${$table_name}, 0777);
chmod(\${$table_name}, 0777);
-copy(\$indexFile, \${$table_name}.'/index.html');
+copy(\$indexFile, \${$table_name}.'/index.html');\n
EOT;
} else {
if ( $field_element == 9 ) {
$content .= <<<EOT
-\n// Making of "{$field_name}" images folder
+// Making of "{$field_name}" images folder
\${$table_name} = \${$module_name}.'/images';
if(!is_dir(\${$table_name}))
mkdir(\${$table_name}, 0777);
@@ -134,7 +153,6 @@
}
}
}
- }
}
$this->tdmcfile->create($module_name, 'include', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
|
|
From: <txm...@us...> - 2014-06-27 14:22:25
|
Revision: 12658
http://sourceforge.net/p/xoops/svn/12658
Author: txmodxoops
Date: 2014-06-27 14:22:17 +0000 (Fri, 27 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Updated
- Renamed tdmcreate_slogo.png to logo.png
- Personal logo copied by architecture.php file in uploads/tdmcreate/images/repository
- Still work to do
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/update.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/mail.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/xoops_version.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-27 12:03:27 UTC (rev 12657)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-27 14:22:17 UTC (rev 12658)
@@ -102,6 +102,7 @@
//
$indexFile = $this->path.'/index.html';
$docs_folder = $this->path.'/docs';
+ $logos_folder = $this->path.'/assets/images/logos';
$stl_module_name = str_replace(' ', '', strtolower($module->getVar('mod_name')));
$stl_module_author = str_replace(' ', '', strtolower($module->getVar('mod_author')));
// Creation of the Directory in repository
@@ -141,8 +142,13 @@
$this->structure->makeDirAndCopyFile('assets/images/icons/16', $indexFile, 'index.html');
// Creation of "images/icons/32" folder and index.html file
$this->structure->makeDirAndCopyFile('assets/images/icons/32', $indexFile, 'index.html');
- // Creation of 'txmodxoops_logo.png' file
- $this->structure->copyFile('assets/images', $upload_images_folder.'/'.$stl_module_author.'_logo.gif', $stl_module_author.'_logo.gif');
+ // Copy of 'module_author_logo.gif' file in uploads dir
+ $logo_gif_from = $upload_images_folder.'/'.$stl_module_author.'_logo.gif';
+ if (!file_exists($logo_gif_from)) {
+ copy($logos_folder.'/'.$stl_module_author.'_logo.gif', $logo_gif_from);
+ }
+ // Creation of 'module_author_logo.gif' file
+ $this->structure->copyFile('assets/images', $logo_gif_from, $stl_module_author.'_logo.gif');
// Creation of "images" folder and index.html file
$this->structure->makeDirAndCopyFile('assets/js', $indexFile, 'index.html');
// Creation of 'docs' folder and index.html file
@@ -183,7 +189,7 @@
$this->structure->makeDirAndCopyFile('sql', $indexFile, 'index.html');
}
if ( $table->getVar('table_notifications') == 1 ) {
- // Creation of "sql" folder and index.html file
+ // Creation of "mail_template" folder and index.html file
$this->structure->makeDirAndCopyFile('language/'.$GLOBALS['xoopsConfig']['language'].'/mail_template', $indexFile, 'index.html');
}
}
@@ -339,8 +345,8 @@
$ret[] = $includeNotifications->render();
// Language Mail Template Category File
$languageMailTpl = LanguageMailTpl::getInstance();
- $languageMailTpl->write($module, 'category_new_notify.tpl');
- $ret[] = $languageMailTpl->render();
+ $languageMailTpl->write($module);
+ $ret[] = $languageMailTpl->renderFile('category_new_notify.tpl');
}
// Include Install File
$includeInstall = IncludeInstall::getInstance();
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/update.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/update.php 2014-06-27 12:03:27 UTC (rev 12657)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/update.php 2014-06-27 14:22:17 UTC (rev 12658)
@@ -54,10 +54,10 @@
}
/*
- * @public function render
+ * @public function renderFile
* @param null
*/
- public function render() {
+ public function renderFile() {
$module = $this->getModule();
$filename = $this->getFileName();
$module_name = strtolower($module->getVar('mod_name'));
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/mail.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/mail.php 2014-06-27 12:03:27 UTC (rev 12657)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/mail.php 2014-06-27 14:22:17 UTC (rev 12658)
@@ -55,7 +55,7 @@
*/
public function renderFile($filename) {
$module = $this->getModule();
- $filename = $this->getFileName();
+ //$filename = $this->getFileName();
$module_name = strtolower($module->getVar('mod_name'));
$content = <<<EOT
// ---------- Templates Mail Content Dummy ---------- //
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php 2014-06-27 12:03:27 UTC (rev 12657)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php 2014-06-27 14:22:17 UTC (rev 12658)
@@ -74,8 +74,8 @@
include_once TDMC_PATH . $cfi .'functions.php';
include_once TDMC_PATH . $cfi .'install.php';
include_once TDMC_PATH . $cfi .'jquery.php';
-include_once TDMC_PATH . $cfi .'notifications.inc.php';
-include_once TDMC_PATH . $cfi .'search.inc.php';
+include_once TDMC_PATH . $cfi .'notifications.php';
+include_once TDMC_PATH . $cfi .'search.php';
include_once TDMC_PATH . $cfi .'update.php';
include_once TDMC_PATH . $cfl .'admin.php';
include_once TDMC_PATH . $cfl .'blocks.php';
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/xoops_version.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/xoops_version.php 2014-06-27 12:03:27 UTC (rev 12657)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/xoops_version.php 2014-06-27 14:22:17 UTC (rev 12658)
@@ -35,7 +35,7 @@
$modversion['release_file'] = XOOPS_URL."/modules/{$dirname}/docs/readme.txt";
$modversion['manual'] = "MANUAL";
$modversion['manual_file'] = XOOPS_URL."/modules/{$dirname}/docs/manual.txt";
-$modversion['image'] = "assets/images/tdmcreate_slogo.png";
+$modversion['image'] = "assets/images/logo.png";
$modversion['dirname'] = "{$dirname}";
$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin';
|
|
From: <txm...@us...> - 2014-06-27 12:03:36
|
Revision: 12657
http://sourceforge.net/p/xoops/svn/12657
Author: txmodxoops
Date: 2014-06-27 12:03:27 +0000 (Fri, 27 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Updated
- Still work to do
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/mail.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/xoopsdevelopmentteam_logo.gif
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/comment_functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/update.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-06-27 09:27:07 UTC (rev 12656)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-06-27 12:03:27 UTC (rev 12657)
@@ -141,11 +141,11 @@
$adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list');
$adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list');
$GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
-
+ // Form Add
$fieldsObj =& $tdmcreate->getHandler('fields')->create();
- $form = $fieldsObj->getForm($field_mid, $field_tid, $field_numb, $field_name);
+ $form = $fieldsObj->getFormAdd($field_mid, $field_tid, $field_numb, $field_name);
$GLOBALS['xoopsTpl']->assign('form', $form->render());
-
+ // Test -> Will be removed
var_dump($field_mid);
var_dump($field_tid);
var_dump($field_numb);
@@ -229,14 +229,13 @@
$adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add');
$adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list');
$adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list');
- $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
-
- /*$fieldsObj = $tdmcreate->getHandler('fields')->get( $field_tid );
- $form = $fieldsObj->getForm(null, $field_tid);
- $GLOBALS['xoopsTpl']->assign('form', $form->render());*/
- $form = TDMCreate_getFieldsForm($field_mid, $field_tid);
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
+ // Form Edit
+ $field_id = XoopsRequest::getInt('field_id');
+ $fieldsObj = $tdmcreate->getHandler('fields')->get( $field_id );
+ $form = $fieldsObj->getFormEdit($field_mid, $field_tid);
$GLOBALS['xoopsTpl']->assign('form', $form->render());
-
+ // Test -> Will be removed
var_dump($field_tid);
break;
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/xoopsdevelopmentteam_logo.gif
===================================================================
(Binary files differ)
Index: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/xoopsdevelopmentteam_logo.gif
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/xoopsdevelopmentteam_logo.gif 2014-06-27 09:27:07 UTC (rev 12656)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/xoopsdevelopmentteam_logo.gif 2014-06-27 12:03:27 UTC (rev 12657)
Property changes on: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/images/xoopsdevelopmentteam_logo.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-27 09:27:07 UTC (rev 12656)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-27 12:03:27 UTC (rev 12657)
@@ -88,7 +88,7 @@
}
/*
- * @public function getForm
+ * @public function getFormAdd
*
* @param integer $field_mid
* @param integer $field_tid
@@ -96,7 +96,7 @@
* @param string $f_name
* @param mixed $action
*/
- public function getForm($field_mid = null, $field_tid = null, $field_numb = null, $f_name = null, $action = false)
+ public function getFormAdd($field_mid = null, $field_tid = null, $field_numb = null, $f_name = null, $action = false)
{
if ($action === false) {
$action = $_SERVER['REQUEST_URI'];
@@ -239,7 +239,156 @@
$form->addElement(new TDMCreateFormLabel('<td>'.$form_button->render().'</td>'));
$form->addElement(new TDMCreateFormLabel('</tr></tfoot></table>'));
return $form;
- }
+ }
+
+ /*
+ * @public function getFormEdit
+ *
+ * @param integer $field_mid
+ * @param integer $field_tid
+ * @param mixed $action
+ */
+ public function getFormEdit($field_mid = null, $field_tid = null, $action = false)
+ {
+ if ($action === false) {
+ $action = $_SERVER['REQUEST_URI'];
+ }
+
+ $form = new TDMCreateThemeForm(null, 'form', $action, 'post', true);
+ $form->setExtra('enctype="multipart/form-data"');
+
+ // New Object HtmlTable
+ $form->addElement(new TDMCreateFormLabel('<table border="0" cellspacing="1" class="outer width100">'));
+ $form->addElement(new TDMCreateFormLabel('<thead class="center">'));
+ $form->addElement(new TDMCreateFormLabel('<tr class="head"><th colspan="9">'._AM_TDMCREATE_FIELD_EDIT.'</th></tr>'));
+ $form->addElement(new TDMCreateFormLabel('<tr class="head width5">'));
+ $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_NUMBER.'</td>'));
+ $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_NAME.'</td>'));
+ $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_TYPE.'</td>'));
+ $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_VALUE.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_ATTRIBUTE.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_NULL.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_DEFAULT.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_KEY.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_PARAMETERS.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('</tr></thead>'));
+ $form->addElement(new TDMCreateFormLabel('<tbody>'));
+ //
+ $class = 'even';
+ // Get the list of fields
+ $criteria = new CriteriaCompo();
+ $criteria->add(new Criteria('field_tid', $field_tid));
+ $fields = $this->tdmcreate->getHandler('fields')->getObjects($criteria);
+ unset($criteria);
+ $id = 1;
+ foreach($fields as $field) {
+ $class = ($class == 'even') ? 'odd' : 'even';
+ $field_id = $field->getVar('field_id');
+ $form->addElement(new XoopsFormHidden('field_id['.$field_id.']', $field_id));
+ $form->addElement(new XoopsFormHidden('field_mid', $field_mid));
+ $form->addElement(new XoopsFormHidden('field_tid', $field_tid));
+
+ $form->addElement(new TDMCreateFormLabel('<tr class="'.$class.'">'));
+ // Index ID
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$id.'</td>'));
+ // Field Name
+ $field_name = new XoopsFormText(_AM_TDMCREATE_FIELD_NAME, 'field_name['.$field_id.']', 15, 255, $field->getVar('field_name'));
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_name->render().'</td>'));
+ // Field Type
+ $fieldtype_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_type['.$field_id.']', $field->getVar('field_type'));
+ $fieldtype_select->addOptionArray($this->tdmcreate->getHandler('fieldtype')->getList());
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$fieldtype_select->render().'</td>'));
+ // Field Value
+ $field_value = new XoopsFormText(_AM_TDMCREATE_FIELD_VALUE, 'field_value['.$field_id.']', 5, 20, $field->getVar('field_value'));
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_value->render().'</td>'));
+ // Field Attributes
+ $field_attributes_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_attribute['.$field_id.']', $field->getVar('field_attribute'));
+ $field_attributes_select->addOptionArray($this->tdmcreate->getHandler('fieldattributes')->getList());
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_attributes_select->render().'</td>'));
+ // Field Null
+ $field_null_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_NULL, 'field_null['.$field_id.']', $field->getVar('field_null'));
+ $field_null_select->addOptionArray($this->tdmcreate->getHandler('fieldnull')->getList());
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_null_select->render().'</td>'));
+ // Field Default
+ $field_default = new XoopsFormText(_AM_TDMCREATE_FIELD_DEFAULT, 'field_default['.$field_id.']', 15, 25, $field->getVar('field_default'));
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_default->render().'</td>'));
+ // Field Key
+ $field_key_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_KEY, 'field_key['.$field_id.']', $field->getVar('field_key'));
+ $field_key_select->addOptionArray($this->tdmcreate->getHandler('fieldkey')->getList());
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_key_select->render().'</td>'));
+ // Field Void
+ $table_autoincrement = $this->tdmcreate->getHandler('tables')->get($field_tid);
+ if( ($id == 1) && ($table_autoincrement->getVar('table_autoincrement') == 1)) {
+ $form->addElement(new TDMCreateFormLabel('<td> </td></tr>'));
+ } else {
+ // Box header row
+ $parameters_tray = new XoopsFormElementTray('', '<br />');
+ // Field Elements
+ $criteria_element = new CriteriaCompo();
+ $criteria_element->add(new Criteria('fieldelement_tid', 0));
+ $criteria_table = new CriteriaCompo();
+ $criteria_table->add(new Criteria('fieldelement_mid', $field_mid));
+ $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'field_element['.$field_id.']', $field->getVar('field_element'));
+ $field_elements_select->addOptionArray($this->tdmcreate->getHandler('fieldelements')->getList($criteria_element));
+ $field_elements_select->addOptionArray($this->tdmcreate->getHandler('fieldelements')->getList($criteria_table));
+ unset($criteria_element); unset($criteria_table);
+ $parameters_tray->addElement($field_elements_select);
+
+ $check_field_parent = new XoopsFormCheckBox(' ', 'field_parent['.$field_id.']', $field->getVar('field_parent'));
+ $check_field_parent->addOption(1, _AM_TDMCREATE_FIELD_PARENT );
+ $parameters_tray->addElement($check_field_parent);
+
+ $check_field_inlist = new XoopsFormCheckBox(' ', 'field_inlist['.$field_id.']', $field->getVar('field_inlist'));
+ $check_field_inlist->addOption(1, _AM_TDMCREATE_FIELD_INLIST);
+ $parameters_tray->addElement($check_field_inlist);
+
+ $check_field_inform = new XoopsFormCheckBox(' ', 'field_inform['.$field_id.']', $field->getVar('field_inform'));
+ $check_field_inform->addOption(1, _AM_TDMCREATE_FIELD_INFORM);
+ $parameters_tray->addElement($check_field_inform);
+
+ $check_field_admin = new XoopsFormCheckBox(' ', 'field_admin['.$field_id.']', $field->getVar('field_admin'));
+ $check_field_admin->addOption(1, _AM_TDMCREATE_FIELD_ADMIN);
+ $parameters_tray->addElement($check_field_admin);
+
+ $check_field_user = new XoopsFormCheckBox(' ', 'field_user['.$field_id.']', $field->getVar('field_user'));
+ $check_field_user->addOption(1, _AM_TDMCREATE_FIELD_USER);
+ $parameters_tray->addElement($check_field_user);
+
+ $check_field_block = new XoopsFormCheckBox('', 'field_block['.$field_id.']', $field->getVar('field_block'));
+ $check_field_block->addOption(1, _AM_TDMCREATE_FIELD_BLOCK);
+ $parameters_tray->addElement($check_field_block);
+
+ $field_main = $field->getVar('field_main');
+ if($field_main == 1) {
+ $check_field_main = new XoopsFormRadio('', 'field_main['.$field_id.']', $field_main);
+ } else {
+ $check_field_main = new XoopsFormRadio('', 'field_main['.$field_id.']');
+ }
+ $check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
+ $parameters_tray->addElement($check_field_main);
+
+ $check_field_search = new XoopsFormCheckBox(' ', 'field_search['.$field_id.']', $field->getVar('field_search'));
+ $check_field_search->addOption(1, _AM_TDMCREATE_FIELD_SEARCH);
+ $parameters_tray->addElement($check_field_search);
+
+ $check_field_required = new XoopsFormCheckBox(' ', 'field_required['.$field_id.']', $field->getVar('field_required'));
+ $check_field_required->addOption(1, _AM_TDMCREATE_FIELD_REQUIRED);
+ $parameters_tray->addElement($check_field_required);
+ $form->addElement(new TDMCreateFormLabel('<td><div class="portlet"><div class="portlet-header">'._AM_TDMCREATE_FIELD_PARAMETERS_LIST.'</div><div class="portlet-content">'.$parameters_tray->render().'</div></div></td></tr>'));
+ }
+ $id++;
+ }
+ unset($id);
+ // Send Form Data
+ $form->addElement(new TDMCreateFormLabel('</tbody>'));
+ $form->addElement(new TDMCreateFormLabel('<tfoot><tr>'));
+ $form_hidden = new XoopsFormHidden('op', 'save');
+ $form_button = new XoopsFormButton('', 'submit', _SUBMIT, 'submit');
+ $form->addElement(new TDMCreateFormLabel('<td colspan="8">'.$form_hidden->render().'</td>'));
+ $form->addElement(new TDMCreateFormLabel('<td>'.$form_button->render().'</td>'));
+ $form->addElement(new TDMCreateFormLabel('</tr></tfoot></table>'));
+ return $form;
+ }
}
/*
* @Class TDMCreateFieldsHandler
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-27 09:27:07 UTC (rev 12656)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-27 12:03:27 UTC (rev 12657)
@@ -142,7 +142,7 @@
// Creation of "images/icons/32" folder and index.html file
$this->structure->makeDirAndCopyFile('assets/images/icons/32', $indexFile, 'index.html');
// Creation of 'txmodxoops_logo.png' file
- $this->structure->copyFile('assets/images', $upload_images_folder.'/'.$stl_module_author.'_logo.png', $stl_module_author.'_logo.png');
+ $this->structure->copyFile('assets/images', $upload_images_folder.'/'.$stl_module_author.'_logo.gif', $stl_module_author.'_logo.gif');
// Creation of "images" folder and index.html file
$this->structure->makeDirAndCopyFile('assets/js', $indexFile, 'index.html');
// Creation of 'docs' folder and index.html file
@@ -182,6 +182,10 @@
// Creation of "sql" folder and index.html file
$this->structure->makeDirAndCopyFile('sql', $indexFile, 'index.html');
}
+ if ( $table->getVar('table_notifications') == 1 ) {
+ // Creation of "sql" folder and index.html file
+ $this->structure->makeDirAndCopyFile('language/'.$GLOBALS['xoopsConfig']['language'].'/mail_template', $indexFile, 'index.html');
+ }
}
}
@@ -333,6 +337,10 @@
$includeNotifications = IncludeNotifications::getInstance();
$includeNotifications->write($module, $table, 'notifications.php');
$ret[] = $includeNotifications->render();
+ // Language Mail Template Category File
+ $languageMailTpl = LanguageMailTpl::getInstance();
+ $languageMailTpl->write($module, 'category_new_notify.tpl');
+ $ret[] = $languageMailTpl->render();
}
// Include Install File
$includeInstall = IncludeInstall::getInstance();
@@ -373,7 +381,11 @@
// Include Comments File
$includeComments = IncludeComments::getInstance();
$includeComments->write($module, $table);
- $ret[] = $includeComments->renderCommentsNew($module, 'comment_new');
+ $ret[] = $includeComments->renderCommentsNew($module, 'comment_new');
+ // Include Comment Functions File
+ $includeCommentFunctions = IncludeCommentFunctions::getInstance();
+ $includeCommentFunctions->write($module, $table, 'comment_functions.php');
+ $ret[] = $includeCommentFunctions->renderFile();
}
// Creation of user files
if ( ($table->getVar('table_user') == 1)) {
@@ -429,6 +441,10 @@
$includeFunctions = IncludeFunctions::getInstance();
$includeFunctions->write($module, 'functions.php');
$ret[] = $includeFunctions->render();
+ // Include Update File
+ $includeUpdate = IncludeUpdate::getInstance();
+ $includeUpdate->write($module, 'update.php');
+ $ret[] = $includeUpdate->renderFile();
// Docs Changelog File
$docsChangelog = DocsChangelog::getInstance();
$docsChangelog->write($module, 'changelog.txt');
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/comment_functions.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/comment_functions.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/comment_functions.php 2014-06-27 12:03:27 UTC (rev 12657)
@@ -0,0 +1,87 @@
+<?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: comment_functions.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class IncludeCommentFunctions extends TDMCreateFile
+{
+ /*
+ * @public function constructor
+ * @param null
+ */
+ public function __construct() {
+ $this->tdmcfile = TDMCreateFile::getInstance();
+ $this->tdmcreate = TDMCreate::getInstance();
+ }
+ /*
+ * @static function &getInstance
+ * @param null
+ */
+ public static function &getInstance()
+ {
+ static $instance = false;
+ if (!$instance) {
+ $instance = new self();
+ }
+ return $instance;
+ }
+ /*
+ * @public function write
+ * @param string $module
+ * @param mixed $table
+ */
+ public function write($module, $table, $filename) {
+ $this->setModule($module);
+ $this->setTable($table);
+ $this->setFileName($filename);
+ }
+ /*
+ * @public function renderFile
+ * @param null
+ */
+ public function renderFile()
+ {
+ $module = $this->getModule();
+ $table = $this->getTable();
+ $module_name = strtolower($module->getVar('mod_name'));
+ $table_name = $table->getVar('table_name');
+ $ucf_module_name = ucfirst($module_name);
+ $ucf_table_name = ucfirst($table_name);
+ $content = $this->getHeaderFilesComments($module, $filename);
+ $content .= <<<EOT
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+function {$module_name}_com_update(\$itemId, \$itemNumb) {
+ \$itemId = intval(\$itemId);
+ \$itemNumb = intval(\$itemNumb);
+ \$article = new {$ucf_module_name}{$ucf_table_name}(\$itemId);
+ if (!\$article->updateComments(\$itemNumb)) {
+ return false;
+ }
+ return true;
+}
+
+function {$module_name}_com_approve(&\$comment){
+ // notification mail here
+}
+EOT;
+ $this->tdmcfile->create($module_name, 'include', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
+ }
+}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/update.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/update.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/update.php 2014-06-27 12:03:27 UTC (rev 12657)
@@ -0,0 +1,72 @@
+<?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: update.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class IncludeUpdate extends TDMCreateFile
+{
+ /*
+ * @public function constructor
+ * @param null
+ */
+ public function __construct() {
+ $this->tdmcfile = TDMCreateFile::getInstance();
+ }
+
+ /*
+ * @static function &getInstance
+ * @param null
+ */
+ public static function &getInstance()
+ {
+ static $instance = false;
+ if (!$instance) {
+ $instance = new self();
+ }
+ return $instance;
+ }
+ /*
+ * @public function write
+ * @param string $module
+ * @param mixed $table
+ * @param string $filename
+ */
+ public function write($module, $filename) {
+ $this->setModule($module);
+ $this->setFileName($filename);
+ }
+
+ /*
+ * @public function render
+ * @param null
+ */
+ public function render() {
+ $module = $this->getModule();
+ $filename = $this->getFileName();
+ $module_name = strtolower($module->getVar('mod_name'));
+ $content = $this->getHeaderFilesComments($module, $filename);
+ $content .= <<<EOT
+\n// ---------- Here your update code ---------- //
+EOT;
+ //
+ $this->tdmcfile->create($module_name, 'include', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
+ }
+}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/mail.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/mail.php 2014-06-27 09:27:07 UTC (rev 12656)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/mail.php 2014-06-27 12:03:27 UTC (rev 12657)
@@ -16,17 +16,18 @@
* @package tdmcreate
* @since 2.5.0
* @author Txmod Xoops http://www.txmodxoops.org
- * @version $Id: 1.91 language_tpl.php 12258 2014-01-02 09:33:29Z timgno $
+ * @version $Id: 1.91 mail.php 12258 2014-01-02 09:33:29Z timgno $
*/
defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class LanguageTpl extends TDMCreateFile
+class LanguageMailTpl extends TDMCreateFile
{
/*
* @public function constructor
* @param null
*/
- public function __construct() {
+ public function __construct() {
+ parent::__construct();
$this->tdmcfile = TDMCreateFile::getInstance();
}
/*
@@ -44,23 +45,41 @@
/*
* @public function write
* @param string $module
- * @param string $filename
*/
- public function write($module, $filename) {
+ public function write($module) {
$this->setModule($module);
- $this->setFileName($filename);
}
/*
- * @public function render
- * @param null
+ * @public function renderFile
+ * @param string $filename
*/
- public function render() {
+ public function renderFile($filename) {
$module = $this->getModule();
$filename = $this->getFileName();
- $module_name = $module->getVar('mod_name');
- $stl_module_name = strtolower($module_name);
+ $module_name = strtolower($module->getVar('mod_name'));
$content = <<<EOT
- <!-- ----- Templates Mail Content ---------- -->
+// ---------- Templates Mail Content Dummy ---------- //
+Hello {X_UNAME},
+
+A new story "{STORY_NAME}" has been added at {X_SITENAME}.
+
+You can view this story here:
+{STORY_URL}
+
+-----------
+
+You are receiving this message because you selected to be notified when new stories are added to our site.
+
+If this is an error or you wish not to receive further such notifications, please update your subscriptions by visiting the link below:
+{X_UNSUBSCRIBE_URL}
+
+Please do not reply to this message.
+
+-----------
+
+{X_SITENAME} ({X_SITEURL})
+webmaster
+{X_ADMINMAIL}
EOT;
$this->tdmcfile->create($module_name, 'language/'.$GLOBALS['xoopsConfig']['language'].'/mail_template', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php 2014-06-27 09:27:07 UTC (rev 12656)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php 2014-06-27 12:03:27 UTC (rev 12657)
@@ -69,15 +69,18 @@
include_once TDMC_PATH . $cfd .'changelog.php';
include_once TDMC_PATH . $cfd .'docs.php';
include_once TDMC_PATH . $cfi .'comments.php';
+include_once TDMC_PATH . $cfi .'comment_functions.php';
include_once TDMC_PATH . $cfi .'common.php';
include_once TDMC_PATH . $cfi .'functions.php';
include_once TDMC_PATH . $cfi .'install.php';
include_once TDMC_PATH . $cfi .'jquery.php';
-include_once TDMC_PATH . $cfi .'notifications.php';
-include_once TDMC_PATH . $cfi .'search.php';
+include_once TDMC_PATH . $cfi .'notifications.inc.php';
+include_once TDMC_PATH . $cfi .'search.inc.php';
+include_once TDMC_PATH . $cfi .'update.php';
include_once TDMC_PATH . $cfl .'admin.php';
include_once TDMC_PATH . $cfl .'blocks.php';
include_once TDMC_PATH . $cfl .'help.php';
+include_once TDMC_PATH . $cfl .'mail.php';
include_once TDMC_PATH . $cfl .'main.php';
include_once TDMC_PATH . $cfl .'modinfo.php';
include_once TDMC_PATH . $cfs .'mysql.php';
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php 2014-06-27 09:27:07 UTC (rev 12656)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php 2014-06-27 12:03:27 UTC (rev 12657)
@@ -129,156 +129,4 @@
function phpFunction($val='')
{ // create php function here
echo $val;
-}*/
-
-/*
-* @function getFieldsForm
-*
-* @param integer $field_mid
-* @param integer $field_tid
-* @param mixed $action
-*/
-function TDMCreate_getFieldsForm($field_mid = null, $field_tid = null, $action = false)
-{
- if ($action === false) {
- $action = $_SERVER['REQUEST_URI'];
- }
- $tdmcreate = TDMCreate::getInstance();
-
- require_once TDMC_PATH . '/class/html/simplelabel.php';
- require_once TDMC_PATH . '/class/form/themeform.php';
- $form = new TDMCreateThemeForm(null, 'form', $action, 'post', true);
- $form->setExtra('enctype="multipart/form-data"');
-
- // New Object HtmlTable
- $form->addElement(new TDMCreateFormLabel('<table border="0" cellspacing="1" class="outer width100">'));
- $form->addElement(new TDMCreateFormLabel('<thead class="center">'));
- $form->addElement(new TDMCreateFormLabel('<tr class="head"><th colspan="9">'._AM_TDMCREATE_FIELD_EDIT.'</th></tr>'));
- $form->addElement(new TDMCreateFormLabel('<tr class="head width5">'));
- $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_NUMBER.'</td>'));
- $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_NAME.'</td>'));
- $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_TYPE.'</td>'));
- $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_VALUE.'</th>'));
- $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_ATTRIBUTE.'</th>'));
- $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_NULL.'</th>'));
- $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_DEFAULT.'</th>'));
- $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_KEY.'</th>'));
- $form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_PARAMETERS.'</th>'));
- $form->addElement(new TDMCreateFormLabel('</tr></thead>'));
- $form->addElement(new TDMCreateFormLabel('<tbody>'));
- //
- $class = 'even';
- // Get the list of fields
- $criteria = new CriteriaCompo();
- $criteria->add(new Criteria('field_tid', $field_tid));
- $fields = $tdmcreate->getHandler('fields')->getObjects($criteria);
- unset($criteria);
- $id = 1;
- foreach($fields as $field) {
- $class = ($class == 'even') ? 'odd' : 'even';
- $field_id = $field->getVar('field_id');
- $form->addElement(new XoopsFormHidden('field_id['.$field_id.']', $field_id));
- $form->addElement(new XoopsFormHidden('field_mid', $field_mid));
- $form->addElement(new XoopsFormHidden('field_tid', $field_tid));
-
- $form->addElement(new TDMCreateFormLabel('<tr class="'.$class.'">'));
- // Index ID
- $form->addElement(new TDMCreateFormLabel('<td class="center">'.$id.'</td>'));
- // Field Name
- $field_name = new XoopsFormText(_AM_TDMCREATE_FIELD_NAME, 'field_name['.$field_id.']', 15, 255, $field->getVar('field_name'));
- $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_name->render().'</td>'));
- // Field Type
- $fieldtype_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_type['.$field_id.']', $field->getVar('field_type'));
- $fieldtype_select->addOptionArray($tdmcreate->getHandler('fieldtype')->getList());
- $form->addElement(new TDMCreateFormLabel('<td class="center">'.$fieldtype_select->render().'</td>'));
- // Field Value
- $field_value = new XoopsFormText(_AM_TDMCREATE_FIELD_VALUE, 'field_value['.$field_id.']', 5, 20, $field->getVar('field_value'));
- $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_value->render().'</td>'));
- // Field Attributes
- $field_attributes_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_attribute['.$field_id.']', $field->getVar('field_attribute'));
- $field_attributes_select->addOptionArray($tdmcreate->getHandler('fieldattributes')->getList());
- $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_attributes_select->render().'</td>'));
- // Field Null
- $field_null_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_NULL, 'field_null['.$field_id.']', $field->getVar('field_null'));
- $field_null_select->addOptionArray($tdmcreate->getHandler('fieldnull')->getList());
- $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_null_select->render().'</td>'));
- // Field Default
- $field_default = new XoopsFormText(_AM_TDMCREATE_FIELD_DEFAULT, 'field_default['.$field_id.']', 15, 25, $field->getVar('field_default'));
- $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_default->render().'</td>'));
- // Field Key
- $field_key_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_KEY, 'field_key['.$field_id.']', $field->getVar('field_key'));
- $field_key_select->addOptionArray($tdmcreate->getHandler('fieldkey')->getList());
- $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_key_select->render().'</td>'));
- // Field Void
- $table_autoincrement = $tdmcreate->getHandler('tables')->get($field_tid);
- if( ($id == 1) && ($table_autoincrement->getVar('table_autoincrement') == 1)) {
- $form->addElement(new TDMCreateFormLabel('<td> </td></tr>'));
- } else {
- // Box header row
- $parameters_tray = new XoopsFormElementTray('', '<br />');
- // Field Elements
- $criteria_element = new CriteriaCompo();
- $criteria_element->add(new Criteria('fieldelement_tid', 0));
- $criteria_table = new CriteriaCompo();
- $criteria_table->add(new Criteria('fieldelement_mid', $field_mid));
- $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'field_element['.$field_id.']', $field->getVar('field_element'));
- $field_elements_select->addOptionArray($tdmcreate->getHandler('fieldelements')->getList($criteria_element));
- $field_elements_select->addOptionArray($tdmcreate->getHandler('fieldelements')->getList($criteria_table));
- unset($criteria_element); unset($criteria_table);
- $parameters_tray->addElement($field_elements_select);
-
- $check_field_parent = new XoopsFormCheckBox(' ', 'field_parent['.$field_id.']', $field->getVar('field_parent'));
- $check_field_parent->addOption(1, _AM_TDMCREATE_FIELD_PARENT );
- $parameters_tray->addElement($check_field_parent);
-
- $check_field_inlist = new XoopsFormCheckBox(' ', 'field_inlist['.$field_id.']', $field->getVar('field_inlist'));
- $check_field_inlist->addOption(1, _AM_TDMCREATE_FIELD_INLIST);
- $parameters_tray->addElement($check_field_inlist);
-
- $check_field_inform = new XoopsFormCheckBox(' ', 'field_inform['.$field_id.']', $field->getVar('field_inform'));
- $check_field_inform->addOption(1, _AM_TDMCREATE_FIELD_INFORM);
- $parameters_tray->addElement($check_field_inform);
-
- $check_field_admin = new XoopsFormCheckBox(' ', 'field_admin['.$field_id.']', $field->getVar('field_admin'));
- $check_field_admin->addOption(1, _AM_TDMCREATE_FIELD_ADMIN);
- $parameters_tray->addElement($check_field_admin);
-
- $check_field_user = new XoopsFormCheckBox(' ', 'field_user['.$field_id.']', $field->getVar('field_user'));
- $check_field_user->addOption(1, _AM_TDMCREATE_FIELD_USER);
- $parameters_tray->addElement($check_field_user);
-
- $check_field_block = new XoopsFormCheckBox('', 'field_block['.$field_id.']', $field->getVar('field_block'));
- $check_field_block->addOption(1, _AM_TDMCREATE_FIELD_BLOCK);
- $parameters_tray->addElement($check_field_block);
-
- $field_main = $field->getVar('field_main');
- if($field_main == 1) {
- $check_field_main = new XoopsFormRadio('', 'field_main['.$field_id.']', $field_main);
- } else {
- $check_field_main = new XoopsFormRadio('', 'field_main['.$field_id.']');
- }
- $check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
- $parameters_tray->addElement($check_field_main);
-
- $check_field_search = new XoopsFormCheckBox(' ', 'field_search['.$field_id.']', $field->getVar('field_search'));
- $check_field_search->addOption(1, _AM_TDMCREATE_FIELD_SEARCH);
- $parameters_tray->addElement($check_field_search);
-
- $check_field_required = new XoopsFormCheckBox(' ', 'field_required['.$field_id.']', $field->getVar('field_required'));
- $check_field_required->addOption(1, _AM_TDMCREATE_FIELD_REQUIRED);
- $parameters_tray->addElement($check_field_required);
- $form->addElement(new TDMCreateFormLabel('<td><div class="portlet"><div class="portlet-header">'._AM_TDMCREATE_FIELD_PARAMETERS_LIST.'</div><div class="portlet-content">'.$parameters_tray->render().'</div></div></td></tr>'));
- }
- $id++;
- }
- unset($id);
- // Send Form Data
- $form->addElement(new TDMCreateFormLabel('</tbody>'));
- $form->addElement(new TDMCreateFormLabel('<tfoot><tr>'));
- $form_hidden = new XoopsFormHidden('op', 'save');
- $form_button = new XoopsFormButton('', 'submit', _SUBMIT, 'submit');
- $form->addElement(new TDMCreateFormLabel('<td colspan="8">'.$form_hidden->render().'</td>'));
- $form->addElement(new TDMCreateFormLabel('<td>'.$form_button->render().'</td>'));
- $form->addElement(new TDMCreateFormLabel('</tr></tfoot></table>'));
- return $form;
-}
\ No newline at end of file
+}*/
\ No newline at end of file
|
|
From: <be...@us...> - 2014-06-27 09:27:14
|
Revision: 12656
http://sourceforge.net/p/xoops/svn/12656
Author: beckmi
Date: 2014-06-27 09:27:07 +0000 (Fri, 27 Jun 2014)
Log Message:
-----------
fix for array issue in pm/viempmsg.php (Roby73/mamba)
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/viewpmsg.php
Modified: XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-06-26 21:37:18 UTC (rev 12655)
+++ XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-06-27 09:27:07 UTC (rev 12656)
@@ -1,6 +1,15 @@
XOOPS 2.5.x Changelog (Language changes: see: /docs/lang_diff.txt)
===============================
+2014-06-14: Version 2.5.7 Final (Patch)
+===============================
+
+- Updating docu for the correct version of tablesorter (mamba)
+- Fix path specified for include (rgriffith, mamba)
+- added mainfile.php to /extras for use on servers where write to root is not possible (rgriffith)
+- fix for array issue in pm/viempmsg.php (Roby73/mamba)
+
+===============================
2014/06/14: Version 2.5.7 Final
===============================
- updated XoopsMediaUploader to use system memory values from php.ini, and to offer random file names (mamba/luciorota/zyspec)
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/viewpmsg.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/viewpmsg.php 2014-06-26 21:37:18 UTC (rev 12655)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/viewpmsg.php 2014-06-27 09:27:07 UTC (rev 12656)
@@ -44,7 +44,7 @@
} else {
$clean_msg_id = json_decode($_POST['msg_id'], true, 2);
if (!empty($clean_msg_id)) {
- $clean_msg_id = array_map("intval", $clean_msg_id);
+ $clean_msg_id = array_map("intval", (array) $clean_msg_id);
}
$size = count($clean_msg_id);
$msg =& $clean_msg_id;
|
|
From: <txm...@us...> - 2014-06-26 21:37:36
|
Revision: 12655
http://sourceforge.net/p/xoops/svn/12655
Author: txmodxoops
Date: 2014-06-26 21:37:18 +0000 (Thu, 26 Jun 2014)
Log Message:
-----------
Definitions with a single quote and their description with double quote
Updated and added missing definitions
Added Paths:
-----------
XoopsLanguages/italian/core/2.5.8/htdocs/
XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/
XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/
XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/
XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/
XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/main.php
XoopsLanguages/italian/core/2.5.8/htdocs/class/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/language/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/language/italian.php
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/textarea/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/textarea/language/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/textarea/language/italian.php
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/language/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/language/italian.php
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/it.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/it.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/it.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/it.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/it.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/it.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/it.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/it.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/it.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/it.js
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/utils/
XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/utils/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/install/
XoopsLanguages/italian/core/2.5.8/htdocs/install/language/
XoopsLanguages/italian/core/2.5.8/htdocs/install/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/install/language/italian/finish.php
XoopsLanguages/italian/core/2.5.8/htdocs/install/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/install/language/italian/install.php
XoopsLanguages/italian/core/2.5.8/htdocs/install/language/italian/install2.php
XoopsLanguages/italian/core/2.5.8/htdocs/install/language/italian/mysql.lang.data.sql
XoopsLanguages/italian/core/2.5.8/htdocs/install/language/italian/style.css
XoopsLanguages/italian/core/2.5.8/htdocs/install/language/italian/support.php
XoopsLanguages/italian/core/2.5.8/htdocs/install/language/italian/support.png
XoopsLanguages/italian/core/2.5.8/htdocs/install/language/italian/welcome.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/admin.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/auth.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/backend.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/banners.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/calendar.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/captcha.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/comment.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/countries.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/errors.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/findusers.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/formdhtmltextarea.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/global.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/locale.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/logger.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/activated.tpl
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/adminactivate.tpl
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/comment_notify.tpl
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/commentsubmit_notify.tpl
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/default_notify.tpl
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/lostpass1.tpl
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/lostpass2.tpl
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/register.tpl
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/tellfriend.tpl
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/mail_template/welcome.tpl
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/misc.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/modules.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/notification.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/pmsg.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/search.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/style.css
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/timezone.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/uploader.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/user.php
XoopsLanguages/italian/core/2.5.8/htdocs/language/italian/xoopsmailerlocal.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/pm/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/pm/language/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/pm/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/pm/language/italian/admin.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/pm/language/italian/help/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/pm/language/italian/help/help.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/pm/language/italian/help/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/pm/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/pm/language/italian/main.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/pm/language/italian/modinfo.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/italian/admin.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/italian/help/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/italian/help/help.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/italian/help/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/italian/mail_template/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/italian/mail_template/emailchanged.tpl
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/italian/mail_template/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/italian/main.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/profile/language/italian/modinfo.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/protector/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/protector/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/protector/language/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/protector/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/protector/language/italian/help/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/protector/language/italian/help/help.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/protector/language/italian/help/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/avatars.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/banners.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/blocksadmin.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/comments.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/groups.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/images.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/mailusers.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/maintenance.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/modulesadmin.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/preferences.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/smilies.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/tplsets.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/userrank.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin/users.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/admin.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/blocks.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/cpanel.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/avatars.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/banners.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/blocksadmin.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/comments.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/groups.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/help_center.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/images.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/mailusers.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/maintenance.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/module_index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/modulesadmin.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/preferences.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/smilies.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/tplsets.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/userrank.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/help/users.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/images/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/images/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/images/lightbox-blank.gif
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/images/lightbox-btn-close.gif
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/images/lightbox-btn-next.gif
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/images/lightbox-btn-prev.gif
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/images/lightbox-ico-loading.gif
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/language/italian/modinfo.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/default/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/default/language/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/default/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/default/language/italian/admin.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/default/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/default/language/italian/localsupport.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/zetadigme/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/zetadigme/css/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/zetadigme/css/it.css
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/zetadigme/language/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/zetadigme/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/zetadigme/language/italian/admin.php
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/zetadigme/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/modules/system/themes/zetadigme/language/italian/localsupport.php
XoopsLanguages/italian/core/2.5.8/htdocs/themes/
XoopsLanguages/italian/core/2.5.8/htdocs/themes/suico/
XoopsLanguages/italian/core/2.5.8/htdocs/themes/suico/language/
XoopsLanguages/italian/core/2.5.8/htdocs/themes/suico/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/themes/suico/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/themes/suico/language/italian/main.php
XoopsLanguages/italian/core/2.5.8/htdocs/themes/suico/language/italian/script.js
XoopsLanguages/italian/core/2.5.8/htdocs/themes/suico/language/italian/style.css
XoopsLanguages/italian/core/2.5.8/htdocs/themes/xbootstrap/
XoopsLanguages/italian/core/2.5.8/htdocs/themes/xbootstrap/language/
XoopsLanguages/italian/core/2.5.8/htdocs/themes/xbootstrap/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/themes/xbootstrap/language/italian/main.php
XoopsLanguages/italian/core/2.5.8/htdocs/themes/zetagenesis/
XoopsLanguages/italian/core/2.5.8/htdocs/themes/zetagenesis/language/
XoopsLanguages/italian/core/2.5.8/htdocs/themes/zetagenesis/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/themes/zetagenesis/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/themes/zetagenesis/language/italian/main.php
XoopsLanguages/italian/core/2.5.8/htdocs/themes/zetagenesis/language/italian/script.js
XoopsLanguages/italian/core/2.5.8/htdocs/themes/zetagenesis/language/italian/style.css
XoopsLanguages/italian/core/2.5.8/htdocs/themes/zetagenesis/language/leggimi.txt
XoopsLanguages/italian/core/2.5.8/htdocs/xoops_lib/
XoopsLanguages/italian/core/2.5.8/htdocs/xoops_lib/modules/
XoopsLanguages/italian/core/2.5.8/htdocs/xoops_lib/modules/protector/
XoopsLanguages/italian/core/2.5.8/htdocs/xoops_lib/modules/protector/language/
XoopsLanguages/italian/core/2.5.8/htdocs/xoops_lib/modules/protector/language/italian/
XoopsLanguages/italian/core/2.5.8/htdocs/xoops_lib/modules/protector/language/italian/admin.php
XoopsLanguages/italian/core/2.5.8/htdocs/xoops_lib/modules/protector/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/htdocs/xoops_lib/modules/protector/language/italian/main.php
XoopsLanguages/italian/core/2.5.8/htdocs/xoops_lib/modules/protector/language/italian/modinfo.php
Added: XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/main.php
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/main.php (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/main.php 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1,48 @@
+<?php
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * _LANGCODE it
+ * _CHARSET UTF-8
+ * @version $Id$
+ */
+//Translator: Xoops Italia Team - www.xoopsitalia.org
+//Last translation update: 19/05/2013
+
+// Info
+define('_AM_MODULEADMIN_CONFIG',"Controllo configurazione");
+define('_AM_MODULEADMIN_CONFIG_CHMOD',"La cartella '%s' deve essere con chmod '%s' ( ora è impostato su %s ).'");
+define('_AM_MODULEADMIN_CONFIG_FOLDERKO',"La cartella '%s' non esiste");
+define('_AM_MODULEADMIN_CONFIG_FOLDEROK',"La cartella '%s' esiste");
+define('_AM_MODULEADMIN_CONFIG_PHP',"PHP minimo richiesto: %s (la tua versione è %s)");
+define('_AM_MODULEADMIN_CONFIG_XOOPS',"XOOPS minimo richiesto: %s (la tua versione è %s)");
+
+define('_AM_MODULEADMIN_CONFIG_DB',"Versione minima richiesta: %s (la tua versione è %s)");
+define('_AM_MODULEADMIN_CONFIG_ADMIN',"ModuleAdmin minimo richiesto: %s (la tua versione è %s)");
+
+// Header
+define('_AM_MODULEADMIN_MISSING',"Errore: Non stai utilizzando il Frameworks \"admin module\". Devi installare questo Frameworks");
+
+define('_AM_MODULEADMIN_HOME',"Home");
+define('_AM_MODULEADMIN_DASHBOARD',"Dashboard");
+define('_AM_MODULEADMIN_ABOUT',"Informazioni");
+define('_AM_MODULEADMIN_PERMISSIONS',"Permessi");
+define('_AM_MODULEADMIN_ABOUT_AUTHOR',"Autore: ");
+define('_AM_MODULEADMIN_ABOUT_LICENSE',"Licenza: ");
+define('_AM_MODULEADMIN_ABOUT_AUTHOR_NAME',"Nome Autore: ");
+define('_AM_MODULEADMIN_ABOUT_AUTHOR_INFO',"Info Autore");
+
+// About
+define('_AM_MODULEADMIN_ABOUT_CHANGELOG',"Cambiamenti Versioni");
+define('_AM_MODULEADMIN_ABOUT_DESCRIPTION',"Descrizione");
+define('_AM_MODULEADMIN_ABOUT_AUTHORINFO',"Informazioni Autore");
+define('_AM_MODULEADMIN_ABOUT_AUTHOREMAIL',"Email:");
+define('_AM_MODULEADMIN_ABOUT_CREDITS',"Crediti:");
+define('_AM_MODULEADMIN_ABOUT_MODULEINFO',"Informazioni Modulo");
+define('_AM_MODULEADMIN_ABOUT_MODULESTATUS',"Stato:");
+define('_AM_MODULEADMIN_ABOUT_UPDATEDATE',"Aggiornato:");
+define('_AM_MODULEADMIN_ABOUT_RELEASEDATE',"Rilasciato:");
+define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Sito Web:");
+
+//ModuleAdmin
+define('_AM_MODULEADMIN_ADMIN_FOOTER',"<div class='center smallsmall italic pad5'>Questo module è mantenuto da <a class='tooltip' rel='external' href='http://xoops.org/' title='Visita XOOPS Community'>XOOPS Community</a></div>");
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/language/italian.php
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/language/italian.php (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/dhtmltextarea/language/italian.php 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1,19 @@
+<?php
+// -------------------------------------------------------------------------------- //
+// Updated by luciorota - Xoops Italia
+// Published by Xoops Italian Official Support Site - www.xoopsitalia.org
+// -------------------------------------------------------------------------------- //
+/**
+ * XOOPS editor
+ *
+ * @copyright The XOOPS project http://www.xoops.org/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...>
+ * @since 2.3.0
+ * @version $Id: english.php 1316 2008-02-12 10:16:56Z phppp $
+ * @package xoopseditor
+ */
+/*
+ * Assocated with editor_registry.php
+ */
+define('_XOOPS_EDITOR_DHTMLTEXTAREA',"Form DHTML con xCode");
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/textarea/language/italian.php
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/textarea/language/italian.php (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/textarea/language/italian.php 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1,20 @@
+<?php
+// -------------------------------------------------------------------------------- //
+// Updated by luciorota - Xoops Italia
+// Published by Xoops Italian Official Support Site - www.xoopsitalia.org
+// -------------------------------------------------------------------------------- //
+/**
+ * Editor framework for XOOPS
+ *
+ * @copyright The XOOPS project http://www.xoops.org/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...>
+ * @since 1.00
+ * @version $Id: english.php 1315 2008-02-12 10:10:32Z phppp $
+ * @package xoopseditor
+ */
+
+/*
+ * Assocated with editor_registry.php
+ */
+define('_XOOPS_EDITOR_TEXTAREA',"Testo Semplice");
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/language/italian.php
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/language/italian.php (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/language/italian.php 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1,28 @@
+<?php
+// -------------------------------------------------------------------------------- //
+// Updated by luciorota - Xoops Italia
+// Published by Xoops Italian Official Support Site - www.xoopsitalia.org
+// -------------------------------------------------------------------------------- //
+/**
+ * TinyMCE adapter for XOOPS
+ *
+ * @copyright The XOOPS project http://www.xoops.org/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @package core
+ * @subpackage xoopseditor
+ * @since 2.3.0
+ * @author Taiwen Jiang <ph...@us...>
+ * @version $Id: english.php 2154 2008-09-22 02:38:32Z phppp $
+ */
+/*
+ * Assocated with editor_registry.php
+ */
+// Name of the editor
+define('_XOOPS_EDITOR_TINYMCE',"TinyMCE");
+
+// The value must be the same as /tinymce/jscripts/langs/your_language_code, for example, "en" for English, "fr" for French
+// For details, check http://tinymce.moxiecode.com/download_i18n.php
+define('_XOOPS_EDITOR_TINYMCE_LANGUAGE',"it");
+
+// FONT LIST, FORMAT: "Name=value1,value2;Name=value"
+define('_XOOPS_EDITOR_TINYMCE_FONTS',"Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings");
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/it.js
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/it.js (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/it.js 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+tinyMCE.addI18n({it:{common:{more_colors:"Colori aggiuntivi",invalid_data:"Errore: valori inseriti non validi, sono marcati in rosso.",popup_blocked:"Spiacente, ma il blocco popup ha disabilitato una finestra che fornisce funzionalit\u00e0 dell\'applicazione. Si deve disabilitare il blocco popup per questo sito per poter utlizzare appieno questo strumento.",clipboard_no_support:"Attualmente non supportato dal browser in uso, usare le scorciatoie da tastiera.",clipboard_msg:"Copia/Taglia/Incolla non \u00e8 disponibile in Mozilla e Firefox.\\nSi desidera avere maggiori informazioni su questo problema?",not_set:"-- Non impostato --",class_name:"Classe",browse:"Sfoglia",close:"Chiudi",cancel:"Annulla",update:"Aggiorna",insert:"Inserisci",apply:"Applica",edit_confirm:"Usare la modalit\u00e0 WYSIWYG per questa textarea?"},contextmenu:{full:"Giustifica",right:"Allinea a destra",center:"Centra",left:"Allinea a sinistra",align:"Allineamento"},insertdatetime:{day_short:"Dom,Lun,Mar,Mer,Gio,Ven,Sab,Dom",day_long:"Domenica,Luned\u00ec,Marted\u00ec,Mercoled\u00ec,Gioved\u00ec,Venerd\u00ec,Sabato,Domenica",months_short:"Gen,Feb,Mar,Apr,Mag,Giu,Lug,Ago,Set,Ott,Nov,Dic",months_long:"Gennaio,Febbraio,Marzo,Aprile,Maggio,Giugno,Luglio,Agosto,Settembre,Ottobre,Novembre,Dicembre",inserttime_desc:"Inserisci ora",insertdate_desc:"Inserisci data",time_fmt:"%H:%M:%S",date_fmt:"%Y-%m-%d"},print:{print_desc:"Stampa"},preview:{preview_desc:"Anteprima"},directionality:{rtl_desc:"Direzione da destra a sinistra",ltr_desc:"Direzione da sinistra a destra"},layer:{content:"Nuovo layer...",absolute_desc:"Attiva/Disattiva posizionamento assoluto",backward_desc:"Porta in sfondo",forward_desc:"Porta in rilievo",insertlayer_desc:"Inserisci nuovo layer"},save:{save_desc:"Salva",cancel_desc:"Cancella tutte le modifiche"},nonbreaking:{nonbreaking_desc:"Inserisci uno spazio"},iespell:{download:"ieSpell non rilevato. Installarlo ora?",iespell_desc:"Esegui controllo ortografico"},advhr:{advhr_desc:"Riga orizzontale",delta_height:"",delta_width:""},emotions:{emotions_desc:"Faccine",delta_height:"",delta_width:""},searchreplace:{replace_desc:"Trova/Sostituisci",search_desc:"Trova",delta_width:"",delta_height:""},advimage:{image_desc:"Inserisci/modifica immagine",delta_width:"",delta_height:""},advlink:{link_desc:"Inserisci/modifica collegamento",delta_height:"",delta_width:""},xhtmlxtras:{attribs_desc:"Inserisci/modifica attributi",ins_desc:"Inserimento",del_desc:"Cancellamento",acronym_desc:"Acronimo",abbr_desc:"Abbreviazione",cite_desc:"Citazione",attribs_delta_height:"",attribs_delta_width:"",ins_delta_height:"",ins_delta_width:"",del_delta_height:"",del_delta_width:"",acronym_delta_height:"",acronym_delta_width:"",abbr_delta_height:"",abbr_delta_width:"",cite_delta_height:"",cite_delta_width:""},style:{desc:"Modifica stile CSS",delta_height:"",delta_width:""},paste:{plaintext_mode:"Incolla adesso e in modalit\u00e0 testo. Clicca nuovamente per tornare alla modalit\u00e0 normale.",plaintext_mode_sticky:"Incolla adesso e in modalit\u00e0 testo. Clicca nuovamente per tornare alla modalit\u00e0 normale. Dopo che avrai incollato qualcosa tornerai alla modalit\u00e0 normale",selectall_desc:"Seleziona tutto",paste_word_desc:"Incolla da Word",paste_text_desc:"Incolla come testo semplice"},paste_dlg:{word_title:"Premere CTRL+V sulla tastiera per incollare il testo nella finestra.",text_linebreaks:"Mantieni interruzioni di riga",text_title:"Premere CTRL+V sulla tastiera per incollare il testo nella finestra."},table:{cell:"Cella",col:"Colonna",row:"Riga",del:"Elimina tabella",copy_row_desc:"Copia riga",cut_row_desc:"Taglia riga",paste_row_after_desc:"Incolla riga dopo",paste_row_before_desc:"Incolla riga prima",props_desc:"Propriet\u00e0 tabella",cell_desc:"Propriet\u00e0 cella",row_desc:"Propriet\u00e0 riga",merge_cells_desc:"Unisci celle",split_cells_desc:"Separa celle",delete_col_desc:"Elimina colonna",col_after_desc:"Inserisci colonna dopo",col_before_desc:"Inserisci colonna prima",delete_row_desc:"Elimina riga",row_after_desc:"Inserisci riga dopo",row_before_desc:"Inserisci riga prima",desc:"Inserisci una nuova tabella",merge_cells_delta_height:"",merge_cells_delta_width:"",table_delta_height:"",table_delta_width:"",cellprops_delta_height:"",cellprops_delta_width:"",rowprops_delta_height:"",rowprops_delta_width:""},autosave:{warning_message:"Se ripristini i dati salvati automaticamente perderai i dati attuali dell\'editor\\n\\nSei sicuro di voler ripristinare i dati?.",restore_content:"Ripristina i dati salvati automaticamente",unload_msg:"I cambiamenti effettuati saranno persi se si abbandona la pagina corrente."},fullscreen:{desc:"Attiva/disattiva modalit\u00e0 a tutto schermo"},media:{edit:"Modifica file multimediale",desc:"Inserisci/modifica file multimediale",delta_height:"",delta_width:""},fullpage:{desc:"Propriet\u00e0 Documento",delta_width:"",delta_height:""},template:{desc:"Inserisci contenuto da modello predefinito"},visualchars:{desc:"Attiva/disattiva caratteri di controllo visuale."},spellchecker:{desc:"Attiva/disattiva controllo ortografico",menu:"Impostazioni controllo ortografico",ignore_word:"Ignora parola",ignore_words:"Ignora tutto",langs:"Lingue",wait:"Attendere prego...",sug:"Suggerimenti",no_sug:"Nessun suggerimento",no_mpell:"Nessun errore rilevato."},pagebreak:{desc:"Inserisci intterruzione di pagina."},advlist:{types:"Tipi",def:"Default",lower_alpha:"Minuscolo alfanumerico",lower_greek:"Minuscolo lettera greca",lower_roman:"Minuscolo lettere romane",upper_alpha:"Maiuscolo alfanumerico",upper_roman:"Maiuscolo lettere romane",circle:"Cerchio",disc:"Punto",square:"Quadrato"}}});
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/it_dlg.js
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/it_dlg.js (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/it_dlg.js 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+tinyMCE.addI18n('it.advhr_dlg',{size:"Altezza",noshade:"Senza ombreggiatura",width:"Larghezza"});
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/it_dlg.js
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/it_dlg.js (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/it_dlg.js 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+tinyMCE.addI18n('it.advimage_dlg',{image_list:"Lista immagini",align_right:"A destra",align_left:"A sinistra",align_textbottom:"In basso al testo",align_texttop:"In alto al testo",align_bottom:"In basso",align_middle:"In mezzo",align_top:"In alto",align_baseline:"Alla base",align:"Allineamento",hspace:"Spaziatura orizzontale",vspace:"Spaziatura verticale",dimensions:"Dimensioni",border:"Bordo",list:"Lista immagini",alt:"Descrizione immagine",src:"URL immagine",dialog_title:"Inserisci/modifica immagine",missing_alt:"Sicuro di continuare senza includere una descrizione dell\'immagine? Senza di essa l\'immagine pu\u00f2 non essere accessibile ad alcuni utenti con disabilit\u00e0, o per coloro che usano un browser testuale oppure che hanno disabilitato la visualizzazione delle immagini nel loro browser.",example_img:"Anteprima aspetto immagine",misc:"Impostazioni varie",mouseout:"quando mouse fuori",mouseover:"quando mouse sopra",alt_image:"Immagine alternativa",swap_image:"Sostituisci immagine",map:"Immagine come mappa",id:"Id",rtl:"Destra verso sinistraa",ltr:"Sinistra verso destra",classes:"Classe",style:"Stile",long_desc:"Descrizione del collegamento",langcode:"codice lingua",langdir:"Direzione testo",constrain_proportions:"Mantieni proporzioni",preview:"Anteprima",title:"Titolo",general:"Generale",tab_advanced:"Avanzate",tab_appearance:"Aspetto",tab_general:"Generale"});
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/it_dlg.js
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/it_dlg.js (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/it_dlg.js 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+tinyMCE.addI18n('it.advlink_dlg',{target_name:"Nome target",classes:"Classe",style:"Stile",id:"Id",popup_position:"Posizione (X/Y)",langdir:"Direzione del testo",popup_size:"Dimensioni",popup_dependent:"Dipendente (Solo in Mozilla/Firefox)",popup_resizable:"Rendi la finestra ridimensionabile",popup_location:"Mostra barra navigazione",popup_menubar:"Mostra barra menu",popup_toolbar:"Mostra barre strumenti",popup_statusbar:"Mostra barra di stato",popup_scrollbars:"Mostra barre di scorrimento",popup_return:"Inserisci \'return false\'",popup_name:"Nome finestra",popup_url:"URL Popup",popup:"Popup Javascript",target_blank:"Apri in una nuova finestra",target_top:"Apri nella cornice superiore (sostituisce tutte le cornici)",target_parent:"Apri nella finestra / cornice genitore",target_same:"Apri in questa finestra / cornice",anchor_names:"Ancore",popup_opts:"Opzioni",advanced_props:"Propriet\u00e0 avanzate",event_props:"Eventi",popup_props:"Propriet\u00e0 popup",general_props:"Propriet\u00e0 generali",advanced_tab:"Avanzate",events_tab:"Eventi",popup_tab:"Popup",general_tab:"Generale",list:"Lista collegamenti",is_external:"L\'URL inserito sembra essere un link esterno. Aggiungere il necessario prefisso http:// ?",is_email:"L\'URL inserito sembra essere un indirizzo email. Aggiungere il necessario prefisso mailto: ?",titlefield:"Titolo",target:"Target",url:"URL collegamento",title:"Inserisci/modifica link",link_list:"Lista collegamenti",rtl:"Destra verso sinistra",ltr:"Sinistra verso destra",accesskey:"Carattere di accesso",tabindex:"Indice tabulazione",rev:"Relazione da target a pagina",rel:"Relazione da pagina a target",mime:"Tipo MIME del target",encoding:"Codifica carattere del target",langcode:"Lingua",target_langcode:"Lingua del target"});
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/it.js
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/it.js (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/it.js 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1,4 @@
+tinyMCE.addI18n('it.autosave',{
+restore_content: "Ripristina il contenuto salvato automaticamente",
+warning_message: "Se ripristini il contenuto salvato, perderai il contenuto presente ora.\n\nSei sicuro di voler ripristinare il contenuto salvato?"
+});
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/index.html 2014-06-26 21:37:18 UTC (rev 12655)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/index.html 2014-06-26 21:37:18 UT...
[truncated message content] |
|
From: <txm...@us...> - 2014-06-26 21:33:14
|
Revision: 12654
http://sourceforge.net/p/xoops/svn/12654
Author: txmodxoops
Date: 2014-06-26 21:33:10 +0000 (Thu, 26 Jun 2014)
Log Message:
-----------
Added Paths:
-----------
XoopsLanguages/italian/core/2.5.8/upgrade/
XoopsLanguages/italian/core/2.5.8/upgrade/cnt-2.2.x-to-2.3.0/
XoopsLanguages/italian/core/2.5.8/upgrade/cnt-2.2.x-to-2.3.0/language/
XoopsLanguages/italian/core/2.5.8/upgrade/cnt-2.2.x-to-2.3.0/language/italian.php
XoopsLanguages/italian/core/2.5.8/upgrade/language/
XoopsLanguages/italian/core/2.5.8/upgrade/language/italian/
XoopsLanguages/italian/core/2.5.8/upgrade/language/italian/index.html
XoopsLanguages/italian/core/2.5.8/upgrade/language/italian/style.css
XoopsLanguages/italian/core/2.5.8/upgrade/language/italian/upgrade.php
XoopsLanguages/italian/core/2.5.8/upgrade/leggimi.txt
XoopsLanguages/italian/core/2.5.8/upgrade/upd-2.0.18-to-2.3.0/
XoopsLanguages/italian/core/2.5.8/upgrade/upd-2.0.18-to-2.3.0/language/
XoopsLanguages/italian/core/2.5.8/upgrade/upd-2.0.18-to-2.3.0/language/italian.php
Added: XoopsLanguages/italian/core/2.5.8/upgrade/cnt-2.2.x-to-2.3.0/language/italian.php
===================================================================
--- XoopsLanguages/italian/core/2.5.8/upgrade/cnt-2.2.x-to-2.3.0/language/italian.php (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/upgrade/cnt-2.2.x-to-2.3.0/language/italian.php 2014-06-26 21:33:10 UTC (rev 12654)
@@ -0,0 +1,18 @@
+<?php
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * _LANGCODE it
+ * _CHARSET UTF-8
+ * @version $Id$
+ */
+// Translator: Xoops Italia Team - www.xoopsitalia.org
+// Last translation update: 10/04/2011
+
+define("_CONFIRM_UPGRADE_220","
+Lo script di aggiornamento migra dati dall'attuale modulo 'Profile'.<br />
+Per favore non disinstallare manualmente il modulo 'Profile', altrimenti i dati corrispondenti non verranno migrati.<br /><br />
+Quando il processo sarà terminato completamente <strong>andare in Amministrazione moduli e aggiornare il modulo 'profile</strong>, dal quale i dati verranno definitivamente migrati.<br /><br />
+Per annullare il processo, <a href='index.php'>premere qui</a>.<br /><br />
+oppure <a style='color:green; font-size:1.3em;' href='index.php?action=next&upd220=ok'>premere qui</a> per procedere.
+");
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/upgrade/language/italian/index.html
===================================================================
--- XoopsLanguages/italian/core/2.5.8/upgrade/language/italian/index.html (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/upgrade/language/italian/index.html 2014-06-26 21:33:10 UTC (rev 12654)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/upgrade/language/italian/style.css
===================================================================
Added: XoopsLanguages/italian/core/2.5.8/upgrade/language/italian/upgrade.php
===================================================================
--- XoopsLanguages/italian/core/2.5.8/upgrade/language/italian/upgrade.php (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/upgrade/language/italian/upgrade.php 2014-06-26 21:33:10 UTC (rev 12654)
@@ -0,0 +1,33 @@
+<?php
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * _LANGCODE it
+ * _CHARSET UTF-8
+ * @version $Id$
+ */
+// Translator: Xoops Italia Team - www.xoopsitalia.org
+// Last translation update: 10/04/2011
+
+define("_XOOPS_UPGRADE","XOOPS - Aggiornamento di sistema");
+define("_CHECKING_APPLIED","Controllo degli aggiornamenti applicati:");
+define("_SET_FILES_WRITABLE","Rendere i seguenti file scrivibili prima di procedere:");
+define("_NO_NEED_UPGRADE","Nessun aggiornamento necessario. Si prega di rimuovere questa cartella dal server");
+define("_NEED_UPGRADE","Aggiornamento necessario");
+define("_PROCEED_UPGRADE","Procedere con l'aggiornamento");
+define("_PERFORMING_UPGRADE","Aggiornamento di %s in corso");
+
+define("_USER_LOGIN","Login Utente");
+
+define("_MANUAL_INSTRUCTIONS","Istruzioni per l'installazione manuale");
+
+// %s is filename
+define("_FAILED_PATCH","Aggiornamento: %s fallito");
+define("_APPLY_NEXT","Applica aggiornamento successivo (%s)");
+define("_COPY_RED_LINES","Copia le linee in rosso in %s");
+
+define("_FINISH","Operazione terminata");
+define("_RELOAD","Ricarica");
+
+define('_UPGRADE_CHARSET','UTF-8');
+define('_UPDATE_SYSTEM_MODULE',"Aggiornare il modulo di Sistema");
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/upgrade/leggimi.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.8/upgrade/leggimi.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/upgrade/leggimi.txt 2014-06-26 21:33:10 UTC (rev 12654)
@@ -0,0 +1,84 @@
+----------------------------------------------------------------------------------------------------------------
+Consultare le NOTE di RILASCIO dei singoli rilasci per istruzioni dettagliate sull'aggiornamento di versione
+----------------------------------------------------------------------------------------------------------------
+
+
+Aggiornamento da una versione precedente
+-----------------------------------
+
+Aggiornamento da XOOPS 2.3.3 e 2.4.x (modo rapido)
+ *Si raccomanda un backup completo di tutti i files e del database prima di procedere
+
+1. Scaricare il pacchetto di aggiornamento corretto dall'archivio file sourceforge
+2. Sovrascrivere i files nella directory XOOPS sul vostro server con il contenuto della cartella /htdocs nel pacchetto che avete scaricato
+ * se è stata rinominata la cartella /xoops_lib, assicurarsi di copiare il contenuto di /xoops_lib nel pacchetto di aggiornamento nella cartella corrispondente sul server (dovrebbe essere la vostra attuale directory XOOPS_TRUST_PATH), a quel punto rimuovere la cartella /xoops_lib creata durante la sovrascrittura. Non vi possono essere due directory con il contenuto di /xoops_lib
+3. Se era stato installato Protector come modulo a parte, aprire il file "mainfile.php", e rimuovere le linee Pre-check e Post-check lines (se presenti):
+
+ include XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ;
+ include XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ;
+
+4. Se si aggiorna da XOOPS 2.4.x, rendere scrivibile il file /include/license.php (permessi 0777 su Linux)
+5. Accedere ad /upgrade/ con un browser e seguire le istruzioni
+6. Seguire le istruzioni poer aggiornare il database
+7. Eliminare la cartella "upgrade" dal server
+8. Aggiornare il modulo "system" dall'Amministrazione moduli. Si raccomanda di aggiornare anche gli altri moduli come "Profile" o "Protector"
+
+
+Aggiornamento da XOOPS 2.0.* (dalla versione 2.0.14 in su) e 2.2.* (utilizzando il pacchetto completo)
+ *Si raccomanda un backup completo di tutti i files e del database prima di procedere
+
+0. Scompattare l'archivio sul computer LOCALE (PC) in una cartella provvisoria.
+1. Spostare la cartella "upgrade" all'interno della cartella "htdocs" (è stata tenuta fuori perchè non necessaria per nuove isntallazioni) sul computer LOCALE
+2. Eliminare: htdocs/mainfile.php, htdocs/install/, htdocs/cache/, htdocs/template_c/, htdocs/themes/ and htdocs/uploads/ dalla cartella "htdocs" folder sul computer LOCALE
+ * se è stata creata la cartella XOOPS_TRUST_PATH sul vostro server, copiare il contenuto di /xoops_lib in quella cartella ed eliminare xoops_lib dalla cartella "htdocs" sul computer LOCALE
+3. Copiare e sovrascrivere il contenuto della cartella /htdocs folder sul computer LOCALE sui file presenti sul server
+4. Per ragioni di sicurezza si consiglia di spostare le cartelle "/xoops_lib" (librerie XOOPS) e "/xoops_data" (XOOPS data) al di fuori della cartella principale (root) di Xoopa, o almeno rinominarle.
+5. Rendere scrivibile la cartella xoops_data/ ; Creare (se non esistono già) e rendere scrivibili le cartelle xoops_data/caches/, xoops_data/caches/xoops_cache/, xoops_data/caches/smarty_cache/ e xoops_data/caches/smarty_compile/ (permessi 0777 su Linux).
+6. Assicurarsi che il server possa scrivere il file: mainfile.php (permessi 0777 su Linux)
+7. Se era stato installato Protector come modulo a parte, aprire il file "mainfile.php", e rimuovere le linee Pre-check e Post-check lines (se presenti):
+
+ include XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ;
+ include XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ;
+
+8. Accedere ad /upgrade/ con un browser e seguire le istruzioni
+9. Seguire le istruzioni poer aggiornare il databas
+10. Proteggere in scrittura il file: mainfile.php again (permessi 0444 su Linux)
+11. Eliminare la cartella "upgrade" dal server
+12. Aggiornare il modulo "system" dall'Amministrazione moduli. Si raccomanda di aggiornare anche gli altri moduli come "Profile" o "Protector"
+
+
+Aggiornamento da qualsiasi versione di XOOPS dalla 2.0.7 alla 2.0.13.2 (utilizzando il pacchetto completo):
+ *Si raccomanda un backup completo di tutti i files e del database prima di procedere
+
+
+0. Scompattare l'archivio sul computer LOCALE (PC) in una cartella provvisoria.
+1. Spostare la cartella "upgrade" all'interno della cartella "htdocs" (è stata tenuta fuori perchè non necessaria per nuove isntallazioni) sul computer LOCALE
+2. Eliminare: htdocs/mainfile.php, htdocs/install/, htdocs/cache/, htdocs/template_c/, htdocs/themes/ and htdocs/uploads/ dalla cartella "htdocs" folder sul computer LOCALE
+ * se è stata creata la cartella XOOPS_TRUST_PATH sul vostro server, copiare il contenuto di /xoops_lib in quella cartella ed eliminare xoops_lib dalla cartella "htdocs" sul computer LOCALE
+3. Copiare e sovrascrivere il contenuto della cartella /htdocs folder sul computer LOCALE sui file presenti sul server
+4. Eliminare le seguenti cartelle dal vostro server (appartengono a una vecchia versione):
+ * class/smarty/core
+ * class/smarty/plugins/resource.db.php
+5. Assicurarsi che il server possa scrivere il file: mainfile.php (permessi 0777 su Linux)
+6. Se era stato installato Protector come modulo a parte, aprire il file "mainfile.php", e rimuovere le linee Pre-check e Post-check lines (se presenti):
+
+ include XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ;
+ include XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ;
+
+7. Per ragioni di sicurezza si consiglia di spostare le cartelle "/xoops_lib" (librerie XOOPS) e "/xoops_data" (XOOPS data) al di fuori della cartella principale (root) di Xoopa, o almeno rinominarle.
+8. Rendere scrivibile la cartella xoops_data/ ; Creare (se non esistono già) e rendere scrivibili le cartelle xoops_data/caches/, xoops_data/caches/xoops_cache/, xoops_data/caches/smarty_cache/ e xoops_data/caches/smarty_compile/ (permessi 0777 su Linux).
+9. Accedere ad /upgrade/ con un browser e seguire le istruzioni
+10. Seguire le istruzioni poer aggiornare il databas
+11. Proteggere in scrittura il file: mainfile.php again (permessi 0444 su Linux)
+12. Eliminare la cartella "upgrade" dal server
+13. Aggiornare il modulo "system" dall'Amministrazione moduli. Si raccomanda di aggiornare anche gli altri moduli
+
+
+AGGIORNAMENTO DI UN SITO NON UTF-8
+---------------------------------------
+
+La codifica UTF-8 è stata inserita da XOOPS 2.3 come il set di caratteri di default. In ogni caso, potrebbero esserci alcuni problemi nel convertire siti pre-esistenti da una codifica non UTF-8 ad una UTF-8
+In attesa che vi sia una soluzione adeguata per questa conversione, si raccomandano le seguenti impostazioni quando si aggiorna un sito pre-esistente, se non si è esperti:
+ - Selezionare l'opzione "Non modificare" nello step "Set di caratteri del Database e collazione" durante il processo di aggiornamento
+ - Modificare il file /languages/italian/global.php per utilizzare il valore _CHARSET precedente (in caso non sia presente sostituire con define('_CHARSET', 'ISO-8859-1');
+ *se è stato applicato/installato il pacchetto italiano di Xoops decommentare la linea define('_CHARSET', 'ISO-8859-1'); e commentare la linea define('_CHARSET', 'UTF-8');
Added: XoopsLanguages/italian/core/2.5.8/upgrade/upd-2.0.18-to-2.3.0/language/italian.php
===================================================================
--- XoopsLanguages/italian/core/2.5.8/upgrade/upd-2.0.18-to-2.3.0/language/italian.php (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/upgrade/upd-2.0.18-to-2.3.0/language/italian.php 2014-06-26 21:33:10 UTC (rev 12654)
@@ -0,0 +1,30 @@
+<?php
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * _LANGCODE it
+ * _CHARSET UTF-8
+ * @version $Id$
+ */
+// Translator: Xoops Italia Team - www.xoopsitalia.org
+// Last translation update: 10/04/2011
+
+define("LEGEND_XOOPS_PATHS","Percorsi fisici XOOPS" );
+define("LEGEND_DATABASE","Set di Caratteri del Database" );
+
+define("XOOPS_LIB_PATH_LABEL","Cartella XOOPS Library (xoops_lib)" );
+define("XOOPS_LIB_PATH_HELP","Percorso fisico delle cartella XOOPS Library SENZA slash finale, per ragioni di compatibilità. Per maggiore sicurezza, posizionare la cartella al di fuori di '" . XOOPS_ROOT_PATH . "' o almeno rinominarla" );
+define("XOOPS_DATA_PATH_LABEL","Cartella XOOPS datafiles (xoops_data)" );
+define("XOOPS_DATA_PATH_HELP","Percorso fisico della cartella XOOPS datafiles (deve essere scrivibile) SENZA slash finale, per ragioni di compatibilità. Per maggiore sicurezza, posizionare la cartella al di fuori di '" . XOOPS_ROOT_PATH . "' o almeno rinominarla." );
+
+define("DB_COLLATION_LABEL","Set di caratteri del Database e collazione" );
+define("DB_COLLATION_HELP", "Dalla versione 4.12, MySQL supporta set di caratteri e collazioni personalizzabili. Tuttavia il processo è più complesso di quanto si creda, per tale ragione NON eseguire alcuna modifica a meno che non si sappia quel che si sta facendo.");
+define("DB_COLLATION_NOCHANGE", "Non modificare");
+
+define("XOOPS_PATH_FOUND","Percorso trovato." );
+define("ERR_COULD_NOT_ACCESS","Non è stato possibile accedere alla cartella specificata. Per favore verificare che sia presente e raggiungibile sul server." );
+define("CHECKING_PERMISSIONS","Verifica dei permessi dei file e delle cartelle in corso..." );
+define("ERR_NEED_WRITE_ACCESS","Il server deve avere accesso in scrittura ai seguenti file e cartelle<br />(per esempio <em>chmod 777 nome_directory</em> su server UNIX/LINUX)" );
+define("IS_NOT_WRITABLE","%s NON è scrivibile" );
+define("IS_WRITABLE","%s è scrivibile." );
+define("ERR_COULD_NOT_WRITE_MAINFILE","Errore durante la scrittura su mainfile.php, modificare il file manualmente." );
\ No newline at end of file
|
|
From: <txm...@us...> - 2014-06-26 21:32:37
|
Revision: 12653
http://sourceforge.net/p/xoops/svn/12653
Author: txmodxoops
Date: 2014-06-26 21:32:29 +0000 (Thu, 26 Jun 2014)
Log Message:
-----------
Added Paths:
-----------
XoopsLanguages/italian/core/2.5.8/extras/
XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/
XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/Installazione_icone.txt
XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/
XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/
XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/delete.gif
XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/edit.gif
XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/profile.gif
XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/reply.gif
XoopsLanguages/italian/core/2.5.8/extras/modules/
XoopsLanguages/italian/core/2.5.8/extras/modules/system/
XoopsLanguages/italian/core/2.5.8/extras/modules/system/language/
XoopsLanguages/italian/core/2.5.8/extras/modules/system/language/italian/
XoopsLanguages/italian/core/2.5.8/extras/modules/system/language/italian/admin/
XoopsLanguages/italian/core/2.5.8/extras/modules/system/language/italian/admin/filemanager.php
Added: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/Installazione_icone.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/Installazione_icone.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/Installazione_icone.txt 2014-06-26 21:32:29 UTC (rev 12653)
@@ -0,0 +1,9 @@
+--------------------------------------
+INSTALLAZIONE ICONE ITALIANE PER XOOPS
+--------------------------------------
+
+- Accedere alla root (cartella principale) del proprio sito xoops
+
+- Copiare direttamente la cartella 'images' del pack di traduzione (nella cartella extras) e permettere la sovrascrittura
+
+- Le icone di modifica ed eliminazioni dei commenti e altre funzioni saranno in italiano
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/delete.gif
===================================================================
(Binary files differ)
Index: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/delete.gif
===================================================================
--- XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/delete.gif 2014-06-26 21:31:36 UTC (rev 12652)
+++ XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/delete.gif 2014-06-26 21:32:29 UTC (rev 12653)
Property changes on: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/delete.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/edit.gif
===================================================================
(Binary files differ)
Index: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/edit.gif
===================================================================
--- XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/edit.gif 2014-06-26 21:31:36 UTC (rev 12652)
+++ XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/edit.gif 2014-06-26 21:32:29 UTC (rev 12653)
Property changes on: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/edit.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/profile.gif
===================================================================
(Binary files differ)
Index: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/profile.gif
===================================================================
--- XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/profile.gif 2014-06-26 21:31:36 UTC (rev 12652)
+++ XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/profile.gif 2014-06-26 21:32:29 UTC (rev 12653)
Property changes on: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/profile.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/reply.gif
===================================================================
(Binary files differ)
Index: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/reply.gif
===================================================================
--- XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/reply.gif 2014-06-26 21:31:36 UTC (rev 12652)
+++ XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/reply.gif 2014-06-26 21:32:29 UTC (rev 12653)
Property changes on: XoopsLanguages/italian/core/2.5.8/extras/Icone_italiane/images/icons/reply.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: XoopsLanguages/italian/core/2.5.8/extras/modules/system/language/italian/admin/filemanager.php
===================================================================
--- XoopsLanguages/italian/core/2.5.8/extras/modules/system/language/italian/admin/filemanager.php (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/extras/modules/system/language/italian/admin/filemanager.php 2014-06-26 21:32:29 UTC (rev 12653)
@@ -0,0 +1,65 @@
+<?php
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * _LANGCODE it
+ * _CHARSET UTF-8
+ * @version $Id$
+ */
+// Translator: Xoops Italia Team - www.xoopsitalia.org
+// Last translation update: 11/04/2011
+
+ //Nav
+define('_AM_SYSTEM_FILEMANAGER_NAV_MANAGER','File Manager');
+define('_AM_SYSTEM_FILEMANAGER_NAV_MAIN','File Manager');
+
+//Tips
+define('_AM_SYSTEM_FILEMANAGER_NAV_TIPS','
+<ul>
+<li>Permette di cambiare i permessi, modificare il contenuto ed eliminare file del vostro Xoops.</li>
+</ul>
+');
+
+// Main
+define('_AM_SYSTEM_FILEMANAGER_DIRECTORY','Cartelle');
+define('_AM_SYSTEM_FILEMANAGER_FILES','Files');
+define('_AM_SYSTEM_FILEMANAGER_GENERATE','Sovraccarico generato');
+define('_AM_SYSTEM_FILEMANAGER_SELECT_THEME','Selezionare tema');
+define('_AM_SYSTEM_FILEMANAGER_FORCE_GENERATED','Generazione forzata');
+define('_AM_SYSTEM_FILEMANAGER_NAV_FILE_GENERATED','File generato');
+define('_AM_SYSTEM_FILEMANAGER_NOT_CREATED','File non creato');
+define('_AM_SYSTEM_FILEMANAGER_HOME','Home (root)');
+define('_AM_SYSTEM_FILEMANAGER_SAVE','Salva');
+define('_AM_SYSTEM_FILEMANAGER_CANCEL','Annulla');
+define('_AM_SYSTEM_FILEMANAGER_RESTORE','Ripristina');
+define('_AM_SYSTEM_FILEMANAGER_REFRESH','Aggiorna');
+define('_AM_SYSTEM_FILEMANAGER_UPLOAD','Carica file');
+define('_AM_SYSTEM_FILEMANAGER_UPLOAD_CHOOSE','Selezionare il file da caricare');
+define('_AM_SYSTEM_FILEMANAGER_ADDDIR','Nuova Cartella');
+define('_AM_SYSTEM_FILEMANAGER_ADDDIR_NAME','Scegliere il nome della cartella');
+define('_AM_SYSTEM_FILEMANAGER_ADDFILE','Nuovo File');
+define('_AM_SYSTEM_FILEMANAGER_DELDIR','Elimina directory');
+
+define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_EXISTS','Errore: file non esistente');
+define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_DELETE','Errore: impossibile eliminare il fiel');
+define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_RENAME','Errore: impossibile rinominare il file');
+define('_AM_SYSTEM_FILEMANAGER_BACK','Indietro');
+define('_AM_SYSTEM_FILEMANAGER_DELETE','Elimina');
+define('_AM_SYSTEM_FILEMANAGER_ERROR','Error');
+define('_AM_SYSTEM_FILEMANAGER_EDIT','Modifica di:');
+define('_AM_SYSTEM_FILEMANAGER_EMPTY_FILE','File vuoto');
+define('_AM_SYSTEM_FILEMANAGER_DELDIR_NOTOK','Errore : impossibile eliminare la cartella');
+define('_AM_SYSTEM_FILEMANAGER_DELDIR_OK','Cartella eliminata con successo');
+
+// Message
+define('_AM_SYSTEM_FILEMANAGER_UPLOAD_FILE','File caricato con successo');
+define('_AM_SYSTEM_FILEMANAGER_EXTRACT_FILE','File estratto con successo');
+define('_AM_SYSTEM_FILEMANAGER_EXTRACT_ERROR','Impossibile estrarre il file');
+define('_AM_SYSTEM_FILEMANAGER_DELETE_FILE','File eliminato con successo');
+define('_AM_SYSTEM_FILEMANAGER_DIR_SUCCESS','Cartella creata con successo');
+define('_AM_SYSTEM_FILEMANAGER_DIR_ERROR','Impossibile creare al cartella');
+define('_AM_SYSTEM_FILEMANAGER_DIR_RYSDEL','Si è sicuri di voler eliminare questa cartella?');
+define('_AM_SYSTEM_FILEMANAGER_FILE_SUCCESS','File creato con successo');
+define('_AM_SYSTEM_FILEMANAGER_SUREDEL','Si è sicuri di voler eliminare il file %s ?');
+define('_AM_SYSTEM_FILEMANAGER_DIR_SUREDEL','Si è sicuri di voler eliminare la cartella %s ?<br />Attenzione: saranno eliminate tutte le sotto-cartelle e i file in esse contenuti');
+?>
|
|
From: <txm...@us...> - 2014-06-26 21:31:46
|
Revision: 12652
http://sourceforge.net/p/xoops/svn/12652
Author: txmodxoops
Date: 2014-06-26 21:31:36 +0000 (Thu, 26 Jun 2014)
Log Message:
-----------
Added Paths:
-----------
XoopsLanguages/italian/core/2.5.8/Changelog_Traduzione.txt
XoopsLanguages/italian/core/2.5.8/Istruzioni.txt
XoopsLanguages/italian/core/2.5.8/Note di rilascio.txt
Added: XoopsLanguages/italian/core/2.5.8/Changelog_Traduzione.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.8/Changelog_Traduzione.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/Changelog_Traduzione.txt 2014-06-26 21:31:36 UTC (rev 12652)
@@ -0,0 +1,340 @@
+*********************************************************************************
+***************** CHANGELOG TRADUZIONE per CORE XOOPS ***************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 16/06/2014 -------------------- by Xoops Italia --------
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.7 *
+--------------------------------------------------------------
+-Nuova traduzione completa - Identica a versione 2.5.6, tranne:
+-Aggiunto define WRITTEN_LICENSE nel file install/language/italian/install.php
+-Aggiunto define _AM_SYSTEM_USAGE nel file modules/system/language/italian/admin.php
+-Aggiunto define _AM_SYSTEM_ACTIVE nel file modules/system/language/italian/admin.php
+
+*********************************************************************************
+***************** CHANGELOG TRADUZIONE per CORE XOOPS ***************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 10/11/2013 -------------------- by Xoops Italia --------
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.6 *
+--------------------------------------------------------------
+-Traduzione aggiornata seguendo quanto specificato in http://sourceforge.net/p/xoops/svn/10380/tree/XOOPS_Coding_Standards.html
+-Nuova traduzione completa - Identica a versione 2.5.5, tranne:
+-Aggiunto define _CAL_JQUERY_FORMAT nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_SUNDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_MONDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_TUESDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_WEDNESDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_THURSDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_FRIDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_SATURDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_SUNDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_MONDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_TUESDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_WEDNESDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_THURSDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_FRIDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_SATURDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_JANUARY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_FEBRUARY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_MARCH nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_APRIL nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_MAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_JUNE nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_JULY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_AUGUST nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_SEPTEMBER nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_OCTOBER nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_NOVEMBER nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_DECEMBER nel file language/italian/calendar.php
+-Aggiunto define _CM_USER nel file language/italian/comment.php
+-Aggiunto define _CM_EMAIL nel file language/italian/comment.php
+-Aggiunto define _CM_URL nel file language/italian/comment.php
+-Corretto define _TODAY nel file language/italian/locale.php (Metalslug, luciorota)
+-Corretto define _YESTERDAY nel file language/italian/locale.php (Metalslug, luciorota)
+-Rimosso doppio define _MA_USER_MORE in language/italian/findusers.php (Metalslug)
+-Rimosso doppio define _MA_USER_REMOVE in language/italian/findusers.php (Metalslug)
+-Aggiunto define _PM_SURE_TO_DELETE nel file modules/pm/language/italian/main.php (Metaslug)
+-Rimossi define non utilizzati nel file modules/pm/language/italian/main.php (luciorota)
+-Aggiunto file modules/pm/language/italian/help/help.html (timgno)
+-Aggiunto file modules/profile/language/italian/help/help.html (timgno)
+-Aggiunto file modules/protector/language/italian/help/help.html (timgno)
+
+-Aggiunto define _US_SKYPE nel file language/italian/user.php (timgno)
+-Aggiunto define _US_FACEBOOK nel file language/italian/user.php (timgno)
+-Completato file language/italian/style.css (timgno)
+
+*********************************************************************************
+***************** CHANGELOG TRADUZIONE per CORE XOOPS ***************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 24/02/2012 ------------------------ by TXMod Xoops -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.5 *
+--------------------------------------------------------------
+-Nuova traduzione completa - Identica a versione 2.5.4, tranne:
+-Aggiunto define _AM_SYSTEM_UNISTALL nel file modules/system/language/italian/admin.php
+
+*********************************************************************************
+***************** CHANGELOG TRADUZIONE per CORE XOOPS ***************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 30/11/2011 ------------------------ by TXMod Xoops -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.4 *
+--------------------------------------------------------------
+-Nuova traduzione completa - Identica a versione 2.5.3, tranne:
+-Aggiunto define _AM_SYSTEM_TEMPLATES_SET nel file modules/system/language/italian/admin.php
+
+*********************************************************************************
+************* CHANGELOG TRADUZIONE per CORE XOOPS *********++++******************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 06/10/2011 ------------------------ by TXMod Xoops -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.3 *
+--------------------------------------------------------------
+-Nuova traduzione completa - Identica a versione 2.5.2, tranne:
+-Aggiunto define _MSC_CLICK_TO_OPEN_IMAGE nel file language/italian/misc.php
+-Aggiunto define _MSC_RESIZED_IMAGE nel file language/italian/misc.php
+-Aggiunto define _MSC_ORIGINAL_IMAGE nel file language/italian/misc.php
+-Aggiunto define _PM_SURE_TO_DELETE nel file language/italian/pmsg.php
+
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 03/10/2011 ------------------------ by TXMod Xoops -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.2 *
+--------------------------------------------------------------
+-Nuova traduzione completa del lato admin - Identica a versione 2.5.0, tranne:
+-Aggiunto define _AM_SYSTEM_TEMPLATES_SET nel file admin/tplsets.php
+-Tradotto define _AM_SYSTEM_TEMPLATES_RESTORE_TOK nel file admin/tplsets.php
+-Tradotto define _AM_SYSTEM_TEMPLATES_RESTORE_NOTOK nel file admin/tplsets.php
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Revisionata la traduzione dei moduli - OK
+
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 20/04/2011 ----------------------- by Xoops Italia -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.0 *
+--------------------------------------------------------------
+-Nuova traduzione completa del lato admin
+-Aggiunti file di lingua necessari per nuove funzioni
+-Aggiunta traduzione editor tinymce (grazie luciorota)
+-Aggiunta traduzione completa dell'aiuto online (Ianez/luciorota)
+-Aggiunte immagini in italiano per lightbox jquery (per gestione immagini)
+-Aggiunte icone generiche profilo/elimina/rispondi/annulla in italiano (a parte in cartella extras)
+-Aggiunta traduzione file manager (a parte in cartella extras) (grazie luciorota)
+
+-Modificate le intestazioni commentate dei file php
+-Revisione e correzione installer (path mysql + ortografia)
+-Corretti diversi errori ortografici
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Revisionata la traduzione dei moduli
+
+
+* 2.4.5 *
+--------------------------------------------------------------
+-Aggiunto define: language/english/logger.php _LOGGER_DEPRECATED
+
+-Corretto file: /language/italian/banners.php
+-Corretto file: /language/italian/user.php
+
+
+
+* 2.4.3 *
+--------------------------------------------------------------
+
+-Aggiunta cartella /themes/zetagenesis/language/italian (e relativi files tradotti)
+-Aggiunta cartella /modules/system/class/gui/oxygene/language/italian (e relativi files tradotti)
+-Aggiunto file: /install/include/functions.php (voci relative alla licenza xoops)
+-Aggiunto file: /install/language/italian/support.png
+-Aggiunto file: /install/language/italian/support.php
+-Aggiunto file: /language/italian/style.css
+
+
+-Modificato file lingua: /language/italian/banners.php
+-Rimossa cartella: /modules/system/class/gui/default
+-Reimpostazione intestazioni file di lingua
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Aggiornata traduzione modulo protector (xoops_lib/modules/protector/language/italian/)
+
+
+
+* 2.4.2 *
+-----------------------------------------
+
+-Modificato file lingua: /install/language/italian/[tutti i files]
+
+
+-Aggiunto file lingua: /language/italian/countries.php
+-Aggiunto file lingua: /language/italian/errors.php
+-Aggiunto file lingua: /language/italian/logger.php
+-Aggiunto file lingua: htdocs/class/calendar/JSCal2/language/italian.php
+-Aggiunta directory: /modules/system/admin/
+
+
+
+-Modificato file lingua: /language/italian/admin.php
+-Modificato file lingua: /language/italian/auth.php
+-Modificato file lingua: /language/italian/calendar.php
+-Modificato file lingua: /language/italian/captcha.php
+-Modificato file lingua: /language/italian/comment.php
+-Modificato file lingua: /language/italian/formdhtmltextarea.php
+-Modificato file lingua: /language/italian/misc.php
+-Modificato file lingua: /language/italian/notification.php
+-Modificato file lingua: /language/italian/pmsg.php
+-Modificato file lingua: /language/italian/search.php
+-Modificato file lingua: /language/italian/user.php
+-Modificato file lingua: /htdocs/install/language/italian/finish.php
+-Modificato file lingua: /htdocs/install/language/italian/install.php
+-Modificato file lingua: /htdocs/install/language/italian/install2.php
+-Modificato file lingua: /htdocs/install/language/italian/welcome.php
+-Modificato file lingua: /htdocs/install/language/italian/mysql.lang.data.sql
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Modificato file lingua: /modules/pm/language/italian/admin.php
+-Modificato file lingua: /modules/pm/language/italian/main.php
+-Modificato file lingua: /modules/pm/language/italian/modinfo.php
+-Modificato file lingua: /modules/profile/language/italian/admin.php
+-Modificato file lingua: /modules/profile/language/italian/main.php
+-Modificato file lingua: /modules/profile/language/italian/modinfo.php
+
+
+
+* 2.3* (Unificazione rami 2.0.x e 2.2.x)
+-----------------------------------------
+
+**CORE**
+--------
+- Aggiunto file lingua: /language/italian/captcha.php
+- Aggiunto file lingua: /language/italian/formdhtmltextarea.php
+- Aggiunto file lingua: /language/italian/locale.php
+- Aggiunto file lingua: /language/italian/mail_template/welcome.tpl
+- Aggiunto file lingua: /modules/system/language/italian/cpanel.php
+- Aggiunto file locale: /modules/system/class/gui/exm/language/italian/admin.php
+- Aggiunto file locale: /modules/system/class/gui/default/style/it.css
+- Aggiunto file locale: /modules/system/class/gui/exm/style/it.css
+- Aggiunto file locale upgrade/cnt-2.2.x-to-2.3.0/language/italian.php
+- Aggiunto file locale upgrade/upd-2.0.18-to-2.3.0/language/italian.php
+
+- Aggiunta traduzione completa della classe xoopseditor (fckeditor, tinymce, koivi) [Lucio Rota]
+- Aggiunta/revisione traduzione del programma di installazione
+
+- Aggiunte nuove costanti in /language/italian/user.php
+- Aggiunte nuove costanti in modules/system/language/italian/admin/blocksadmin.php
+- Aggiunte nuove costanti in modules/system/language/italian/admin/modulesadmin.php (routine installazione)
+- Aggiunte nuove costanti in modules/system/language/italian/admin/preferences.php
+- Aggiornamento traduzione /upgrade/language/italian/upgrade.php
+
+
+- Migliorie/Revisione traduzione in: /language/italian/[diversi files]
+- Migliorie/Revisione traduzione in: /modules/system/language/italian/[diversi files]
+
+- Conversione di tutti i caratteri speciali(èùà..) in valori HTML, per maggiore compatibilità
+- Verifica conversione codifica files in UTF8 (per adeguamento nuovo charset)
+
+
+**MODULI PACCHETTO BASE**
+-------------------------
+- Aggiunta traduzione modulo Protector 3.20 [Defkon]
+- Aggiunta traduzione modulo Profile 1.51 [Urban/Ianez]
+- Aggiunta traduzione modulo Private Messaging 1 [Urban/Ianez]
+- Aggiunta traduzione modulo ThAdmin 1.1 [Ottagon/Ianez]
+
+
+*********************************************************************************
+*********************************************************************************
+
+
+* 2.0.18.1 *
+-----------------------
+
+- Migliorie/Revisione traduzione in: /language/italian/[diversi files]
+
+
+
+
+* 2.0.18 *
+-----------------------
+
+- Aggiornamento delle condizioni di utilizzo generali del sito (d.lgs 196/03)
+- Aggiornamento globale intestazioni/id files di lingua
+
+- Aggiunto file: /language/italian/banners.php
+- Aggiunto file: /upgrade/language/italian/upgrade.php (solo in pacchetti completi)
+- Aggiunto file: /modules/system/xoopsversion.php
+
+- Aggiunta costante in /language/italian/findusers.php
+- Aggiunte costanti in /language/italian/global.php
+
+- Migliorie/Revisione traduzione per installazione (/install/language/italian)
+- Migliorie/Revisione traduzione in: /language/italian/[diversi files]
+- Migliorie/Revisione traduzione in: modules/system/language/italian/[diversi files]
+
+
+
+* 2.0.17/2.0.17.1 *
+-----------------------
+- Aggiunto file: /language/italian/findusers.php
+- Aggiunto file: /language/italian/uploader.php
+
+- Aggiunta costante _AM_GROUPS in /modules/system/language/italian/admin/findusers.php
+- Aggiunta costante _MD_AM_CONFIG in /modules/system/language/italian/admin.php
+- Aggiunta costante _AM_CNRNU2 in /modules/system/language/italian/admin/users.php
+- Aggiunte costanti _MD_AM_LDAP_USETLS e _MD_AM_LDAP_USETLS_DESC a /modules/system/language/italian/admin/preferences.php
+- Aggiunta costante _AUTH_LDAP_START_TLS_FAILED in /languages/italian/auth.php
+- Aggiunta costante _NOT_NOTHINGTODELETE in /languages/italian/notification.php
+
+- Migliorie traduzione in /modules/system/language/italian/admin/users.php
+- Migliorie traduzione in /modules/system/language/italian/admin.php
+- Migliorie traduzione in /modules/system/language/italian/admin/preferences.php
+
+- Modifica voce 'Messaggi in arrivo' in 'Posta in arrivo' nel Menù utente.
+
+
+
+* 2.0.16 *
+-----------------------
+- Aggiunti files lingua per language/italian/xoopsmailerlocal.php e language/italian/auth.php
+- Aggiunto file lingua in class/mail/phpmailer/phpmailerlang-it.php
+- Aggiunte costanti mappatura campi per autenticazione in system/language/italian/admin/preferences.php
+- Miglioramento linguaggio per metodo notifica (modifica profilo)
+
+
+* 2.0.14/2.0.15 *
+-----------------------
+- Modificata voce "Menu' di amministrazione" in "Amministrazione"
+- Aggiunta costante in: system/admin/smileys (_AM_DISPLAYF)
+- Aggiunte tre nuove costanti in: system/admin/blocksadmin (_AM_CBBOTTOM, _AM_CBBOTTOMLEFT, _AM_CBBOTTOMRIGHT)
+- Modificate alcune costanti in: system/admin/preferences (_MD_AM_DEBUGMODE1,_MD_AM_DEBUGMODE2,_MD_AM_THEMEFILE,_MD_AM_THEMEFILEDSC)
+- Aggiunta una costante a: language/english/comment.php (_CM_RE)
+- aggiunt nuove costanti per le opzioni di autenticazione in: system/admin/preferences
+- Piccole correzioni linguistiche
+- Miglioramento linguaggio per metodo notifica (modifica profilo)
+
+
+----------------------------------------------------------------------------------
+Creato il: 10/10/2008 ** by Xoops Italia Staff -----------------------------------
+----------------------------------------------------------------------------------
+----------------------------------------------------------------------------------
+Traduzione orginale by BlueAngel, Dantom - Revisione a cura di Ianez -------------
+----------------------------------------------------------------------------------
+Supporto: www.xoopsitalia.org - www.xoops.org [Eng] ------------------------------
+__________________________________________________________________________________
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/Istruzioni.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.8/Istruzioni.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/Istruzioni.txt 2014-06-26 21:31:36 UTC (rev 12652)
@@ -0,0 +1,39 @@
+*********************************************************************************
+************* INSTALLAZIONE TRADUZIONE CORE XOOPS *******************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 16/06/2014 ----------------------- by Xoops Italia -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+
+*APPLICAZIONE TRADUZIONE SU XOOPS GIA INSTALLATO*
+-------------------------------------------------
+
+- Estrarre dall'archivio la cartella principale sul desktop o dove si preferisce
+- Accedere (in locale o remoto) alla root (cartella principale) della propria installazione XOOPS
+- Accedere alla cartella appena estratta e aprire la cartella HTDOCS
+- Selezionare TUTTI i files e cartelle contenuti nella cartella HTDOCS e trascinarli all'interno della root della propria installazione di Xoops
+- Permettere che TUTTI i files vengano sovrascritti se vi viene richiesto
+- Eliminare la cartella "install" dalla root della propria installazione Xoops
+
+
+*APPLICAZIONE TRADUZIONE PRIMA DI INSTALLARE*
+-------------------------------------------------
+
+- Estrarre dall'archivio la cartella principale sul desktop o dove si preferisce
+- Accedere (in locale o remoto) alla root (cartella principale) dove avete messo i files di XOOPS
+- Accedere alla cartella appena estratta e aprire la cartella HTDOCS
+- Selezionare TUTTI i files e cartelle contenuti nella cartella HTDOCS e trascinarli all'interno della cartella in cui avete messo i files di Xoops
+- Permettere che TUTTI i files vengano sovrascritti se vi viene richiesto
+- Accedere via browser e seguire le istruzioni
+
+
+*NOTE*
+--------------------------------------------
+- Quando possibile si consiglia di applicare i files di traduzione PRIMA di installare Xoops
+
+
+----------------------------------------------------------------------------------
+----------------------------------------------------------------------------------
+Supporto: www.xoopsitalia.org - www.xoops.org [Eng] ------------------------------
+__________________________________________________________________________________
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.8/Note di rilascio.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.8/Note di rilascio.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.8/Note di rilascio.txt 2014-06-26 21:31:36 UTC (rev 12652)
@@ -0,0 +1,107 @@
+--------------------------------------
+XOOPS 2.5.0 Versione Finale
+--------------------------------------
+--------------------------------------
+
+Il team di sviluppo XOOPS è lieto di annunciare il rilascio di XOOPS 2.5.0 FINALE.
+
+Questa versione basata sul ramo 2.4.x offre una quasi completa riscrittura del modulo di Sistema che offre adesso funzionalità AJAX (tramite jquery) grazie al lavoro di Nicolas Andricq (ForMusS), Cointin Maxime (kraven_30), e Grégory Mage (Mage). GLi altri maggiori collaboratori sono Trabis, Voltan e Kris_fr e anche Onokazu.
+
+Alcune delle nuove caratteristiche:
+* collocazione visuale dei blocchi tramite drag&drop
+* ordinamento dei moduli visuale tramite drag&drop
+* pulizia delle cache tramite funzionalità apposita (manutenzione)
+* File manager (da installare a parte dalla cartella /extras)
+* nuovo sistema di gestione dei template
+* gestione centralizzata delgi editor testuali per blocchi commenti e moduli
+* guida/aiuto integrata
+
+Consultare il changelog (nella cartella docs) (in inglese) per i dettagli.
+
+Scaricare dall'indirizzo https://sourceforge.net/projects/xoops/files/XOOPS%20Core%20%28stable%20releases%29/XOOPS%202.5.0
+
+
+Requisiti di sistema
+-----------------------------------
+
+PHP:
+Qualsiasi versione PHP >= 5.2 (PHP 5.2+ è fortemente raccomandato)
+
+MySQL:
+MySQL server 5.0+ (MySQL 5.0+ è fortemente raccomandato)
+
+Web server:
+Qualsiasi server che supporti la versione PHP richiesta (Apache è fortemente raccomandato)
+
+
+Scaricare XOOPS
+-----------------------------------
+
+E' possibile scaricare questo rilascio dall'archivio file di Sourceforge.net
+Sono disponibili glia archivi in formato .zip e .gz
+
+
+Installare XOOPS
+-----------------------------------
+
+ 1. Copiare il contenuto della cartella htdocs/ dove può essere raggiunta dal vostro server
+ 2. Assicurarsi che mainfile.php e uploads/ siano scrivibili (chmod 777) dal server
+ 3. Per ragioni di sicurezza si consiglia di spostare le cartelle "/xoops_lib" (librerie XOOPS) e "/xoops_data" (XOOPS data) al di fuori della cartella principale (root) di Xoopa, o almeno rinominarle.
+ 4. Rendere scrivibile la cartella xoops_data/ ; Creare (se non esistono già) e rendere scrivibili le cartelle xoops_data/caches/, xoops_data/caches/xoops_cache/, xoops_data/caches/smarty_cache/ e xoops_data/caches/smarty_compile/ .
+ 5. Per lanciare la routine di installazione, accedere via browser alla directory in cui avete installato i files nella cartella htdocs/ .
+
+
+Installazione di PROTECTOR in XOOPS
+-----------------------------------
+
+Si raccomanda fortemente l'installazione del modulo PROTECTOR che è in grado di fornire ulteriore sicurezza e migliori possibilità di logging al vostro sito.
+
+
+
+Aggiornamento degli Editor Xoops
+----------------------------------------
+
+Nel pacchetto Xoops sono inclusi tre editor: dhtmltextarea e textarea per testo semplice e TinyMCE per WYSIWYG HTML.
+Vi sono altri sei Editor WYSIWYG disponibili: FCKeditor, Koivi, NiceEdit, Wymeditor, Xinha, eSpaw2 che possono essere scaricati da Xoops SourceForge (http://sourceforge.net/projects/xoops/files/XOOPS%20Editors/)
+Poichè vi sono alcune modifiche nella struttra della directory negli editor fckeditor e tinymce, si raccomanda di rimuovere gli editor presenti prima di caricare i nuovi editor.
+Infine, se si utilizza l'editor FCKeditor nei moduli, modificare le configurazioni specifiche del modulo nel file/fckeditor/modules/, soprattutto se si utilizza il modulo Article.
+
+
+Modalità di visualizzazione delle informazioni di DEBUG
+--------------------------------------------------------
+
+Dalla versione di XOOPS 2.3.1 la modalità di visualizzazione del debug è stata impostata come soluzione temporanea per impostare l'accesso al debug secondo livelli di utenza: per tutti gli utenti (to all users), solo utenti registrati (to members) o solo per gli amministratori (to admins only).
+La modalità può essere impostata /xoops_data/configs/xoopsconfig.php.
+
+
+Verifica dell'integrità dei files (Files Integrity Check)
+-----------------------------------
+
+Tutto il pacchetto XOOPS è realizzato con uno script in grado di verificare che i file di sistema siano stati caricati correttamente sul server. Per utilizzarlo seguire queste istruzioni:
+
+ 1. Caricare sul server i files checksum.php e checksum.md5 dalla root del pacchetto XOOPS (collocandoli subito dopo il file mainfile.php).
+ 2. Eseguire checksum.php nel browser (www.nomedelsito.xx/checksum.php)
+ 3. Se necessario ricaricare i file di systema mancanti o non corretti
+ 4. Rimuovere checksum.php e checksum.md5 dal server
+
+
+Moduli
+-----------------------------------
+Questo rilascio contiene solo i moduli di base per il sistema. Si invita a consultare l'archivio "XOOPS modules" per accedere a ulteriori funzionalità. (http://www.xoops.org/modules/repository/)
+Nota: poichè sta venendo organizzato un nuovo archivio, quello attuale potrebbe non essere aggiornato.
+PER FAVORE VISITARE I SITI WEB DEGLI SVILUPPATORI PER ASSICURARSI DI UTILIZZARE LA VERSIONE PIU' RECENTE DEL MODULO.
+
+
+Come contribuire
+-----------------------------------
+Segnalazione Bug: http://sourceforge.net/tracker/?group_id=41586&atid=430840
+Patch e modifiche: http://sourceforge.net/tracker/?group_id=41586&atid=430842
+Richiesta nuove caratteristiche: http://sourceforge.net/tracker/?group_id=41586&atid=430843
+Annunci di rilasci: https://lists.sourceforge.net/lists/listinfo/xoops-announcement
+
+
+XOOPS Development Team
+10 Novembre 2010
+==========================
+Traduzione a cura di Ianez - Xoops Italia Staff - www.xoopsitalia.org - 31 Luglio 2010
+Utlimo Aggiornamento 10/04/2011
\ No newline at end of file
|
|
From: <txm...@us...> - 2014-06-26 21:30:45
|
Revision: 12651
http://sourceforge.net/p/xoops/svn/12651
Author: txmodxoops
Date: 2014-06-26 21:30:42 +0000 (Thu, 26 Jun 2014)
Log Message:
-----------
Added Paths:
-----------
XoopsLanguages/italian/core/2.5.8/
|
|
From: <txm...@us...> - 2014-06-26 19:31:43
|
Revision: 12650
http://sourceforge.net/p/xoops/svn/12650
Author: txmodxoops
Date: 2014-06-26 19:31:27 +0000 (Thu, 26 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Still work to do
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/js/fields.js
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/js/fields.js
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/js/fields.js 2014-06-26 16:32:04 UTC (rev 12649)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/assets/js/fields.js 2014-06-26 19:31:27 UTC (rev 12650)
@@ -14,7 +14,9 @@
}
}
);
- $('tr.sortable').disableSelection();
+ $('tr.sortable').disableSelection();
+ },
+ function() {
$( ".portlet" )
.addClass( "ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" )
.find( ".portlet-header" )
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-26 16:32:04 UTC (rev 12649)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-26 19:31:27 UTC (rev 12650)
@@ -207,17 +207,13 @@
$check_field_block->addOption(1, _AM_TDMCREATE_FIELD_BLOCK);
$parameters_tray->addElement($check_field_block);
- if(($i == 1) && ($table_autoincrement->getVar('table_autoincrement') == 1)) {
- $field_main = 0;
- $check_field_main = new XoopsFormRadio('', 'field_main', $field_main);
+ if(($i == 1)) {
+ $field_main = 1;
+ $check_field_main = new XoopsFormRadio('', 'field_main['.$i.']', $field_main);
$check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
- } elseif(($i == 2) && ($table_autoincrement->getVar('table_autoincrement') == 1)) {
- $field_main = 1;
- $check_field_main = new XoopsFormRadio('', 'field_main', $field_main);
- $check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
} else {
$field_main = 0;
- $check_field_main = new XoopsFormRadio('', 'field_main');
+ $check_field_main = new XoopsFormRadio('', 'field_main['.$i.']');
$check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
}
$parameters_tray->addElement($check_field_main);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php 2014-06-26 16:32:04 UTC (rev 12649)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php 2014-06-26 19:31:27 UTC (rev 12650)
@@ -253,9 +253,9 @@
$field_main = $field->getVar('field_main');
if($field_main == 1) {
- $check_field_main = new XoopsFormRadio('', 'field_main', $field_main);
+ $check_field_main = new XoopsFormRadio('', 'field_main['.$field_id.']', $field_main);
} else {
- $check_field_main = new XoopsFormRadio('', 'field_main');
+ $check_field_main = new XoopsFormRadio('', 'field_main['.$field_id.']');
}
$check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
$parameters_tray->addElement($check_field_main);
|
|
From: <txm...@us...> - 2014-06-26 16:32:08
|
Revision: 12649
http://sourceforge.net/p/xoops/svn/12649
Author: txmodxoops
Date: 2014-06-26 16:32:04 +0000 (Thu, 26 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Still work to do
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/logoGenerator.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-06-26 10:30:26 UTC (rev 12648)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-06-26 16:32:04 UTC (rev 12649)
@@ -139,8 +139,8 @@
$adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list');
$GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
- $obj =& $tdmcreate->getHandler('tables')->create();
- $form = $obj->getForm();
+ $tablesObj =& $tdmcreate->getHandler('tables')->create();
+ $form = $tablesObj->getForm();
$GLOBALS['xoopsTpl']->assign('form', $form->render());
break;
@@ -148,68 +148,77 @@
if ( !$GLOBALS['xoopsSecurity']->check() ) {
redirect_header('tables.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors()));
}
- $tables =& $tdmcreate->getHandler('tables');
- // Checking if table name exist
- $table_name_search = $tables->getObjects(null);
- foreach (array_keys($table_name_search) as $t)
- {
- if( ($table_name_search[$t]->getVar('table_name') === $_POST['table_name']) &&
- ($table_name_search[$t]->getVar('table_mid') === $table_mid) &&
- ($table_name_search[$t]->getVar('table_id') === $table_id)) {
- redirect_header('tables.php?op=new', 10, sprintf(_AM_TDMCREATE_ERROR_TABLE_NAME_EXIST, $_POST['table_name']));
- }
- }
- if (isset($table_id)) {
- $obj =& $tables->get($table_id);
- } else {
- $obj =& $tables->create();
- }
- // Form save tables
- $obj->setVars(array('table_mid' => $table_mid,
- 'table_name' => $_POST['table_name'],
- 'table_category' => (($_REQUEST['table_category'] == 1) ? '1' : '0'),
- 'table_nbfields' => $table_nbfields,
- 'table_fieldname' => $table_fieldname));
- //Form table_image
- include_once XOOPS_ROOT_PATH.'/class/uploader.php';
- $uploaddir = is_dir($sysPathIcon32) ? $sysPathIcon32 : TDMC_UPLOAD_IMGTAB_PATH;
- $uploader = new XoopsMediaUploader($uploaddir, $tdmcreate->getConfig('mimetypes'),
- $tdmcreate->getConfig('maxsize'), null, null);
- if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) {
- $extension = preg_replace( '/^.+\.([^.]+)$/sU' , '\\1' , $_FILES['attachedfile']['name']);
- $name_img = $_POST['table_name'].'.'.$extension;
- $uploader->setPrefix($name_img);
- $uploader->fetchMedia($_POST['xoops_upload_file'][0]);
- if (!$uploader->upload()) {
- $errors = $uploader->getErrors();
- redirect_header('javascript:history.go(-1)', 3, $errors);
+ $tables =& $tdmcreate->getHandler('tables');
+ if (!isset($table_id)) {
+ // Checking if table name exist
+ $table_name_search = $tables->getObjects(null);
+ foreach (array_keys($table_name_search) as $t)
+ {
+ if( ($table_name_search[$t]->getVar('table_name') === $_POST['table_name']) &&
+ ($table_name_search[$t]->getVar('table_mid') === $table_mid) &&
+ ($table_name_search[$t]->getVar('table_id') === $table_id)) {
+ redirect_header('tables.php?op=new', 10, sprintf(_AM_TDMCREATE_ERROR_TABLE_NAME_EXIST, $_POST['table_name']));
+ exit();
+ }
+ }
+ } else {
+ if (isset($table_id)) {
+ $tablesObj =& $tables->get($table_id);
+ } else {
+ $tablesObj =& $tables->create();
+ }
+ // Form save tables
+ $tablesObj->setVars(array('table_mid' => $table_mid,
+ 'table_name' => $_POST['table_name'],
+ 'table_category' => (($_REQUEST['table_category'] == 1) ? '1' : '0'),
+ 'table_nbfields' => $table_nbfields,
+ 'table_fieldname' => $table_fieldname));
+ //Form table_image
+ include_once XOOPS_ROOT_PATH.'/class/uploader.php';
+ $uploaddir = is_dir($sysPathIcon32) ? $sysPathIcon32 : TDMC_UPLOAD_IMGTAB_PATH;
+ $uploader = new XoopsMediaUploader($uploaddir, $tdmcreate->getConfig('mimetypes'),
+ $tdmcreate->getConfig('maxsize'), null, null);
+ if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) {
+ $extension = preg_replace( '/^.+\.([^.]+)$/sU' , '\\1' , $_FILES['attachedfile']['name']);
+ $name_img = $_POST['table_name'].'.'.$extension;
+ $uploader->setPrefix($name_img);
+ $uploader->fetchMedia($_POST['xoops_upload_file'][0]);
+ if (!$uploader->upload()) {
+ $errors = $uploader->getErrors();
+ redirect_header('javascript:history.go(-1)', 3, $errors);
+ } else {
+ $tablesObj->setVar('table_image', $uploader->getSavedFileName());
+ }
} else {
- $obj->setVar('table_image', $uploader->getSavedFileName());
+ $tablesObj->setVar('table_image', $_POST['table_image']);
+ }
+ $tablesObj->setVars(array('table_blocks' => (($_REQUEST['table_blocks'] == 1) ? '1' : '0'),
+ 'table_admin' => (($_REQUEST['table_admin'] == 1) ? '1' : '0'),
+ 'table_user' => (($_REQUEST['table_user'] == 1) ? '1' : '0'),
+ 'table_submenu' => (($_REQUEST['table_submenu'] == 1) ? '1' : '0'),
+ 'table_search' => (($_REQUEST['table_search'] == 1) ? '1' : '0'),
+ 'table_comments' => (($_REQUEST['table_comments'] == 1) ? '1' : '0'),
+ 'table_notifications' => (($_REQUEST['table_notifications'] == 1) ? '1' : '0'),
+ 'table_permissions' => (($_REQUEST['table_permissions'] == 1) ? '1' : '0')));
+ //
+ if( $tables->insert($tablesObj) ) {
+ if( $tablesObj->isNew() ) {
+ $table_iid = $GLOBALS['xoopsDB']->getInsertId();
+ $table_action='&field_mid='.$table_mid.'&field_tid='.$table_iid.'&field_numb='.$table_nbfields.'&field_name='.$table_fieldname;
+ redirect_header('fields.php?op=new'.$table_action, 5, sprintf(_AM_TDMCREATE_TABLE_FORM_SAVED_OK, $_POST['table_name']));
+ } else {
+ // Get fields where table id
+ $fields =& $tdmcreate->getHandler('fields');
+ $fieldsObj = $fields->get($table_id);
+ $fieldsObj->setVar('field_numb', $table_nbfields);
+ $fields->insert($fieldsObj);
+ redirect_header('tables.php', 5, sprintf(_AM_TDMCREATE_TABLE_FORM_UPDATED_OK, $_POST['table_name']));
+ }
}
- } else {
- $obj->setVar('table_image', $_POST['table_image']);
- }
- $obj->setVars(array('table_blocks' => (($_REQUEST['table_blocks'] == 1) ? '1' : '0'),
- 'table_admin' => (($_REQUEST['table_admin'] == 1) ? '1' : '0'),
- 'table_user' => (($_REQUEST['table_user'] == 1) ? '1' : '0'),
- 'table_submenu' => (($_REQUEST['table_submenu'] == 1) ? '1' : '0'),
- 'table_search' => (($_REQUEST['table_search'] == 1) ? '1' : '0'),
- 'table_comments' => (($_REQUEST['table_comments'] == 1) ? '1' : '0'),
- 'table_notifications' => (($_REQUEST['table_notifications'] == 1) ? '1' : '0'),
- 'table_permissions' => (($_REQUEST['table_permissions'] == 1) ? '1' : '0')));
- //
- if( $tdmcreate->getHandler('tables')->insert($obj) ) {
- if( $obj->isNew() ) {
- $table_iid = $GLOBALS['xoopsDB']->getInsertId();
- $table_action='&field_mid='.$table_mid.'&field_tid='.$table_iid.'&field_numb='.$table_nbfields.'&field_name='.$table_fieldname;
- redirect_header('fields.php?op=new'.$table_action, 5, sprintf(_AM_TDMCREATE_TABLE_FORM_SAVED_OK, $_POST['table_name']));
- } else {
- redirect_header('tables.php', 5, sprintf(_AM_TDMCREATE_TABLE_FORM_UPDATED_OK, $_POST['table_name']));
- }
}
//
- $GLOBALS['xoopsTpl']->assign('error', $obj->getHtmlErrors());
- $form = $obj->getForm();
+ $GLOBALS['xoopsTpl']->assign('error', $tablesObj->getHtmlErrors());
+ $form = $tablesObj->getForm();
$GLOBALS['xoopsTpl']->assign('form', $form->render());
break;
@@ -221,24 +230,24 @@
$adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php?op=list', 'list');
$GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
- $obj = $tdmcreate->getHandler('tables')->get($table_id);
- $form = $obj->getForm();
+ $tablesObj = $tdmcreate->getHandler('tables')->get($table_id);
+ $form = $tablesObj->getForm();
$GLOBALS['xoopsTpl']->assign('form', $form->render());
break;
case 'delete':
- $obj =& $tdmcreate->getHandler('tables')->get($table_id);
+ $tablesObj =& $tdmcreate->getHandler('tables')->get($table_id);
if (isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1) {
if ( !$GLOBALS['xoopsSecurity']->check() ) {
redirect_header('tables.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors()));
}
- if ($tdmcreate->getHandler('tables')->delete($obj)) {
+ if ($tdmcreate->getHandler('tables')->delete($tablesObj)) {
redirect_header('tables.php', 3, _AM_TDMCREATE_FORMDELOK);
} else {
- echo $obj->getHtmlErrors();
+ echo $tablesObj->getHtmlErrors();
}
} else {
- xoops_confirm(array('ok' => 1, 'table_id' => $table_id, 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_AM_TDMCREATE_FORMSUREDEL, $obj->getVar('table_name')));
+ xoops_confirm(array('ok' => 1, 'table_id' => $table_id, 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_AM_TDMCREATE_FORMSUREDEL, $tablesObj->getVar('table_name')));
}
break;
@@ -253,25 +262,25 @@
$table_permissions = XoopsRequest::getInt('table_permissions');
if ( $table_id > 0 ) {
- $obj =& $tdmcreate->getHandler('tables')->get($table_id);
+ $tablesObj =& $tdmcreate->getHandler('tables')->get($table_id);
if(isset($table_blocks)) {
- $obj->setVar('table_blocks', $table_blocks);
+ $tablesObj->setVar('table_blocks', $table_blocks);
} elseif(isset($table_adminm)) {
- $obj->setVar('table_admin', $table_admin);
+ $tablesObj->setVar('table_admin', $table_admin);
} elseif(isset($table_user)) {
- $obj->setVar('table_user', $table_user);
+ $tablesObj->setVar('table_user', $table_user);
} elseif(isset($table_submenu)) {
- $obj->setVar('table_submenu', $table_submenu);
+ $tablesObj->setVar('table_submenu', $table_submenu);
} elseif(isset($table_search)) {
- $obj->setVar('table_search', $table_search);
+ $tablesObj->setVar('table_search', $table_search);
} elseif(isset($table_comments)) {
- $obj->setVar('table_comments', $table_comments);
+ $tablesObj->setVar('table_comments', $table_comments);
} elseif(isset($table_notifications)) {
- $obj->setVar('table_notifications', $table_notifications);
+ $tablesObj->setVar('table_notifications', $table_notifications);
} elseif(isset($table_permissions)) {
- $obj->setVar('table_permissions', $table_permissions);
+ $tablesObj->setVar('table_permissions', $table_permissions);
}
- if ($tdmcreate->getHandler('tables')->insert($obj, true)) {
+ if ($tdmcreate->getHandler('tables')->insert($tablesObj, true)) {
redirect_header('modules.php', 1, _AM_TDMCREATE_TOGGLE_SUCCESS);
} else {
redirect_header('modules.php', 1, _AM_TDMCREATE_TOGGLE_FAILED);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-26 10:30:26 UTC (rev 12648)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-26 16:32:04 UTC (rev 12649)
@@ -209,15 +209,15 @@
if(($i == 1) && ($table_autoincrement->getVar('table_autoincrement') == 1)) {
$field_main = 0;
- $check_field_main = new XoopsFormRadio('', 'field_main['.$i.']', $field_main);
+ $check_field_main = new XoopsFormRadio('', 'field_main', $field_main);
$check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
} elseif(($i == 2) && ($table_autoincrement->getVar('table_autoincrement') == 1)) {
$field_main = 1;
- $check_field_main = new XoopsFormRadio('', 'field_main['.$i.']', $field_main);
+ $check_field_main = new XoopsFormRadio('', 'field_main', $field_main);
$check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
} else {
$field_main = 0;
- $check_field_main = new XoopsFormRadio('', 'field_main['.$i.']');
+ $check_field_main = new XoopsFormRadio('', 'field_main');
$check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
}
$parameters_tray->addElement($check_field_main);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/logoGenerator.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/logoGenerator.php 2014-06-26 10:30:26 UTC (rev 12648)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/logoGenerator.php 2014-06-26 16:32:04 UTC (rev 12649)
@@ -71,7 +71,7 @@
imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32);
//$targetImage = TDMC_UPLOAD_IMGMOD_URL . "/" . $moduleName . "_logo.png";
- $targetImage = "/uploads/" . $dirname . "/images/modules/" . $moduleName . "_logo.png";
+ $targetImage = "/uploads/" . $dirname . "/images/repository/" . $moduleName . "_logo.png";
imagepng($imageModule, XOOPS_ROOT_PATH . $targetImage );
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php 2014-06-26 10:30:26 UTC (rev 12648)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php 2014-06-26 16:32:04 UTC (rev 12649)
@@ -253,9 +253,9 @@
$field_main = $field->getVar('field_main');
if($field_main == 1) {
- $check_field_main = new XoopsFormRadio('', 'field_main['.$field_id.']', $field_main);
+ $check_field_main = new XoopsFormRadio('', 'field_main', $field_main);
} else {
- $check_field_main = new XoopsFormRadio('', 'field_main['.$field_id.']');
+ $check_field_main = new XoopsFormRadio('', 'field_main');
}
$check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
$parameters_tray->addElement($check_field_main);
|
|
From: <txm...@us...> - 2014-06-26 10:30:30
|
Revision: 12648
http://sourceforge.net/p/xoops/svn/12648
Author: txmodxoops
Date: 2014-06-26 10:30:26 +0000 (Thu, 26 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Updated
- Still work to do
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/about.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/about.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/about.php 2014-06-25 19:02:35 UTC (rev 12647)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/about.php 2014-06-26 10:30:26 UTC (rev 12648)
@@ -62,7 +62,7 @@
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
include 'header.php';
-\$template_main = 'admin_about.tpl';
+\$template_main = '{$module_name}_about.tpl';
\$GLOBALS['xoopsTpl']->assign('navigation', \$adminMenu->addNavigation('about.php'));
\$GLOBALS['xoopsTpl']->assign('about', \$adminMenu->renderAbout('{$module_donations}', false));
include 'footer.php';
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-25 19:02:35 UTC (rev 12647)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-26 10:30:26 UTC (rev 12648)
@@ -31,7 +31,8 @@
* @public function constructor
* @param null
*/
- public function __construct() {
+ public function __construct() {
+ parent::__construct();
$this->tdmcfile = TDMCreateFile::getInstance();
}
/*
@@ -352,7 +353,6 @@
'options' => "{$tables[$i]->getVar('table_fieldname')}|5|25|0",
'template' => "'{$stl_mod_name}_block_{$table_name}.tpl");\n\n
EOT;
- $this->setKeywords($table_name);
}
}
return $ret;
@@ -369,7 +369,13 @@
$ret = <<<EOT
// ------------------- Config -------------------\n
EOT;
- $ret .= <<<EOT
+ $fields = $this->getTableFields($table->getVar('table_id'));
+ foreach (array_keys($fields) as $f)
+ {
+ $field_element = $fields[$f]->getVar('field_element');
+ }
+ if( $field_element == 3 ) {
+ $ret .= <<<EOT
// Editor
xoops_load('xoopseditorhandler');
\$editor_handler = XoopsEditorHandler::getInstance();
@@ -382,6 +388,7 @@
'options' => array_flip(\$editor_handler->getList()),
'default' => "dhtml");\n\n
EOT;
+ }
if ( $module->getVar('mod_permissions') == 1 ) {
$ret .= <<<EOT
// Get groups
|
|
From: <txm...@us...> - 2014-06-25 19:02:43
|
Revision: 12647
http://sourceforge.net/p/xoops/svn/12647
Author: txmodxoops
Date: 2014-06-25 19:02:35 +0000 (Wed, 25 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Still work to do
Modified Paths:
--------------
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/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/classes.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/index.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/index.php 2014-06-25 08:46:21 UTC (rev 12646)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/index.php 2014-06-25 19:02:35 UTC (rev 12647)
@@ -77,7 +77,7 @@
}
$content .= <<<EOT
// Template Index
-\$template_main = 'admin_index.tpl';
+\$template_main = '{$module_name}_index.tpl';
// InfoBox Statistics
\$adminMenu->addInfoBox({$language}STATISTICS);
// InfoBox\n
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/menu.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/menu.php 2014-06-25 08:46:21 UTC (rev 12646)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/menu.php 2014-06-25 19:02:35 UTC (rev 12647)
@@ -65,7 +65,7 @@
$menu = 1;
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
-\n\$dirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+\$dirname = basename( dirname( dirname( __FILE__ ) ) ) ;
\$module_handler =& xoops_gethandler('module');
\$xoopsModule =& XoopsModule::getByDirname(\$dirname);
\$moduleInfo =& \$module_handler->get(\$xoopsModule->getVar('mid'));
@@ -75,7 +75,7 @@
\$adminmenu[\$i]['title'] = {$language}{$menu};
\$adminmenu[\$i]['link'] = 'admin/index.php';
\$adminmenu[\$i]['icon'] = \$sysPathIcon32.'/home.png';
-\$i++;
+\$i++;\n
EOT;
foreach (array_keys($tables) as $i)
{
@@ -84,25 +84,25 @@
{
$menu++;
$content .= <<<EOT
-\n\$adminmenu[\$i]['title'] = {$language}{$menu};
+\$adminmenu[\$i]['title'] = {$language}{$menu};
\$adminmenu[\$i]['link'] = 'admin/{$tables[$i]->getVar('table_name')}.php';
\$adminmenu[\$i]['icon'] = \$sysPathIcon32.'/{$tables[$i]->getVar('table_image')}';
-\$i++;
+\$i++;\n
EOT;
}
}
if( $table_permissions == 1 ) {
$menu++;
$content .= <<<EOT
-\n\$adminmenu[\$i]['title'] = {$language}{$menu};
+\$adminmenu[\$i]['title'] = {$language}{$menu};
\$adminmenu[\$i]['link'] = 'admin/permissions.php';
\$adminmenu[\$i]['icon'] = \$sysPathIcon32.'/permissions.png';
-\$i++;
+\$i++;\n
EOT;
}
$menu++;
$content .= <<<EOT
-\n\$adminmenu[\$i]['title'] = {$language}{$menu};
+\$adminmenu[\$i]['title'] = {$language}{$menu};
\$adminmenu[\$i]['link'] = 'admin/about.php';
\$adminmenu[\$i]['icon'] = \$sysPathIcon32.'/about.png';
unset( \$i );
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php 2014-06-25 08:46:21 UTC (rev 12646)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/pages.php 2014-06-25 19:02:35 UTC (rev 12647)
@@ -91,7 +91,7 @@
\$limit = xoops_getModuleOption('adminpager');
\$start = {$module_name}_CleanVars(\$_REQUEST, 'start', 0);
\$adminMenu->addItemButton({$language}ADD_{$stu_table_fieldname}, '{$table_name}.php?op=new', 'add');
- \$template_main = 'admin_{$table_name}.tpl';
+ \$template_main = '{$stl_mod_name}_{$table_name}.tpl';
echo \$adminMenu->renderButton();
\$criteria = new CriteriaCompo();
\$criteria->setSort('{$fpif} ASC, {$fpmf}');
@@ -101,7 +101,6 @@
unset(\$criteria);
\$GLOBALS['xoopsTpl']->assign('{$stl_mod_name}_url', {$stu_mod_name}_URL);
\$GLOBALS['xoopsTpl']->assign('{$stl_mod_name}_upload_url', {$stu_mod_name}_UPLOAD_URL);
- \$GLOBALS['xoopsTpl']->assign('{$table_name}_list', true);
// Table view
if (\${$table_name}_rows > 0)
{
@@ -124,7 +123,7 @@
EOT;
}
$ret .= <<<EOT
- \$GLOBALS['xoopsTpl']->append('{$table_name}', \${$lp_field_name});
+ \$GLOBALS['xoopsTpl']->append('{$table_name}_list', \${$lp_field_name});
unset(\${$lp_field_name});
}
if ( \${$table_name}_rows > \$limit ) {
@@ -145,14 +144,14 @@
* @param string $table_name
* @param string $language
*/
- public function getAdminPagesNew($table_name, $language) {
+ public function getAdminPagesNew($module_name, $table_name, $language) {
+ $stl_mod_name = strtolower($module_name);
$stu_table_name = strtoupper($table_name);
$ret = <<<EOT
- case 'new':
- \$template_main = 'admin_{$table_name}.tpl';
+ case 'new':
+ \$template_main = '{$stl_mod_name}_{$table_name}.tpl';
\$adminMenu->addItemButton({$language}{$stu_table_name}_LIST, '{$table_name}.php', 'list');
- echo \$adminMenu->renderButton();
- \$GLOBALS['xoopsTpl']->append('{$table_name}_list', false);
+ echo \$adminMenu->renderButton();
// Get Form
\${$table_name}Obj =& \${$table_name}Handler->create();
\$form = \${$table_name}Obj->getForm();
@@ -226,15 +225,15 @@
* @param string $table_name
* @param string $language
*/
- public function getAdminPagesEdit($table_name, $language, $fpif) {
+ public function getAdminPagesEdit($module_name, $table_name, $language, $fpif) {
+ $stl_mod_name = strtolower($module_name);
$stu_table_name = strtoupper($table_name);
$ret = <<<EOT
- case 'edit':
- \$template_main = 'admin_{$table_name}.tpl';
+ case 'edit':
+ \$template_main = '{$stl_mod_name}_{$table_name}.tpl';
\$adminMenu->addItemButton({$language}ADD_{$stu_table_name}, '{$table_name}.php?op=new', 'add');
\$adminMenu->addItemButton({$language}{$stu_table_name}_LIST, '{$table_name}.php', 'list');
- echo \$adminMenu->renderButton();
- \$GLOBALS['xoopsTpl']->assign('{$table_name}_list', false);
+ echo \$adminMenu->renderButton();
// Get Form
\${$table_name}Obj = \${$table_name}Handler->get(\$_REQUEST['{$fpif}']);
\$form = \${$table_name}Obj->getForm();
@@ -309,9 +308,9 @@
$content = $this->getHeaderFilesComments($module, $filename);
$content .= $this->getAdminPagesHeader($module_name, $table_name);
$content .= $this->getAdminPagesList($module_name, $table_name, $table_fieldname, $language, $fields, $fpif, $fpmf);
- $content .= $this->getAdminPagesNew($table_name, $language);
+ $content .= $this->getAdminPagesNew($module_name, $table_name, $language);
$content .= $this->getAdminPagesSave($module_name, $table_name, $language, $fields, $fpif, $fpmf);
- $content .= $this->getAdminPagesEdit($table_name, $language, $fpif);
+ $content .= $this->getAdminPagesEdit($module_name, $table_name, $language, $fpif);
$content .= $this->getAdminPagesDelete($table_name, $language, $fpif, $fpmf);
$content .= $this->getAdminPagesFooter();
//
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php 2014-06-25 08:46:21 UTC (rev 12646)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php 2014-06-25 19:02:35 UTC (rev 12647)
@@ -59,7 +59,8 @@
$stu_module_name = strtoupper($module_name);
$stl_module_name = strtolower($module_name);
$ret = <<<EOT
-include_once XOOPS_ROOT_PATH.'/modules/{$module_name}/include/functions.php';
+include_once XOOPS_ROOT_PATH.'/modules/{$stl_module_name}/include/common.php';
+include_once XOOPS_ROOT_PATH.'/modules/{$stl_module_name}/include/functions.php';
function b_{$stl_module_name}_{$table_name}_show(\$options)
{
include_once XOOPS_ROOT_PATH.'/modules/{$stl_module_name}/class/{$table_name}.php';
@@ -131,7 +132,7 @@
$ret = <<<EOT
function b_{$stl_module_name}_{$table_name}_edit(\$options)
{
- include_once XOOPS_ROOT_PATH.'/modules/{$stl_module_name}/class/{$table_name}.php';
+ include_once XOOPS_ROOT_PATH.'/modules/{$stl_module_name}/class/{$table_name}.php';
\${$table_name}Handler =& xoops_getModuleHandler('{$table_name}', '{$module_name}');
\$GLOBALS['xoopsTpl']->assign('{$stl_module_name}_upload_url', {$stu_module_name}_UPLOAD_URL);
\$form = {$language}DISPLAY;
@@ -146,7 +147,7 @@
\$criteria->setSort('{$fpif}');
\$criteria->setOrder('ASC');
\${$table_name}_arr = \${$table_name}Handler->getAll(\$criteria);
- unset(\$criteria)
+ unset(\$criteria);
\$form .= {$language}CATTODISPLAY."<br /><select name='options[]' multiple='multiple' size='5'>";
\$form .= "<option value='0' " . (array_search(0, \$options) === false ? "" : "selected='selected'") . ">" .{$language}ALLCAT . "</option>";
foreach (array_keys(\${$table_name}_arr) as \$i) {
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/classes.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/classes.php 2014-06-25 08:46:21 UTC (rev 12646)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/classes.php 2014-06-25 19:02:35 UTC (rev 12647)
@@ -280,7 +280,7 @@
*/
public function __construct(&\$db)
{
- parent::__construct(\$db, 'mod_{$module_name}_{$table_name}', '{$module_name}{$table_name}', '{$fpif}', '{$fpmf}');
+ parent::__construct(\$db, '{$module_name}_{$table_name}', '{$module_name}{$table_name}', '{$fpif}', '{$fpmf}');
}
}
EOT;
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php 2014-06-25 08:46:21 UTC (rev 12646)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php 2014-06-25 19:02:35 UTC (rev 12647)
@@ -56,11 +56,11 @@
$this->setFileName($filename);
}
/*
- * @public function getMain
+ * @private function getMain
* @param string $language
* @param string $module
*/
- public function getMain($language, $module) {
+ private function getMain($language, $module) {
$ret = <<<EOT
// Main
define('{$language}NAME', "{$module->getVar('mod_name')}");
@@ -69,11 +69,11 @@
return $ret;
}
/*
- * @public function getMenu
+ * @private function getMenu
* @param string $language
* @param array $tables
*/
- public function getMenu($language, $table, $tables) {
+ private function getMenu($language, $table, $tables) {
$menu = 1;
$ret = <<<EOT
// Admin Menu
@@ -103,10 +103,10 @@
return $ret;
}
/*
- * @public function getAdmin
+ * @private function getAdmin
* @param string $language
*/
- public function getAdmin($language) {
+ private function getAdmin($language) {
$ret = <<<EOT
// Admin
define('{$language}ADMINPAGER', "Admin pager");
@@ -115,11 +115,11 @@
return $ret;
}
/*
- * @public function getSubmenu
+ * @private function getSubmenu
* @param string $language
* @param array $tables
*/
- public function getSubmenu($language, $tables) {
+ private function getSubmenu($language, $tables) {
$ret = <<<EOT
// Blocks\n
EOT;
@@ -138,11 +138,11 @@
return $ret;
}
/*
- * @public function getBlocks
+ * @private function getBlocks
* @param string $language
* @param array $tables
*/
- public function getBlocks($language, $tables) {
+ private function getBlocks($language, $tables) {
$ret = <<<EOT
// Blocks\n
EOT;
@@ -160,10 +160,10 @@
return $ret;
}
/*
- * @public function getUser
+ * @private function getUser
* @param string $language
*/
- public function getUser($language) {
+ private function getUser($language) {
$ret = <<<EOT
// User
define('{$language}USERPAGER', "User pager");
@@ -172,11 +172,11 @@
return $ret;
}
/*
- * @public function getConfig
+ * @private function getConfig
* @param string $language
* @param string $table_image
*/
- public function getConfig($language, $table) {
+ private function getConfig($language, $table) {
$ret = <<<EOT
// Config
define('{$language}EDITOR', "Editor");
@@ -206,11 +206,11 @@
return $ret;
}
/*
- * @public function getNotifications
+ * @private function getNotifications
* @param string $language
* @param mixed $table
*/
- public function getNotifications($language) {
+ private function getNotifications($language) {
$ret = <<<EOT
// Notifications
define('{$language}GLOBAL_NOTIFY', "Allow Facebook comments in the form");
@@ -255,10 +255,10 @@
return $ret;
}
/*
- * @public function getPermissions
+ * @private function getPermissions
* @param string $language
*/
- public function getPermissions($language) {
+ private function getPermissions($language) {
$ret = <<<EOT
// Permissions Groups
define('{$language}GROUPS', "Groups access");
@@ -281,9 +281,13 @@
$language = $this->getLanguage($module_name, 'MI');
$content = $this->getHeaderFilesComments($module, $filename);
$content .= $this->getMain($language, $module);
- $content .= $this->getAdmin($language);
- $content .= $this->getUser($language);
if (is_object($table)) {
+ if ( $table->getVar('table_admin') == 1 ) {
+ $content .= $this->getAdmin($language);
+ }
+ if ( $table->getVar('table_user') == 1 ) {
+ $content .= $this->getUser($language);
+ }
if ( $table->getVar('table_submenu') == 1 ) {
$content .= $this->getSubmenu($language, $tables);
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php 2014-06-25 08:46:21 UTC (rev 12646)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php 2014-06-25 19:02:35 UTC (rev 12647)
@@ -85,7 +85,7 @@
</tr>
</thead>
<tbody>
- <{foreach item={$table_fieldname} from=\${$table_name}}>
+ <{foreach item={$table_fieldname} from=\${$table_name}_list}>
<tr class="<{cycle values='odd, even'}>">\n
EOT;
foreach(array_keys($fields) as $f)
@@ -121,20 +121,21 @@
</tr>
<{/foreach}>
</tbody>
- </table>
- <!-- Display navigation -->
+ </table>
<div class="clear"> </div>
- <{if \$pagenav}><br /><div class="xo-pagenav floatright"><{\$pagenav}></div><div class="clear spacer"></div><{/if}>
+ <{if \$pagenav}><br />
+ <!-- Display navigation -->
+ <div class="xo-pagenav floatright"><{\$pagenav}></div><div class="clear spacer"></div>
+ <{/if}>
<{if \$error}>
- <div class="errorMsg">
- <strong><{\$error}></strong>
- </div>
+ <div class="errorMsg">
+ <strong><{\$error}></strong>
+ </div>
<{/if}>
-<{else}>
+<{/if}>
+<{if \$form}>
<!-- Display form (add,edit) -->
- <{if \$form}>
<div class="spacer"><{\$form}></div>
- <{/if}>
<{/if}>
<br />
<!-- Footer -->
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/index.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/index.php 2014-06-25 08:46:21 UTC (rev 12646)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/index.php 2014-06-25 19:02:35 UTC (rev 12647)
@@ -64,7 +64,7 @@
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
\ninclude_once 'header.php';
-\$xoopsOption['template_main'] = 'user_index.tpl';
+\$xoopsOption['template_main'] = '{$stl_mod_name}_index.tpl';
include_once XOOPS_ROOT_PATH.'/header.php';
// Define Stylesheet
\$xoTheme->addStylesheet( \$style );
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/pages.php 2014-06-25 08:46:21 UTC (rev 12646)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/pages.php 2014-06-25 19:02:35 UTC (rev 12647)
@@ -129,7 +129,7 @@
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
\ninclude_once 'header.php';
-\$xoopsOption['template_main'] = 'user_{$table_name}.tpl';
+\$xoopsOption['template_main'] = '{$stl_mod_name}_{$table_name}.tpl';
include_once XOOPS_ROOT_PATH . '/header.php';
\$start = {$stl_mod_name}_CleanVars( \$_REQUEST, 'start', 0);
\$limit = xoops_getModuleOption('userpager', \$dirname);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-25 08:46:21 UTC (rev 12646)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-25 19:02:35 UTC (rev 12647)
@@ -202,7 +202,7 @@
foreach (array_keys($tables) as $t)
{
$ret .= <<<EOT
-\$modversion['tables'][{$n}] = "mod_{$stl_mod_name}_{$tables[$t]->getVar('table_name')}";\n
+\$modversion['tables'][{$n}] = "{$stl_mod_name}_{$tables[$t]->getVar('table_name')}";\n
EOT;
$n++;
}
@@ -221,7 +221,7 @@
$ret = '';
if ( $module->getVar('mod_search') == 1 ) {
$ret .= <<<EOT
-//Search
+// Search
\$modversion['hasSearch'] = 1;
\$modversion['search']['file'] = "include/search.inc.php";
\$modversion['search']['func'] = "{$stl_mod_name}_search";\n
@@ -367,7 +367,10 @@
$module_name = $module->getVar('mod_name');
$stl_mod_name = strtolower($module_name);
$ret = <<<EOT
-// Config
+// ------------------- Config -------------------\n
+EOT;
+ $ret .= <<<EOT
+// Editor
xoops_load('xoopseditorhandler');
\$editor_handler = XoopsEditorHandler::getInstance();
\$modversion['config'][] = array(
@@ -414,7 +417,7 @@
'default' => \$admin_groups);\n\n
EOT;
}
- $key = implode(', ', $this->getKeywords());
+ $keyword = implode(', ', $this->getKeywords());
$ret .= <<<EOT
\$modversion['config'][] = array(
'name' => "keywords",
@@ -422,7 +425,7 @@
'description' => "{$language}KEYWORDS_DESC",
'formtype' => "textbox",
'valuetype' => "text",
- 'default' => "{$stl_mod_name}, {$key}");\n
+ 'default' => "{$stl_mod_name}, {$keyword}");\n
EOT;
unset($this->keywords);
if ($table->getVar('table_name') != '')
|
|
From: <txm...@us...> - 2014-06-25 08:46:27
|
Revision: 12646
http://sourceforge.net/p/xoops/svn/12646
Author: txmodxoops
Date: 2014-06-25 08:46:21 +0000 (Wed, 25 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Still work to do
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-24 22:36:12 UTC (rev 12645)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-25 08:46:21 UTC (rev 12646)
@@ -122,12 +122,10 @@
if ( $table->getVar('table_blocks') == 1) {
// Creation of "blocks" folder and index.html file
$this->structure->makeDirAndCopyFile('blocks', $indexFile, 'index.html');
- }
- if ( $table->getVar('table_name') != null) {
- // Creation of "class" folder and index.html file
- $this->structure->makeDirAndCopyFile('class', $indexFile, 'index.html');
- }
+ }
}
+ // Creation of "class" folder and index.html file
+ $this->structure->makeDirAndCopyFile('class', $indexFile, 'index.html');
// Creation of "assets" folder and index.html file
$this->structure->makeDirAndCopyFile('assets', $indexFile, 'index.html');
// Creation of "css" folder and index.html file
@@ -265,7 +263,11 @@
$ret[] = $userTemplatesPages->renderFile($stl_mod_name.'_'.$table_name.'.tpl');
}
/*var_dump($table_name); */
- }
+ }
+ // Language Modinfo File
+ $languageModinfo = LanguageModinfo::getInstance();
+ $languageModinfo->write($module, $table, $tables, 'modinfo.php');
+ $ret[] = $languageModinfo->render();
// Creation of blocks language file
if (is_object($table)) {
if ( $table->getVar('table_blocks') == 1) {
@@ -274,10 +276,7 @@
$languageBlocks->write($module, $tables, 'blocks.php');
$ret[] = $languageBlocks->render();
}
- // Language Modinfo File
- $languageModinfo = LanguageModinfo::getInstance();
- $languageModinfo->write($module, $table, $tables, 'modinfo.php');
- $ret[] = $languageModinfo->render();
+
// Creation of admin files
if ( $table->getVar('table_admin') == 1) {
// Admin Header File
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php 2014-06-24 22:36:12 UTC (rev 12645)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php 2014-06-25 08:46:21 UTC (rev 12646)
@@ -73,7 +73,7 @@
* @param string $language
* @param array $tables
*/
- public function getMenu($language, $tables) {
+ public function getMenu($language, $table, $tables) {
$menu = 1;
$ret = <<<EOT
// Admin Menu
@@ -89,7 +89,7 @@
define('{$language}ADMENU{$menu}', "{$ucf_table_name}");\n
EOT;
}
- if ( $table_permissions != 0 ) {
+ if ( $table->getVar('table_permissions') == 1 ) {
$menu++;
$ret .= <<<EOT
define('{$language}ADMENU{$menu}', "Permissions");\n
@@ -283,19 +283,21 @@
$content .= $this->getMain($language, $module);
$content .= $this->getAdmin($language);
$content .= $this->getUser($language);
- $content .= $this->getMenu($language, $tables);
- $content .= $this->getBlocks($language, $tables);
- if ( $table->getVar('table_submenu') == 1 ) {
- $content .= $this->getSubmenu($language, $tables);
+ if (is_object($table)) {
+ if ( $table->getVar('table_submenu') == 1 ) {
+ $content .= $this->getSubmenu($language, $tables);
+ }
+ $content .= $this->getMenu($language, $table, $tables);
+ $content .= $this->getBlocks($language, $tables);
+ $content .= $this->getConfig($language, $table);
+ if ( $table->getVar('table_notifications') == 1 )
+ {
+ $content .= $this->getNotifications($language);
+ }
+ if ( $table->getVar('table_permissions') == 1 ) {
+ $content .= $this->getPermissions($language);
+ }
}
- $content .= $this->getConfig($language, $table);
- if ( $table->getVar('table_notifications') == 1 )
- {
- $content .= $this->getNotifications($language);
- }
- if ( $table->getVar('table_permissions') != 0 ) {
- $content .= $this->getPermissions($language);
- }
//
$this->tdmcfile->create($module_name, 'language/'.$GLOBALS['xoopsConfig']['language'], $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
|
|
From: <txm...@us...> - 2014-06-24 22:36:23
|
Revision: 12645
http://sourceforge.net/p/xoops/svn/12645
Author: txmodxoops
Date: 2014-06-24 22:36:12 +0000 (Tue, 24 Jun 2014)
Log Message:
-----------
- solved issues for modules without tables
- fixed bugs
- still work to do
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/modules.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-24 21:35:40 UTC (rev 12644)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-24 22:36:12 UTC (rev 12645)
@@ -89,6 +89,7 @@
$tables = $this->tdmcreate->getHandler('tables')->getObjects($criteria_tables);
unset($criteria_tables);
//
+ $table = null;
foreach (array_keys($tables) as $t)
{
$table_id = $tables[$t]->getVar('table_id');
@@ -113,18 +114,20 @@
$this->structure->makeDir($targetDirectory);
// Copied of index.html file in "root module" folder
$this->structure->copyFile('', $indexFile, 'index.html');
- if ( $table->getVar('table_admin') == 1) {
- // Creation of "admin" folder and index.html file
- $this->structure->makeDirAndCopyFile('admin', $indexFile, 'index.html');
+ if (is_object($table)) {
+ if ( $table->getVar('table_admin') == 1) {
+ // Creation of "admin" folder and index.html file
+ $this->structure->makeDirAndCopyFile('admin', $indexFile, 'index.html');
+ }
+ if ( $table->getVar('table_blocks') == 1) {
+ // Creation of "blocks" folder and index.html file
+ $this->structure->makeDirAndCopyFile('blocks', $indexFile, 'index.html');
+ }
+ if ( $table->getVar('table_name') != null) {
+ // Creation of "class" folder and index.html file
+ $this->structure->makeDirAndCopyFile('class', $indexFile, 'index.html');
+ }
}
- if ( $table->getVar('table_blocks') == 1) {
- // Creation of "blocks" folder and index.html file
- $this->structure->makeDirAndCopyFile('blocks', $indexFile, 'index.html');
- }
- if ( $table->getVar('table_name') != null) {
- // Creation of "class" folder and index.html file
- $this->structure->makeDirAndCopyFile('class', $indexFile, 'index.html');
- }
// Creation of "assets" folder and index.html file
$this->structure->makeDirAndCopyFile('assets', $indexFile, 'index.html');
// Creation of "css" folder and index.html file
@@ -164,22 +167,24 @@
$this->structure->makeDirAndCopyFile('language/'.$GLOBALS['xoopsConfig']['language'], $indexFile, 'index.html');
// Creation of "language/local_language/help" folder and index.html file
$this->structure->makeDirAndCopyFile('language/'.$GLOBALS['xoopsConfig']['language']. '/help', $indexFile, 'index.html');
- if (( $table->getVar('table_user') == 1) || ( $table->getVar('table_admin') == 1 )) {
- // Creation of "templates" folder and index.html file
- $this->structure->makeDirAndCopyFile('templates', $indexFile, 'index.html');
+ if (is_object($table)) {
+ if (( $table->getVar('table_user') == 1) || ( $table->getVar('table_admin') == 1 )) {
+ // Creation of "templates" folder and index.html file
+ $this->structure->makeDirAndCopyFile('templates', $indexFile, 'index.html');
+ }
+ if ( $table->getVar('table_admin') == 1 ) {
+ // Creation of "templates/admin" folder and index.html file
+ $this->structure->makeDirAndCopyFile('templates/admin', $indexFile, 'index.html');
+ }
+ if ( $table->getVar('table_blocks') == 1 ) {
+ // Creation of "templates/blocks" folder and index.html file
+ $this->structure->makeDirAndCopyFile('templates/blocks', $indexFile, 'index.html');
+ }
+ if ( $table->getVar('table_name') != null ) {
+ // Creation of "sql" folder and index.html file
+ $this->structure->makeDirAndCopyFile('sql', $indexFile, 'index.html');
+ }
}
- if ( $table->getVar('table_admin') == 1 ) {
- // Creation of "templates/admin" folder and index.html file
- $this->structure->makeDirAndCopyFile('templates/admin', $indexFile, 'index.html');
- }
- if ( $table->getVar('table_blocks') == 1 ) {
- // Creation of "templates/blocks" folder and index.html file
- $this->structure->makeDirAndCopyFile('templates/blocks', $indexFile, 'index.html');
- }
- if ( $table->getVar('table_name') != null ) {
- // Creation of "sql" folder and index.html file
- $this->structure->makeDirAndCopyFile('sql', $indexFile, 'index.html');
- }
}
/*
@@ -199,6 +204,7 @@
unset($criteria_tables);
$ret = array();
//
+ $table = null;
foreach (array_keys($tables) as $t)
{
$table_mid = $tables[$t]->getVar('table_mid');
@@ -261,151 +267,153 @@
/*var_dump($table_name); */
}
// Creation of blocks language file
- if ( $table->getVar('table_blocks') == 1) {
- // Language Blocks File
- $languageBlocks = LanguageBlocks::getInstance();
- $languageBlocks->write($module, $tables, 'blocks.php');
- $ret[] = $languageBlocks->render();
- }
- // Language Modinfo File
- $languageModinfo = LanguageModinfo::getInstance();
- $languageModinfo->write($module, $table, $tables, 'modinfo.php');
- $ret[] = $languageModinfo->render();
- // Creation of admin files
- if ( $table->getVar('table_admin') == 1) {
- // Admin Header File
- $adminHeader = AdminHeader::getInstance();
- $adminHeader->write($module, $table, $tables, 'header.php');
- $ret[] = $adminHeader->render();
- // Admin Index File
- $adminIndex = AdminIndex::getInstance();
- $adminIndex->write($module, $tables, 'index.php');
- $ret[] = $adminIndex->render();
- // Admin Menu File
- $adminMenu = AdminMenu::getInstance();
- $adminMenu->write($module, $tables, 'menu.php');
- $ret[] = $adminMenu->render();
- // Creation of admin permission file
- if (( $table->getVar('table_permissions') == 1)) {
- // Admin Permissions File
- $adminPermissions = AdminPermissions::getInstance();
- $adminPermissions->write($module, $tables, 'permissions.php');
- $ret[] = $adminPermissions->render();
+ if (is_object($table)) {
+ if ( $table->getVar('table_blocks') == 1) {
+ // Language Blocks File
+ $languageBlocks = LanguageBlocks::getInstance();
+ $languageBlocks->write($module, $tables, 'blocks.php');
+ $ret[] = $languageBlocks->render();
+ }
+ // Language Modinfo File
+ $languageModinfo = LanguageModinfo::getInstance();
+ $languageModinfo->write($module, $table, $tables, 'modinfo.php');
+ $ret[] = $languageModinfo->render();
+ // Creation of admin files
+ if ( $table->getVar('table_admin') == 1) {
+ // Admin Header File
+ $adminHeader = AdminHeader::getInstance();
+ $adminHeader->write($module, $table, $tables, 'header.php');
+ $ret[] = $adminHeader->render();
+ // Admin Index File
+ $adminIndex = AdminIndex::getInstance();
+ $adminIndex->write($module, $tables, 'index.php');
+ $ret[] = $adminIndex->render();
+ // Admin Menu File
+ $adminMenu = AdminMenu::getInstance();
+ $adminMenu->write($module, $tables, 'menu.php');
+ $ret[] = $adminMenu->render();
+ // Creation of admin permission file
+ if (( $table->getVar('table_permissions') == 1)) {
+ // Admin Permissions File
+ $adminPermissions = AdminPermissions::getInstance();
+ $adminPermissions->write($module, $tables, 'permissions.php');
+ $ret[] = $adminPermissions->render();
+ }
+ // Admin Aboutr File
+ $adminAbout = AdminAbout::getInstance();
+ $adminAbout->write($module, 'about.php');
+ $ret[] = $adminAbout->render();
+ // Admin Footer File
+ $adminFooter = AdminFooter::getInstance();
+ $adminFooter->write($module, 'footer.php');
+ $ret[] = $adminFooter->render();
+ // Language Admin File
+ $languageAdmin = LanguageAdmin::getInstance();
+ $languageAdmin->write($module, $tables, 'admin.php');
+ $ret[] = $languageAdmin->render();
+ // Templates Index File
+ $adminTemplatesAbout = TemplatesAdminAbout::getInstance();
+ $adminTemplatesAbout->write($module, $stl_mod_name.'_about.tpl');
+ $ret[] = $adminTemplatesAbout->render();
+ // Templates Index File
+ $adminTemplatesIndex = TemplatesAdminIndex::getInstance();
+ $adminTemplatesIndex->write($module, $stl_mod_name.'_index.tpl');
+ $ret[] = $adminTemplatesIndex->render();
+ // Templates Footer File
+ $adminTemplatesFooter = TemplatesAdminFooter::getInstance();
+ $adminTemplatesFooter->write($module, $stl_mod_name.'_footer.tpl');
+ $ret[] = $adminTemplatesFooter->render();
+ // Templates Header File
+ $adminTemplatesHeader = TemplatesAdminHeader::getInstance();
+ $adminTemplatesHeader->write($module, $stl_mod_name.'_header.tpl');
+ $ret[] = $adminTemplatesHeader->render();
+ }
+ // Creation of notifications files
+ if ( $table->getVar('table_notifications') == 1 ) {
+ // Include Notifications File
+ $includeNotifications = IncludeNotifications::getInstance();
+ $includeNotifications->write($module, $table, 'notifications.php');
+ $ret[] = $includeNotifications->render();
}
- // Admin Aboutr File
- $adminAbout = AdminAbout::getInstance();
- $adminAbout->write($module, 'about.php');
- $ret[] = $adminAbout->render();
- // Admin Footer File
- $adminFooter = AdminFooter::getInstance();
- $adminFooter->write($module, 'footer.php');
- $ret[] = $adminFooter->render();
- // Language Admin File
- $languageAdmin = LanguageAdmin::getInstance();
- $languageAdmin->write($module, $tables, 'admin.php');
- $ret[] = $languageAdmin->render();
- // Templates Index File
- $adminTemplatesAbout = TemplatesAdminAbout::getInstance();
- $adminTemplatesAbout->write($module, $stl_mod_name.'_about.tpl');
- $ret[] = $adminTemplatesAbout->render();
- // Templates Index File
- $adminTemplatesIndex = TemplatesAdminIndex::getInstance();
- $adminTemplatesIndex->write($module, $stl_mod_name.'_index.tpl');
- $ret[] = $adminTemplatesIndex->render();
- // Templates Footer File
- $adminTemplatesFooter = TemplatesAdminFooter::getInstance();
- $adminTemplatesFooter->write($module, $stl_mod_name.'_footer.tpl');
- $ret[] = $adminTemplatesFooter->render();
- // Templates Header File
- $adminTemplatesHeader = TemplatesAdminHeader::getInstance();
- $adminTemplatesHeader->write($module, $stl_mod_name.'_header.tpl');
- $ret[] = $adminTemplatesHeader->render();
- }
- // Creation of notifications files
- if ( $table->getVar('table_notifications') == 1 ) {
- // Include Notifications File
- $includeNotifications = IncludeNotifications::getInstance();
- $includeNotifications->write($module, $table, 'notifications.php');
- $ret[] = $includeNotifications->render();
- }
- // Include Install File
- $includeInstall = IncludeInstall::getInstance();
- $includeInstall->write($module, $tables, 'install.php');
- $ret[] = $includeInstall->render();
- // Creation of sql file
- if ( $table->getVar('table_name') != null) {
- // Sql File
- $sqlFile = SqlFile::getInstance();
- $sqlFile->write($module, $tables, 'mysql.sql');
- $ret[] = $sqlFile->render();
- }
- // Creation of search file
- if ( $table->getVar('table_search') == 1) {
- // Include Search File
- $includeSearch = IncludeSearch::getInstance();
- $includeSearch->write($module, $table, 'search.php');
- $ret[] = $includeSearch->render();
- }
- // Creation of comments files
- if ( $table->getVar('table_comments') == 1) {
- // Include Comments File
- $includeComments = IncludeComments::getInstance();
- $includeComments->write($module, $table);
- $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_edit');
- // Include Comments File
- $includeComments = IncludeComments::getInstance();
- $includeComments->write($module, $table);
- $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_delete');
- // Include Comments File
- $includeComments = IncludeComments::getInstance();
- $includeComments->write($module, $table);
- $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_post');
- // Include Comments File
- $includeComments = IncludeComments::getInstance();
- $includeComments->write($module, $table);
- $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_reply');
- // Include Comments File
- $includeComments = IncludeComments::getInstance();
- $includeComments->write($module, $table);
- $ret[] = $includeComments->renderCommentsNew($module, 'comment_new');
- }
- // Creation of user files
- if ( ($table->getVar('table_user') == 1)) {
- // Templates Index File
- $userTemplatesIndex = TemplatesUserIndex::getInstance();
- $userTemplatesIndex->write($module, $stl_mod_name.'_index.tpl');
- $ret[] = $userTemplatesIndex->render();
- // Templates Footer File
- $userTemplatesFooter = TemplatesUserFooter::getInstance();
- $userTemplatesFooter->write($module, $table, $stl_mod_name.'_footer.tpl');
- $ret[] = $userTemplatesFooter->render();
- // Templates Header File
- $userTemplatesHeader = TemplatesUserHeader::getInstance();
- $userTemplatesHeader->write($module, $tables, $stl_mod_name.'_header.tpl');
- $ret[] = $userTemplatesHeader->render();
- // User Footer File
- $userFooter = UserFooter::getInstance();
- $userFooter->write($module, 'footer.php');
- $ret[] = $userFooter->render();
- // User Header File
- $userHeader = UserHeader::getInstance();
- $userHeader->write($module, 'header.php');
- $ret[] = $userHeader->render();
- // User Notification Update File
- if ( ($table->getVar('table_notifications') == 1 )) {
- $userNotificationUpdate = UserNotificationUpdate::getInstance();
- $userNotificationUpdate->write($module, 'notification_update.php');
- $ret[] = $userNotificationUpdate->render();
- }
- // User Index File
- $userIndex = UserIndex::getInstance();
- $userIndex->write($module, 'index.php');
- $ret[] = $userIndex->render();
- // Language Main File
- $languageMain = LanguageMain::getInstance();
- $languageMain->write($module, $table, $tables, 'main.php');
- $ret[] = $languageMain->render();
- }
+ // Include Install File
+ $includeInstall = IncludeInstall::getInstance();
+ $includeInstall->write($module, $tables, 'install.php');
+ $ret[] = $includeInstall->render();
+ // Creation of sql file
+ if ( $table->getVar('table_name') != null) {
+ // Sql File
+ $sqlFile = SqlFile::getInstance();
+ $sqlFile->write($module, $tables, 'mysql.sql');
+ $ret[] = $sqlFile->render();
+ }
+ // Creation of search file
+ if ( $table->getVar('table_search') == 1) {
+ // Include Search File
+ $includeSearch = IncludeSearch::getInstance();
+ $includeSearch->write($module, $table, 'search.php');
+ $ret[] = $includeSearch->render();
+ }
+ // Creation of comments files
+ if ( $table->getVar('table_comments') == 1) {
+ // Include Comments File
+ $includeComments = IncludeComments::getInstance();
+ $includeComments->write($module, $table);
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_edit');
+ // Include Comments File
+ $includeComments = IncludeComments::getInstance();
+ $includeComments->write($module, $table);
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_delete');
+ // Include Comments File
+ $includeComments = IncludeComments::getInstance();
+ $includeComments->write($module, $table);
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_post');
+ // Include Comments File
+ $includeComments = IncludeComments::getInstance();
+ $includeComments->write($module, $table);
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_reply');
+ // Include Comments File
+ $includeComments = IncludeComments::getInstance();
+ $includeComments->write($module, $table);
+ $ret[] = $includeComments->renderCommentsNew($module, 'comment_new');
+ }
+ // Creation of user files
+ if ( ($table->getVar('table_user') == 1)) {
+ // Templates Index File
+ $userTemplatesIndex = TemplatesUserIndex::getInstance();
+ $userTemplatesIndex->write($module, $stl_mod_name.'_index.tpl');
+ $ret[] = $userTemplatesIndex->render();
+ // Templates Footer File
+ $userTemplatesFooter = TemplatesUserFooter::getInstance();
+ $userTemplatesFooter->write($module, $table, $stl_mod_name.'_footer.tpl');
+ $ret[] = $userTemplatesFooter->render();
+ // Templates Header File
+ $userTemplatesHeader = TemplatesUserHeader::getInstance();
+ $userTemplatesHeader->write($module, $tables, $stl_mod_name.'_header.tpl');
+ $ret[] = $userTemplatesHeader->render();
+ // User Footer File
+ $userFooter = UserFooter::getInstance();
+ $userFooter->write($module, 'footer.php');
+ $ret[] = $userFooter->render();
+ // User Header File
+ $userHeader = UserHeader::getInstance();
+ $userHeader->write($module, 'header.php');
+ $ret[] = $userHeader->render();
+ // User Notification Update File
+ if ( ($table->getVar('table_notifications') == 1 )) {
+ $userNotificationUpdate = UserNotificationUpdate::getInstance();
+ $userNotificationUpdate->write($module, 'notification_update.php');
+ $ret[] = $userNotificationUpdate->render();
+ }
+ // User Index File
+ $userIndex = UserIndex::getInstance();
+ $userIndex->write($module, 'index.php');
+ $ret[] = $userIndex->render();
+ // Language Main File
+ $languageMain = LanguageMain::getInstance();
+ $languageMain->write($module, $table, $tables, 'main.php');
+ $ret[] = $languageMain->render();
+ }
+ }
// Class Helper File
$classHelper = ClassHelper::getInstance();
$classHelper->write($module, 'helper.php');
@@ -422,7 +430,7 @@
$includeFunctions = IncludeFunctions::getInstance();
$includeFunctions->write($module, 'functions.php');
$ret[] = $includeFunctions->render();
- // Docs Changelog File
+ // Docs Changelog File
$docsChangelog = DocsChangelog::getInstance();
$docsChangelog->write($module, 'changelog.txt');
$ret[] = $docsChangelog->render();
@@ -433,7 +441,7 @@
// Include Jquery File
$includeJquery = IncludeJquery::getInstance();
$includeJquery->write($module, 'functions.js');
- $ret[] = $includeJquery->render();
+ $ret[] = $includeJquery->render();
// User Xoops Version File
$userXoopsVersion = UserXoopsVersion::getInstance();
$userXoopsVersion->write($module, $table, $tables, 'xoops_version.php');
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-24 21:35:40 UTC (rev 12644)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-24 22:36:12 UTC (rev 12645)
@@ -645,30 +645,32 @@
$module_name = $module->getVar('mod_name');
$language = $this->getLanguage($module_name, 'MI');
$content = $this->getHeaderFilesComments($module, $filename);
- $content .= $this->getXoopsVersionHeader($module, $table, $language);
- $content .= $this->getXoopsVersionMySQL($module_name, $table);
- if ($table->getVar('table_search') == 1) {
- $content .= $this->getXoopsVersionSearch($module);
+ $content .= $this->getXoopsVersionHeader($module, $table, $language);
+ if (is_object($table)) {
+ $content .= $this->getXoopsVersionMySQL($module_name, $table);
+ if ($table->getVar('table_search') == 1) {
+ $content .= $this->getXoopsVersionSearch($module);
+ }
+ if ($table->getVar('table_comments') == 1) {
+ $content .= $this->getXoopsVersionComments($module);
+ }
+ if($table->getVar('table_admin') == 1) {
+ $content .= $this->getXoopsVersionTemplatesAdmin($module_name);
+ }
+ if($table->getVar('table_user') == 1) {
+ $content .= $this->getXoopsVersionTemplatesUser($module_name);
+ }
+ if ($table->getVar('table_submenu') == 1) {
+ $content .= $this->getXoopsVersionSubmenu($language);
+ }
+ if ($table->getVar('table_blocks') == 1) {
+ $content .= $this->getXoopsVersionBlocks($module_name, $language);
+ }
+ $content .= $this->getXoopsVersionConfig($module, $table, $language);
+ if ($table->getVar('table_notifications') == 1) {
+ $content .= $this->getXoopsVersionNotifications($module, $language, $filename);
+ }
}
- if ($table->getVar('table_comments') == 1) {
- $content .= $this->getXoopsVersionComments($module);
- }
- if($table->getVar('table_admin') == 1) {
- $content .= $this->getXoopsVersionTemplatesAdmin($module_name);
- }
- if($table->getVar('table_user') == 1) {
- $content .= $this->getXoopsVersionTemplatesUser($module_name);
- }
- if ($table->getVar('table_submenu') == 1) {
- $content .= $this->getXoopsVersionSubmenu($language);
- }
- if ($table->getVar('table_blocks') == 1) {
- $content .= $this->getXoopsVersionBlocks($module_name, $language);
- }
- $content .= $this->getXoopsVersionConfig($module, $table, $language);
- if ($table->getVar('table_notifications') == 1) {
- $content .= $this->getXoopsVersionNotifications($module, $language, $filename);
- }
$this->tdmcfile->create($module_name, '/', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/modules.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/modules.php 2014-06-24 21:35:40 UTC (rev 12644)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/modules.php 2014-06-24 22:36:12 UTC (rev 12645)
@@ -166,7 +166,7 @@
$this_image = $this->getVar('mod_image');
$mod_image = $this_image ? $this_image : 'empty.png';
- $uploadirectory = 'uploads/'.$GLOBALS['xoopsModule']->dirname().'/images/modules';
+ $uploadirectory = 'uploads/'.$GLOBALS['xoopsModule']->dirname().'/images/repository';
$imgtray = new XoopsFormElementTray(_AM_TDMCREATE_MODULE_IMAGE, '<br />');
$imgpath = sprintf(_AM_TDMCREATE_FORMIMAGE_PATH, './' . strtolower($uploadirectory) . '/');
$imageselect= new XoopsFormSelect($imgpath, 'mod_image', $mod_image);
|
|
From: <bl...@us...> - 2014-06-24 21:35:50
|
Revision: 12644
http://sourceforge.net/p/xoops/svn/12644
Author: bleekk
Date: 2014-06-24 21:35:40 +0000 (Tue, 24 Jun 2014)
Log Message:
-----------
fixed disappearing link when edited
Modified Paths:
--------------
XoopsModules/mymenus/trunk/mymenus/admin/admin_links.php
Modified: XoopsModules/mymenus/trunk/mymenus/admin/admin_links.php
===================================================================
--- XoopsModules/mymenus/trunk/mymenus/admin/admin_links.php 2014-06-24 21:03:34 UTC (rev 12643)
+++ XoopsModules/mymenus/trunk/mymenus/admin/admin_links.php 2014-06-24 21:35:40 UTC (rev 12644)
@@ -340,9 +340,9 @@
$xoopsLogger =& XoopsLogger::getInstance();
$xoopsLogger->activated = false;
error_reporting(0);
-
- global $menu_id;
-
+
+ global $menu_id;
+
$registry =& MymenusRegistry::getInstance();
$plugin =& MymenusPlugin::getInstance();
@@ -362,6 +362,9 @@
$objArray['pid'] = $pid;
}
}
+ if (isset($objArray['mid'])) {
+ $menu_id = $objArray['mid'];
+ }
$form = new XoopsThemeForm($ftitle, 'admin_form', $GLOBALS['mymenus_adminpage'], "post", true);
$formtitle = new XoopsFormText(_AM_MYMENUS_MENU_TITLE, 'title', 50, 255, $objArray['title']);
|
|
From: <txm...@us...> - 2014-06-24 21:03:37
|
Revision: 12643
http://sourceforge.net/p/xoops/svn/12643
Author: txmodxoops
Date: 2014-06-24 21:03:34 +0000 (Tue, 24 Jun 2014)
Log Message:
-----------
Modified Paths:
--------------
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/modules.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldattributes.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldattributes.php 2014-06-24 20:57:46 UTC (rev 12642)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldattributes.php 2014-06-24 21:03:34 UTC (rev 12643)
@@ -44,6 +44,6 @@
{
function __construct(&$db)
{
- parent::__construct($db, 'mod_tdmcreate_fieldattributes', 'tdmcreatefieldattributes', 'fieldattribute_name', 'fieldattribute_value');
+ parent::__construct($db, 'tdmcreate_fieldattributes', 'tdmcreatefieldattributes', 'fieldattribute_name', 'fieldattribute_value');
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldelements.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldelements.php 2014-06-24 20:57:46 UTC (rev 12642)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldelements.php 2014-06-24 21:03:34 UTC (rev 12643)
@@ -76,6 +76,6 @@
*/
public function __construct(&$db)
{
- parent::__construct($db, 'mod_tdmcreate_fieldelements', 'tdmcreatefieldelements', 'fieldelement_id', 'fieldelement_name');
+ parent::__construct($db, 'tdmcreate_fieldelements', 'tdmcreatefieldelements', 'fieldelement_id', 'fieldelement_name');
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldkey.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldkey.php 2014-06-24 20:57:46 UTC (rev 12642)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldkey.php 2014-06-24 21:03:34 UTC (rev 12643)
@@ -44,6 +44,6 @@
{
function __construct(&$db)
{
- parent::__construct($db, 'mod_tdmcreate_fieldkey', 'tdmcreatefieldkey', 'fieldkey_name', 'fieldkey_value');
+ parent::__construct($db, 'tdmcreate_fieldkey', 'tdmcreatefieldkey', 'fieldkey_name', 'fieldkey_value');
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldnull.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldnull.php 2014-06-24 20:57:46 UTC (rev 12642)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldnull.php 2014-06-24 21:03:34 UTC (rev 12643)
@@ -44,6 +44,6 @@
{
function __construct(&$db)
{
- parent::__construct($db, 'mod_tdmcreate_fieldnull', 'tdmcreatefieldnull', 'fieldnull_name', 'fieldnull_value');
+ parent::__construct($db, 'tdmcreate_fieldnull', 'tdmcreatefieldnull', 'fieldnull_name', 'fieldnull_value');
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-24 20:57:46 UTC (rev 12642)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-24 21:03:34 UTC (rev 12643)
@@ -257,7 +257,7 @@
*/
public function __construct(&$db)
{
- parent::__construct($db, 'mod_tdmcreate_fields', 'tdmcreatefields', 'field_id', 'field_name');
+ parent::__construct($db, 'tdmcreate_fields', 'tdmcreatefields', 'field_id', 'field_name');
}
/**
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldtype.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldtype.php 2014-06-24 20:57:46 UTC (rev 12642)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldtype.php 2014-06-24 21:03:34 UTC (rev 12643)
@@ -44,6 +44,6 @@
{
function __construct(&$db)
{
- parent::__construct($db, 'mod_tdmcreate_fieldtype', 'tdmcreatefieldtype', 'fieldtype_name', 'fieldtype_value');
+ parent::__construct($db, 'tdmcreate_fieldtype', 'tdmcreatefieldtype', 'fieldtype_name', 'fieldtype_value');
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/modules.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/modules.php 2014-06-24 20:57:46 UTC (rev 12642)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/modules.php 2014-06-24 21:03:34 UTC (rev 12643)
@@ -299,6 +299,6 @@
*/
public function __construct(&$db)
{
- parent::__construct($db, 'mod_tdmcreate_modules', 'tdmcreatemodules', 'mod_id', 'mod_name');
+ parent::__construct($db, 'tdmcreate_modules', 'tdmcreatemodules', 'mod_id', 'mod_name');
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php 2014-06-24 20:57:46 UTC (rev 12642)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php 2014-06-24 21:03:34 UTC (rev 12643)
@@ -242,6 +242,6 @@
*/
public function __construct(&$db)
{
- parent::__construct($db, 'mod_tdmcreate_tables', 'tdmcreatetables', 'table_id', 'table_name');
+ parent::__construct($db, 'tdmcreate_tables', 'tdmcreatetables', 'table_id', 'table_name');
}
}
\ No newline at end of file
|