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) |
From: <be...@us...> - 2012-04-14 18:21:29
|
Revision: 9324 http://xoops.svn.sourceforge.net/xoops/?rev=9324&view=rev Author: beckmi Date: 2012-04-14 18:21:21 +0000 (Sat, 14 Apr 2012) Log Message: ----------- Standardizing folder structure Added Paths: ----------- XoopsModules/AMS - Article Management System/trunk/AMS/ XoopsModules/GoogleAJAXSearch/trunk/GoogleAJAXSearch/ XoopsModules/TDMPicture/trunk/TDMPicture/ XoopsModules/aChat/releases/0.23.2/aChat/ XoopsModules/aChat/trunk/aChat/ XoopsModules/adslight/trunk/ XoopsModules/adslight/trunk/adslight/ XoopsModules/ajaxfilemanager/releases/0.01/ XoopsModules/article/trunk/article/ XoopsModules/benchmark/trunk/ XoopsModules/benchmark/trunk/benchmark/ XoopsModules/club/trunk/club/ XoopsModules/codelink/trunk/codelink/ XoopsModules/compounds/branches/ XoopsModules/compounds/trunk/ XoopsModules/compounds/trunk/compounds/ XoopsModules/content/trunk/content/ XoopsModules/documents/branches/ XoopsModules/documents/trunk/ XoopsModules/documents/trunk/documents/ XoopsModules/donations/branches/ XoopsModules/donations/trunk/ XoopsModules/donations/trunk/donations/ XoopsModules/dr-usage/branches/ XoopsModules/dr-usage/trunk/dr-usage/ XoopsModules/escorts/branches/ XoopsModules/escorts/trunk/ XoopsModules/escorts/trunk/escorts/ XoopsModules/extcal/trunk/extcal/ XoopsModules/extgallery/trunk/extgallery/ XoopsModules/flowplayer/branches/ XoopsModules/genobio/branches/ XoopsModules/googleapi/branches/ XoopsModules/googleapi/trunk/ XoopsModules/googleapi/trunk/googleapi/ XoopsModules/googledocssearch/trunk/googledocssearch/ XoopsModules/googleearth/trunk/googleearth/ XoopsModules/googlemapsearch/trunk/googlemapsearch/ XoopsModules/imprint/trunk/imprint/ XoopsModules/instantmessenger/branches/ XoopsModules/instantmessenger/releases/ XoopsModules/instantmessenger/trunk/instantmessenger/ XoopsModules/irc/branches/ XoopsModules/irc/trunk/ XoopsModules/irc/trunk/irc/ XoopsModules/isearch/trunk/isearch/ XoopsModules/lawsuit/trunk/lawsuit/ XoopsModules/maquee/branches/ XoopsModules/maquee/trunk/ XoopsModules/maquee/trunk/maquee/ XoopsModules/marquee/trunk/marquee/ XoopsModules/mediawiki/trunk/mediawiki/ XoopsModules/membership/branches/ XoopsModules/multisite/branches/ XoopsModules/multisite/trunk/ XoopsModules/multisite/trunk/multisite/ XoopsModules/mxDirectory/trunk/mxDirectory/ XoopsModules/myalbum/releases/ XoopsModules/myalbum/trunk/ XoopsModules/myalbum/trunk/myalbum/ XoopsModules/mydownloads/trunk/mydownloads/ XoopsModules/myiframe/trunk/myiframe/ XoopsModules/mylinks/trunk/mylinks/ XoopsModules/mytube/trunk/mytube/ XoopsModules/newbb/trunk/newbb/ XoopsModules/news/trunk/news/ XoopsModules/oledrion/trunk/oledrion/ XoopsModules/onair/branches/ XoopsModules/onair/releases/ XoopsModules/onair/trunk/onair/ XoopsModules/pageflip/trunk/ XoopsModules/pageflip/trunk/pageflip/ XoopsModules/passgen/trunk/passgen/ XoopsModules/phpdoc/branches/ XoopsModules/phpdoc/trunk/ XoopsModules/phpdoc/trunk/phpdoc/ XoopsModules/planet/trunk/planet/ XoopsModules/prizes/branches/ XoopsModules/profile/trunk/profile/ XoopsModules/rbsns/branches/ XoopsModules/rbsns/releases/ XoopsModules/rbsns/trunk/ XoopsModules/rbsns/trunk/htdocs/ XoopsModules/redirector/trunk/ XoopsModules/redirector/trunk/redirector/ XoopsModules/scrollable/trunk/scrollable/ XoopsModules/scroller/trunk/ XoopsModules/scroller/trunk/scroller/ XoopsModules/sections/trunk/sections/ XoopsModules/sexy/branches/ XoopsModules/sexy/trunk/ XoopsModules/sexy/trunk/sexy/ XoopsModules/shortcuts/trunk/shortcuts/ XoopsModules/shoutbox/branches/ XoopsModules/shoutbox/trunk/ XoopsModules/shoutbox/trunk/shoutbox/ XoopsModules/slidernews/trunk/slidernews/ XoopsModules/smartpartner/branches/ XoopsModules/smartsection/branches/ XoopsModules/smartsection/trunk/ XoopsModules/smartsection/trunk/xxxxx/ XoopsModules/songlist/branches/ XoopsModules/soups/branches/ XoopsModules/soups/trunk/ XoopsModules/soups/trunk/soups/ XoopsModules/speedtest/branches/ XoopsModules/speedtest/trunk/ XoopsModules/speedtest/trunk/speedtest/ XoopsModules/spiders/branches/ XoopsModules/spiders/trunk/ XoopsModules/spiders/trunk/spiders/ XoopsModules/spotlight/trunk/spotlight/ XoopsModules/startup/branches/ XoopsModules/startup/trunk/startup/ XoopsModules/sticky/branches/ XoopsModules/sticky/trunk/ XoopsModules/sticky/trunk/sticky/ XoopsModules/tad_book3/trunk/tad_book3/ XoopsModules/tad_cbox/trunk/tad_cbox/ XoopsModules/tad_faq/trunk/tad_faq/ XoopsModules/tad_form/trunk/tad_form/ XoopsModules/tad_player/trunk/tad_player/ XoopsModules/tad_rss/trunk/tad_rss/ XoopsModules/tad_uploader/trunk/tad_uploader/ XoopsModules/tadgallery/trunk/tad_gallery/ XoopsModules/tadnews/trunk/tadnews/ XoopsModules/tag/trunk/tag/ XoopsModules/tbdev/branches/ XoopsModules/tbdev/trunk/ XoopsModules/tbdev/trunk/tbdev/ XoopsModules/thadmin/trunk/thadmin/ XoopsModules/translation/trunk/translation/ XoopsModules/twchat/branches/ XoopsModules/twchat/trunk/twchat/ XoopsModules/twitter/trunk/twitter/ XoopsModules/twitterbomb/branches/ XoopsModules/uitabs/branches/ XoopsModules/uitabs/trunk/ XoopsModules/uitabs/trunk/uitabs/ XoopsModules/umfrage/trunk/umfrage/ XoopsModules/userpage/trunk/userpage/ XoopsModules/videobyuser/trunk/videobyuser/ XoopsModules/videostream/trunk/videostream/ XoopsModules/vidshop/branches/ XoopsModules/vidshop/trunk/ XoopsModules/vidshop/trunk/vidshop/ XoopsModules/vjmixes/branches/ XoopsModules/vjmixes/trunk/ XoopsModules/vjmixes/trunk/vjmixes/ XoopsModules/vod/branches/ XoopsModules/webcams/branches/ XoopsModules/webcams/trunk/ XoopsModules/webcams/trunk/webcams/ XoopsModules/wfchannel/trunk/wfchannel/ XoopsModules/wfresource/trunk/wfresources/ XoopsModules/wordpress/trunk/wordpress/ XoopsModules/wsproject/trunk/wsproject/ XoopsModules/wurfl/branches/ XoopsModules/wurfl/trunk/ XoopsModules/wurfl/trunk/wurfl/ XoopsModules/xbooking/branches/ XoopsModules/xbooking/trunk/xbooking/ XoopsModules/xcenter/branches/ XoopsModules/xcurl/branches/ XoopsModules/xcurl/trunk/ XoopsModules/xcurl/trunk/xcurl/ XoopsModules/xdirectory/trunk/xdirectory/ XoopsModules/xdonations/trunk/xdonations/ XoopsModules/xforum/trunk/ XoopsModules/xforum/trunk/xforum/ XoopsModules/xhelp/trunk/ XoopsModules/xhelp/trunk/xhelp/ XoopsModules/xim/branches/ XoopsModules/xincodes/trunk/ XoopsModules/xincodes/trunk/xincodes/ XoopsModules/xinvite/branches/ XoopsModules/xinvite/trunk/ XoopsModules/xinvite/trunk/xinvite/ XoopsModules/xjson/branches/ XoopsModules/xjson/trunk/ XoopsModules/xjson/trunk/xjson/ XoopsModules/xmf/trunk/xmf/ XoopsModules/xmspotlight/trunk/xmspotlight/ XoopsModules/xoops-styles/branches/ XoopsModules/xoops-styles/releases/ XoopsModules/xoops-styles/trunk/xoops-styles/ XoopsModules/xoopscare/trunk/xoopscare/ XoopsModules/xoopsheadline/trunk/xoopsheadline/ XoopsModules/xoopspartners/trunk/xoopspartners/ XoopsModules/xoopspoll/trunk/xoopspoll/ XoopsModules/xortify/trunk/ XoopsModules/xortify/trunk/xortify/ XoopsModules/xpayment/branches/ XoopsModules/xpayment/trunk/ XoopsModules/xpayment/trunk/xpayment/ XoopsModules/xpetitions/branches/ XoopsModules/xpnews/branches/ XoopsModules/xpnews/trunk/ XoopsModules/xpnews/trunk/xpnews/ XoopsModules/xquiz/branches/ XoopsModules/xquiz/trunk/xquiz/ XoopsModules/xreaggregator/branches/ XoopsModules/xrest/branches/ XoopsModules/xrest/trunk/ XoopsModules/xrest/trunk/xrest/ XoopsModules/xserial/branches/ XoopsModules/xserial/trunk/ XoopsModules/xserial/trunk/xserial/ XoopsModules/xshop/trunk/xshop/ XoopsModules/xsitemap/trunk/xsitemap/ XoopsModules/xsoap/branches/ XoopsModules/xsoap/trunk/ XoopsModules/xsoap/trunk/xsoap/ XoopsModules/xtransam/trunk/ XoopsModules/xtransam/trunk/xtransam/ XoopsModules/xxml/branches/ XoopsModules/xxml/trunk/ XoopsModules/xxml/trunk/xxml/ XoopsModules/youtubestream/trunk/youtubestream/ XoopsModules/zentrack/branches/ XoopsModules/zentrack/trunk/ XoopsModules/zentrack/trunk/zentrack/ Removed Paths: ------------- XoopsModules/newbb xoops-newbb/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-14 17:27:30
|
Revision: 9323 http://xoops.svn.sourceforge.net/xoops/?rev=9323&view=rev Author: beckmi Date: 2012-04-14 17:27:20 +0000 (Sat, 14 Apr 2012) Log Message: ----------- Changing folder structure Added Paths: ----------- XoopsModules/indexscan/releases/2.13/ XoopsModules/indexscan/releases/2.13/indexscan/ XoopsModules/indexscan/releases/2.13/indexscan/admin/ XoopsModules/indexscan/releases/2.13/indexscan/admin/admin_header.php XoopsModules/indexscan/releases/2.13/indexscan/admin/alert.png XoopsModules/indexscan/releases/2.13/indexscan/admin/backup/ XoopsModules/indexscan/releases/2.13/indexscan/admin/backup/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/delete.png XoopsModules/indexscan/releases/2.13/indexscan/admin/delete_file.php XoopsModules/indexscan/releases/2.13/indexscan/admin/filecheck.txt XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/1/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/1/1/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/1/1/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/1/2/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/1/2/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/1/3/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/1/3/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/1/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/2/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/2/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/3/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/3/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/1/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/2/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/2/1/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/2/1/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/2/2/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/2/2/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/2/3/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/2/3/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/2/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/3/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/3/1/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/3/1/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/3/2/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/3/2/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/3/3/ XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/3/3/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/3/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/folder2backup/testing/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/html.png XoopsModules/indexscan/releases/2.13/indexscan/admin/index.php XoopsModules/indexscan/releases/2.13/indexscan/admin/js/ XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/ XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/clipboard.swf XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushCSharp.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushCpp.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushCss.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushDelphi.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushJScript.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushJava.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushPhp.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushPython.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushRuby.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushSql.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushVb.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shBrushXml.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Scripts/shCore.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Styles/ XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Styles/SyntaxHighlighter.css XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Styles/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/ XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushCSharp.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushCpp.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushCss.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushDelphi.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushJScript.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushJava.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushPhp.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushPython.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushRuby.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushSql.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushVb.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shBrushXml.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/Uncompressed/shCore.js XoopsModules/indexscan/releases/2.13/indexscan/admin/js/index.html XoopsModules/indexscan/releases/2.13/indexscan/admin/md5parser.php XoopsModules/indexscan/releases/2.13/indexscan/admin/menu.php XoopsModules/indexscan/releases/2.13/indexscan/admin/spinner.gif XoopsModules/indexscan/releases/2.13/indexscan/admin/verified.png XoopsModules/indexscan/releases/2.13/indexscan/changelog.txt XoopsModules/indexscan/releases/2.13/indexscan/class/ XoopsModules/indexscan/releases/2.13/indexscan/class/class.php XoopsModules/indexscan/releases/2.13/indexscan/class/index.html XoopsModules/indexscan/releases/2.13/indexscan/header.php XoopsModules/indexscan/releases/2.13/indexscan/index.html XoopsModules/indexscan/releases/2.13/indexscan/language/ XoopsModules/indexscan/releases/2.13/indexscan/language/danish/ XoopsModules/indexscan/releases/2.13/indexscan/language/danish/admin.php XoopsModules/indexscan/releases/2.13/indexscan/language/danish/index.html XoopsModules/indexscan/releases/2.13/indexscan/language/danish/modinfo.php XoopsModules/indexscan/releases/2.13/indexscan/language/english/ XoopsModules/indexscan/releases/2.13/indexscan/language/english/admin.php XoopsModules/indexscan/releases/2.13/indexscan/language/english/index.html XoopsModules/indexscan/releases/2.13/indexscan/language/english/modinfo.php XoopsModules/indexscan/releases/2.13/indexscan/language/french/ XoopsModules/indexscan/releases/2.13/indexscan/language/french/admin.php XoopsModules/indexscan/releases/2.13/indexscan/language/french/index.html XoopsModules/indexscan/releases/2.13/indexscan/language/french/modinfo.php XoopsModules/indexscan/releases/2.13/indexscan/language/french_iso/ XoopsModules/indexscan/releases/2.13/indexscan/language/french_iso/admin.php XoopsModules/indexscan/releases/2.13/indexscan/language/french_iso/index.html XoopsModules/indexscan/releases/2.13/indexscan/language/french_iso/modinfo.php XoopsModules/indexscan/releases/2.13/indexscan/language/french_utf8numerique/ XoopsModules/indexscan/releases/2.13/indexscan/language/french_utf8numerique/admin.php XoopsModules/indexscan/releases/2.13/indexscan/language/french_utf8numerique/index.html XoopsModules/indexscan/releases/2.13/indexscan/language/french_utf8numerique/modinfo.php XoopsModules/indexscan/releases/2.13/indexscan/language/index.html XoopsModules/indexscan/releases/2.13/indexscan/language/nederlands/ XoopsModules/indexscan/releases/2.13/indexscan/language/nederlands/admin.php XoopsModules/indexscan/releases/2.13/indexscan/language/nederlands/index.html XoopsModules/indexscan/releases/2.13/indexscan/language/nederlands/modinfo.php XoopsModules/indexscan/releases/2.13/indexscan/language/persian/ XoopsModules/indexscan/releases/2.13/indexscan/language/persian/admin.php XoopsModules/indexscan/releases/2.13/indexscan/language/persian/index.html XoopsModules/indexscan/releases/2.13/indexscan/language/persian/modinfo.php XoopsModules/indexscan/releases/2.13/indexscan/language/spanish/ XoopsModules/indexscan/releases/2.13/indexscan/language/spanish/admin.php XoopsModules/indexscan/releases/2.13/indexscan/language/spanish/index.html XoopsModules/indexscan/releases/2.13/indexscan/language/spanish/modinfo.php XoopsModules/indexscan/releases/2.13/indexscan/logo.png XoopsModules/indexscan/releases/2.13/indexscan/readme.txt XoopsModules/indexscan/releases/2.13/indexscan/xoops_version.php XoopsModules/indexscan/trunk/indexscan/admin/ XoopsModules/indexscan/trunk/indexscan/changelog.txt XoopsModules/indexscan/trunk/indexscan/header.php XoopsModules/indexscan/trunk/indexscan/index.html XoopsModules/indexscan/trunk/indexscan/language/ XoopsModules/indexscan/trunk/indexscan/logo.png XoopsModules/indexscan/trunk/indexscan/readme.txt XoopsModules/indexscan/trunk/indexscan/xoops_version.php Removed Paths: ------------- XoopsModules/indexscan/admin/ XoopsModules/indexscan/changelog.txt XoopsModules/indexscan/class/ XoopsModules/indexscan/header.php XoopsModules/indexscan/index.html XoopsModules/indexscan/language/ XoopsModules/indexscan/logo.png XoopsModules/indexscan/readme.txt XoopsModules/indexscan/trunk/admin/ XoopsModules/indexscan/trunk/changelog.txt XoopsModules/indexscan/trunk/header.php XoopsModules/indexscan/trunk/index.html XoopsModules/indexscan/trunk/language/ XoopsModules/indexscan/trunk/logo.png XoopsModules/indexscan/trunk/readme.txt XoopsModules/indexscan/trunk/xoops_version.php XoopsModules/indexscan/xoops_version.php Deleted: XoopsModules/indexscan/changelog.txt =================================================================== --- XoopsModules/indexscan/changelog.txt 2012-04-14 17:21:49 UTC (rev 9322) +++ XoopsModules/indexscan/changelog.txt 2012-04-14 17:27:20 UTC (rev 9323) @@ -1,134 +0,0 @@ - * - * Index Scan module - * - * Use this module to scan your web folders for missing index files. If any found - * you can create automaticly. - * - * The module uses a function to scan for files originally found on php.net examples - * but modified to suit the needs / standards of xoops 2.3.3 & php5. - * - * LICENSE - * - * 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. - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Michael Albertsen (culex) <http://www.culex.dk> - * @version $Id:readme.txt 2009-11-29 23:55 culex $ - * @since File available since Release 1.0.0 - * - - Index scan - ---------- - v1.0 Thursdag 9 july 2009 - 17:08 (GMT +1) - -- Changed function to create index.html, as it ignored index.php3. Now working - - V1.0 Saturday 5 September 2009 - 14.00 (gmt +1) - -- Added Persian Language to the module // Thanks to Voltan -- Descided to let the module go official. No errors or conserns has been reported during testing. - - - V1.0 Saturday 7 September 2009 - 15.55 (gmt +1) - -- Added French Language to the module // Thanks to kris_fr -- Added this line in language/modinfo.php -- // Thanks CJ - define("_MI_INDEXSCAN_CREATEINDEX", "Create index files"); - - V1.0 Saturday 12 September 2009 - 10.00 (gmt +1) - - Added dutch translation thanks to Reintjan - -IndexScan version 1.1 ---------------------- - -V1.1 Wednesday 16 September 2009 - 13:30 (gmt +1) - -- Added the ability to scan for use of Ifram in indexfiles // Credit to Ghia for this Idea -- Added Spanish translation // Thanks to DonCurioso at hispaxoops.com - -v1.1 thursday 17 september 2009 - 21:00 (gmt +1) - -- Indexscan included words with (header, mainfile and footer) in the iframe injection scan. - -v1.1 Friday 02 October 2009 - 21:30 (gmt +1) -- Changed xoops_version.php to show the correct release number 1.1 (thanks to Burning) -- Added a new and very cool logo for indexscan (million thanks again to Burning) - -IndexScan version 2.0 ---------------------- - -v2.0 friday 27 november 2009 - 13:28 (gmt +1) - -- Added searchword "fromCharCode" to search word in iframe scan, to look for encoded javascript includes -- Spiced the scanning up with some highlighting javascript + some jquery for the scan and messages with lazy load -- Excluded the modules/indexscan from the iframe scan. The description and functions contain multible iframe-words and thus always gets caught in the scan. -- new translations definitions in admin.php are - -// Added in 2.00 -define("_AM_INDEXSCAN_CHECKFORFILES","<tr class='header'><center><h2>Checking files for IFRAME Infection</h2></tr></center><center><small>Not that not all uses of Ifram is injections.<br>Check the code in the files found before you delete.<br><hr></small></center>"); -define("_AM_INDEXSCAN_UNABLETOREADFILE","Unable to open file "); -define("_AM_INDEXSCAN_INFECTED","!!Word IFRAME found!!"); -define("_AM_INDEXSCAN_CLEAN","OK"); -define("_AM_INDEXSCAN_INJECTIONSCAN","Scan for ifram injections"); - -//added in 2.01 -define("_AM_INDEXSCAN_SCANNING4MISS","<br>Looking for missin index files.<br>Please wait."); -define("_AM_INDEXSCAN_CREATINGMISS","<br>Creating missing index files.<br>Please wait."); -define("_AM_INDEXSCAN_SCANNING4IFRAME","<br>Looking for iframes and encoded javascript.<br>Please wait."); - - Default english translations have been added in all language files. Feel free to send me in your language so I can change to correct language. - -//added in 2.02 - -- Added the option in config to change the base of the starting point for the scans. To avoid users - having xoops_data, xoops_lib outside of the root, not having all folders scanned. -- Added a function to get the $xoopsModuleConfig (root) where global $xoopsModuleConfig not working in admin. -- New language defines are.: -//Added in 2.02 -define("_MI_INDEXSCAN_ROOTORSUB","Root or sub folder installation"); -define("_MI_INDEXSCAN_ROOTORSUB_DESC","Write here from where you want to start scanning<br/>'../../../' if your web is like 'www.myspace.com/mainfile,php'<br/>'../../../../' if it is like www.websted.dk/htdocs/mainfile.com"); - -IndexScan version 2.03 ---------------------- - -v2.1 Monday 18 January 2010 - 18:50 (gmt +1) - -- Added possibility to check files in webfolders against xoops check file and filter from Config. Filter separates extensions of files presumed to be ok. -- Files found in check files marked red are presumed not to be part of Xoops, and can be deleted by the 'delete icon' using ajax + jquery avoid reloading the page. -- Added the PclZip.Class to create zip file on the fly for users not having php > 5.20. -- Scan to create back up from the folders residing in the admin/folder2backup. The scan creates a copy of the empty folders, existing index.html, index.php, index.htm files, delete all other files, creates new indexfiles, and create link to download as zip. Handy when working with developing and want to create a zip with nothing but index files. - I tested with htdoc from Xoops 2.4.4 in a Wamp, creation time is aprox. 2 minutes. Not tested in real server yet, but time must be considerble. -- New language defines are - -(modinfo.php) - -//Added in 2.03 -define ("_MI_INDEXSCAN_ILLEGALFILETYPES", "Skip file types."); -define("_MI_INDEXSCAN_ILLEGALFILETYPES_DESC","Add files you wish to skip while 'checking files'.<br/>These files will be considered 'safe'<br/>if they also are listed in the file 'admin/filecheck.txt'."); -define("_MI_INDEXSCAN_FROMBACKUP", "Create file zip"); -define ("_MI_INDEXSCAN_FROMBACKUP_DESC", "Creates a zip archieve with same folder structure from the folder you ftp to folder2backup.<br/>The zip contains nothing but the folders and,<br/>index.html files where missing from<br/>your uploaded folder.<br/><br/>The folder name is the name of the folder in your folder2backup folder, for instance 'testing'.<br/>You can delete 'testing' this folder is only for example."); - -(admin.php) - -// Added in 2.03 - -define ("_AM_INDEXSCAN_CHECKILLEGALFILES","Check files"); -define ("_AM_INDEXSCAN_SCANNING4ILLEGALFILES", "Scanning web files"); -define("_AM_INDEXSCAN_MAYBEOK", "Looks to be ok"); -define ("_AM_INDEXSCAN_NOTINXOOPSINSTALL", "Not Xoops file"); -define ("_AM_INDEXSCAN_FINISDILLEGAL", " files found that are not Xoops files. Total files scanned: "); -define ("_AM_INDEXSCAN_ILLEGAL_DESC", "The file found Not to be Xoops files, are checked against checkfile.txt in admin folder, and agains files in config defined as allowed file types.<br/>These files could be unwanted tmp, thumbs.db, or info files.<br/>If you you dont need these files add them to automaticly delete in config and they will be deleted when you run this scan next time."); -define ("_AM_INDEXSCAN_REALLYDELETE", "Are you sure ?, delete file.: "); -define("_AM_INDEXSCAN_CREATEZIP", "Create zip file for download"); -define("_AM_INDEXSCAN_CREATINGZIP", "Creating backup with empty folders<br/>plus index files.<br/>"); -define("_AM_INDEXSCAN_BACKEDUPDELETEDFROMBACKUP", "Deleted files in folder from backup except index.html files"); -define("_AM_INDEXSCAN_BACKEDUP2", "Backed up folder.: "); -define("_AM_INDEXSCAN_DOWNLOADZIP", "Download index files zip"); -define("_AM_INDEXSCAN_CREATINGZIPFORDOWNLOAD", "Creating zip file for download"); -define("_AM_INDEXSCAN_CREATEDINDEXINBACKUP", "Created index file in backup folder"); -define("_AM_INDEXSCAN_CLEANUPDONE", "Cleaning up...Done!"); -define("_AM_INDEXSCAN_FILESARECOPIED", " Files were copied to backup folder"); -define("_AM_INDEXSCAN_FILESDELETED", " Files were deleted from backup folder again"); -define("_AM_INDEXSCAN_FILESCREATED", " Index.html files were created in backupfolder"); Deleted: XoopsModules/indexscan/header.php =================================================================== --- XoopsModules/indexscan/header.php 2012-04-14 17:21:49 UTC (rev 9322) +++ XoopsModules/indexscan/header.php 2012-04-14 17:27:20 UTC (rev 9323) @@ -1,25 +0,0 @@ -<?php -/** - * Index Scan module - * - * Use this module to scan your web folders for missing index files. If any found - * you can create automaticly. - * - * The module uses a function to scan for files originally found on php.net examples - * but modified to suit the needs / standards of xoops 2.3.3 & php5. - * - * LICENSE - * - * 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. - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Michael Albertsen (culex) <http://www.culex.dk> - * @version $Id:header.php 2009-07-09 11:46 culex $ - * @since File available since Release 1.0.0 - */ - -include '../../mainfile.php'; -?> \ No newline at end of file Deleted: XoopsModules/indexscan/index.html =================================================================== --- XoopsModules/indexscan/index.html 2012-04-14 17:21:49 UTC (rev 9322) +++ XoopsModules/indexscan/index.html 2012-04-14 17:27:20 UTC (rev 9323) @@ -1 +0,0 @@ -<script>history.go(-1);</script> \ No newline at end of file Deleted: XoopsModules/indexscan/logo.png =================================================================== (Binary files differ) Deleted: XoopsModules/indexscan/readme.txt =================================================================== --- XoopsModules/indexscan/readme.txt 2012-04-14 17:21:49 UTC (rev 9322) +++ XoopsModules/indexscan/readme.txt 2012-04-14 17:27:20 UTC (rev 9323) @@ -1,63 +0,0 @@ - * - * Index Scan module - * - * Use this module to scan your web folders for missing index files. If any found - * you can create automaticly. - * - * The module uses a function to scan for files originally found on php.net examples - * but modified to suit the needs / standards of xoops 2.3.3 & php5. - * - * LICENSE - * - * 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. - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Michael Albertsen (culex) <http://www.culex.dk> - * @version $Id:readme.txt 2009-11-29 23:55 culex $ - * @since File available since Release 1.0.0 - * - - Index scan - ---------- - -/////////////////////////////////////////////////////////////////////////////////////////////// - -Why use index.html files ? - -Unless the webmaster disallows casual folder browsing on the web server, most of the contents of each folder can be listed in a browser pointing to that Internet address. This concept is easily demonstrable by typing most any website address into the address bar of an Internet browser and simply adding a forward-slash and this folder name to the address: - -images - -If the images folder of the website navigated to is not protected, a listing of all the files in the folder will be displayed. Any of the files in the resulting display may be right-clicked on and the 'save as' option taken in order to save that file to a hard drive. In most cases websites will have an images folder, and this folder will not ususually be protected from casual browsing. If so, the entire contents of the images folder will be accessible to the public at large. - -Depending upon file types, the files in an unprotected web folder may or may not be accessible; .php, .asp, and .aspx files are not accessible although .gif, .jpg, .bmp, .png, and other image files are fully accessible. Additionally, without folder protection in place, a hacker can make use of configuration files as well, such as config.inc and that could be where the websites database connection strings are held! Therefore, the database itself could become compromised. - -Source:Easy Website Security -//////////////////////////////////////////////////////////////////////////////// - - - This is a small module to scan your server folders for missing index.html files. If missing you can create. - - The module obviously does not have a place in the frontpage main menu, but can only be accessed through administration as admin. - - The module is testet with FF, Opera, and IE8 and checks out fine with all. - - Should you discover any errors or is it not operating as intented please send email to cu...@cu.... - .... - -The modules scans your webfolders for missing index.html files. It skips folders where there are already indexfiles (index.php, index.html, index.html). If you find folders without you can automaticly create these by pressing "create index files". - -The module looks through the txt in your index.php, index.html, index.htm, mainfile.php, headers and footers for the words iframe or fromCharCode wich is commonly used in coded javascript inserts. - -Should it find some occurencies of these words you can yourself check the source code by clicking the red bar emmerging at the line for the file. Do not check the files just because the module finds these words in your pages. Not all uses of iframe and javascript is equal to damaging code and therefor better to check and if in doubt ask for help about what to do with these files. - -The module can scan your webfolders to show in a list. Any file not proving according to a filecheck and filter set in config is show as 'Not Xoops File' and can be deleted on the fly using ajax + jquery. - -It creates a backup from your files using only the folder structure and existing index files. Where missing index files it will create new and offer this folder as zipped download. - - -/culex - \ No newline at end of file Added: XoopsModules/indexscan/releases/2.13/indexscan/admin/admin_header.php =================================================================== --- XoopsModules/indexscan/releases/2.13/indexscan/admin/admin_header.php (rev 0) +++ XoopsModules/indexscan/releases/2.13/indexscan/admin/admin_header.php 2012-04-14 17:27:20 UTC (rev 9323) @@ -0,0 +1,45 @@ +<?php +/** + * Index Scan module + * + * Use this module to scan your web folders for missing index files. If any found + * you can create automaticly. + * + * The module uses a function to scan for files originally found on php.net examples + * but modified to suit the needs / standards of xoops 2.3.3 & php5. + * + * LICENSE + * + * 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. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @author Michael Albertsen (culex) <http://www.culex.dk> + * @version $Id:admin_header.php 2009-07-09 11:42 culex $ + * @since File available since Release 1.0.0 + */ + include '../../../mainfile.php'; + include_once XOOPS_ROOT_PATH.'/class/xoopsmodule.php'; + include XOOPS_ROOT_PATH.'/include/cp_functions.php'; + if ( $xoopsUser ) { + $xoopsModule = XoopsModule::getByDirname("indexscan"); + + if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) { + redirect_header(XOOPS_URL."/",2,_NOPERM); + exit(); + } + } + else { + redirect_header(XOOPS_URL."/",2,_NOPERM); + exit(); + } + + if ( file_exists("../language/".$xoopsConfig['language']."/admin.php") ) { + include("../language/".$xoopsConfig['language']."/admin.php"); + } + else { + include("../language/english/admin.php"); + } +?> \ No newline at end of file Added: XoopsModules/indexscan/releases/2.13/indexscan/admin/alert.png =================================================================== (Binary files differ) Property changes on: XoopsModules/indexscan/releases/2.13/indexscan/admin/alert.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/indexscan/releases/2.13/indexscan/admin/backup/index.html =================================================================== --- XoopsModules/indexscan/releases/2.13/indexscan/admin/backup/index.html (rev 0) +++ XoopsModules/indexscan/releases/2.13/indexscan/admin/backup/index.html 2012-04-14 17:27:20 UTC (rev 9323) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/indexscan/releases/2.13/indexscan/admin/delete.png =================================================================== (Binary files differ) Property changes on: XoopsModules/indexscan/releases/2.13/indexscan/admin/delete.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/indexscan/releases/2.13/indexscan/admin/delete_file.php =================================================================== --- XoopsModules/indexscan/releases/2.13/indexscan/admin/delete_file.php (rev 0) +++ XoopsModules/indexscan/releases/2.13/indexscan/admin/delete_file.php 2012-04-14 17:27:20 UTC (rev 9323) @@ -0,0 +1,15 @@ +<?php + +//check admin +include_once ('admin_header.php'); +if(isset($_POST['indexscan_deletefile'])) { + if(isset($_POST['id'])) { + $id = $_POST['id']; + // deletefile goes here + //chown(XOOPS_ROOT_PATH.DIRECTORY_SEPARATOR.$id,666); + unlink($id); + } +} + + +?> \ No newline at end of file Added: XoopsModules/indexscan/releases/2.13/indexscan/admin/filecheck.txt =================================================================== --- XoopsModules/indexscan/releases/2.13/indexscan/admin/filecheck.txt (rev 0) +++ XoopsModules/indexscan/releases/2.13/indexscan/admin/filecheck.txt 2012-04-14 17:27:20 UTC (rev 9323) @@ -0,0 +1,4190 @@ +admin.php:c193394e238b58f03e774decee3db27c +backend.php:3b72e21fa3f1353853111ae6840a7265 +banners.php:9b6e9b248497c17f8f00691d9eb9fe33 +browse.php:a2c5f56ce593527f62ec1631cbf6749a +edituser.php:2d4f1ec0cffe90708feac3ca837d99f3 +favicon.ico:9187f6607b402df8bbc2aeb69a07bbca +footer.php:84beecefacaf6ea0b8c555fd26ef1766 +header.php:d200ebd659be3c3611c60694e9b70519 +image.php:f1b34001645e1905a84f43186afb22b1 +imagemanager.php:8edbdf243e7a5321b43b80fbaf66714a +index.php:6424e2886f9469dc557d8357e0b0d9a5 +lostpass.php:0ea1ae786cbea60086cf805dae8049ae +mainfile.dist.php:006418026e58cebb0b52e697469285b3 +misc.php:30978a81e8f5fe9edecd78cf5c5d1a90 +notifications.php:97965a4c2143b44a9031dbbc5b835b51 +pda.php:644e4c668e69a69b0a72caf118133f00 +pmlite.php:899a0ee79f5b3ad6ecfbea431e6ca9e0 +readpmsg.php:cfb5fc753c0a4cadcfa51c57ca9f7dd2 +register.php:c3f477acb40dcdfb9a43844ed74d498e +robots.txt:117129dc086e5e2502be53521849aa1a +search.php:8c47745a6423a480f815503db94317e4 +user.php:aeda72c5e36e195e8be0e21ae1548341 +userinfo.php:09c55a4f5ac853aa4550286c0764230d +viewpmsg.php:5b67a9fbb1aaac9fd9e0cc95e07ee7e6 +xmlrpc.php:b01015c39ee7c09034a7d28b7cf9a97a +xoops.css:07cfd0de740fd4b1604724200f098bbb +Frameworks/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +Frameworks/readme.txt:d080c46b43c61c498ea53b591052d302 +Frameworks/art/changelog.txt:4ac275028bd6d9bae84cfbf4ee03ef1c +Frameworks/art/functions.admin.php:6c93870d381c856b65416c5d2b8e4e3f +Frameworks/art/functions.cache.php:d58044b6e705567672e64cd4083af6a8 +Frameworks/art/functions.config.php:7ff9edf09e9ddadf5349d72cb69b7183 +Frameworks/art/functions.ini.php:56ae3a3602787f5f700e3c0d306d9566 +Frameworks/art/functions.locale.php:918ba72eb7fcfb7eec6e13ba69dd8d09 +Frameworks/art/functions.php:a3065089a9dffcd520b2a208b42bb34b +Frameworks/art/functions.user.php:ec61d57bc453afd7bd4a3d85c928f3b2 +Frameworks/art/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +Frameworks/art/object.php:23a77d98229a8d7280cc86a9716aa997 +Frameworks/art/xoops_version.php:c5078301577baf04df64b44adae58aab +Frameworks/art/xoopsart.php:0000e4bb679c4eb5df4d86f506489a22 +Frameworks/compat/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +Frameworks/compat/include/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +Frameworks/compat/include/left_both.gif:b10fb639da6f77c74ca29b467bf97b80 +Frameworks/compat/include/modadminbg.gif:1a0709573a209c443f9264f5385bafd3 +Frameworks/compat/include/right_both.gif:e481d74be4a5a99ce37b95e7cdfdd5ca +class/class.tar.php:f50338f7c4ae1a2e53a1a3a5cdd7593c +class/class.zipfile.php:35381b9ab89db902d17cfb93e50a341a +class/commentrenderer.php:af1cff184ac8542513cc56e735a8c0fc +class/criteria.php:ada9fb0ff78c4c843c35a21215f420f7 +class/downloader.php:b728edbe63e21dbc7b2140f588ee5653 +class/errorhandler.php:e4249024c0d8d69e2ed4c4005b7bf8b2 +class/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/logger.php:f895670a111534fd94721380c1d84126 +class/logger_render.php:8471d153ed6574b570441071a7d36386 +class/mimetypes.inc.php:e2ba33ddfa9a7a76da6822b05d9e79e8 +class/module.errorhandler.php:ebda02bac76cf3ea0808845e2915b0ba +class/module.textsanitizer.php:3e61f8f7bd1f26f434253d8b7f5379d2 +class/pagenav.php:93091698dd4e79a5973fa25870e4809b +class/preload.php:0cd1eeb5fff0e474a028b7e9db4d7f02 +class/snoopy.php:e91dfddf1b0517ebc09ef9537757bfe8 +class/tardownloader.php:f667dc3cfeb30351116e2979be1a3e37 +class/template.php:94941090ad7ff6bc217a3f17fe54b866 +class/theme.php:cd869b5a576c8853ff529e687fab5351 +class/theme_blocks.php:9c954347ed07c5f67176e2eb06b12099 +class/tree.php:6ae708cbe2b6e9044613d1be5c7362af +class/uploader.php:4257f08daf0da1683405ecdd6849aa66 +class/userutility.php:998e7495e81a9933f0165ad74870d8e7 +class/xoopsblock.php:1d69fef5b7add727af3247643df6d4e3 +class/xoopscomments.php:d0a833c14957c2b92c58b3ca6f72f4a8 +class/xoopsformloader.php:f8f3c896dd7a52bbf5cabebfb3a38181 +class/xoopskernel.php:395f613fd151b83cc60cdff904aad0b3 +class/xoopslists.php:be27f2ecbae37792f8276378a92ce707 +class/xoopsload.php:35992dcf3340a70ae15fbde05c6135d7 +class/xoopslocal.php:2162a90e2f95eea46d15774377216661 +class/xoopsmailer.php:3395462007319d2653b8911ec0ebf8f5 +class/xoopsmodule.php:ad9c93a6c63e3d43fe733e5b209aefcb +class/xoopsobject.php:8919050a6b8fa3bf8999c99ee0b728d5 +class/xoopssecurity.php:b07022d16e1804406e11e73fbfa19213 +class/xoopsstory.php:9b0622dc8f0454ca4337e76c02af5bf1 +class/xoopstopic.php:5cbfd6660bd2015511d7e0872f82a709 +class/xoopstree.php:f8edca105d2149d61afd0d0063da38f8 +class/xoopsuser.php:95a17c18cd8585c9f11d16c44ad242ee +class/zipdownloader.php:8ae0d144be2063c47bedd37ac8bf8009 +class/auth/auth.php:21446bf4f6fee1693f0b6ff60041ca38 +class/auth/auth_ads.php:8a381a09ba014bf4e09daad9611ce449 +class/auth/auth_ldap.php:b3d066047a4a781aebc8fbc302ee97ba +class/auth/auth_provisionning.php:c396c579e7332c36e7d6baa68d609909 +class/auth/auth_xoops.php:cc23aa568b136749ca1cfb1f0aca355c +class/auth/authfactory.php:6768682c207157d2c716091d10940fcc +class/auth/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/cache/apc.php:0dd27aebad489e1cc6ef46323c3a3abe +class/cache/file.php:e7823e15ed0810cd3f3a886c28994d2b +class/cache/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/cache/memcache.php:4a580e7367cc2f84c73e07f7b61a6e32 +class/cache/model.php:c4f84d9802b3b2827d4e5d8f905614e4 +class/cache/xcache.php:a2067a85c2c83efff803eaab5b7387fb +class/cache/xoopscache.php:a7181c8e4cb60e805826aabd7422187d +class/calendar/config.JSCal2.php:97df11f9d3e5281e70fe03e7d2e1b474 +class/calendar/config.php:7933174062726d649b39614f30b4b796 +class/calendar/index.html:d41d8cd98f00b204e9800998ecf8427e +class/calendar/xoopscalendar.php:ea1535ac5b0b9b41f02c5cd9786acb7f +class/calendar/JSCal2/JSCal2.php:640a02413aca5939e7fcb92f15d06bc1 +class/calendar/JSCal2/index.html:d41d8cd98f00b204e9800998ecf8427e +class/calendar/JSCal2/JSCal2/demopage.css:1a8c3063c6e66f97b58ef99773180804 +class/calendar/JSCal2/JSCal2/index.html:3da91225bb2822e4246248ba5966e214 +class/calendar/JSCal2/JSCal2/demo/dateInfo.html:31824a619632d128aaddaf3ab37fe573 +class/calendar/JSCal2/JSCal2/demo/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/calendar/JSCal2/JSCal2/demo/multipleFields.html:ff88527eaae0e7009f4b32c7042ce729 +class/calendar/JSCal2/JSCal2/demo/populateFields.html:44a67bad8d401759e0b502ba78bddf30 +class/calendar/JSCal2/JSCal2/demo/rangeSelection.html:5397f4fc67d5f86290140d841b143fc1 +class/calendar/JSCal2/JSCal2/src/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/calendar/JSCal2/JSCal2/src/css/border-radius.css:e1c43ed3bb63b8e9e5f04b5437c603ba +class/calendar/JSCal2/JSCal2/src/css/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/calendar/JSCal2/JSCal2/src/css/jscal2.css:746226e91d04fa932b8f44a65ad13063 +class/calendar/JSCal2/JSCal2/src/css/reduce-spacing.css:f57f540970ee50da19282c3bcb02bf16 +class/calendar/JSCal2/JSCal2/src/css/shadow-b.png:c7bdb5f97348c7f7d221524a86e4d8e3 +class/calendar/JSCal2/JSCal2/src/css/gold/brushed-steel.jpg:fde695b4c57e97f1a478356838273b2c +class/calendar/JSCal2/JSCal2/src/css/gold/coolbg.png:4015189f4330227dd679476274ead794 +class/calendar/JSCal2/JSCal2/src/css/gold/gold.css:d6573237d6a8ca233a2f9ac473d1e704 +class/calendar/JSCal2/JSCal2/src/css/gold/gold.jpg:4ad4be6265e62ca7503785b12dfea4d0 +class/calendar/JSCal2/JSCal2/src/css/gold/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/calendar/JSCal2/JSCal2/src/css/img/cool-bg-hard-inv.png:38aa471eb01ccbe1c35f446510bc16f7 +class/calendar/JSCal2/JSCal2/src/css/img/cool-bg-hard.png:f779b71906528a718323612f162caf87 +class/calendar/JSCal2/JSCal2/src/css/img/cool-bg-inv.png:9b34869bafdb5886dc810bd5f576dced +class/calendar/JSCal2/JSCal2/src/css/img/cool-bg.png:efff6266de6994ce73ae49eb67768fce +class/calendar/JSCal2/JSCal2/src/css/img/drop-down.gif:c442fe15371a68409c40d6c27e5f2590 +class/calendar/JSCal2/JSCal2/src/css/img/drop-up.gif:e2b5e667987d74ec23cefc21d7eb2536 +class/calendar/JSCal2/JSCal2/src/css/img/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/calendar/JSCal2/JSCal2/src/css/img/nav-left-x2.gif:b27f14b7ae2bfbb13e7a9b5abaf2d2d6 +class/calendar/JSCal2/JSCal2/src/css/img/nav-left.gif:c6e3ed0c0b69b22e2e76038adbc8177a +class/calendar/JSCal2/JSCal2/src/css/img/nav-right-x2.gif:328ab630fa2f4ba5c90121fd528c6a50 +class/calendar/JSCal2/JSCal2/src/css/img/nav-right.gif:b9bc88e4614c2516f8aba9cf83a0bc22 +class/calendar/JSCal2/JSCal2/src/css/img/time-down.png:e90c921fd875016f2c0fa67a1bd869e5 +class/calendar/JSCal2/JSCal2/src/css/img/time-up.png:ed96617a1d985a71452a46eea08e8b61 +class/calendar/JSCal2/JSCal2/src/css/matrix/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/calendar/JSCal2/JSCal2/src/css/matrix/matrix.css:07df99c92de49f800d594aa4ad643c9c +class/calendar/JSCal2/JSCal2/src/css/matrix/nav-left-x2.gif:5616c519b858782f3f54eac460efec2f +class/calendar/JSCal2/JSCal2/src/css/matrix/nav-left.gif:d0b0e6154862775a01bff11640aff067 +class/calendar/JSCal2/JSCal2/src/css/matrix/nav-right-x2.gif:ec2d7ed4a509bb53ca18c01bb491aa77 +class/calendar/JSCal2/JSCal2/src/css/matrix/nav-right.gif:30ddedd983887e84d578562de23f63ac +class/calendar/JSCal2/JSCal2/src/css/steel/brushed-steel.jpg:5507bf8f1dc46e9d6dbac4be3bf2406b +class/calendar/JSCal2/JSCal2/src/css/steel/brushed-steel.png:d9da02494b33c68fa6acc673ef19544b +class/calendar/JSCal2/JSCal2/src/css/steel/coolbg.png:24bcb1f84930591731954b0ff31efcbd +class/calendar/JSCal2/JSCal2/src/css/steel/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/calendar/JSCal2/JSCal2/src/css/steel/steel.css:9341bcde1ef055b14f209c5faa21884d +class/calendar/JSCal2/JSCal2/src/css/steel/steel.jpg:ba78195165a9e6cf47262a41de781b96 +class/calendar/JSCal2/JSCal2/src/css/win2k/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/calendar/JSCal2/JSCal2/src/css/win2k/win2k.css:71964d9a1907520da1e8a401fc7d81cd +class/calendar/JSCal2/JSCal2/src/js/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/calendar/JSCal2/JSCal2/src/js/jscal2.js:e13fb8c704b016155a744d3b854efe0d +class/calendar/JSCal2/JSCal2/src/js/lang/cn.js:42669fa86af55dd914661837ab6fee88 +class/calendar/JSCal2/JSCal2/src/js/lang/cz.js:308d4419264637ed5f898ed255aae46d +class/calendar/JSCal2/JSCal2/src/js/lang/de.js:4ad514ea41a64589f8805a67bbc42e17 +class/calendar/JSCal2/JSCal2/src/js/lang/en.js:4f5b06ac74bf0b55fea291de1d7a7d6f +class/calendar/JSCal2/JSCal2/src/js/lang/es.js:9a2fad68821adfe89440a04e5e2dcd61 +class/calendar/JSCal2/JSCal2/src/js/lang/fr.js:5f1e94a25ea6bfad801d6562189a0238 +class/calendar/JSCal2/JSCal2/src/js/lang/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/calendar/JSCal2/JSCal2/src/js/lang/it.js:1802fbabb960a8d39a3ecafcf57146a7 +class/calendar/JSCal2/JSCal2/src/js/lang/jp.js:376e43196e92200aacb463ae757997b6 +class/calendar/JSCal2/JSCal2/src/js/lang/pl.js:b526a577f556f2db31984afec3ba4488 +class/calendar/JSCal2/JSCal2/src/js/lang/pt.js:1fe54545e981da31ef4cafedc595bfde +class/calendar/JSCal2/JSCal2/src/js/lang/ro.js:ed5a93d085c48f56eb3f15512fceacce +class/calendar/JSCal2/JSCal2/src/js/lang/ru.js:a825ddf5cb7eb9ae42626416d80019d4 +class/calendar/JSCal2/language/english.php:98f2a7533044ea2cc0259c653d9fd1bb +class/calendar/JSCal2/language/french.php:4e4997f957833450f44a6f9def04be2e +class/calendar/JSCal2/language/index.html:d41d8cd98f00b204e9800998ecf8427e +class/calendar/images/calendar.png:8621bdb5710c912a673aecf08d31f667 +class/calendar/images/index.html:d41d8cd98f00b204e9800998ecf8427e +class/captcha/config.image.php:1eac3dd7ef8e2f55db8770927ae49369 +class/captcha/config.php:062b0fd8b71914bdeb7b6dcbcf7c3fee +class/captcha/image.php:cab31d6e54717a90d57ae29b624fdec1 +class/captcha/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/captcha/text.php:2054e5b38d013ac7cb300c42a3e89b98 +class/captcha/xoopscaptcha.php:790a9ed49e8958ab431799dc858ef6f2 +class/captcha/image/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/captcha/image/backgrounds/background00.png:fb3581763a966200f0a5499822410aeb +class/captcha/image/backgrounds/background01.png:72d6ff99b591465bec168f069762b489 +class/captcha/image/backgrounds/background02.png:f006f365be6408815741723a6d595e52 +class/captcha/image/backgrounds/background03.png:2b6885d88327608a9baefde307d373c1 +class/captcha/image/backgrounds/background04.png:d3871ec9bd5c2e03e7b696b33f605ff0 +class/captcha/image/backgrounds/background05.png:669c4570010b452708390f24edd87239 +class/captcha/image/backgrounds/background06.png:29d65b8a1462fe2da10830c67cf60b3d +class/captcha/image/backgrounds/background07.png:37177ce79aa9fb2150c952c6b3870a3d +class/captcha/image/backgrounds/background08.png:af16477968880c749d268361ce190cc4 +class/captcha/image/backgrounds/background09.png:535b4bcffa2ffbd15a90ed7fc01cb1bd +class/captcha/image/backgrounds/background10.png:5eae69d1e10d013f0208241f876c3a6a +class/captcha/image/backgrounds/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/captcha/image/fonts/Vera.ttf:e50d402efa0e7d83d07d064088e0d0ab +class/captcha/image/fonts/VeraBI.ttf:b9b6db54431fd943c22a27043c83fd5b +class/captcha/image/fonts/VeraBd.ttf:5ada93df9cacdc6a4e75927aea636f40 +class/captcha/image/fonts/VeraIt.ttf:2112ee99b77d473def185d4e9ee8e26d +class/captcha/image/fonts/VeraMoBI.ttf:d05149f93d1a51b589f17461e3088a91 +class/captcha/image/fonts/VeraMoBd.ttf:0da96c353f37ddd3450400af9ab4286e +class/captcha/image/fonts/VeraMoIt.ttf:838f5ac0d1903e8d52f37fa6c3d57f1e +class/captcha/image/fonts/VeraMono.ttf:a2a43ee17707a4a0fdacdec819cc0f48 +class/captcha/image/fonts/VeraSe.ttf:8dbf7077c09caa5d7aa0dfa4aae46cc8 +class/captcha/image/fonts/index.html:d4d788249d08e2e8b07210aa65cb614d +class/captcha/image/fonts/verasebd.ttf:2670b47693fb67f37acb1f5f387ebd41 +class/captcha/image/scripts/image.php:1c63a6ab35d1679e6af531712079f51f +class/captcha/image/scripts/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/database/database.php:c4ce762f022c407148fe65fc63105958 +class/database/databasefactory.php:ef54c917df2a4821d64da6ac75008e1e +class/database/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/database/mysqldatabase.php:891c5056a252513b9bced49fe076fa4b +class/database/sqlutility.php:299e9b7368bd26f70bfbaa7da9108e69 +class/file/file.php:3274fa78e816266468683f374d134217 +class/file/folder.php:f1861e8fa126262f43c8da2c0b43de1a +class/file/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/file/xoopsfile.php:cdbe70f3552821b56c17db2433a5472f +class/logger/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/logger/render.php:e6a3c0758befa45f1b3eb6418413e0a5 +class/logger/xoopslogger.php:1727ac44ac4609c96da3eb1befda3de9 +class/mail/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/mail/xoopsmultimailer.php:a2579cc79d4fb5b5828be891e88676b4 +class/mail/phpmailer/ChangeLog.txt:2b88e3d938757c0cf9e6c9e0a2793f81 +class/mail/phpmailer/LICENSE:278f2557e3b277b94e9a8430f6a6d0a9 +class/mail/phpmailer/README:0514b72ef12227b75790617d54cdf43d +class/mail/phpmailer/class.phpmailer.php:b5f62d2f8dd968d15d8356f28dde24bb +class/mail/phpmailer/class.pop3.php:581a3e0795f05ace32915c794d154901 +class/mail/phpmailer/class.smtp.php:9f7c9d822994970376988396ce1848e2 +class/mail/phpmailer/codeworxtech.html:42a2cf1c75c8a4b38ce04b3eab59ab52 +class/mail/phpmailer/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/mail/phpmailer/language/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/mail/phpmailer/language/phpmailer.lang-ar.php:5f9541eae90f32669ba9b131e9076ddb +class/mail/phpmailer/language/phpmailer.lang-br.php:10959c25f9a712fc6f2af040268167c5 +class/mail/phpmailer/language/phpmailer.lang-ca.php:fd5cf56c9fd9289566fb07ed69ba6846 +class/mail/phpmailer/language/phpmailer.lang-cz.php:b58bfccb03f7fde1a990adf3ed5960d9 +class/mail/phpmailer/language/phpmailer.lang-de.php:4a854d75653357354e1cd091c955e2f0 +class/mail/phpmailer/language/phpmailer.lang-dk.php:a9a395c1857d4d2c816023130793dacb +class/mail/phpmailer/language/phpmailer.lang-en.php:7ff797303960fb258da42a495d8c74a9 +class/mail/phpmailer/language/phpmailer.lang-es.php:cca51f2fbce090fd693a1dc61415cb5d +class/mail/phpmailer/language/phpmailer.lang-et.php:1951b0646aab7a3298a71d303d27bbd6 +class/mail/phpmailer/language/phpmailer.lang-fi.php:423111a316c9359f266fbfb93567690b +class/mail/phpmailer/language/phpmailer.lang-fo.php:50a2481c946f70977efd5282db86192e +class/mail/phpmailer/language/phpmailer.lang-fr.php:9c36efd30cb623f438f021ab63dd3ed3 +class/mail/phpmailer/language/phpmailer.lang-hu.php:6c5980341213b20981450c50da070802 +class/mail/phpmailer/language/phpmailer.lang-it.php:93a60662d109eeddda1cf911a8503d2f +class/mail/phpmailer/language/phpmailer.lang-ja.php:6f9eb63106e972b7ff9f9d605f88030f +class/mail/phpmailer/language/phpmailer.lang-nl.php:f16deb5ae7099cbb655df0dfefb266ea +class/mail/phpmailer/language/phpmailer.lang-no.php:0ba3da5cc39844b3c52c15eb25bff87d +class/mail/phpmailer/language/phpmailer.lang-pl.php:c852a96bc91277a20c583334e413e7f3 +class/mail/phpmailer/language/phpmailer.lang-ro.php:3a71314885266365662a94fdfcce4db6 +class/mail/phpmailer/language/phpmailer.lang-ru.php:d6cab73dfe93f6098601ff670a8c050a +class/mail/phpmailer/language/phpmailer.lang-se.php:e0d8fff18a2dc8a2474646294045e465 +class/mail/phpmailer/language/phpmailer.lang-tr.php:d534d8209d8425138f497ef45f73b003 +class/model/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/model/joint.php:b98e92302bdd9bd954b51fbc5d8610ff +class/model/read.php:c2dfe24c403488cd39110ee418fa56ec +class/model/stats.php:7fc48aac5977fdcf3d0629aabc499b5d +class/model/sync.php:1bd09ce9432938cccc2abd743f3f9c25 +class/model/write.php:f769dabb983ed6dc402194e5976648bb +class/model/xoopsmodel.php:5c87e42c259ce0e7e2e3765320d3ab4d +class/smarty/Config_File.class.php:24da84eb3ba1c7a800ed0920dcbb5890 +class/smarty/Smarty.class.php:25f58d302dc0b8cac1a9d0bc45438e18 +class/smarty/Smarty_Compiler.class.php:28223e843aaed456755ea1d1c0df7ea7 +class/smarty/debug.tpl:def6c6e062941c8b2986f9f977b26307 +class/smarty/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/smarty/configs/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/smarty/configs/test.conf:2f99e2310b1dd4a254c594c49549d9d2 +class/smarty/internals/core.assemble_plugin_filepath.php:c98832bd718c94629c732b5d4c2980cb +class/smarty/internals/core.assign_smarty_interface.php:4c2dd142c1c59e101b2f60cfc7a7cdc2 +class/smarty/internals/core.create_dir_structure.php:a12f6e4653dc814369202e0ed57206b0 +class/smarty/internals/core.display_debug_console.php:297b9baf349e7f32e8e815612e823e3c +class/smarty/internals/core.get_include_path.php:ba78ea6d4112d4325b00e4b8101497c6 +class/smarty/internals/core.get_microtime.php:72eb40e8367f77f0bd251e15a5bd4f5f +class/smarty/internals/core.get_php_resource.php:e0fccd538d6f0ed8915d39cc2f9dd860 +class/smarty/internals/core.is_secure.php:7ea83dd65e64bc0bc893d44096ec61e0 +class/smarty/internals/core.is_trusted.php:83e22de7a251fef6a033769b35989bf6 +class/smarty/internals/core.load_plugins.php:d60028c542ec06749cd2d381bc07d0c2 +class/smarty/internals/core.load_resource_plugin.php:08d531fb688eed7253b316b11436e512 +class/smarty/internals/core.process_cached_inserts.php:2a846ebfec89211b7090149052374059 +class/smarty/internals/core.process_compiled_include.php:95e1308976578925f2e57b1aa8d716bf +class/smarty/internals/core.read_cache_file.php:e7de28f374768f8b319687a34e226c80 +class/smarty/internals/core.rm_auto.php:8834d9e9a8aa8473244d74096638b5c2 +class/smarty/internals/core.rmdir.php:08209df8f3113b0d8322bcac3b5e055b +class/smarty/internals/core.run_insert_handler.php:f6452eb1f0f65cf3b07634228ea4c938 +class/smarty/internals/core.smarty_include_php.php:0d87e492eb18ec8b4fa492f2ac34c163 +class/smarty/internals/core.write_cache_file.php:a000f4e24379b7dcc05603b2ad91c789 +class/smarty/internals/core.write_compiled_include.php:ff7944e8092eaf7c2ee97d865df29788 +class/smarty/internals/core.write_compiled_resource.php:caa79e832d4587991606dd9a0988c852 +class/smarty/internals/core.write_file.php:23f99e19895028592cff61325b6ed0b1 +class/smarty/internals/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/smarty/plugins/block.textformat.php:f4e1cc15997ff132066f5e4e09e92054 +class/smarty/plugins/compiler.assign.php:b4f1eb6f5a8cde9dbec9f5fb1ccb108c +class/smarty/plugins/function.assign_debug_info.php:0abdfebfea185a7b1a727d9546e244be +class/smarty/plugins/function.config_load.php:fa6466c59cab6333c64ac270dd6c53b1 +class/smarty/plugins/function.counter.php:9531e844efd007c593dadd6173cb0bbd +class/smarty/plugins/function.cycle.php:db7b2e51bd5e26f93032929dcb2d531b +class/smarty/plugins/function.debug.php:4963d564da17a2578fc5f56d9c53e7bc +class/smarty/plugins/function.eval.php:3fedd0e2a4c285200c12fe6427bc2739 +class/smarty/plugins/function.fetch.php:51259f99b6554fa1a6a60013a5e7880a +class/smarty/plugins/function.html_checkboxes.php:a05460918e36fd9ef66d955754868a3e +class/smarty/plugins/function.html_image.php:de11daabe07795fe4229b8d0185489dd +class/smarty/plugins/function.html_options.php:b634076ab0424a5b8310ff733c5615a6 +class/smarty/plugins/function.html_radios.php:6a00315efe8f8202823ade3bf3e6e513 +class/smarty/plugins/function.html_select_date.php:ad1d200bf750d98379cfc5507eac681d +class/smarty/plugins/function.html_select_time.php:ac7c160c72b293e6509840a5aba9a429 +class/smarty/plugins/function.html_table.php:d7ade8af24efeb33f852bef185004521 +class/smarty/plugins/function.mailto.php:03b5b66b3c6221c34b0d27c030dc7b60 +class/smarty/plugins/function.math.php:6cfac881d33e586406551b19296d8154 +class/smarty/plugins/function.popup.php:1e8b78080d08a386ba297c0dbb7c3a7b +class/smarty/plugins/function.popup_init.php:b2353a42807535109e1f037c0d51f19c +class/smarty/plugins/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/smarty/plugins/modifier.capitalize.php:70f58c49c5bd2851be11a3d67a92d2a4 +class/smarty/plugins/modifier.cat.php:9dbc6c2d6d78165d9d0ffae481509b6a +class/smarty/plugins/modifier.count_characters.php:91694b84f8b86aa551ff49ced16dbd11 +class/smarty/plugins/modifier.count_paragraphs.php:c64e0f47b6435424a7bf9647eed06c1e +class/smarty/plugins/modifier.count_sentences.php:c22e43e96e6ecd34cc18bc5235d59337 +class/smarty/plugins/modifier.count_words.php:073467c9ea7434647bb9ff27fe09183b +class/smarty/plugins/modifier.date_format.php:5d57183abba166f670d0b8649086f516 +class/smarty/plugins/modifier.debug_print_var.php:083998f71b350e0f2bea5b46477680c2 +class/smarty/plugins/modifier.default.php:11c16bd6f7dde6d576d7f93433652925 +class/smarty/plugins/modifier.escape.php:3bd0b2464f2fe8e2688da39079d84190 +class/smarty/plugins/modifier.indent.php:ea1f5db88c00e850c3968e434eadb074 +class/smarty/plugins/modifier.lower.php:5520933762ceac07d49e658c52587279 +class/smarty/plugins/modifier.nl2br.php:1d16b98e8ec34aac69f0827fab1dc999 +class/smarty/plugins/modifier.regex_replace.php:f3ae42b7cb1bb85e22084c5d94ccb420 +class/smarty/plugins/modifier.replace.php:b7d144b301a878c3015f9ba96b1922c6 +class/smarty/plugins/modifier.spacify.php:66993120ab60306acd278a327c5af448 +class/smarty/plugins/modifier.string_format.php:401048107fc62eecf175d2a0ab997161 +class/smarty/plugins/modifier.strip.php:b1281f77297db8c1e50bc1fd883ebd78 +class/smarty/plugins/modifier.strip_tags.php:481144a581e2d56a2182add2e09c5641 +class/smarty/plugins/modifier.truncate.php:da35c3d0a2dfc9ea11c32b3a10246aa7 +class/smarty/plugins/modifier.upper.php:0ef0e9784273f5d5384f34ad303bd15e +class/smarty/plugins/modifier.wordwrap.php:b80bdf801ac29e3aa4662a0428b676e4 +class/smarty/plugins/outputfilter.trimwhitespace.php:ac1de570fd1361b24090ffce22b218e0 +class/smarty/plugins/shared.escape_special_chars.php:2f7221015323ba27d2ed5ae20450fa0d +class/smarty/plugins/shared.make_timestamp.php:29ffe6553da8fda72147a12273105e10 +class/smarty/xoops_plugins/compiler.foreachq.php:096a9e1b2df8fe70cbbab3bb1ad8e1f8 +class/smarty/xoops_plugins/compiler.includeq.php:aeef17fb0b544e49a5d2c7add381d165 +class/smarty/xoops_plugins/compiler.xoAppUrl.php:b2d5eadb1363de66f9446aeb00c7998f +class/smarty/xoops_plugins/compiler.xoImgUrl.php:cfd27f91bc207f81c9e7c9255ba02499 +class/smarty/xoops_plugins/function.xoInboxCount.php:9157191288719ed735350796fe1ff133 +class/smarty/xoops_plugins/function.xoPageNav.php:6e6564f42a8b50514289d498344d588b +class/smarty/xoops_plugins/function.xoops_link.php:a0788aae42d7984d10b34ba279706121 +class/smarty/xoops_plugins/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/smarty/xoops_plugins/modifier.debug_print_var.php:1b2fb131f4eea2975d22a987565c21b3 +class/smarty/xoops_plugins/resource.db.php:a6531c9a08115a66dd51192b17b91918 +class/textsanitizer/config.custom.php:8b443e793cbb4dbb8344a27c9f121ca5 +class/textsanitizer/config.php:612501ecbfa06a223a250c2a5a37e79c +class/textsanitizer/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/readme.txt:e7b608494028163261d699d4834d1d85 +class/textsanitizer/censor/censor.php:df0ab3782a1523b8587a0269146b45dd +class/textsanitizer/censor/config.php:7d3c977ef2e260599af9d3735e2de683 +class/textsanitizer/censor/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/flash/config.php:da11252ba48d230eecd86b0a394974ae +class/textsanitizer/flash/flash.php:65ac1a5e5e036ebff8544bf83e27fb88 +class/textsanitizer/flash/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/iframe/iframe.php:85d903d87a2da221b733dd2d8a87c8ed +class/textsanitizer/iframe/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/image/config.php:301553cb835e20a07f566bbaaad6f2ab +class/textsanitizer/image/image.js:72b090fe9a4e8e0cd6abb1edc08b2d0d +class/textsanitizer/image/image.php:410a1fb7fba71e78c3183e64b03b0ff2 +class/textsanitizer/image/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/li/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/li/li.php:ada3851b843eb7f664d26beb573ad68a +class/textsanitizer/mms/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/mms/mms.php:5491da53f21218634c841c78afe3764c +class/textsanitizer/mp3/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/mp3/mp3.php:75d31bdb05846a639c96098eb6109f76 +class/textsanitizer/rtsp/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/rtsp/rtsp.php:3b7e0d6b7ec3c46d38fe5ca39c49de0a +class/textsanitizer/syntaxhighlight/config.php:f1b58d75378cb3f4adc941d5ff21eb79 +class/textsanitizer/syntaxhighlight/geshi.php:db689a79ae59b0f259d5eb31080ac867 +class/textsanitizer/syntaxhighlight/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/syntaxhighlight/syntaxhighlight.php:51deec0f5b9934f867e18083cb9332e1 +class/textsanitizer/textfilter/config.php:040408c2ab6563dba7bfe9994159b475 +class/textsanitizer/textfilter/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/textfilter/textfilter.php:bfe1537781a927bbb570d4550e026de6 +class/textsanitizer/ul/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/ul/ul.php:b185bdf22451752bfe30f92177b7d83b +class/textsanitizer/wiki/config.php:6b4a0f3386c14597b0d1178f644c868c +class/textsanitizer/wiki/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/wiki/wiki.php:2e82d86bb8043e5c2350a7c5b263eaf6 +class/textsanitizer/wmp/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/wmp/wmp.php:f60fb04bb508630765a26f7c79d7bf87 +class/textsanitizer/youtube/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/textsanitizer/youtube/youtube.php:5d6ca2d4a0bbb3489272cdab5dd450ad +class/utility/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/utility/xoopsutility.php:22f62398b92f791cfd40134f00441aa1 +class/xml/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/xml/saxparser.php:df3fcea8a75b6f12e7a6bf8afe461c72 +class/xml/themesetparser.php:b993eb35b7f6edea899b9c4562bb43c0 +class/xml/xmltaghandler.php:b41ee6bc967d214e8551370fd2471cd7 +class/xml/rpc/bloggerapi.php:461a27720a7230938a697237ee33182c +class/xml/rpc/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/xml/rpc/metaweblogapi.php:1cad7a5679a1c52ed7ec3ca284bfb778 +class/xml/rpc/movabletypeapi.php:16024fab4c3a14af1546d46fbee54dc0 +class/xml/rpc/xmlrpcapi.php:05404eee87673d77cf187e3696d1c349 +class/xml/rpc/xmlrpcparser.php:2e84eb75c97a5858ab0ac9ff5edfdb84 +class/xml/rpc/xmlrpctag.php:ed45035c83609e427f28395c74a433cd +class/xml/rpc/xoopsapi.php:11d727947cfffede6e39166fce768d59 +class/xml/rss/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/xml/rss/xmlrss2parser.php:31c9a32f22962d1b1caf979319ac460c +class/xoopseditor/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/xoopseditor/readme.txt:dda1b5e7554c16267470d965e1afc64f +class/xoopseditor/sampleform.inc.php:7bbeeb72c9f9a8190470495c4c7b2899 +class/xoopseditor/xoopseditor.inc.php:2cba7ff69be3e9ace4dcc4754d451a14 +class/xoopseditor/xoopseditor.php:6c31db2f99eec30bf6995c79593d0b77 +class/xoopseditor/ckeditor/ckeditor.php:a1b348dd8b472967685a52c125704bb0 +class/xoopseditor/ckeditor/editor_registry.php:be5171831ad7cc4a0b34f8425c75d7cc +class/xoopseditor/ckeditor/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/xoopseditor/ckeditor/ckeditor/CHANGES.html:af05f338cddcf1a64a86a6fb3a083e29 +class/xoopseditor/ckeditor/ckeditor/INSTALL.html:9ffc3b35ef31e2e4d4f8515383cd8661 +class/xoopseditor/ckeditor/ckeditor/LICENSE.html:e34df5d8ce9a53e2a724d6518b041df9 +class/xoopseditor/ckeditor/ckeditor/ckeditor.js:7d8eaffcfe8d68086ca3221d51e31400 +class/xoopseditor/ckeditor/ckeditor/ckeditor.pack:963a27aa99da2e8c269287ff956a74a7 +class/xoopseditor/ckeditor/ckeditor/ckeditor_basic.js:c19f14f19e428a43f11c0192387508b3 +class/xoopseditor/ckeditor/ckeditor/ckeditor_basic_source.js:7ca0e47aeb557c69c4bee224b7257243 +class/xoopseditor/ckeditor/ckeditor/ckeditor_source.js:fe251fd3207300766797cddaebdbf5df +class/xoopseditor/ckeditor/ckeditor/config.js:7601b1ca5c6ca97b560abe8d68796ac7 +class/xoopseditor/ckeditor/ckeditor/contents.css:84321bf29fed4cfb4df70d66659e227e +class/xoopseditor/ckeditor/ckeditor/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/xoopseditor/ckeditor/ckeditor/images/index.html:e1aedf4e788d40c9dbb4f2520f8feffd +class/xoopseditor/ckeditor/ckeditor/images/spacer.gif:df3e567d6f16d040326c7a0ea29a4f41 +class/xoopseditor/ckeditor/ckeditor/lang/_languages.js:736926044a0106759a1820212e220fc8 +class/xoopseditor/ckeditor/ckeditor/lang/_translationstatus.txt:d5cf0bfa96fd7b28f597e7620defdb38 +class/xoopseditor/ckeditor/ckeditor/lang/af.js:82bf176d981607ec731bae9b3fd2e61f +class/xoopseditor/ckeditor/ckeditor/lang/ar.js:49ec8f3f7389a7e11af00718dac14ea3 +class/xoopseditor/ckeditor/ckeditor/lang/bg.js:d5225c879629b76dc745f2a16b1cee66 +class/xoopseditor/ckeditor/ckeditor/lang/bn.js:676a98fc3b28bc72c9543c92c031f65c +class/xoopseditor/ckeditor/ckeditor/lang/bs.js:3b97174fcc694196a07cf6cdf059a1f3 +class/xoopseditor/ckeditor/ckeditor/lang/ca.js:d236b7842ecf8617c8f218ec09b28b3b +class/xoopseditor/ckeditor/ckeditor/lang/cs.js:61182fb8142c7b5... [truncated message content] |
From: <be...@us...> - 2012-04-14 17:21:55
|
Revision: 9322 http://xoops.svn.sourceforge.net/xoops/?rev=9322&view=rev Author: beckmi Date: 2012-04-14 17:21:49 +0000 (Sat, 14 Apr 2012) Log Message: ----------- Adding missing index.html files Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example_dependency/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/profile/images/actions/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/protector/language/english/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/protector/language/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/css/ui/south-street/images/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/css/ui/south-street/index.html Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/index.html 2012-04-14 17:21:49 UTC (rev 9322) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example_dependency/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example_dependency/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example_dependency/index.html 2012-04-14 17:21:49 UTC (rev 9322) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/profile/images/actions/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/profile/images/actions/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/profile/images/actions/index.html 2012-04-14 17:21:49 UTC (rev 9322) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/protector/language/english/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/protector/language/english/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/protector/language/english/index.html 2012-04-14 17:21:49 UTC (rev 9322) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/protector/language/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/protector/language/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/protector/language/index.html 2012-04-14 17:21:49 UTC (rev 9322) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/css/ui/south-street/images/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/css/ui/south-street/images/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/css/ui/south-street/images/index.html 2012-04-14 17:21:49 UTC (rev 9322) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/css/ui/south-street/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/css/ui/south-street/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/css/ui/south-street/index.html 2012-04-14 17:21:49 UTC (rev 9322) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-14 17:07:44
|
Revision: 9321 http://xoops.svn.sourceforge.net/xoops/?rev=9321&view=rev Author: beckmi Date: 2012-04-14 17:07:38 +0000 (Sat, 14 Apr 2012) Log Message: ----------- Changing folder structure Added Paths: ----------- XoopsModules/indexscan/branches/ XoopsModules/indexscan/releases/ XoopsModules/indexscan/trunk/indexscan/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-14 16:32:56
|
Revision: 9320 http://xoops.svn.sourceforge.net/xoops/?rev=9320&view=rev Author: beckmi Date: 2012-04-14 16:32:46 +0000 (Sat, 14 Apr 2012) Log Message: ----------- Converting to Unix line breaks Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagemanager.php XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/xoopsmlcontent.php XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopsform/formselectcheckgroup.php XoopsCore/branches/2.5.x/2.5.5/htdocs/language/english/backend.php XoopsCore/branches/2.5.x/2.5.5/htdocs/language/english/captcha.php XoopsCore/branches/2.5.x/2.5.5/htdocs/language/english/mail.php XoopsCore/branches/2.5.x/2.5.5/htdocs/language/english/misc.php XoopsCore/branches/2.5.x/2.5.5/htdocs/language/english/notification.php XoopsCore/branches/2.5.x/2.5.5/htdocs/language/english/search.php XoopsCore/branches/2.5.x/2.5.5/htdocs/language/english/timezone.php XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/protector/admin/advisory.php XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/protector/admin/prefix_manager.php XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/help.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/fr_utf8/admin.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/fr_utf8/main.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/fr_utf8/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/french/admin.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/french/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/persian/admin.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/persian/main.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/persian/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/portuguesebr/admin.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/portuguesebr/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Ident.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/Clone.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/Nofollow.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/TargetBlank.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ChildDef/List.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Iframe.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Nofollow.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/TargetBlank.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Injector/RemoveSpansWithoutAttributes.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/URIFilter/DisableResources.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/URIFilter/SafeIframe.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/URIScheme/data.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/URIScheme/file.php Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php 2012-04-13 16:10:12 UTC (rev 9319) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/xoopsemotions.php 2012-04-14 16:32:46 UTC (rev 9320) @@ -1,198 +1,198 @@ -<?php -/** - * Xoopsemotions plugin for tinymce - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package class / xoopseditor - * @subpackage tinymce / xoops plugins - * @since 2.3.0 - * @author ralf57 - * @author luciorota <luc...@gm...> - * @author Laurent JEN <du...@fr...> - * @version $Id: xoopsemotions.php 8066 2011-11-06 05:09:33Z beckmi $ - */ - - -// load mainfile.php - start -$current_path = dirname(__FILE__); -if ( DIRECTORY_SEPARATOR != "/" ) { - $current_path = str_replace( DIRECTORY_SEPARATOR, "/", $current_path); -} -$xoops_root_path = substr($current_path, 0, strpos(strtolower($current_path), "/class/xoopseditor/tinymce/")); -include_once $xoops_root_path . "/mainfile.php"; -if (!defined("XOOPS_ROOT_PATH")) { die("XOOPS root path not defined"); } -// load mainfile.php - end - -// get current filename -$current_file = basename(__FILE__); - -// load language definitions -xoops_loadLanguage("admin", "system"); -xoops_loadLanguage("admin/smilies", "system"); -xoops_loadLanguage("misc"); - -// include system category definitions - start -include_once XOOPS_ROOT_PATH."/modules/system/constants.php"; - -// check user/group -$groups = is_object( $GLOBALS["xoopsUser"] ) ? $GLOBALS["xoopsUser"]->getGroups() : array( XOOPS_GROUP_ANONYMOUS ); -$gperm_handler =& xoops_gethandler('groupperm'); -$admin = $gperm_handler->checkRight( 'system_admin', XOOPS_SYSTEM_SMILE, $groups ); - -$op = ''; -if (!empty($_GET['op'])) { - $op = trim( $_GET['op'] ); -} elseif (!empty($_POST['op'])) { - $op = trim( $_POST['op'] ); -} - -$myts =& MyTextSanitizer::getInstance(); - -if ( $admin && $op == 'SmilesAdd' ) { - if (!$GLOBALS['xoopsSecurity']->check()) { - redirect_header($current_file, 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); - } - $db =& XoopsDatabaseFactory::getDatabaseConnection(); - include_once XOOPS_ROOT_PATH.'/class/uploader.php'; - $uploader = new XoopsMediaUploader(XOOPS_UPLOAD_PATH, array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png'), 100000, 120, 120); - $uploader->setPrefix('smil'); - if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { - if (!$uploader->upload()) { - $err = $uploader->getErrors(); - } else { - $smile_url = $uploader->getSavedFileName(); - $smile_code = $myts->stripSlashesGPC($_POST['smile_code']); - $smile_desc = $myts->stripSlashesGPC($_POST['smile_desc']); - $smile_display = intval($_POST['smile_display']) > 0 ? 1 : 0; - $newid = $db->genId($db->prefix('smilies')."_id_seq"); - $sql = sprintf("INSERT INTO %s (id, code, smile_url, emotion, display) VALUES (%d, %s, %s, %s, %d)", $db->prefix('smiles'), $newid, $db->quoteString($smile_code), $db->quoteString($smile_url), $db->quoteString($smile_desc), $smile_display); - if (!$db->query($sql)) { - $err = 'Failed storing smiley data into the database'; - } - } - } else { - $err = $uploader->getErrors(); - } - if (!isset($err)) { - unset($_SESSION['XoopsEmotions']); - unset($_SESSION['XoopsEmotions_expire']); - redirect_header($current_file,2,_AM_DBUPDATED); - } else { - redirect_header($current_file, 3, xoops_error($err) ); - } -} - -$time = time(); -if ( !isset( $_SESSION['XoopsEmotions'] ) && @$_SESSION['XoopsEmotions_expire'] < $time ) { - $_SESSION['XoopsEmotions'] = $myts->getSmileys(); - $_SESSION['XoopsEmotions_expire'] = $time + 300; -} - -//xoops_header(false); -echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'; -echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . _LANGCODE . '" lang="' . _LANGCODE . '">'; -echo '<head>'; -echo '<meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" />'; -echo '<meta http-equiv="content-language" content="' . _LANGCODE . '" />'; -?> -<head> - <title>{#xoopsemotions_dlg.title}</title> - <script type="text/javascript" src="../../tiny_mce_popup.js"></script> - <script type="text/javascript" src="../../utils/mctabs.js"></script> - <script type="text/javascript" src="../../utils/form_utils.js"></script> - <script type="text/javascript" src="../../utils/validate.js"></script> - <script type="text/javascript" src="js/xoopsemotions.js"></script> - <link href="<?php echo xoops_getcss($xoopsConfig['theme_set']); ?>" rel="stylesheet" type="text/css" /> - <link href="css/xoopsemotions.css" rel="stylesheet" type="text/css" /> - <base target="_self" /> -</head> -<body> - -<?php -if ( !$_SESSION['XoopsEmotions'] && !$admin) { - echo "<div class='xoopsEmotions'>"; - echo "<div>{#xoopsemotions_dlg.error_noemotions}</div>"; - echo "</div>"; - echo "<div class='mceActionPanel floatright'>"; - echo "<input type='button' id='cancel' name='cancel' value='{#cancel}' onclick='tinyMCEPopup.close();' />"; - echo "</div>"; - xoops_footer(); - exit(); -} -?> - -<div class="tabs"> - <ul> - <li id="tab_emotionsbrowser" class="current"><span><a href="javascript:mcTabs.displayTab('tab_emotionsbrowser','emotionsbrowser_panel');" onmousedown="return false;">{#xoopsemotions_dlg.tab_emotionsbrowser}</a></span></li> - <?php - if ($admin) { - echo '<li id="tab_emotionsadmin"><span><a href="javascript:mcTabs.displayTab(\'tab_emotionsadmin\',\'emotionsadmin_panel\');" onmousedown="return false;">{#xoopsemotions_dlg.tab_emotionsadmin}</a></span></li>'; - } - ?> - </ul> -</div> - -<div class="panel_wrapper"> - <div id="emotionsbrowser_panel" class="panel current" style="overflow:auto;"> - <?php - if ( $smiles = $_SESSION['XoopsEmotions'] ) { - echo "<div><strong>" . _MSC_CLICKASMILIE . "</strong></div>"; - echo "<div class='xoopsEmotions'>"; - $count = count($smiles); - - for ($i = 0; $i < $count; $i++) { - if ( $op == '' ) { - if ( $smiles[$i]['display'] ) { - echo '<img class="xoopsEmotions" onclick="XoopsemotionsDialog.insert(this);" src="' . XOOPS_UPLOAD_URL . '/' . $smiles[$i]['smile_url'] . '" alt="' . $myts->htmlspecialchars($smiles[$i]['emotion']) . '" title="' . $myts->htmlspecialchars($smiles[$i]['emotion']) . '" />'; - } - } else { - echo '<img class="xoopsEmotions" onclick="XoopsemotionsDialog.insert(this);" src="' . XOOPS_UPLOAD_URL . '/' . $smiles[$i]['smile_url'] . '" alt="' . $myts->htmlspecialchars($smiles[$i]['emotion']) . '" title="' . $myts->htmlspecialchars($smiles[$i]['emotion']) . '" />'; - } - } - if ( $op == '' ) { - echo '<div class="xoopsEmotions">'; - echo '<a class="xoopsEmotions" href="' . $current_file . '?op=' . _MORE . '">' . _MORE . '</a>'; - echo '</div>'; - } - echo "</div>"; - } else { - echo "<div>{#xoopsemotions_dlg.error_noemotions}</div>"; - } - ?> - <div class="mceActionPanel floatright"> - <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> - </div> - </div> - - <div id="emotionsadmin_panel" class="panel" style="overflow:auto;"> - <?php - if ($admin) { - include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; - - $smile_form = new XoopsThemeForm(_AM_ADDSMILE, 'smileform', $current_file, 'post', true); - $smile_form->setExtra('enctype="multipart/form-data"'); - $smile_form->addElement(new XoopsFormText(_AM_SMILECODE, 'smile_code', 26, 25, ''), true); - $smile_form->addElement(new XoopsFormText(_AM_SMILEEMOTION, 'smile_desc', 26, 25, ''), true); - $smile_select = new XoopsFormFile('', 'smile_url', 5000000); - $smile_label = new XoopsFormLabel('', '<img src="'.XOOPS_UPLOAD_URL.'/blank.gif" alt="" />'); - $smile_tray = new XoopsFormElementTray(_IMAGEFILE.':', ' '); - $smile_tray->addElement($smile_select); - $smile_tray->addElement($smile_label); - $smile_form->addElement($smile_tray); - $smile_form->addElement(new XoopsFormRadioYN(_AM_DISPLAYF, 'smile_display', 1)); - $smile_form->addElement(new XoopsFormHidden('id', '')); - $smile_form->addElement(new XoopsFormHidden('op', 'SmilesAdd')); - $smile_form->addElement(new XoopsFormHidden('fct', 'smilies')); - $smile_form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); - - $smile_form->display(); - } - ?> - <div class="mceActionPanel floatright"> - <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> - </div> - </div> - -</div> +<?php +/** + * Xoopsemotions plugin for tinymce + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package class / xoopseditor + * @subpackage tinymce / xoops plugins + * @since 2.3.0 + * @author ralf57 + * @author luciorota <luc...@gm...> + * @author Laurent JEN <du...@fr...> + * @version $Id: xoopsemotions.php 8066 2011-11-06 05:09:33Z beckmi $ + */ + + +// load mainfile.php - start +$current_path = dirname(__FILE__); +if ( DIRECTORY_SEPARATOR != "/" ) { + $current_path = str_replace( DIRECTORY_SEPARATOR, "/", $current_path); +} +$xoops_root_path = substr($current_path, 0, strpos(strtolower($current_path), "/class/xoopseditor/tinymce/")); +include_once $xoops_root_path . "/mainfile.php"; +if (!defined("XOOPS_ROOT_PATH")) { die("XOOPS root path not defined"); } +// load mainfile.php - end + +// get current filename +$current_file = basename(__FILE__); + +// load language definitions +xoops_loadLanguage("admin", "system"); +xoops_loadLanguage("admin/smilies", "system"); +xoops_loadLanguage("misc"); + +// include system category definitions - start +include_once XOOPS_ROOT_PATH."/modules/system/constants.php"; + +// check user/group +$groups = is_object( $GLOBALS["xoopsUser"] ) ? $GLOBALS["xoopsUser"]->getGroups() : array( XOOPS_GROUP_ANONYMOUS ); +$gperm_handler =& xoops_gethandler('groupperm'); +$admin = $gperm_handler->checkRight( 'system_admin', XOOPS_SYSTEM_SMILE, $groups ); + +$op = ''; +if (!empty($_GET['op'])) { + $op = trim( $_GET['op'] ); +} elseif (!empty($_POST['op'])) { + $op = trim( $_POST['op'] ); +} + +$myts =& MyTextSanitizer::getInstance(); + +if ( $admin && $op == 'SmilesAdd' ) { + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header($current_file, 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + include_once XOOPS_ROOT_PATH.'/class/uploader.php'; + $uploader = new XoopsMediaUploader(XOOPS_UPLOAD_PATH, array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png'), 100000, 120, 120); + $uploader->setPrefix('smil'); + if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { + if (!$uploader->upload()) { + $err = $uploader->getErrors(); + } else { + $smile_url = $uploader->getSavedFileName(); + $smile_code = $myts->stripSlashesGPC($_POST['smile_code']); + $smile_desc = $myts->stripSlashesGPC($_POST['smile_desc']); + $smile_display = intval($_POST['smile_display']) > 0 ? 1 : 0; + $newid = $db->genId($db->prefix('smilies')."_id_seq"); + $sql = sprintf("INSERT INTO %s (id, code, smile_url, emotion, display) VALUES (%d, %s, %s, %s, %d)", $db->prefix('smiles'), $newid, $db->quoteString($smile_code), $db->quoteString($smile_url), $db->quoteString($smile_desc), $smile_display); + if (!$db->query($sql)) { + $err = 'Failed storing smiley data into the database'; + } + } + } else { + $err = $uploader->getErrors(); + } + if (!isset($err)) { + unset($_SESSION['XoopsEmotions']); + unset($_SESSION['XoopsEmotions_expire']); + redirect_header($current_file,2,_AM_DBUPDATED); + } else { + redirect_header($current_file, 3, xoops_error($err) ); + } +} + +$time = time(); +if ( !isset( $_SESSION['XoopsEmotions'] ) && @$_SESSION['XoopsEmotions_expire'] < $time ) { + $_SESSION['XoopsEmotions'] = $myts->getSmileys(); + $_SESSION['XoopsEmotions_expire'] = $time + 300; +} + +//xoops_header(false); +echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'; +echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . _LANGCODE . '" lang="' . _LANGCODE . '">'; +echo '<head>'; +echo '<meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" />'; +echo '<meta http-equiv="content-language" content="' . _LANGCODE . '" />'; +?> +<head> + <title>{#xoopsemotions_dlg.title}</title> + <script type="text/javascript" src="../../tiny_mce_popup.js"></script> + <script type="text/javascript" src="../../utils/mctabs.js"></script> + <script type="text/javascript" src="../../utils/form_utils.js"></script> + <script type="text/javascript" src="../../utils/validate.js"></script> + <script type="text/javascript" src="js/xoopsemotions.js"></script> + <link href="<?php echo xoops_getcss($xoopsConfig['theme_set']); ?>" rel="stylesheet" type="text/css" /> + <link href="css/xoopsemotions.css" rel="stylesheet" type="text/css" /> + <base target="_self" /> +</head> +<body> + +<?php +if ( !$_SESSION['XoopsEmotions'] && !$admin) { + echo "<div class='xoopsEmotions'>"; + echo "<div>{#xoopsemotions_dlg.error_noemotions}</div>"; + echo "</div>"; + echo "<div class='mceActionPanel floatright'>"; + echo "<input type='button' id='cancel' name='cancel' value='{#cancel}' onclick='tinyMCEPopup.close();' />"; + echo "</div>"; + xoops_footer(); + exit(); +} +?> + +<div class="tabs"> + <ul> + <li id="tab_emotionsbrowser" class="current"><span><a href="javascript:mcTabs.displayTab('tab_emotionsbrowser','emotionsbrowser_panel');" onmousedown="return false;">{#xoopsemotions_dlg.tab_emotionsbrowser}</a></span></li> + <?php + if ($admin) { + echo '<li id="tab_emotionsadmin"><span><a href="javascript:mcTabs.displayTab(\'tab_emotionsadmin\',\'emotionsadmin_panel\');" onmousedown="return false;">{#xoopsemotions_dlg.tab_emotionsadmin}</a></span></li>'; + } + ?> + </ul> +</div> + +<div class="panel_wrapper"> + <div id="emotionsbrowser_panel" class="panel current" style="overflow:auto;"> + <?php + if ( $smiles = $_SESSION['XoopsEmotions'] ) { + echo "<div><strong>" . _MSC_CLICKASMILIE . "</strong></div>"; + echo "<div class='xoopsEmotions'>"; + $count = count($smiles); + + for ($i = 0; $i < $count; $i++) { + if ( $op == '' ) { + if ( $smiles[$i]['display'] ) { + echo '<img class="xoopsEmotions" onclick="XoopsemotionsDialog.insert(this);" src="' . XOOPS_UPLOAD_URL . '/' . $smiles[$i]['smile_url'] . '" alt="' . $myts->htmlspecialchars($smiles[$i]['emotion']) . '" title="' . $myts->htmlspecialchars($smiles[$i]['emotion']) . '" />'; + } + } else { + echo '<img class="xoopsEmotions" onclick="XoopsemotionsDialog.insert(this);" src="' . XOOPS_UPLOAD_URL . '/' . $smiles[$i]['smile_url'] . '" alt="' . $myts->htmlspecialchars($smiles[$i]['emotion']) . '" title="' . $myts->htmlspecialchars($smiles[$i]['emotion']) . '" />'; + } + } + if ( $op == '' ) { + echo '<div class="xoopsEmotions">'; + echo '<a class="xoopsEmotions" href="' . $current_file . '?op=' . _MORE . '">' . _MORE . '</a>'; + echo '</div>'; + } + echo "</div>"; + } else { + echo "<div>{#xoopsemotions_dlg.error_noemotions}</div>"; + } + ?> + <div class="mceActionPanel floatright"> + <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> + </div> + </div> + + <div id="emotionsadmin_panel" class="panel" style="overflow:auto;"> + <?php + if ($admin) { + include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; + + $smile_form = new XoopsThemeForm(_AM_ADDSMILE, 'smileform', $current_file, 'post', true); + $smile_form->setExtra('enctype="multipart/form-data"'); + $smile_form->addElement(new XoopsFormText(_AM_SMILECODE, 'smile_code', 26, 25, ''), true); + $smile_form->addElement(new XoopsFormText(_AM_SMILEEMOTION, 'smile_desc', 26, 25, ''), true); + $smile_select = new XoopsFormFile('', 'smile_url', 5000000); + $smile_label = new XoopsFormLabel('', '<img src="'.XOOPS_UPLOAD_URL.'/blank.gif" alt="" />'); + $smile_tray = new XoopsFormElementTray(_IMAGEFILE.':', ' '); + $smile_tray->addElement($smile_select); + $smile_tray->addElement($smile_label); + $smile_form->addElement($smile_tray); + $smile_form->addElement(new XoopsFormRadioYN(_AM_DISPLAYF, 'smile_display', 1)); + $smile_form->addElement(new XoopsFormHidden('id', '')); + $smile_form->addElement(new XoopsFormHidden('op', 'SmilesAdd')); + $smile_form->addElement(new XoopsFormHidden('fct', 'smilies')); + $smile_form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); + + $smile_form->display(); + } + ?> + <div class="mceActionPanel floatright"> + <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> + </div> + </div> + +</div> <?php xoops_footer(); ?> \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php 2012-04-13 16:10:12 UTC (rev 9319) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php 2012-04-14 16:32:46 UTC (rev 9320) @@ -1,637 +1,637 @@ -<?php -/** - * Xoopsemotions plugin for tinymce - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package class / xoopseditor - * @subpackage tinymce / xoops plugins - * @since 2.3.0 - * @author ralf57 - * @author luciorota <luc...@gm...> - * @author Laurent JEN <du...@fr...> - * @version $Id: xoopsimagebrowser.php 8066 2011-11-06 05:09:33Z beckmi $ - */ - -// load mainfile.php -$current_path = dirname(__FILE__); -if ( DIRECTORY_SEPARATOR != "/" ) { - $current_path = str_replace( DIRECTORY_SEPARATOR, "/", $current_path); -} -$xoops_root_path = substr($current_path, 0, strpos(strtolower($current_path), "/class/xoopseditor/tinymce/")); -include_once $xoops_root_path . "/mainfile.php"; -if (!defined("XOOPS_ROOT_PATH")) exit(); - -/** - * This code was moved to the top to avoid overriding variables that do not come from post - */ -$op = "list"; // default -if (isset($_POST)) { - foreach ( $_POST as $k => $v ) { - ${$k} = $v; - } -} - -// get current filename -$current_file = basename(__FILE__); - -// load language definitions -xoops_loadLanguage("admin", "system"); -xoops_loadLanguage("/admin/images", "system"); - - -// include -xoops_load( "xoopsformloader" ); -xoops_load( "xoopsmodule" ); -include_once XOOPS_ROOT_PATH . "/include/cp_functions.php"; -include_once XOOPS_ROOT_PATH."/modules/system/constants.php"; - -global $xoopsConfig; - -// check user/group - start -$isadmin = false; - -$gperm_handler =& xoops_gethandler('groupperm'); -$groups = is_object( $GLOBALS["xoopsUser"] ) ? $GLOBALS["xoopsUser"]->getGroups() : array( XOOPS_GROUP_ANONYMOUS ); -$isadmin = $gperm_handler->checkRight( 'system_admin', XOOPS_SYSTEM_IMAGE, $groups ); - -// check categories readability/writability -$imgcat_handler =& xoops_gethandler('imagecategory'); -$catreadlist =& $imgcat_handler->getList($groups, 'imgcat_read', 1); // get readable categories -$catwritelist =& $imgcat_handler->getList($groups, 'imgcat_write', 1); // get writable categories - -$catreadcount = count($catreadlist); // count readable categories -$catwritecount = count($catwritelist); // count writable categories - - -// check/set parameters - start -if (!isset($_REQUEST["target"])) { - exit(); -} else { - $target = $_REQUEST["target"]; -} - -if (isset($_GET["op"])) { - $op = trim($_GET["op"]); -} - -if (isset($_GET["target"])) { - $target = trim($_GET["target"]); -} - -if (isset($_GET["image_id"])) { - $image_id = intval($_GET["image_id"]); -} - -if (isset($_GET["imgcat_id"])) { - $imgcat_id = intval($_GET["imgcat_id"]); -} - -if(isset($imgcat_id)) { - $imgcat_id = intval($imgcat_id); -} -$target = htmlspecialchars($target); - - -if ( ($isadmin) || ($catreadcount > 0) || ($catwritecount > 0) ) { - - - // Save Image modification - start - if ( !empty($_POST["op"]) && $op == "save" ) { - if (!$GLOBALS["xoopsSecurity"]->check()) { - redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors())); - } - $count = count($image_id); - if ($count > 0) { - $image_handler =& xoops_gethandler("image"); - $error = array(); - for ($i = 0; $i < $count; $i++) { - $image =& $image_handler->get($image_id[$i]); - if (!is_object($image)) { - $error[] = sprintf(_FAILGETIMG, $image_id[$i]); - continue; - } - $image_display[$i] = empty($image_display[$i]) ? 0 : 1; - $image->setVar("image_display", $image_display[$i]); - $image->setVar("image_weight", $image_weight[$i]); - $image->setVar("image_nicename", $image_nicename[$i]); - $image->setVar("imgcat_id", $imgcat_id[$i]); - if (!$image_handler->insert($image)) { - $error[] = sprintf(_FAILSAVEIMG, $image_id[$i]); - } - } - if (count($error) > 0) { - redirect_header($current_file . "?target=" . $target, 3, xoops_error(implode("<br />", $error) ) ); - } - } - redirect_header($current_file . "?target=" . $target, 3, _MD_AM_DBUPDATED); - } - // Save Image modification - end - - // Add new image - start - if ( !empty($_POST["op"]) && $op == "addfile" ) { - if (!$GLOBALS["xoopsSecurity"]->check()) { - redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors())); - } - $imgcat =& $imgcat_handler->get(intval($imgcat_id)); - if (!is_object($imgcat)) { - redirect_header($current_file . "?target=" . $target, 3); - } - include_once XOOPS_ROOT_PATH."/class/uploader.php"; - - $uploader = new XoopsMediaUploader(XOOPS_UPLOAD_PATH, array("image/gif", "image/jpeg", "image/pjpeg", "image/x-png", "image/png", "image/bmp"), $imgcat->getVar("imgcat_maxsize"), $imgcat->getVar("imgcat_maxwidth"), $imgcat->getVar("imgcat_maxheight")); - $uploader->setPrefix("img"); - $err = array(); - $ucount = count($_POST["xoops_upload_file"]); - for ($i = 0; $i < $ucount; $i++) { - if ($uploader->fetchMedia($_POST["xoops_upload_file"][$i])) { - if (!$uploader->upload()) { - $err[] = $uploader->getErrors(); - } else { - $image_handler =& xoops_gethandler("image"); - $image =& $image_handler->create(); - $image->setVar("image_name", $uploader->getSavedFileName()); - $image->setVar("image_nicename", $image_nicename); - $image->setVar("image_mimetype", $uploader->getMediaType()); - $image->setVar("image_created", time()); - $image_display = empty($image_display) ? 0 : 1; - $image->setVar("image_display", $image_display); - $image->setVar("image_weight", $image_weight); - $image->setVar("imgcat_id", $imgcat_id); - if ($imgcat->getVar("imgcat_storetype") == "db") { - $fp = @fopen($uploader->getSavedDestination(), "rb"); - $fbinary = @fread($fp, filesize($uploader->getSavedDestination())); - @fclose($fp); - $image->setVar("image_body", $fbinary, true); - @unlink($uploader->getSavedDestination()); - } - if (!$image_handler->insert($image)) { - $err[] = sprintf(_FAILSAVEIMG, $image->getVar("image_nicename")); - } - } - } else { - $err[] = sprintf(_FAILFETCHIMG, $i); - $err = array_merge($err, $uploader->getErrors(false)); - } - } - if (count($err) > 0) { - redirect_header($current_file . "?target=" . $target, 3, xoops_error(implode("<br />", $err) ) ); - } - redirect_header($current_file . "?target=" . $target, 3, _MD_AM_DBUPDATED); - } - // Add new image - end - - // Add new cat\xE9gorie - start - if ( !empty($_POST["op"]) && $op == "addcat" ) { - if (!$GLOBALS["xoopsSecurity"]->check()) { - redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors())); - } - $imgcat_handler =& xoops_gethandler("imagecategory"); - $imagecategory =& $imgcat_handler->create(); - $imagecategory->setVar("imgcat_name", $imgcat_name); - $imagecategory->setVar("imgcat_maxsize", $imgcat_maxsize); - $imagecategory->setVar("imgcat_maxwidth", $imgcat_maxwidth); - $imagecategory->setVar("imgcat_maxheight", $imgcat_maxheight); - $imgcat_display = empty($imgcat_display) ? 0 : 1; - $imagecategory->setVar("imgcat_display", $imgcat_display); - $imagecategory->setVar("imgcat_weight", $imgcat_weight); - $imagecategory->setVar("imgcat_storetype", $imgcat_storetype); - $imagecategory->setVar("imgcat_type", "C"); - if (!$imgcat_handler->insert($imagecategory)) { - redirect_header($current_file . "?target=" . $target, 3); - } - $newid = $imagecategory->getVar("imgcat_id"); - $imagecategoryperm_handler =& xoops_gethandler("groupperm"); - if (!isset($readgroup)) { - $readgroup = array(); - } - if (!in_array(XOOPS_GROUP_ADMIN, $readgroup)) { - array_push($readgroup, XOOPS_GROUP_ADMIN); - } - foreach ($readgroup as $rgroup) { - $imagecategoryperm =& $imagecategoryperm_handler->create(); - $imagecategoryperm->setVar("gperm_groupid", $rgroup); - $imagecategoryperm->setVar("gperm_itemid", $newid); - $imagecategoryperm->setVar("gperm_name", 'imgcat_read'); - $imagecategoryperm->setVar("gperm_modid", 1); - $imagecategoryperm_handler->insert($imagecategoryperm); - unset($imagecategoryperm); - } - if (!isset($writegroup)) { - $writegroup = array(); - } - if (!in_array(XOOPS_GROUP_ADMIN, $writegroup)) { - array_push($writegroup, XOOPS_GROUP_ADMIN); - } - foreach ($writegroup as $wgroup) { - $imagecategoryperm =& $imagecategoryperm_handler->create(); - $imagecategoryperm->setVar("gperm_groupid", $wgroup); - $imagecategoryperm->setVar("gperm_itemid", $newid); - $imagecategoryperm->setVar("gperm_name", 'imgcat_write'); - $imagecategoryperm->setVar("gperm_modid", 1); - $imagecategoryperm_handler->insert($imagecategoryperm); - unset($imagecategoryperm); - } - redirect_header($current_file . "?target=" . $target, 3,_MD_AM_DBUPDATED); - } - // Add new cat\xE9gorie - end - - // Update categorie - start - if ( !empty($_POST["op"]) && $op == "updatecat" ) { - if (!$GLOBALS["xoopsSecurity"]->check() || $imgcat_id <= 0) { - redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors())); - } - $imgcat_handler = xoops_gethandler("imagecategory"); - $imagecategory =& $imgcat_handler->get($imgcat_id); - if (!is_object($imagecategory)) { - redirect_header($current_file . "?target=" . $target, 3); - } - $imagecategory->setVar("imgcat_name", $imgcat_name); - $imgcat_display = empty($imgcat_display) ? 0 : 1; - $imagecategory->setVar("imgcat_display", $imgcat_display); - $imagecategory->setVar("imgcat_maxsize", $imgcat_maxsize); - $imagecategory->setVar("imgcat_maxwidth", $imgcat_maxwidth); - $imagecategory->setVar("imgcat_maxheight", $imgcat_maxheight); - $imagecategory->setVar("imgcat_weight", $imgcat_weight); - if (!$imgcat_handler->insert($imagecategory)) { - redirect_header($current_file . "?target=" . $target, 3); - } - $imagecategoryperm_handler =& xoops_gethandler("groupperm"); - $criteria = new CriteriaCompo(new Criteria("gperm_itemid", $imgcat_id)); - $criteria->add(new Criteria("gperm_modid", 1)); - $criteria2 = new CriteriaCompo(new Criteria("gperm_name", 'imgcat_write')); - $criteria2->add(new Criteria("gperm_name", 'imgcat_read'), "OR"); - $criteria->add($criteria2); - $imagecategoryperm_handler->deleteAll($criteria); - if (!isset($readgroup)) { - $readgroup = array(); - } - if (!in_array(XOOPS_GROUP_ADMIN, $readgroup)) { - array_push($readgroup, XOOPS_GROUP_ADMIN); - } - foreach ($readgroup as $rgroup) { - $imagecategoryperm =& $imagecategoryperm_handler->create(); - $imagecategoryperm->setVar("gperm_groupid", $rgroup); - $imagecategoryperm->setVar("gperm_itemid", $imgcat_id); - $imagecategoryperm->setVar("gperm_name", 'imgcat_read'); - $imagecategoryperm->setVar("gperm_modid", 1); - $imagecategoryperm_handler->insert($imagecategoryperm); - unset($imagecategoryperm); - } - if (!isset($writegroup)) { - $writegroup = array(); - } - if (!in_array(XOOPS_GROUP_ADMIN, $writegroup)) { - array_push($writegroup, XOOPS_GROUP_ADMIN); - } - foreach ($writegroup as $wgroup) { - $imagecategoryperm =& $imagecategoryperm_handler->create(); - $imagecategoryperm->setVar("gperm_groupid", $wgroup); - $imagecategoryperm->setVar("gperm_itemid", $imgcat_id); - $imagecategoryperm->setVar("gperm_name", 'imgcat_write'); - $imagecategoryperm->setVar("gperm_modid", 1); - $imagecategoryperm_handler->insert($imagecategoryperm); - unset($imagecategoryperm); - } - redirect_header($current_file . "?target=" . $target, 3, _MD_AM_DBUPDATED); - } - // Update categorie - end - - // Confirm delete categorie - start - if ( !empty($_GET["op"]) && $op == "delcat" ) { - xoops_header(); - echo "<link href='css/xoopsimagebrowser.css' rel='stylesheet' type='text/css' />"; - xoops_confirm(array("op" => "delcatok", "imgcat_id" => $imgcat_id, "target" => $target), "xoopsimagebrowser.php", _MD_RUDELIMGCAT); - xoops_footer(); - exit(); - } - // Confirm delete categorie - end - - // Delete categorie - start - if ( !empty($_POST["op"]) && $op == "delcatok" ) { - if (!$GLOBALS["xoopsSecurity"]->check()) { - redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors())); - } - $imgcat_id = intval($imgcat_id); - if ($imgcat_id <= 0) { - redirect_header($current_file . "?target=" . $target, 3); - } - $imgcat_handler = xoops_gethandler("imagecategory"); - $imagecategory =& $imgcat_handler->get($imgcat_id); - if (!is_object($imagecategory)) { - redirect_header($current_file . "?target=" . $target, 3); - } - if ($imagecategory->getVar("imgcat_type") != "C") { - redirect_header($current_file . "?target=" . $target, 3, _MD_SCATDELNG); - } - $image_handler =& xoops_gethandler("image"); - $images =& $image_handler->getObjects(new Criteria("imgcat_id", $imgcat_id), true, false); - $errors = array(); - foreach (array_keys($images) as $i) { - if (!$image_handler->delete($images[$i])) { - $errors[] = sprintf(_MD_FAILDEL, $i); - } else { - if (file_exists(XOOPS_UPLOAD_PATH."/".$images[$i]->getVar("image_name")) && !unlink(XOOPS_UPLOAD_PATH."/".$images[$i]->getVar("image_name"))) { - $errors[] = sprintf(_MD_FAILUNLINK, $i); - } - } - } - if (!$imgcat_handler->delete($imagecategory)) { - $errors[] = sprintf(_MD_FAILDELCAT, $imagecategory->getVar("imgcat_name")); - } - if (count($errors) > 0) { - redirect_header($current_file . "?target=" . $target, 3, xoops_error(implode("<br />", $error) ) ); - } - redirect_header($current_file . "?target=" . $target, 3, _MD_AM_DBUPDATED); - } - // Delete categorie - end - - -// ************************* NOT USED ************************************ - // Confirm delete file - start - if ( !empty($_GET["op"]) && $op == "delfile" ) { - xoops_header(); - echo "<link href='css/xoopsimagebrowser.css' rel='stylesheet' type='text/css' />"; - xoops_confirm(array("op" => "delfileok", "image_id" => $image_id, "target" => $target), "xoopsimagebrowser.php", _MD_RUDELIMG); - xoops_footer(); - exit(); - } - // Confirm delete file - end - - // Delete file - start - if ($op == "delfileok") { - if (!$GLOBALS["xoopsSecurity"]->check()) { - redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors())); - } - $image_id = intval($image_id); - if ($image_id <= 0) { - redirect_header($current_file . "?target=" . $target, 3); - } - $image_handler =& xoops_gethandler("image"); - $image =& $image_handler->get($image_id); - if (!is_object($image)) { - redirect_header($current_file . "?target=" . $target, 3); - } - if (!$image_handler->delete($image)) { - redirect_header($current_file . "?target=" . $target, 3, xoops_error(sprintf(_MD_FAILDEL, $image->getVar("image_id"))) ); - } - @unlink(XOOPS_UPLOAD_PATH."/".$image->getVar("image_name")); - redirect_header($current_file . "?target=" . $target, 3, _MD_AM_DBUPDATED); - } - // Delete file - end -// ************************* NOT USED ************************************ -} - -echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'; -echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . _LANGCODE . '" lang="' . _LANGCODE . '">'; -echo '<head>'; -echo '<meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" />'; -echo '<meta http-equiv="content-language" content="' . _LANGCODE . '" />'; -echo '<title>{#xoopsimagebrowser_dlg.dialog_title}</title>'; -echo '<script type="text/javascript" src="../../tiny_mce_popup.js"></script>'; -echo '<script type="text/javascript" src="../../utils/mctabs.js"></script>'; -echo '<script type="text/javascript" src="../../utils/form_utils.js"></script>'; -echo '<script type="text/javascript" src="../../utils/validate.js"></script>'; -echo '<script type="text/javascript" src="js/xoopsimagebrowser.js"></script>'; -echo '<link href="' . xoops_getcss($xoopsConfig['theme_set']) . '" rel="stylesheet" type="text/css" />'; -echo '<link href="css/xoopsimagebrowser.css" rel="stylesheet" type="text/css" />'; -echo '<base target="_self" />'; -echo '</head>'; -echo '<body>'; - -echo '<div class="tabs">'; -echo '<ul>'; -echo '<li id="imagebrowser_tab" class="current"><span><a href="javascript:mcTabs.displayTab(\'imagebrowser_tab\',\'imagebrowser_panel\');" onmousedown="return false;">'; -if ( $op == 'listimg' ) { - echo '{#xoopsimagebrowser_dlg.tab_listimages}'; -} else { - echo '{#xoopsimagebrowser_dlg.tab_listcategories}'; -} -echo '</a></span></li>'; -if (!empty($catwritelist)) { - echo '<li id="loadimage_tab"><span><a href="javascript:mcTabs.displayTab(\'loadimage_tab\',\'loadimage_panel\');" onmousedown="return false;">{#xoopsimagebrowser_dlg.tab_loadimage}</a></span></li>'; -} -if ( $isadmin ) { - echo '<li id="createcategory_tab"><span><a href="javascript:mcTabs.displayTab(\'createcategory_tab\',\'createcategory_panel\');" onmousedown="return false;">{#xoopsimagebrowser_dlg.tab_createcategory}</a></span></li>'; -} -echo '</ul>'; -echo '</div>'; - -echo '<div class="panel_wrapper">'; - echo '<div id="imagebrowser_panel" class="panel current" style="overflow:auto;">'; - - //list Categories - start - if ($op == 'list') { - if (!empty($catreadlist)) { - echo '<table width="100%" class="outer" cellspacing="1">'; - // get all categories - $imagecategories =& $imgcat_handler->getObjects(); - $catcount = count($imagecategories); - $image_handler =& xoops_gethandler('image'); - for ($i = 0; $i < $catcount; $i++) { - echo '<tr valign="top" align="left"><td class="head">'; - if ( in_array($imagecategories[$i]->getVar('imgcat_id'), array_keys($catreadlist)) ) { - // count images stored in this category - $this_imgcat_id = $imagecategories[$i]->getVar('imgcat_id'); - $countimagesincat = $image_handler->getCount(new Criteria('imgcat_id', $this_imgcat_id)); - echo $this_imgcat_id . ' - ' . $imagecategories[$i]->getVar('imgcat_name') . ' (' . sprintf(_NUMIMAGES, '<strong>' . $countimagesincat . '</strong>') . ')'; - echo '</td><td class="even">'; - echo ' [<a href="' . $current_file . '?target=' . $target . '&op=listimg&imgcat_id=' . $this_imgcat_id . '">' . _LIST . '</a>]'; - if ($isadmin) { - echo ' [<a href="'.$current_file.'?target=' . $target . '&op=editcat&imgcat_id=' . $this_imgcat_id . '">' . _EDIT . '</a>]'; - } - if ($isadmin && $imagecategories[$i]->getVar('imgcat_type') == 'C') { - echo ' [<a href="' . $current_file . '?target=' . $target . '&op=delcat&imgcat_id=' . $this_imgcat_id . '">' . _DELETE . '</a>]'; - } - } - echo '</td></tr>'; - } - echo '</table>'; - } - } - //list Categories - end - - //list images - start - if ($op == 'listimg') { - $imgcat_id = intval($imgcat_id); - if ($imgcat_id <= 0) { - redirect_header($current_file . '?target=' . $target, 1); - } - $imgcat_handler = xoops_gethandler('imagecategory'); - $imagecategory =& $imgcat_handler->get($imgcat_id); - if (!is_object($imagecategory)) { - redirect_header($current_file . '?target=' . $target, 1); - } - $image_handler = xoops_gethandler('image'); - - $criteria = new Criteria('imgcat_id', $imgcat_id); - $imgcount = $image_handler->getCount($criteria); - $start = isset($_GET['start']) ? intval($_GET['start']) : 0; - $criteria->setStart($start); - $criteria->setLimit(20); - $images =& $image_handler->getObjects($criteria, true, false); - - echo '<a href="' . $current_file . '?target=' . $target . '">' . _MD_IMGMAIN . '</a> <span style="font-weight:bold;">></span> '.$imagecategory->getVar('imgcat_name'); - echo '<br /><br /><strong>{#xoopsimagebrowser_dlg.select_image}</strong>'; - echo '<form action="'.$current_file.'?target='.$target.'" method="post">'; - $rowspan = ($catwritelist) ? 5 : 2; - foreach (array_keys($images) as $i) { - $image_src = ""; - // check if image stored in db/as file - start - if ($imagecategory->getVar('imgcat_storetype') == 'db') { - $image_src = ''.XOOPS_URL.'/image.php?id='.$i.''; - } else { - $image_src = ''.XOOPS_UPLOAD_URL.'/'.$images[$i]->getVar('image_name').''; - } - $image_size = getimagesize($image_src); - // check if image stored in db/as file - end - - echo '<table width="100%" class="outer">'; - echo '<tr>'; - echo '<td rowspan="' . $rowspan . '" class="xoopsimage">'; - - echo '<img id="imageid' . $images[$i]->getVar('image_id') . '" src="'.$image_src.'" alt="'.$images[$i]->getVar('image_nicename', 'E').'" title="'.$images[$i]->getVar('image_nicename', 'E').'" onclick="XoopsimagebrowserDialog.insertAndClose(\'imageid'.$images[$i]->getVar('image_id').'\');return false;"/>'; - echo '<br />'; - echo ''.$image_size[0].'x'.$image_size[1].''; - echo '</td>'; - echo '<td class="head">'._IMAGENAME,'</td>'; - echo '<td class="even"><input type="hidden" name="image_id[]" value="'.$i.'" /><input type="text" name="image_nicename[]" value="'.$images[$i]->getVar('image_nicename', 'E').'" size="20" maxlength="255" /></td>'; - echo '</tr>'; - - echo '<tr>'; - echo '<td class="head">'._IMAGEMIME.'</td>'; - echo '<td class="odd">'.$images[$i]->getVar('image_mimetype').'</td>'; - echo '</tr>'; - - if ( $catwritelist ) { - echo '<tr>'; - echo '<td class="head">'._IMAGECAT.'</td>'; - echo '<td class="even">'; - echo '<select name="imgcat_id[]" size="1">'; - $list = $imgcat_handler->getList($groups, null, null, $imagecategory->getVar('imgcat_storetype')); - foreach ($list as $value => $name) { - echo '<option value="'.$value.'"'.(($value == $images[$i]->getVar('imgcat_id'))?' selected="selected"':'').'>'.$name.'</option>'; - } - echo '</select>'; - echo '</td>'; - echo '</tr>'; - - echo '<tr>'; - echo '<td class="head">'._IMGWEIGHT.'</td>'; - echo '<td class="odd"><input type="text" name="image_weight[]" value="'.$images[$i]->getVar('image_weight').'" size="3" maxlength="4" /></td>'; - echo '</tr>'; - - echo '<tr>'; - echo '<td class="head">'._IMGDISPLAY.'</td>'; - echo '<td class="even">'; - echo '<input type="checkbox" name="image_display[]" value="1"'.(($images[$i]->getVar('image_display') == 1)?' checked="checked"':'').' />'; - echo '</td>'; - echo '</tr>'; - } - echo '</table>'; - echo '<br />'; - } - - if ($imgcount > 0) { - if ($imgcount > 20) { - include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; - $nav = new XoopsPageNav($imgcount, 20, $start, 'start', 'op=listimg&target='.$target.'&imgcat_id='.$imgcat_id); - echo '<div text-align="right">'.$nav->renderNav().'</div>'; - } - if ( $catwritelist ) { - echo '<input type="hidden" name="op" value="save" />'.$GLOBALS['xoopsSecurity']->getTokenHTML().'<input type="submit" name="submit" value="'._SUBMIT.'" />'; - echo '</form>'; - } - } - } - //list images - end - - //edit category - start - if ($op == 'editcat') { - if ($imgcat_id <= 0) { - redirect_header($current_file . '?target=' . $target, 1); - } - $imgcat_handler = xoops_gethandler('imagecategory'); - $imagecategory =& $imgcat_handler->get($imgcat_id); - if (!is_object($imagecategory)) { - redirect_header($current_file . '?target=' . $target, 1); - } - include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; - $imagecategoryperm_handler =& xoops_gethandler('groupperm'); - $form = new XoopsThemeForm(_MD_EDITIMGCAT, 'imagecat_form', ''.$current_file.'?target='.$target.'', 'post', true); - $form->addElement(new XoopsFormText(_MD_IMGCATNAME, 'imgcat_name', 50, 255, $imagecategory->getVar('imgcat_name')), true); - $form->addElement(new XoopsFormSelectGroup(_MD_IMGCATRGRP, 'readgroup', true, $imagecategoryperm_handler->getGroupIds('imgcat_read', $imgcat_id), 5, true)); - $form->addElement(new XoopsFormSelectGroup(_MD_IMGCATWGRP, 'writegroup', true, $imagecategoryperm_handler->getGroupIds('imgcat_write', $imgcat_id), 5, true)); - $form->addElement(new XoopsFormText(_IMGMAXSIZE, 'imgcat_maxsize', 10, 10, $imagecategory->getVar('imgcat_maxsize'))); - $form->addElement(new XoopsFormText(_IMGMAXWIDTH, 'imgcat_maxwidth', 3, 4, $imagecategory->getVar('imgcat_maxwidth'))); - $form->addElement(new XoopsFormText(_IMGMAXHEIGHT, 'imgcat_maxheight', 3, 4, $imagecategory->getVar('imgcat_maxheight'))); - $form->addElement(new XoopsFormText(_MD_IMGCATWEIGHT, 'imgcat_weight', 3, 4, $imagecategory->getVar('imgcat_weight'))); - $form->addElement(new XoopsFormRadioYN(_MD_IMGCATDISPLAY, 'imgcat_display', $imagecategory->getVar('imgcat_display'), _YES, _NO)); - $storetype = array('db' => _MD_INDB, 'file' => _MD_ASFILE); - $form->addElement(new XoopsFormLabel(_MD_IMGCATSTRTYPE, $storetype[$imagecategory->getVar('imgcat_storetype')])); - $form->addElement(new XoopsFormHidden('imgcat_id', $imgcat_id)); - $form->addElement(new XoopsFormHidden('op', 'updatecat')); - $form->addElement(new XoopsFormButton('', 'imgcat_button', _SUBMIT, 'submit')); - echo '<a href="'.$current_file.'?target='.$target.'">'. _MD_IMGMAIN .'</a> <span style="font-weight:bold;">></span> '.$imagecategory->getVar('imgcat_name').'<br /><br />'; - $form->display(); - } - echo '<div class="mceActionPanel floatright" >'; - echo '<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />'; - echo '</div>'; - echo '</div>'; - //edit category - end - - //create Image - start - if ( $isadmin || !empty($catwritelist)) { - echo '<div id="loadimage_panel" class="panel" style="overflow:auto;">'; - $form = new XoopsThemeForm(_ADDIMAGE, 'image_form', '' . $current_file . '?target=' . $target . '', 'post', true); - $form->setExtra('enctype="multipart/form-data"'); - $form->addElement(new XoopsFormText(_IMAGENAME, 'image_nicename', 50, 255), true); - $select = new XoopsFormSelect(_IMAGECAT, 'imgcat_id'); - if ($isadmin) { - $select->addOptionArray($imgcat_handler->getList()); - } else { - $select->addOptionArray($catwritelist); - } - $form->addElement($select, true); - $form->addElement(new XoopsFormFile(_IMAGEFILE, 'image_file', 5000000)); - $form->addElement(new XoopsFormText(_IMGWEIGHT, 'image_weight', 3, 4, 0)); - $form->addElement(new XoopsFormRadioYN(_IMGDISPLAY, 'image_display', 1, _YES, _NO)); - $form->addElement(new XoopsFormHidden('op', 'addfile')); - $form->addElement(new XoopsFormButton('', 'img_button', _SUBMIT, 'submit')); - $form->display(); - echo '<div class="mceActionPanel floatright" >'; - echo '<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />'; - echo '</div>'; - echo '</div>'; - } - //create Image - end - - //create Category - start - if ( $isadmin ) { - echo '<div id="createcategory_panel" class="panel" style="overflow:auto;">'; - $form = new XoopsThemeForm(_MD_ADDIMGCAT, 'imagecat_form', ''.$current_file.'?target='.$target.'', 'post', true); - $form->addElement(new XoopsFormText(_MD_IMGCATNAME, 'imgcat_name', 50, 255), true); - $form->addElement(new XoopsFormSelectGroup(_MD_IMGCATRGRP, 'readgroup', true, XOOPS_GROUP_ADMIN, 5, true)); - $form->addElement(new XoopsFormSelectGroup(_MD_IMGCATWGRP, 'writegroup', true, XOOPS_GROUP_ADMIN, 5, true)); - $form->addElement(new XoopsFormText(_IMGMAXSIZE, 'imgcat_maxsize', 10, 10, 50000)); - $form->addElement(new XoopsFormText(_IMGMAXWIDTH, 'imgcat_maxwidth', 3, 4, 120)); - $form->addElement(new XoopsFormText(_IMGMAXHEIGHT, 'imgcat_maxheight', 3, 4, 120)); - $form->addElement(new XoopsFormText(_MD_IMGCATWEIGHT, 'imgcat_weight', 3, 4, 0)); - $form->addElement(new XoopsFormRadioYN(_MD_IMGCATDISPLAY, 'imgcat_display', 1, _YES, _NO)); - $storetype = new XoopsFormRadio(_MD_IMGCATSTRTYPE.'<br /><span style="color:#ff0000;">'._MD_STRTYOPENG.'</span>', 'imgcat_storetype', 'file'); - $storetype->addOptionArray(array('file' => _MD_ASFILE, 'db' => _MD_INDB)); - $form->addElement($storetype); - $form->addElement(new XoopsFormHidden('op', 'addcat')); - $form->addElement(new XoopsFormButton('', 'imgcat_button', _SUBMIT, 'submit')); - $form->display(); - echo '<div class="mceActionPanel floatright" >'; - echo '<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />'; - echo '</div>'; - echo '</div>'; - } - //create Category - end - -echo '</div>'; -xoops_footer(); +<?php +/** + * Xoopsemotions plugin for tinymce + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package class / xoopseditor + * @subpackage tinymce / xoops plugins + * @since 2.3.0 + * @author ralf57 + * @author luciorota <luc...@gm...> + * @author Laurent JEN <du...@fr...> + * @version $Id: xoopsimagebrowser.php 8066 2011-11-06 05:09:33Z beckmi $ + */ + +// load mainfile.php +$current_path = dirname(__FILE__); +if ( DIRECTORY_SEPARATOR != "/" ) { + $current_path = str_replace( DIRECTORY_SEPARATOR, "/", $current_path); +} +$xoops_root_path = substr($current_path, 0, strpos(strtolower($current_path), "/class/xoopseditor/tinymce/")); +include_once $xoops_root_path . "/mainfile.php"; +if (!defined("XOOPS_ROOT_PATH")) exit(); + +/** + * This code was moved to the top to avoid overriding variables that do not come from post + */ +$op = "list"; // default +if (isset($_POST)) { + foreach ( $_POST as $k => $v ) { + ${$k} = $v; + } +} + +// get current filename +$current_file = basename(__FILE__); + +// load language definitions +xoops_loadLanguage("admin", "system"); +xoops_loadLanguage("/admin/images", "system"); + + +// include +xoops_load( "xoopsformloader" ); +xoops_load( "xoopsmodule" ); +include_once XOOPS_ROOT_PATH . "/include/cp_functions.php"; +include_once XOOPS_ROOT_PATH."/modules/system/constants.php"; + +global $xoopsConfig; + +// check user/group - start +$isadmin = false; + +$gperm_handler =& xoops_gethandler('groupperm'); +$groups = is_object( $GLOBALS["xoopsUser"] ) ? $GLOBALS["xoopsUser"]->getGroups() : array( XOOPS_GROUP_ANONYMOUS ); +$isadmin = $gperm_handler->checkRight( 'system_admin', XOOPS_SYSTEM_IMAGE, $groups ); + +// check categories readability/writability +$imgcat_handler =& xoops_gethandler('imagecategory'); +$catreadlist =& $imgcat_handler->getList($groups, 'imgcat_read', 1); // get readable categories +$catwritelist =& $imgcat_handler->getList($groups, 'imgcat_write', 1); // get writable categories + +$catreadcount = count($catreadlist); // count readable categories +$catwritecount = count($catwritelist); // count writable categories + + +// check/set parameters - start +if (!isset($_REQUEST["target"])) { + exit(); +} else { + $target = $_REQUEST["target"]; +} + +if (isset($_GET["op"])) { + $op = trim($_GET["op"]); +} + +if (isset($_GET["target"])) { + $target = trim($_GET["target"]); +} + +if (isset($_GET["image_id"])) { + $image_id = intval($_GET["image_id"]); +} + +if (isset($_GET["imgcat_id"])) { + $imgcat_id = intval($_GET["imgcat_id"]); +} + +if(isset($imgcat_id)) { + $imgcat_id = intval($imgcat_id); +} +$target = htmlspecialchars($target); + + +if ( ($isadmin) || ($catreadcount > 0) || ($catwritecount > 0) ) { + + + // Save Image modification - start + if ( !empty($_POST["op"]) && $op == "save" ) { + if (!$GLOBALS["xoopsSecurity"]->check()) { + redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors())); + } + $count = count($image_id); + if ($count > 0) { + $image_handler =& xoops_gethandler("image"); + $error = array(); + for ($i = 0; $i < $count; $i++) { + $image =& $image_handler->get($image_id[$i]); + if (!is_object($image)) { + $error[] = sprintf(_FAILGETIMG, $image_id[$i]); + continue; + } + $image_display[$i] = empty($image_display[$i]) ? 0 : 1; + $image->setVar("image_display", $image_display[$i]); + $image->setVar("image_weight", $image_weight[$i]); + $image->setVar("image_nicename", $image_nicename[$i]); + $image->setVar("imgcat_id", $imgcat_id[$i]); + if (!$image_handler->insert($image)) { + $error[] = sprintf(_FAILSAVEIMG, $image_id[$i]); + } + } + if (count($error) > 0) { + redirect_header($current_file . "?target=" . $target, 3, xoops_error(implode("<br />", $error) ) ); + } + } + redirect_header($current_file . "?target=" . $target, 3, _MD_AM_DBUPDATED); + } + // Save Image modification - end + + // Add new image - start + if ( !empty($_POST["op"]) && $op == "addfile" ) { + if (!$GLOBALS["xoopsSecurity"]->check()) { + redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors())); + } + $imgcat =& $imgcat_handler->get(intval... [truncated message content] |
From: <txm...@us...> - 2012-04-13 16:10:23
|
Revision: 9319 http://xoops.svn.sourceforge.net/xoops/?rev=9319&view=rev Author: txmodxoops Date: 2012-04-13 16:10:12 +0000 (Fri, 13 Apr 2012) Log Message: ----------- Reupload Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_configs.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_search.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_templates_pages.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_index.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_xoopsversion.php Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_configs.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_configs.php 2012-04-13 16:09:34 UTC (rev 9318) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_configs.php 2012-04-13 16:10:12 UTC (rev 9319) @@ -22,7 +22,7 @@ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/class/tdmcreate_modules.php'; function const_include_configs($modules, $modules_name, $modules_a_w_name, $modules_a_w_url) { - $language = '_MD_'.strtoupper($modules_name).''; + $language = '_MA_'.strtoupper($modules_name).''; $file = "config.php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/include/".$file; $en_tete = const_entete($modules, 0); Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_search.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_search.php 2012-04-13 16:09:34 UTC (rev 9318) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_search.php 2012-04-13 16:10:12 UTC (rev 9319) @@ -76,7 +76,7 @@ $text = '<?php'.$en_tete.' - function '.$modules_name.'_search($queryarray, $andor, $limit, $offset, $userid) + function '.strtolower($modules_name).'_search($queryarray, $andor, $limit, $offset, $userid) { global $xoopsDB; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php 2012-04-13 16:09:34 UTC (rev 9318) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php 2012-04-13 16:10:12 UTC (rev 9319) @@ -111,10 +111,10 @@ define("'.$language.'ADMINPERPAGE_DESC", "Specifies how many items you want to display per page in the list."); define("'.$language.'ADVERTISE","Code of advertise"); define("'.$language.'ADVERTISE_DESC","Ensert here the code of advertisement"); -define("'.$language.'ACTSOCIALNETWORKS","View Socialnetworks?"); -define("'.$language.'CTSOCIALNETWORKS_DESC","If you want to see the buttons of socialnetworks, click on Yes"); -define("'.$language.'SOCIALNETWORKS","Code of socialnetworks"); -define("'.$language.'SOCIALNETWORKS_DESC","Ensert here the code of socialnetworks"); +define("'.$language.'SOCIALACTIVE","View Socialnetworks?"); +define("'.$language.'SOCIALACTIVE_DESC","If you want to see the buttons of socialnetworks, click on Yes"); +define("'.$language.'SOCIALCODE","Code of socialnetworks"); +define("'.$language.'SOCIALCODE_DESC","Ensert here the code of socialnetworks"); ?>'; createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_LANGUAGES, Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_templates_pages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_templates_pages.php 2012-04-13 16:09:34 UTC (rev 9318) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_templates_pages.php 2012-04-13 16:10:12 UTC (rev 9319) @@ -23,7 +23,7 @@ function const_templates_pages($modules, $modules_name, $tables_name, $tables_module_table, $tables_champs, $tables_parametres) { $language = '_MD_'.strtoupper($modules_name).'_'; - $file = ''.$modules_name.'_'.$tables_name.'.html'; + $file = strtolower($modules_name).'_'.$tables_name.'.html'; $path_file = TDM_CREATE_MURL."/".$modules_name."/templates/".$file; $en_tete = const_entete($modules, 0); Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_index.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_index.php 2012-04-13 16:09:34 UTC (rev 9318) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_index.php 2012-04-13 16:10:12 UTC (rev 9319) @@ -33,6 +33,7 @@ include_once XOOPS_ROOT_PATH."/header.php"; $xoTheme->addStylesheet($style); $xoTheme->addScript($script); +$xoopsTpl->assign(\''.strtolower($modules_name).'_url\', '.strtoupper($modules_name).'_URL); //keywords only for index page $xoTheme->addMeta(\'meta\', \'keywords\', $GLOBALS[\'xoopsModuleConfig\'][\'keywords\']); //description Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php 2012-04-13 16:09:34 UTC (rev 9318) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php 2012-04-13 16:10:12 UTC (rev 9319) @@ -22,17 +22,18 @@ function const_user_pages($modules, $modules_name, $tables_name, $tables_champs, $tables_parametres) { - $language = '_MD_'.strtoupper($modules_name).''; + $language = '_MA_'.strtoupper($modules_name).''; $file = $tables_name.".php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/".$file; $en_tete = const_entete($modules, 0); $text = '<?php'.$en_tete.' -include_once("./header.php"); -$xoopsOption[\'template_main\'] = \''.$modules_name.'_'.$tables_name.'.html\'; +include_once "header.php"; +$xoopsOption[\'template_main\'] = \''.strtolower($modules_name).'_'.$tables_name.'.html\'; include_once XOOPS_ROOT_PATH."/header.php"; $xoTheme->addStylesheet($style); $xoTheme->addScript($script); +$xoopsTpl->assign(\''.strtolower($modules_name).'_url\', '.strtoupper($modules_name).'_URL); $op = '.$modules_name.'_CleanVars($_REQUEST, \'op\', \'list\', \'string\'); '; //Champs Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_xoopsversion.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_xoopsversion.php 2012-04-13 16:09:34 UTC (rev 9318) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_xoopsversion.php 2012-04-13 16:10:12 UTC (rev 9319) @@ -29,167 +29,175 @@ if (!defined(\'XOOPS_ROOT_PATH\')){ exit(); } $dirname = basename( dirname( __FILE__ ) ) ; -$modversion[\'name\'] = '.$language.'_NAME; -$modversion[\'version\'] = '.$modules->getVar("modules_version").'; -$modversion[\'description\'] = '.$language.'_DESC; -$modversion[\'author\'] = "'.$modules->getVar("modules_author").'"; -$modversion[\'author_mail\'] = "'.$modules->getVar("modules_author_mail").'"; -$modversion[\'author_website_url\'] = "'.$modules->getVar("modules_author_website_url").'"; -$modversion[\'author_website_name\'] = "'.$modules->getVar("modules_author_website_name").'"; -$modversion[\'credits\'] = "'.$modules->getVar("modules_credits").'"; -$modversion[\'license\'] = "'.$modules->getVar("modules_license").'"; -$modversion[\'help\'] = \'page=help\'; -$modversion[\'license\'] = \'GNU GPL 2.0 see Licence\'; -$modversion[\'license_url\'] = "www.gnu.org/licenses/gpl-2.0.html/"; +xoops_load(\'XoopsLists\'); +'; +$modv = '$modversion'; +$text .= ' +'.$modv.'[\'name\'] = '.$language.'_NAME; +'.$modv.'[\'version\'] = '.$modules->getVar("modules_version").'; +'.$modv.'[\'description\'] = '.$language.'_DESC; +'.$modv.'[\'author\'] = "'.$modules->getVar("modules_author").'"; +'.$modv.'[\'author_mail\'] = "'.$modules->getVar("modules_author_mail").'"; +'.$modv.'[\'author_website_url\'] = "'.$modules->getVar("modules_author_website_url").'"; +'.$modv.'[\'author_website_name\'] = "'.$modules->getVar("modules_author_website_name").'"; +'.$modv.'[\'credits\'] = "'.$modules->getVar("modules_credits").'"; +'.$modv.'[\'license\'] = "'.$modules->getVar("modules_license").'"; +'.$modv.'[\'help\'] = \'page=help\'; +'.$modv.'[\'license\'] = \'GNU GPL 2.0 see Licence\'; +'.$modv.'[\'license_url\'] = "www.gnu.org/licenses/gpl-2.0.html/"; -$modversion[\'release_info\'] = "'.$modules->getVar("modules_release_info").'"; -$modversion[\'release_file\'] = XOOPS_URL."/modules/{$dirname}/docs/'.$modules->getVar("modules_release_file").'"; -$modversion[\'release_date\'] = "'.date("Y/m/d").'"; +'.$modv.'[\'release_info\'] = "'.$modules->getVar("modules_release_info").'"; +'.$modv.'[\'release_file\'] = XOOPS_URL."/modules/{$dirname}/docs/'.$modules->getVar("modules_release_file").'"; +'.$modv.'[\'release_date\'] = "'.date("Y/m/d").'"; -$modversion[\'manual\'] = "'.$modules->getVar("modules_manual").'"; -$modversion[\'manual_file\'] = XOOPS_URL."/modules/{$dirname}/docs/'.$modules->getVar("modules_manual_file").'"; -$modversion[\'min_php\'] = "5.2"; -$modversion[\'min_xoops\'] = "2.5"; -$modversion[\'min_admin\']= "1.1"; -$modversion[\'min_db\']= array(\'mysql\'=>\'5.0.7\', \'mysqli\'=>\'5.0.7\'); -$modversion[\'image\'] = "images/'.$modules->getVar("modules_image").'"; -$modversion[\'dirname\'] = "{$dirname}"; +'.$modv.'[\'manual\'] = "'.$modules->getVar("modules_manual").'"; +'.$modv.'[\'manual_file\'] = XOOPS_URL."/modules/{$dirname}/docs/'.$modules->getVar("modules_manual_file").'"; +'.$modv.'[\'min_php\'] = "5.2"; +'.$modv.'[\'min_xoops\'] = "2.5"; +'.$modv.'[\'min_admin\']= "1.1"; +'.$modv.'[\'min_db\']= array(\'mysql\'=>\'5.0.7\', \'mysqli\'=>\'5.0.7\'); +'.$modv.'[\'image\'] = "images/'.$modules->getVar("modules_image").'"; +'.$modv.'[\'dirname\'] = "{$dirname}"; -$modversion[\'dirmoduleadmin\'] = \'Frameworks/moduleclasses\'; -$modversion[\'icons16\'] = \'Frameworks/moduleclasses/icons/16\'; -$modversion[\'icons32\'] = \'Frameworks/moduleclasses/icons/32\'; +'.$modv.'[\'dirmoduleadmin\'] = "Frameworks/moduleclasses"; +'.$modv.'[\'icons16\'] = "Frameworks/moduleclasses/icons/16"; +'.$modv.'[\'icons32\'] = "Frameworks/moduleclasses/icons/32"; //About -$modversion[\'demo_site_url\'] = "'.$modules->getVar("modules_demo_site_url").'"; -$modversion[\'demo_site_name\'] = "'.$modules->getVar("modules_demo_site_name").'"; -$modversion[\'forum_site_url\'] = "'.$modules->getVar("modules_forum_site_url").'"; -$modversion[\'forum_site_name\'] = "'.$modules->getVar("modules_forum_site_name").'"; -$modversion[\'module_website_url\'] = "'.$modules->getVar("modules_module_website_url").'"; -$modversion[\'module_website_name\'] = "'.$modules->getVar("modules_module_website_name").'"; -$modversion[\'release\'] = "'.$modules->getVar("modules_release").'"; -$modversion[\'module_status\'] = "'.$modules->getVar("modules_module_status").'"; +'.$modv.'[\'demo_site_url\'] = "'.$modules->getVar("modules_demo_site_url").'"; +'.$modv.'[\'demo_site_name\'] = "'.$modules->getVar("modules_demo_site_name").'"; +'.$modv.'[\'forum_site_url\'] = "'.$modules->getVar("modules_forum_site_url").'"; +'.$modv.'[\'forum_site_name\'] = "'.$modules->getVar("modules_forum_site_name").'"; +'.$modv.'[\'module_website_url\'] = "'.$modules->getVar("modules_module_website_url").'"; +'.$modv.'[\'module_website_name\'] = "'.$modules->getVar("modules_module_website_name").'"; +'.$modv.'[\'release\'] = "'.$modules->getVar("modules_release").'"; +'.$modv.'[\'module_status\'] = "'.$modules->getVar("modules_module_status").'"; '; if ( $modules->getVar("modules_display_admin") == 1 ) { $text .= ' // Admin things -$modversion[\'hasAdmin\'] = 1; +'.$modv.'[\'hasAdmin\'] = 1; // Admin system menu -$modversion[\'system_menu\'] = 1; +'.$modv.'[\'system_menu\'] = 1; '; } -$text .= '$modversion["adminindex"] = "admin/index.php"; -$modversion["adminmenu"] = "admin/menu.php"; +$text .= ''.$modv.'[\'adminindex\'] = "admin/index.php"; +'.$modv.'[\'adminmenu\'] = "admin/menu.php"; '; $j = 1; if ( $tables_module_table != null ) { $text .= '// Mysql file -$modversion[\'sqlfile\'][\'mysql\'] = "sql/mysql.sql"; +'.$modv.'[\'sqlfile\'][\'mysql\'] = "sql/mysql.sql"; // Tables'; - foreach (array_keys($tables_arr) as $i) - { + foreach (array_keys($tables_arr) as $i) + { $text .= ' -$modversion[\'tables\']['.$j.'] = "'.$tables_arr[$i]->getVar('tables_module_table').'";'; +'.$modv.'[\'tables\']['.$j.'] = "'.$tables_arr[$i]->getVar('tables_module_table').'";'; $j++; - } unset($j); + } unset($j); } $text .= ' // Scripts to run upon installation or update -$modversion["onInstall"] = "include/install.php"; -//$modversion["onUpdate"] = "include/update.php"; +'.$modv.'[\'onInstall\'] = "include/install.php"; +//'.$modv.'[\'onUpdate\'] = "include/update.php"; '; if ( $modules->getVar("modules_display_user") == 1 ) { $text .= '// Menu -$modversion["hasMain"] = 1; +'.$modv.'[\'hasMain\'] = 1; '; } if ( $modules->getVar("modules_active_search") == 1 ) { $text .= '//Search -$modversion["hasSearch"] = 1; -$modversion["search"]["file"] = "include/search.inc.php"; -$modversion["search"]["func"] = "'.$modules_name.'_search"; +'.$modv.'[\'hasSearch\'] = 1; +'.$modv.'[\'search\'][\'file\'] = "include/search.inc.php"; +'.$modv.'[\'search\'][\'func\'] = "'.strtolower($modules_name).'_search"; '; } +$modvt = ''.$modv.'[\'templates\'][$i]'; $text .='// Templates $i = 1; -$modversion["templates"][$i]["file"] = "'.$modules_name.'_header.html"; -$modversion["templates"][$i]["description"] = "'.$modules_name.' header page"; +'.$modvt.'[\'file\'] = "'.strtolower($modules_name).'_header.html"; +'.$modvt.'[\'description\'] = "'.UcFirstAndToLower($modules_name).' header page"; $i++; -$modversion["templates"][$i]["file"] = "'.$modules_name.'_index.html"; -$modversion["templates"][$i]["description"] = "'.$modules_name.' index page"; +'.$modvt.'[\'file\'] = "'.strtolower($modules_name).'_index.html"; +'.$modvt.'[\'description\'] = "'.UcFirstAndToLower($modules_name).' index page"; '; foreach (array_keys($tables_arr) as $i) -{ +{ + $tm_table = $tables_arr[$i]->getVar('tables_module_table'); $text .= '$i++; -$modversion["templates"][$i]["file"] = "'.$tables_arr[$i]->getVar('tables_module_table').'.html"; -$modversion["templates"][$i]["description"] = "'.str_replace("_", " ",$tables_arr[$i]->getVar('tables_module_table')).' page"; +'.$modvt.'[\'file\'] = "'.strtolower($tm_table).'.html"; +'.$modvt.'[\'description\'] = "'.UcFirstAndToLower(str_replace("_", " ",$tm_table)).' page"; '; } $text .='$i++; -$modversion["templates"][$i]["file"] = "'.$modules_name.'_footer.html"; -$modversion["templates"][$i]["description"] = "'.$modules_name.' footer page"; +'.$modvt.'[\'file\'] = "'.strtolower($modules_name).'_footer.html"; +'.$modvt.'[\'description\'] = "'.UcFirstAndToLower($modules_name).' footer page"; unset( $i ); '; $j = 1; -$text .='//Blocs +$text .='//Blocks $i = 1;'; foreach (array_keys($tables_arr) as $i) { $tables_blocks = $tables_arr[$i]->getVar("tables_blocs"); if($tables_blocks == 1){ - $tables_module_table = $tables_arr[$i]->getVar("tables_module_table"); + $tm_table = $tables_arr[$i]->getVar("tables_module_table"); $tables_name = $tables_arr[$i]->getVar("tables_name"); $language1 = $language.'_'.strtoupper($tables_name).''; + $modvb = ''.$modv.'[\'blocks\'][$i]'; $text .= ' -$modversion["blocks"][$i]["file"] = "blocks_'.$tables_name.'.php"; -$modversion["blocks"][$i]["name"] = '.$language1.'_BLOCK_RECENT; -$modversion["blocks"][$i]["description"] = ""; -$modversion["blocks"][$i]["show_func"] = "b_'.$tables_module_table.'"; -$modversion["blocks"][$i]["edit_func"] = "b_'.$tables_module_table.'_edit"; -$modversion["blocks"][$i]["options"] = "recent|5|25|0"; -$modversion["blocks"][$i]["template"] = "'.$tables_module_table.'_block_recent.html"; +'.$modvb.'[$i][\'file\'] = "blocks_'.$tables_name.'.php"; +'.$modvb.'[\'name\'] = '.$language1.'_BLOCK_RECENT; +'.$modvb.'[\'description\'] = ""; +'.$modvb.'[\'show_func\'] = "b_'.strtolower($tm_table).'"; +'.$modvb.'[\'edit_func\'] = "b_'.strtolower($tm_table).'_edit"; +'.$modvb.'[\'options\'] = "recent|5|25|0"; +'.$modvb.'[\'template\'] = "'.strtolower($tm_table).'_block_recent.html"; $i++; -$modversion["blocks"][$i]["file"] = "blocks_'.$tables_name.'.php"; -$modversion["blocks"][$i]["name"] = '.$language1.'_BLOCK_DAY; -$modversion["blocks"][$i]["description"] = ""; -$modversion["blocks"][$i]["show_func"] = "b_'.$tables_module_table.'"; -$modversion["blocks"][$i]["edit_func"] = "b_'.$tables_module_table.'_edit"; -$modversion["blocks"][$i]["options"] = "day|5|25|0"; -$modversion["blocks"][$i]["template"] = "'.$tables_module_table.'_block_day.html"; +'.$modvb.'[\'file\'] = "blocks_'.$tables_name.'.php"; +'.$modvb.'[\'name\'] = '.$language1.'_BLOCK_DAY; +'.$modvb.'[\'description\'] = ""; +'.$modvb.'[\'show_func\'] = "b_'.strtolower($tm_table).'"; +'.$modvb.'[\'edit_func\'] = "b_'.strtolower($tm_table).'_edit"; +'.$modvb.'[\'options\'] = "day|5|25|0"; +'.$modvb.'[\'template\'] = "'.strtolower($tm_table).'_block_day.html"; $i++; -$modversion["blocks"][$i]["file"] = "blocks_'.$tables_name.'.php"; -$modversion["blocks"][$i]["name"] = '.$language1.'_BLOCK_RANDOM; -$modversion["blocks"][$i]["description"] = ""; -$modversion["blocks"][$i]["show_func"] = "b_'.$tables_module_table.'"; -$modversion["blocks"][$i]["edit_func"] = "b_'.$tables_module_table.'_edit"; -$modversion["blocks"][$i]["options"] = "random|5|25|0"; -$modversion["blocks"][$i]["template"] = "'.$tables_module_table.'_block_random.html"; +'.$modvb.'[\'file\'] = "blocks_'.$tables_name.'.php"; +'.$modvb.'[\'name\'] = '.$language1.'_BLOCK_RANDOM; +'.$modvb.'[\'description\'] = ""; +'.$modvb.'[\'show_func\'] = "b_'.strtolower($tm_table).'"; +'.$modvb.'[\'edit_func\'] = "b_'.strtolower($tm_table).'_edit"; +'.$modvb.'[\'options\'] = "random|5|25|0"; +'.$modvb.'[\'template\'] = "'.strtolower($tm_table).'_block_random.html"; '; $text .= ( $j != $i ) ? '$i++;' : 'unset($i);'; $j++; } } unset($j); -$text .= '// Config +$modvc = ''.$modv.'[\'config\'][$i]'; +$text .= ' +// Config $i = 1; -include_once XOOPS_ROOT_PATH . "/class/xoopslists.php"; -$modversion["config"][$i]["name"] = "editor"; -$modversion["config"][$i]["title"] = "'.$language.'_EDITOR"; -$modversion["config"][$i]["description"] = "'.$language.'_EDITOR_DESC"; -$modversion["config"][$i]["formtype"] = "select"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = "dhtmltextarea"; -$modversion["config"][$i]["options"] = XoopsLists::getEditorList(); -$modversion["config"][$i]["category"] = "global"; +'.$modvc.'[\'name\'] = "editor"; +'.$modvc.'[\'title\'] = "'.$language.'_EDITOR"; +'.$modvc.'[\'description\'] = "'.$language.'_EDITOR_DESC"; +'.$modvc.'[\'formtype\'] = "select"; +'.$modvc.'[\'valuetype\'] = "text"; +'.$modvc.'[\'default\'] = "dhtmltextarea"; +'.$modvc.'[\'options\'] = XoopsLists::getEditorList(); +'.$modvc.'[\'category\'] = "global"; $i++; -$modversion["config"][$i]["name"] = "keywords"; -$modversion["config"][$i]["title"] = "'.$language.'_KEYWORDS"; -$modversion["config"][$i]["description"] = "'.$language.'_KEYWORDS_DESC"; -$modversion["config"][$i]["formtype"] = "textbox"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = \'\'; +'.$modvc.'[\'name\'] = "keywords"; +'.$modvc.'[\'title\'] = "'.$language.'_KEYWORDS"; +'.$modvc.'[\'description\'] = "'.$language.'_KEYWORDS_DESC"; +'.$modvc.'[\'formtype\'] = "textbox"; +'.$modvc.'[\'valuetype\'] = "text"; +'.$modvc.'[\'default\'] = ""; $i++; '; foreach (array_keys($tables_arr) as $i) @@ -217,51 +225,44 @@ if ( $structure_parametres[0] == 'XoopsFormUploadImage' ){ $text .= ' //Uploads : size '.$structure_champs[0].' -$modversion["config"][$i]["name"] = "maxsize"; -$modversion["config"][$i]["title"] = "'.$language.'_MAXSIZE"; -$modversion["config"][$i]["description"] = "'.$language.'_MAXSIZE_DESC"; -$modversion["config"][$i]["formtype"] = "textbox"; -$modversion["config"][$i]["valuetype"] = "int"; -$modversion["config"][$i]["default"] = "10485760"; +'.$modvc.'[\'name\'] = "maxsize"; +'.$modvc.'[\'title\'] = "'.$language.'_MAXSIZE"; +'.$modvc.'[\'description\'] = "'.$language.'_MAXSIZE_DESC"; +'.$modvc.'[\'formtype\'] = "textbox"; +'.$modvc.'[\'valuetype\'] = "int"; +'.$modvc.'[\'default\'] = "10485760"; $i++; //Uploads : mimetypes '.$structure_champs[0].' -$modversion["config"][$i]["name"] = "mimetypes"; -$modversion["config"][$i]["title"] = "'.$language.'_MIMETYPES"; -$modversion["config"][$i]["description"] = "'.$language.'_MIMETYPES_DESC"; -$modversion["config"][$i]["formtype"] = "select_multi"; -$modversion["config"][$i]["valuetype"] = "array"; -$modversion["config"][$i]["default"] = array("image/gif", "image/jpeg", "image/png"); -$modversion["config"][$i]["options"] = array( -"bmp" => "image/bmp", -"gif" => "image/gif", -"jpeg" => "image/pjpeg", -"jpeg" => "image/jpeg", -"jpg" => "image/jpeg", -"jpe" => "image/jpeg", -"png" => "image/png"); +'.$modvc.'[\'name\'] = "mimetypes"; +'.$modvc.'[\'title\'] = "'.$language.'_MIMETYPES"; +'.$modvc.'[\'description\'] = "'.$language.'_MIMETYPES_DESC"; +'.$modvc.'[\'formtype\'] = "select_multi"; +'.$modvc.'[\'valuetype\'] = "array"; +'.$modvc.'[\'default\'] = array("image/gif", "image/jpeg", "image/png"); +'.$modvc.'[\'options\'] = array("bmp" => "image/bmp","gif" => "image/gif","jpeg" => "image/pjpeg", + "jpeg" => "image/jpeg","jpg" => "image/jpeg","jpe" => "image/jpeg","png" => "image/png"); $i++; '; } else if ( $structure_parametres[0] == 'XoopsFormUploadFile' ) { $text .= ' //Uploads : size '.$structure_champs[0].' -$modversion["config"][$i]["name"] = "maxsize"; -$modversion["config"][$i]["title"] = "'.$language.'_MAXSIZE"; -$modversion["config"][$i]["description"] = "'.$language.'_MAXSIZE_DESC"; -$modversion["config"][$i]["formtype"] = "textbox"; -$modversion["config"][$i]["valuetype"] = "int"; -$modversion["config"][$i]["default"] = "10485760"; +'.$modvc.'[\'name\'] = "maxsize"; +'.$modvc.'[\'title\'] = "'.$language.'_MAXSIZE"; +'.$modvc.'[\'description\'] = "'.$language.'_MAXSIZE_DESC"; +'.$modvc.'[\'formtype\'] = "textbox"; +'.$modvc.'[\'valuetype\'] = "int"; +'.$modvc.'[\'default\'] = "10485760"; $i++; //Uploads : mimetypes '.$structure_champs[0].' -include_once XOOPS_ROOT_PATH . \'/include/mimetypes.inc.php\'; -$modversion["config"][$i]["name"] = "mimetypes"; -$modversion["config"][$i]["title"] = "'.$language.'_MIMETYPES"; -$modversion["config"][$i]["description"] = "'.$language.'_MIMETYPES_DESC"; -$modversion["config"][$i]["formtype"] = "select_multi"; -$modversion["config"][$i]["valuetype"] = "array"; -$modversion["config"][$i]["default"] = array("image/gif", "image/jpeg", "image/png"); -$modversion["config"][$i]["options"] = $mimetypes; +'.$modvc.'[\'name\'] = "mimetypes"; +'.$modvc.'[\'title\'] = "'.$language.'_MIMETYPES"; +'.$modvc.'[\'description\'] = "'.$language.'_MIMETYPES_DESC"; +'.$modvc.'[\'formtype\'] = "select_multi"; +'.$modvc.'[\'valuetype\'] = "array"; +'.$modvc.'[\'default\'] = array("image/gif", "image/jpeg", "image/png"); +'.$modvc.'[\'options\'] = XoopsLists::getMimetypesList(); $i++; '; } @@ -269,33 +270,33 @@ } } $text .= ' -$modversion["config"][$i]["name"] = "adminperpage"; -$modversion["config"][$i]["title"] = "'.$language.'_ADMINPERPAGE"; -$modversion["config"][$i]["description"] = "'.$language.'_ADMINPERPAGE_DESC"; -$modversion["config"][$i]["formtype"] = "textbox"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = \'15\'; +'.$modvc.'[\'name\'] = "adminperpage"; +'.$modvc.'[\'title\'] = "'.$language.'_ADMINPERPAGE"; +'.$modvc.'[\'description\'] = "'.$language.'_ADMINPERPAGE_DESC"; +'.$modvc.'[\'formtype\'] = "textbox"; +'.$modvc.'[\'valuetype\'] = "text"; +'.$modvc.'[\'default\'] = \'15\'; $i++; -$modversion["config"][$i]["name"] = "advertise"; -$modversion["config"][$i]["title"] = "'.$language.'_ADVERTISE"; -$modversion["config"][$i]["description"] = "'.$language.'_ADVERTISE_DESC"; -$modversion["config"][$i]["formtype"] = "textarea"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = \'\'; +'.$modvc.'[\'name\'] = "advertise"; +'.$modvc.'[\'title\'] = "'.$language.'_ADVERTISE"; +'.$modvc.'[\'description\'] = "'.$language.'_ADVERTISE_DESC"; +'.$modvc.'[\'formtype\'] = "textarea"; +'.$modvc.'[\'valuetype\'] = "text"; +'.$modvc.'[\'default\'] = ""; $i++; -$modversion["config"][$i]["name"] = "social_active"; -$modversion["config"][$i]["title"] = "'.$language.'_SOCIALACTIVE"; -$modversion["config"][$i]["description"] = "'.$language.'_SOCIALACTIVE_DESC"; -$modversion["config"][$i]["formtype"] = "yesno"; -$modversion["config"][$i]["aluetype"] = "int"; -$modversion["config"][$i]["default"] = 0; +'.$modvc.'[\'name\'] = "social_active"; +'.$modvc.'[\'title\'] = "'.$language.'_SOCIALACTIVE"; +'.$modvc.'[\'description\'] = "'.$language.'_SOCIALACTIVE_DESC"; +'.$modvc.'[\'formtype\'] = "yesno"; +'.$modvc.'[\'aluetype\'] = "int"; +'.$modvc.'[\'default\'] = 0; $i++; -$modversion["config"][$i]["name"] = "social_code"; -$modversion["config"][$i]["title"] = "'.$language.'_SOCIALCODE"; -$modversion["config"][$i]["description"] = "'.$language.'_SOCIALCODE_DESC"; -$modversion["config"][$i]["formtype"] = "textarea"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = \'\'; +'.$modvc.'[\'name\'] = "social_code"; +'.$modvc.'[\'title\'] = "'.$language.'_SOCIALCODE"; +'.$modvc.'[\'description\'] = "'.$language.'_SOCIALCODE_DESC"; +'.$modvc.'[\'formtype\'] = "textarea"; +'.$modvc.'[\'valuetype\'] = "text"; +'.$modvc.'[\'default\'] = ""; unset($i); ?>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-13 16:09:45
|
Revision: 9318 http://xoops.svn.sourceforge.net/xoops/?rev=9318&view=rev Author: txmodxoops Date: 2012-04-13 16:09:34 +0000 (Fri, 13 Apr 2012) Log Message: ----------- Reupload Modified Paths: -------------- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_configs.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_search.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_templates_pages.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_index.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_xoopsversion.php Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_configs.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_configs.php 2012-04-13 14:29:43 UTC (rev 9317) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_configs.php 2012-04-13 16:09:34 UTC (rev 9318) @@ -22,7 +22,7 @@ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/class/tdmcreate_modules.php'; function const_include_configs($modules, $modules_name, $modules_a_w_name, $modules_a_w_url) { - $language = '_MD_'.strtoupper($modules_name).''; + $language = '_MA_'.strtoupper($modules_name).''; $file = "config.php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/include/".$file; $en_tete = const_entete($modules, 0); Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_search.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_search.php 2012-04-13 14:29:43 UTC (rev 9317) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_search.php 2012-04-13 16:09:34 UTC (rev 9318) @@ -76,7 +76,7 @@ $text = '<?php'.$en_tete.' - function '.$modules_name.'_search($queryarray, $andor, $limit, $offset, $userid) + function '.strtolower($modules_name).'_search($queryarray, $andor, $limit, $offset, $userid) { global $xoopsDB; Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php 2012-04-13 14:29:43 UTC (rev 9317) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php 2012-04-13 16:09:34 UTC (rev 9318) @@ -111,10 +111,10 @@ define("'.$language.'ADMINPERPAGE_DESC", "Specifies how many items you want to display per page in the list."); define("'.$language.'ADVERTISE","Code of advertise"); define("'.$language.'ADVERTISE_DESC","Ensert here the code of advertisement"); -define("'.$language.'ACTSOCIALNETWORKS","View Socialnetworks?"); -define("'.$language.'CTSOCIALNETWORKS_DESC","If you want to see the buttons of socialnetworks, click on Yes"); -define("'.$language.'SOCIALNETWORKS","Code of socialnetworks"); -define("'.$language.'SOCIALNETWORKS_DESC","Ensert here the code of socialnetworks"); +define("'.$language.'SOCIALACTIVE","View Socialnetworks?"); +define("'.$language.'SOCIALACTIVE_DESC","If you want to see the buttons of socialnetworks, click on Yes"); +define("'.$language.'SOCIALCODE","Code of socialnetworks"); +define("'.$language.'SOCIALCODE_DESC","Ensert here the code of socialnetworks"); ?>'; createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_LANGUAGES, Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_templates_pages.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_templates_pages.php 2012-04-13 14:29:43 UTC (rev 9317) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_templates_pages.php 2012-04-13 16:09:34 UTC (rev 9318) @@ -23,7 +23,7 @@ function const_templates_pages($modules, $modules_name, $tables_name, $tables_module_table, $tables_champs, $tables_parametres) { $language = '_MD_'.strtoupper($modules_name).'_'; - $file = ''.$modules_name.'_'.$tables_name.'.html'; + $file = strtolower($modules_name).'_'.$tables_name.'.html'; $path_file = TDM_CREATE_MURL."/".$modules_name."/templates/".$file; $en_tete = const_entete($modules, 0); Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_index.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_index.php 2012-04-13 14:29:43 UTC (rev 9317) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_index.php 2012-04-13 16:09:34 UTC (rev 9318) @@ -33,6 +33,7 @@ include_once XOOPS_ROOT_PATH."/header.php"; $xoTheme->addStylesheet($style); $xoTheme->addScript($script); +$xoopsTpl->assign(\''.strtolower($modules_name).'_url\', '.strtoupper($modules_name).'_URL); //keywords only for index page $xoTheme->addMeta(\'meta\', \'keywords\', $GLOBALS[\'xoopsModuleConfig\'][\'keywords\']); //description Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php 2012-04-13 14:29:43 UTC (rev 9317) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php 2012-04-13 16:09:34 UTC (rev 9318) @@ -22,17 +22,18 @@ function const_user_pages($modules, $modules_name, $tables_name, $tables_champs, $tables_parametres) { - $language = '_MD_'.strtoupper($modules_name).''; + $language = '_MA_'.strtoupper($modules_name).''; $file = $tables_name.".php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/".$file; $en_tete = const_entete($modules, 0); $text = '<?php'.$en_tete.' -include_once("./header.php"); -$xoopsOption[\'template_main\'] = \''.$modules_name.'_'.$tables_name.'.html\'; +include_once "header.php"; +$xoopsOption[\'template_main\'] = \''.strtolower($modules_name).'_'.$tables_name.'.html\'; include_once XOOPS_ROOT_PATH."/header.php"; $xoTheme->addStylesheet($style); $xoTheme->addScript($script); +$xoopsTpl->assign(\''.strtolower($modules_name).'_url\', '.strtoupper($modules_name).'_URL); $op = '.$modules_name.'_CleanVars($_REQUEST, \'op\', \'list\', \'string\'); '; //Champs Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_xoopsversion.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_xoopsversion.php 2012-04-13 14:29:43 UTC (rev 9317) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_xoopsversion.php 2012-04-13 16:09:34 UTC (rev 9318) @@ -29,167 +29,175 @@ if (!defined(\'XOOPS_ROOT_PATH\')){ exit(); } $dirname = basename( dirname( __FILE__ ) ) ; -$modversion[\'name\'] = '.$language.'_NAME; -$modversion[\'version\'] = '.$modules->getVar("modules_version").'; -$modversion[\'description\'] = '.$language.'_DESC; -$modversion[\'author\'] = "'.$modules->getVar("modules_author").'"; -$modversion[\'author_mail\'] = "'.$modules->getVar("modules_author_mail").'"; -$modversion[\'author_website_url\'] = "'.$modules->getVar("modules_author_website_url").'"; -$modversion[\'author_website_name\'] = "'.$modules->getVar("modules_author_website_name").'"; -$modversion[\'credits\'] = "'.$modules->getVar("modules_credits").'"; -$modversion[\'license\'] = "'.$modules->getVar("modules_license").'"; -$modversion[\'help\'] = \'page=help\'; -$modversion[\'license\'] = \'GNU GPL 2.0 see Licence\'; -$modversion[\'license_url\'] = "www.gnu.org/licenses/gpl-2.0.html/"; +xoops_load(\'XoopsLists\'); +'; +$modv = '$modversion'; +$text .= ' +'.$modv.'[\'name\'] = '.$language.'_NAME; +'.$modv.'[\'version\'] = '.$modules->getVar("modules_version").'; +'.$modv.'[\'description\'] = '.$language.'_DESC; +'.$modv.'[\'author\'] = "'.$modules->getVar("modules_author").'"; +'.$modv.'[\'author_mail\'] = "'.$modules->getVar("modules_author_mail").'"; +'.$modv.'[\'author_website_url\'] = "'.$modules->getVar("modules_author_website_url").'"; +'.$modv.'[\'author_website_name\'] = "'.$modules->getVar("modules_author_website_name").'"; +'.$modv.'[\'credits\'] = "'.$modules->getVar("modules_credits").'"; +'.$modv.'[\'license\'] = "'.$modules->getVar("modules_license").'"; +'.$modv.'[\'help\'] = \'page=help\'; +'.$modv.'[\'license\'] = \'GNU GPL 2.0 see Licence\'; +'.$modv.'[\'license_url\'] = "www.gnu.org/licenses/gpl-2.0.html/"; -$modversion[\'release_info\'] = "'.$modules->getVar("modules_release_info").'"; -$modversion[\'release_file\'] = XOOPS_URL."/modules/{$dirname}/docs/'.$modules->getVar("modules_release_file").'"; -$modversion[\'release_date\'] = "'.date("Y/m/d").'"; +'.$modv.'[\'release_info\'] = "'.$modules->getVar("modules_release_info").'"; +'.$modv.'[\'release_file\'] = XOOPS_URL."/modules/{$dirname}/docs/'.$modules->getVar("modules_release_file").'"; +'.$modv.'[\'release_date\'] = "'.date("Y/m/d").'"; -$modversion[\'manual\'] = "'.$modules->getVar("modules_manual").'"; -$modversion[\'manual_file\'] = XOOPS_URL."/modules/{$dirname}/docs/'.$modules->getVar("modules_manual_file").'"; -$modversion[\'min_php\'] = "5.2"; -$modversion[\'min_xoops\'] = "2.5"; -$modversion[\'min_admin\']= "1.1"; -$modversion[\'min_db\']= array(\'mysql\'=>\'5.0.7\', \'mysqli\'=>\'5.0.7\'); -$modversion[\'image\'] = "images/'.$modules->getVar("modules_image").'"; -$modversion[\'dirname\'] = "{$dirname}"; +'.$modv.'[\'manual\'] = "'.$modules->getVar("modules_manual").'"; +'.$modv.'[\'manual_file\'] = XOOPS_URL."/modules/{$dirname}/docs/'.$modules->getVar("modules_manual_file").'"; +'.$modv.'[\'min_php\'] = "5.2"; +'.$modv.'[\'min_xoops\'] = "2.5"; +'.$modv.'[\'min_admin\']= "1.1"; +'.$modv.'[\'min_db\']= array(\'mysql\'=>\'5.0.7\', \'mysqli\'=>\'5.0.7\'); +'.$modv.'[\'image\'] = "images/'.$modules->getVar("modules_image").'"; +'.$modv.'[\'dirname\'] = "{$dirname}"; -$modversion[\'dirmoduleadmin\'] = \'Frameworks/moduleclasses\'; -$modversion[\'icons16\'] = \'Frameworks/moduleclasses/icons/16\'; -$modversion[\'icons32\'] = \'Frameworks/moduleclasses/icons/32\'; +'.$modv.'[\'dirmoduleadmin\'] = "Frameworks/moduleclasses"; +'.$modv.'[\'icons16\'] = "Frameworks/moduleclasses/icons/16"; +'.$modv.'[\'icons32\'] = "Frameworks/moduleclasses/icons/32"; //About -$modversion[\'demo_site_url\'] = "'.$modules->getVar("modules_demo_site_url").'"; -$modversion[\'demo_site_name\'] = "'.$modules->getVar("modules_demo_site_name").'"; -$modversion[\'forum_site_url\'] = "'.$modules->getVar("modules_forum_site_url").'"; -$modversion[\'forum_site_name\'] = "'.$modules->getVar("modules_forum_site_name").'"; -$modversion[\'module_website_url\'] = "'.$modules->getVar("modules_module_website_url").'"; -$modversion[\'module_website_name\'] = "'.$modules->getVar("modules_module_website_name").'"; -$modversion[\'release\'] = "'.$modules->getVar("modules_release").'"; -$modversion[\'module_status\'] = "'.$modules->getVar("modules_module_status").'"; +'.$modv.'[\'demo_site_url\'] = "'.$modules->getVar("modules_demo_site_url").'"; +'.$modv.'[\'demo_site_name\'] = "'.$modules->getVar("modules_demo_site_name").'"; +'.$modv.'[\'forum_site_url\'] = "'.$modules->getVar("modules_forum_site_url").'"; +'.$modv.'[\'forum_site_name\'] = "'.$modules->getVar("modules_forum_site_name").'"; +'.$modv.'[\'module_website_url\'] = "'.$modules->getVar("modules_module_website_url").'"; +'.$modv.'[\'module_website_name\'] = "'.$modules->getVar("modules_module_website_name").'"; +'.$modv.'[\'release\'] = "'.$modules->getVar("modules_release").'"; +'.$modv.'[\'module_status\'] = "'.$modules->getVar("modules_module_status").'"; '; if ( $modules->getVar("modules_display_admin") == 1 ) { $text .= ' // Admin things -$modversion[\'hasAdmin\'] = 1; +'.$modv.'[\'hasAdmin\'] = 1; // Admin system menu -$modversion[\'system_menu\'] = 1; +'.$modv.'[\'system_menu\'] = 1; '; } -$text .= '$modversion["adminindex"] = "admin/index.php"; -$modversion["adminmenu"] = "admin/menu.php"; +$text .= ''.$modv.'[\'adminindex\'] = "admin/index.php"; +'.$modv.'[\'adminmenu\'] = "admin/menu.php"; '; $j = 1; if ( $tables_module_table != null ) { $text .= '// Mysql file -$modversion[\'sqlfile\'][\'mysql\'] = "sql/mysql.sql"; +'.$modv.'[\'sqlfile\'][\'mysql\'] = "sql/mysql.sql"; // Tables'; - foreach (array_keys($tables_arr) as $i) - { + foreach (array_keys($tables_arr) as $i) + { $text .= ' -$modversion[\'tables\']['.$j.'] = "'.$tables_arr[$i]->getVar('tables_module_table').'";'; +'.$modv.'[\'tables\']['.$j.'] = "'.$tables_arr[$i]->getVar('tables_module_table').'";'; $j++; - } unset($j); + } unset($j); } $text .= ' // Scripts to run upon installation or update -$modversion["onInstall"] = "include/install.php"; -//$modversion["onUpdate"] = "include/update.php"; +'.$modv.'[\'onInstall\'] = "include/install.php"; +//'.$modv.'[\'onUpdate\'] = "include/update.php"; '; if ( $modules->getVar("modules_display_user") == 1 ) { $text .= '// Menu -$modversion["hasMain"] = 1; +'.$modv.'[\'hasMain\'] = 1; '; } if ( $modules->getVar("modules_active_search") == 1 ) { $text .= '//Search -$modversion["hasSearch"] = 1; -$modversion["search"]["file"] = "include/search.inc.php"; -$modversion["search"]["func"] = "'.$modules_name.'_search"; +'.$modv.'[\'hasSearch\'] = 1; +'.$modv.'[\'search\'][\'file\'] = "include/search.inc.php"; +'.$modv.'[\'search\'][\'func\'] = "'.strtolower($modules_name).'_search"; '; } +$modvt = ''.$modv.'[\'templates\'][$i]'; $text .='// Templates $i = 1; -$modversion["templates"][$i]["file"] = "'.$modules_name.'_header.html"; -$modversion["templates"][$i]["description"] = "'.$modules_name.' header page"; +'.$modvt.'[\'file\'] = "'.strtolower($modules_name).'_header.html"; +'.$modvt.'[\'description\'] = "'.UcFirstAndToLower($modules_name).' header page"; $i++; -$modversion["templates"][$i]["file"] = "'.$modules_name.'_index.html"; -$modversion["templates"][$i]["description"] = "'.$modules_name.' index page"; +'.$modvt.'[\'file\'] = "'.strtolower($modules_name).'_index.html"; +'.$modvt.'[\'description\'] = "'.UcFirstAndToLower($modules_name).' index page"; '; foreach (array_keys($tables_arr) as $i) -{ +{ + $tm_table = $tables_arr[$i]->getVar('tables_module_table'); $text .= '$i++; -$modversion["templates"][$i]["file"] = "'.$tables_arr[$i]->getVar('tables_module_table').'.html"; -$modversion["templates"][$i]["description"] = "'.str_replace("_", " ",$tables_arr[$i]->getVar('tables_module_table')).' page"; +'.$modvt.'[\'file\'] = "'.strtolower($tm_table).'.html"; +'.$modvt.'[\'description\'] = "'.UcFirstAndToLower(str_replace("_", " ",$tm_table)).' page"; '; } $text .='$i++; -$modversion["templates"][$i]["file"] = "'.$modules_name.'_footer.html"; -$modversion["templates"][$i]["description"] = "'.$modules_name.' footer page"; +'.$modvt.'[\'file\'] = "'.strtolower($modules_name).'_footer.html"; +'.$modvt.'[\'description\'] = "'.UcFirstAndToLower($modules_name).' footer page"; unset( $i ); '; $j = 1; -$text .='//Blocs +$text .='//Blocks $i = 1;'; foreach (array_keys($tables_arr) as $i) { $tables_blocks = $tables_arr[$i]->getVar("tables_blocs"); if($tables_blocks == 1){ - $tables_module_table = $tables_arr[$i]->getVar("tables_module_table"); + $tm_table = $tables_arr[$i]->getVar("tables_module_table"); $tables_name = $tables_arr[$i]->getVar("tables_name"); $language1 = $language.'_'.strtoupper($tables_name).''; + $modvb = ''.$modv.'[\'blocks\'][$i]'; $text .= ' -$modversion["blocks"][$i]["file"] = "blocks_'.$tables_name.'.php"; -$modversion["blocks"][$i]["name"] = '.$language1.'_BLOCK_RECENT; -$modversion["blocks"][$i]["description"] = ""; -$modversion["blocks"][$i]["show_func"] = "b_'.$tables_module_table.'"; -$modversion["blocks"][$i]["edit_func"] = "b_'.$tables_module_table.'_edit"; -$modversion["blocks"][$i]["options"] = "recent|5|25|0"; -$modversion["blocks"][$i]["template"] = "'.$tables_module_table.'_block_recent.html"; +'.$modvb.'[$i][\'file\'] = "blocks_'.$tables_name.'.php"; +'.$modvb.'[\'name\'] = '.$language1.'_BLOCK_RECENT; +'.$modvb.'[\'description\'] = ""; +'.$modvb.'[\'show_func\'] = "b_'.strtolower($tm_table).'"; +'.$modvb.'[\'edit_func\'] = "b_'.strtolower($tm_table).'_edit"; +'.$modvb.'[\'options\'] = "recent|5|25|0"; +'.$modvb.'[\'template\'] = "'.strtolower($tm_table).'_block_recent.html"; $i++; -$modversion["blocks"][$i]["file"] = "blocks_'.$tables_name.'.php"; -$modversion["blocks"][$i]["name"] = '.$language1.'_BLOCK_DAY; -$modversion["blocks"][$i]["description"] = ""; -$modversion["blocks"][$i]["show_func"] = "b_'.$tables_module_table.'"; -$modversion["blocks"][$i]["edit_func"] = "b_'.$tables_module_table.'_edit"; -$modversion["blocks"][$i]["options"] = "day|5|25|0"; -$modversion["blocks"][$i]["template"] = "'.$tables_module_table.'_block_day.html"; +'.$modvb.'[\'file\'] = "blocks_'.$tables_name.'.php"; +'.$modvb.'[\'name\'] = '.$language1.'_BLOCK_DAY; +'.$modvb.'[\'description\'] = ""; +'.$modvb.'[\'show_func\'] = "b_'.strtolower($tm_table).'"; +'.$modvb.'[\'edit_func\'] = "b_'.strtolower($tm_table).'_edit"; +'.$modvb.'[\'options\'] = "day|5|25|0"; +'.$modvb.'[\'template\'] = "'.strtolower($tm_table).'_block_day.html"; $i++; -$modversion["blocks"][$i]["file"] = "blocks_'.$tables_name.'.php"; -$modversion["blocks"][$i]["name"] = '.$language1.'_BLOCK_RANDOM; -$modversion["blocks"][$i]["description"] = ""; -$modversion["blocks"][$i]["show_func"] = "b_'.$tables_module_table.'"; -$modversion["blocks"][$i]["edit_func"] = "b_'.$tables_module_table.'_edit"; -$modversion["blocks"][$i]["options"] = "random|5|25|0"; -$modversion["blocks"][$i]["template"] = "'.$tables_module_table.'_block_random.html"; +'.$modvb.'[\'file\'] = "blocks_'.$tables_name.'.php"; +'.$modvb.'[\'name\'] = '.$language1.'_BLOCK_RANDOM; +'.$modvb.'[\'description\'] = ""; +'.$modvb.'[\'show_func\'] = "b_'.strtolower($tm_table).'"; +'.$modvb.'[\'edit_func\'] = "b_'.strtolower($tm_table).'_edit"; +'.$modvb.'[\'options\'] = "random|5|25|0"; +'.$modvb.'[\'template\'] = "'.strtolower($tm_table).'_block_random.html"; '; $text .= ( $j != $i ) ? '$i++;' : 'unset($i);'; $j++; } } unset($j); -$text .= '// Config +$modvc = ''.$modv.'[\'config\'][$i]'; +$text .= ' +// Config $i = 1; -include_once XOOPS_ROOT_PATH . "/class/xoopslists.php"; -$modversion["config"][$i]["name"] = "editor"; -$modversion["config"][$i]["title"] = "'.$language.'_EDITOR"; -$modversion["config"][$i]["description"] = "'.$language.'_EDITOR_DESC"; -$modversion["config"][$i]["formtype"] = "select"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = "dhtmltextarea"; -$modversion["config"][$i]["options"] = XoopsLists::getEditorList(); -$modversion["config"][$i]["category"] = "global"; +'.$modvc.'[\'name\'] = "editor"; +'.$modvc.'[\'title\'] = "'.$language.'_EDITOR"; +'.$modvc.'[\'description\'] = "'.$language.'_EDITOR_DESC"; +'.$modvc.'[\'formtype\'] = "select"; +'.$modvc.'[\'valuetype\'] = "text"; +'.$modvc.'[\'default\'] = "dhtmltextarea"; +'.$modvc.'[\'options\'] = XoopsLists::getEditorList(); +'.$modvc.'[\'category\'] = "global"; $i++; -$modversion["config"][$i]["name"] = "keywords"; -$modversion["config"][$i]["title"] = "'.$language.'_KEYWORDS"; -$modversion["config"][$i]["description"] = "'.$language.'_KEYWORDS_DESC"; -$modversion["config"][$i]["formtype"] = "textbox"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = \'\'; +'.$modvc.'[\'name\'] = "keywords"; +'.$modvc.'[\'title\'] = "'.$language.'_KEYWORDS"; +'.$modvc.'[\'description\'] = "'.$language.'_KEYWORDS_DESC"; +'.$modvc.'[\'formtype\'] = "textbox"; +'.$modvc.'[\'valuetype\'] = "text"; +'.$modvc.'[\'default\'] = ""; $i++; '; foreach (array_keys($tables_arr) as $i) @@ -217,51 +225,44 @@ if ( $structure_parametres[0] == 'XoopsFormUploadImage' ){ $text .= ' //Uploads : size '.$structure_champs[0].' -$modversion["config"][$i]["name"] = "maxsize"; -$modversion["config"][$i]["title"] = "'.$language.'_MAXSIZE"; -$modversion["config"][$i]["description"] = "'.$language.'_MAXSIZE_DESC"; -$modversion["config"][$i]["formtype"] = "textbox"; -$modversion["config"][$i]["valuetype"] = "int"; -$modversion["config"][$i]["default"] = "10485760"; +'.$modvc.'[\'name\'] = "maxsize"; +'.$modvc.'[\'title\'] = "'.$language.'_MAXSIZE"; +'.$modvc.'[\'description\'] = "'.$language.'_MAXSIZE_DESC"; +'.$modvc.'[\'formtype\'] = "textbox"; +'.$modvc.'[\'valuetype\'] = "int"; +'.$modvc.'[\'default\'] = "10485760"; $i++; //Uploads : mimetypes '.$structure_champs[0].' -$modversion["config"][$i]["name"] = "mimetypes"; -$modversion["config"][$i]["title"] = "'.$language.'_MIMETYPES"; -$modversion["config"][$i]["description"] = "'.$language.'_MIMETYPES_DESC"; -$modversion["config"][$i]["formtype"] = "select_multi"; -$modversion["config"][$i]["valuetype"] = "array"; -$modversion["config"][$i]["default"] = array("image/gif", "image/jpeg", "image/png"); -$modversion["config"][$i]["options"] = array( -"bmp" => "image/bmp", -"gif" => "image/gif", -"jpeg" => "image/pjpeg", -"jpeg" => "image/jpeg", -"jpg" => "image/jpeg", -"jpe" => "image/jpeg", -"png" => "image/png"); +'.$modvc.'[\'name\'] = "mimetypes"; +'.$modvc.'[\'title\'] = "'.$language.'_MIMETYPES"; +'.$modvc.'[\'description\'] = "'.$language.'_MIMETYPES_DESC"; +'.$modvc.'[\'formtype\'] = "select_multi"; +'.$modvc.'[\'valuetype\'] = "array"; +'.$modvc.'[\'default\'] = array("image/gif", "image/jpeg", "image/png"); +'.$modvc.'[\'options\'] = array("bmp" => "image/bmp","gif" => "image/gif","jpeg" => "image/pjpeg", + "jpeg" => "image/jpeg","jpg" => "image/jpeg","jpe" => "image/jpeg","png" => "image/png"); $i++; '; } else if ( $structure_parametres[0] == 'XoopsFormUploadFile' ) { $text .= ' //Uploads : size '.$structure_champs[0].' -$modversion["config"][$i]["name"] = "maxsize"; -$modversion["config"][$i]["title"] = "'.$language.'_MAXSIZE"; -$modversion["config"][$i]["description"] = "'.$language.'_MAXSIZE_DESC"; -$modversion["config"][$i]["formtype"] = "textbox"; -$modversion["config"][$i]["valuetype"] = "int"; -$modversion["config"][$i]["default"] = "10485760"; +'.$modvc.'[\'name\'] = "maxsize"; +'.$modvc.'[\'title\'] = "'.$language.'_MAXSIZE"; +'.$modvc.'[\'description\'] = "'.$language.'_MAXSIZE_DESC"; +'.$modvc.'[\'formtype\'] = "textbox"; +'.$modvc.'[\'valuetype\'] = "int"; +'.$modvc.'[\'default\'] = "10485760"; $i++; //Uploads : mimetypes '.$structure_champs[0].' -include_once XOOPS_ROOT_PATH . \'/include/mimetypes.inc.php\'; -$modversion["config"][$i]["name"] = "mimetypes"; -$modversion["config"][$i]["title"] = "'.$language.'_MIMETYPES"; -$modversion["config"][$i]["description"] = "'.$language.'_MIMETYPES_DESC"; -$modversion["config"][$i]["formtype"] = "select_multi"; -$modversion["config"][$i]["valuetype"] = "array"; -$modversion["config"][$i]["default"] = array("image/gif", "image/jpeg", "image/png"); -$modversion["config"][$i]["options"] = $mimetypes; +'.$modvc.'[\'name\'] = "mimetypes"; +'.$modvc.'[\'title\'] = "'.$language.'_MIMETYPES"; +'.$modvc.'[\'description\'] = "'.$language.'_MIMETYPES_DESC"; +'.$modvc.'[\'formtype\'] = "select_multi"; +'.$modvc.'[\'valuetype\'] = "array"; +'.$modvc.'[\'default\'] = array("image/gif", "image/jpeg", "image/png"); +'.$modvc.'[\'options\'] = XoopsLists::getMimetypesList(); $i++; '; } @@ -269,33 +270,33 @@ } } $text .= ' -$modversion["config"][$i]["name"] = "adminperpage"; -$modversion["config"][$i]["title"] = "'.$language.'_ADMINPERPAGE"; -$modversion["config"][$i]["description"] = "'.$language.'_ADMINPERPAGE_DESC"; -$modversion["config"][$i]["formtype"] = "textbox"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = \'15\'; +'.$modvc.'[\'name\'] = "adminperpage"; +'.$modvc.'[\'title\'] = "'.$language.'_ADMINPERPAGE"; +'.$modvc.'[\'description\'] = "'.$language.'_ADMINPERPAGE_DESC"; +'.$modvc.'[\'formtype\'] = "textbox"; +'.$modvc.'[\'valuetype\'] = "text"; +'.$modvc.'[\'default\'] = \'15\'; $i++; -$modversion["config"][$i]["name"] = "advertise"; -$modversion["config"][$i]["title"] = "'.$language.'_ADVERTISE"; -$modversion["config"][$i]["description"] = "'.$language.'_ADVERTISE_DESC"; -$modversion["config"][$i]["formtype"] = "textarea"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = \'\'; +'.$modvc.'[\'name\'] = "advertise"; +'.$modvc.'[\'title\'] = "'.$language.'_ADVERTISE"; +'.$modvc.'[\'description\'] = "'.$language.'_ADVERTISE_DESC"; +'.$modvc.'[\'formtype\'] = "textarea"; +'.$modvc.'[\'valuetype\'] = "text"; +'.$modvc.'[\'default\'] = ""; $i++; -$modversion["config"][$i]["name"] = "social_active"; -$modversion["config"][$i]["title"] = "'.$language.'_SOCIALACTIVE"; -$modversion["config"][$i]["description"] = "'.$language.'_SOCIALACTIVE_DESC"; -$modversion["config"][$i]["formtype"] = "yesno"; -$modversion["config"][$i]["aluetype"] = "int"; -$modversion["config"][$i]["default"] = 0; +'.$modvc.'[\'name\'] = "social_active"; +'.$modvc.'[\'title\'] = "'.$language.'_SOCIALACTIVE"; +'.$modvc.'[\'description\'] = "'.$language.'_SOCIALACTIVE_DESC"; +'.$modvc.'[\'formtype\'] = "yesno"; +'.$modvc.'[\'aluetype\'] = "int"; +'.$modvc.'[\'default\'] = 0; $i++; -$modversion["config"][$i]["name"] = "social_code"; -$modversion["config"][$i]["title"] = "'.$language.'_SOCIALCODE"; -$modversion["config"][$i]["description"] = "'.$language.'_SOCIALCODE_DESC"; -$modversion["config"][$i]["formtype"] = "textarea"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = \'\'; +'.$modvc.'[\'name\'] = "social_code"; +'.$modvc.'[\'title\'] = "'.$language.'_SOCIALCODE"; +'.$modvc.'[\'description\'] = "'.$language.'_SOCIALCODE_DESC"; +'.$modvc.'[\'formtype\'] = "textarea"; +'.$modvc.'[\'valuetype\'] = "text"; +'.$modvc.'[\'default\'] = ""; unset($i); ?>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-13 14:29:54
|
Revision: 9317 http://xoops.svn.sourceforge.net/xoops/?rev=9317&view=rev Author: txmodxoops Date: 2012-04-13 14:29:43 +0000 (Fri, 13 Apr 2012) Log Message: ----------- Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_index.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_language.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_pages.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_configs.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-13 14:28:56 UTC (rev 9316) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-13 14:29:43 UTC (rev 9317) @@ -170,7 +170,7 @@ //Creation of language modinfo.php const_modinfo_language($mods, $mods_name, $tbls_arr, $mods_desc, $topic); //Creation of language admin.php - const_admin_language($mods, $mods_name, $tbls_arr, $tbls_name); + const_admin_language($mods, $mods_name, $tbls_arr, $topic); //Creation of language blocks.php const_blocks_language($mods, $mods_name, $tbls_arr); //Creation of language help.php Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_index.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_index.php 2012-04-13 14:28:56 UTC (rev 9316) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_index.php 2012-04-13 14:29:43 UTC (rev 9317) @@ -32,34 +32,50 @@ $text = '<?php'.$en_tete.' include "admin_header.php"; xoops_cp_header(); - $indexAdmin = new ModuleAdmin(); -'; + $indexAdmin = new ModuleAdmin();'; foreach (array_keys($tables_arr) as $i) { $t_name = $tables_arr[$i]->getVar("tables_name"); + $t_champs = $tables_arr[$i]->getVar("tables_champs"); + $text .= ' //count "total" - $count_'.$t_name.' = $'.$t_name.'Handler->getCount(); + $count_'.$t_name.' = $'.$t_name.'Handler->getCount(); //count "online" - $criteria = new CriteriaCompo(); + $criteria = new CriteriaCompo();'; + //if(array_key_exists($t_name."_online", $t_champs)){ + $text .= ' $criteria->add(new Criteria("'.$t_name.'_online", 1)); - $'.$t_name.'_online = $'.$t_name.'Handler->getCount($criteria); + $'.$t_name.'_online = $'.$t_name.'Handler->getCount($criteria);'; + //} + //if(array_key_exists($t_name."_pending", $t_champs)){ + $text .= ' $criteria->add(new Criteria("'.$t_name.'_pending", 1)); - $'.$t_name.'_pending = $'.$t_name.'Handler->getCount($criteria); + $'.$t_name.'_pending = $'.$t_name.'Handler->getCount($criteria);'; + //} + $text .= ' + unset($criteria); '; } $text .= ' - + $r = \'#FF0000\'; // Red + $g = \'#00AA00\'; // Green '; foreach (array_keys($tables_arr) as $i) { $t_name = $tables_arr[$i]->getVar("tables_name"); + $t_champs = $tables_arr[$i]->getVar("tables_champs"); $text .= ' $indexAdmin->addInfoBox('.$language.strtoupper($t_name).'); - $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).', $count_'.$t_name.', ); - $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).'_ONLINE, $'.$t_name.'_online, ); - $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).'_PENDING, $'.$t_name.'_pending, ); -'; + $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).', $count_'.$t_name.', ($count_'.$t_name.' == 0) ? $r : $g);'; + //if(array_key_exists($t_name."_online", $t_champs)){ + $text .= ' + $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).'_ONLINE, $'.$t_name.'_online, ($count_'.$t_name.' == 0) ? $r : $g);'; + //} + //if(array_key_exists($t_name."_pending", $t_champs)){ + $text .= ' + $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).'_PENDING, $'.$t_name.'_pending, ($count_'.$t_name.' == 0) ? $r : $g); +'; //} } $text .= ' echo $indexAdmin->addNavigation("index.php") ; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_language.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_language.php 2012-04-13 14:28:56 UTC (rev 9316) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_language.php 2012-04-13 14:29:43 UTC (rev 9317) @@ -20,13 +20,12 @@ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/include/functions_const.php'; -function const_admin_language($modules, $modules_name, $tables_arr, $tables_name) +function const_admin_language($modules, $modules_name, $tables_arr, $topic) { if(!isset($xoopsConfig)) { global $xoopsConfig; } - $language = '_AM_'.strtoupper($modules_name).'_'; - + $language = '_AM_'.strtoupper($modules_name).'_'; $file = "admin.php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/language/".$xoopsConfig['language']."/".$file; $en_tete = const_entete($modules, 0); @@ -42,19 +41,20 @@ '; } foreach (array_keys($tables_arr) as $i) -{ +{ + $t_name = $tables_arr[$i]->getVar("tables_name"); $text .= '//Buttons -define("'.$language.'NEW'.strtoupper($tables_arr[$i]->getVar("tables_name")).'","Add New '.$tables_name.'"); -define("'.$language.''.strtoupper($tables_arr[$i]->getVar("tables_name")).'LIST","List '.$tables_name.'"); -define("'.$language.''.strtoupper($tables_arr[$i]->getVar("tables_name")).'WAIT","Pending '.$tables_name.'"); +define("'.$language.'NEW'.strtoupper($t_name).'","Add New '.UcFirstAndToLower($t_name).'"); +define("'.$language.''.strtoupper($t_name).'LIST","List '.UcFirstAndToLower($t_name).'"); +define("'.$language.''.strtoupper($t_name).'WAIT","Pending '.UcFirstAndToLower($t_name).'"); '; } $text .= ' //General define("'.$language.'FORMOK","Registered successfull"); define("'.$language.'FORMDELOK","Deleted successfull"); -define("'.$language.'FORMSUREDEL", "Are you sure you want to delete: <b><span style=\"color : Red\"> %s </span></b>"); -define("'.$language.'FORMSURERENEW", "Are you sure you want renew: <b><span style=\"color : Red\"> %s </span></b>"); +define("'.$language.'FORMSUREDEL", "Are you sure you want to delete: <span class=\'bold red\'>%s</span>"); +define("'.$language.'FORMSURERENEW", "Are you sure you want renew: <span class=\'bold red\'>%s</span>"); define("'.$language.'FORMUPLOAD","Upload"); define("'.$language.'FORMIMAGE_PATH","File presents in %s"); define("'.$language.'FORMACTION","Action"); @@ -64,11 +64,12 @@ $verif = true; foreach (array_keys($tables_arr) as $i) { + $t_name = $tables_arr[$i]->getVar("tables_name"); //Champs $champs_total = explode("|", $tables_arr[$i]->getVar("tables_champs")); $nb_champs = count($champs_total); - $nb_caracteres = strlen($tables_arr[$i]->getVar("tables_name")); - $language1 = $language.strtoupper($tables_arr[$i]->getVar("tables_name")).'_'; + $nb_caracteres = strlen($t_name); + $language1 = $language.strtoupper($t_name).'_'; //Recuperation des noms des tables for($j=0; $j<$nb_champs; $j++) @@ -81,9 +82,9 @@ if ( $verif == true ) { $text .= ' -define("'.$language1.'ADD","Add a '.$tables_arr[$i]->getVar("tables_name").'"); -define("'.$language1.'EDIT","Edit a '.$tables_arr[$i]->getVar("tables_name").'"); -define("'.$language1.'DELETE","Delete a '.$tables_arr[$i]->getVar("tables_name").'"); +define("'.$language1.'ADD","Add a '.UcFirstAndToLower($t_name).'"); +define("'.$language1.'EDIT","Edit a '.UcFirstAndToLower($t_name).'"); +define("'.$language1.'DELETE","Delete a '.UcFirstAndToLower($t_name).'"); '; } @@ -98,18 +99,21 @@ $text .= '//Blocks.php'; foreach (array_keys($tables_arr) as $i) { - $language1 = $language.strtoupper($tables_arr[$i]->getVar("tables_name")).'_'; + $t_name = $tables_arr[$i]->getVar("tables_name"); + $language1 = $language.strtoupper($t_name).'_'; $text .= ' -define("'.$language1.'BLOCK_DAY","'.$tables_arr[$i]->getVar("tables_name").'s of today"); -define("'.$language1.'BLOCK_RANDOM","'.$tables_arr[$i]->getVar("tables_name").'s random"); -define("'.$language1.'BLOCK_RECENT","'.$tables_arr[$i]->getVar("tables_name").'s recents"); +define("'.$language1.'BLOCK_DAY","'.UcFirstAndToLower($t_name).' of today"); +define("'.$language1.'BLOCK_RANDOM","'.UcFirstAndToLower($t_name).' random"); +define("'.$language1.'BLOCK_RECENT","'.UcFirstAndToLower($t_name).' recents"); '; } +if( $topic == 1 ){ $text .= ' //Permissions define("'.$language.'PERMISSIONS_ACCESS","Permissions to access"); define("'.$language.'PERMISSIONS_VIEW","Permissions to view"); -define("'.$language.'PERMISSIONS_SUBMIT","Permissions to submit"); +define("'.$language.'PERMISSIONS_SUBMIT","Permissions to submit");';} +$text .= ' //Error NoFrameworks define("'.$language.'NOFRAMEWORKS","Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); define("'.$language.'MAINTAINEDBY", "is maintained by the"); Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_pages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_pages.php 2012-04-13 14:28:56 UTC (rev 9316) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_pages.php 2012-04-13 14:29:43 UTC (rev 9317) @@ -71,12 +71,11 @@ case "list": default: echo $'.$tables_name.'Admin->addNavigation(\''.$tables_name.'.php\'); - $'.$tables_name.'Admin->addItemButton('.$language.'_'.strtoupper($tables_name).'LIST, \''.$tables_name.'.php?op=list\', \'list\'); $'.$tables_name.'Admin->addItemButton('.$language.'_NEW'.strtoupper($tables_name).', \''.$tables_name.'.php?op=new_'.$tables_name.'\', \'add\'); echo $'.$tables_name.'Admin->renderButton(); $limit = $GLOBALS[\'xoopsModuleConfig\'][\'adminperpage\']; $criteria = new CriteriaCompo(); - $criteria->setSort("'.$champs_id.'"); + $criteria->setSort("'.$champs_id.' ASC, '.$champs_name.'"); $criteria->setOrder("ASC"); $numrows = $'.$tables_name.'Handler->getCount(); $start = '.$modules_name.'_CleanVars ( $_REQUEST, \'start\', 0, \'int\' ); @@ -175,14 +174,14 @@ } } - //Affichage du tableau + // View Table if ($numrows>0) { echo "<table class=\'outer width100\' cellspacing=\'1\'> <tr> '; $champs_colonne_name = const_show_champs_parametres($modules_name, $tables_name, $champs_id, $nb_champs, $champs, $champs_param_display_admin, $champs_param_type, $language, '', 0); - $text .= ''.$champs_colonne_name.' + $text .= $champs_colonne_name.' <th class=\'center width5\'>".'.$language.'_FORMACTION."</th> </tr>"; $class = "odd"; @@ -293,7 +292,7 @@ echo $obj->getHtmlErrors(); } } else { - xoops_confirm(array("ok" => 1, "'.$champs_id.'" => $_REQUEST["'.$champs_id.'"], "op" => "delete_'.$tables_name.'"), $_SERVER["REQUEST_URI"], sprintf('.$language.'_FORMSUREDEL, $obj->getVar("'.$tables_name.'_title"))); + xoops_confirm(array("ok" => 1, "'.$champs_id.'" => $_REQUEST["'.$champs_id.'"], "op" => "delete_'.$tables_name.'"), $_SERVER["REQUEST_URI"], sprintf('.$language.'_FORMSUREDEL, $obj->getVar("'.$champs_name.'"))); } break; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_configs.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_configs.php 2012-04-13 14:28:56 UTC (rev 9316) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_configs.php 2012-04-13 14:29:43 UTC (rev 9317) @@ -38,9 +38,6 @@ $mod_admin = "<a href=\'".'.strtoupper($modules_name).'_URL."/admin/index.php\'><strong>".'.$language.'_ADMIN."</strong></a>"; $mod_copyright = "<a href=\''.$modules_a_w_url.'\' title=\''.$modules_a_w_name.'\' target=\'_blank\'> <img src=\'".$mod_img."\' alt=\''.$modules_a_w_name.'\' /></a>"; -//Load languages -xoops_loadLanguage(\'modinfo\', $GLOBALS[\'xoopsModule\']->getVar("dirname")); -xoops_loadLanguage(\'main\', $GLOBALS[\'xoopsModule\']->getVar("dirname")); ?>'; createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_INCLUDES, Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php 2012-04-13 14:28:56 UTC (rev 9316) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php 2012-04-13 14:29:43 UTC (rev 9317) @@ -95,10 +95,11 @@ '; foreach (array_keys($tables_arr) as $i) { - $language1 = $language.strtoupper($tables_arr[$i]->getVar("tables_name")).''; - $text .= 'define("'.$language1.'_BLOCK_RECENT","'.strtolower($tables_arr[$i]->getVar("tables_name")).' recents"); -define("'.$language1.'_BLOCK_DAY","'.strtolower($tables_arr[$i]->getVar("tables_name")).' d\'aujourdh\'ui"); -define("'.$language1.'_BLOCK_RANDOM","'.strtolower($tables_arr[$i]->getVar("tables_name")).' aleatoires"); + $t_name = $tables_arr[$i]->getVar("tables_name"); + $language1 = $language.strtoupper($t_name).''; + $text .= 'define("'.$language1.'_BLOCK_RECENT","'.UcFirstAndToLower($t_name).' recents"); +define("'.$language1.'_BLOCK_DAY","'.UcFirstAndToLower($t_name).' of today"); +define("'.$language1.'_BLOCK_RANDOM","'.UcFirstAndToLower($t_name).' random"); '; } $text .=' @@ -106,7 +107,6 @@ define("'.$language.'EDITOR","Editor"); define("'.$language.'KEYWORDS","Keywords"); define("'.$language.'KEYWORDS_DESC","Insert here the keywords (separate by comma)"); - define("'.$language.'ADMINPERPAGE", "Admin per page"); define("'.$language.'ADMINPERPAGE_DESC", "Specifies how many items you want to display per page in the list."); define("'.$language.'ADVERTISE","Code of advertise"); Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php 2012-04-13 14:28:56 UTC (rev 9316) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php 2012-04-13 14:29:43 UTC (rev 9317) @@ -81,17 +81,17 @@ $text .= ''.$champs_save.' if ($'.$tables_name.'Handler->insert($obj)) { - redirect_header("'.$tables_name.'.php?op=show_list_'.$tables_name.'", 2, '.$language.'_FORMOK); + redirect_header("'.$tables_name.'.php?op=list", 2, '.$language.'_FORMOK); } echo $obj->getHtmlErrors(); $form =& $obj->getForm(); break; - case "default": + case "list": default: $criteria = new CriteriaCompo(); - $criteria->setSort("'.$champs_id.'"); + $criteria->setSort("'.$champs_id.' ASC, '.$champs_name.'"); $criteria->setOrder("ASC"); $numrows = $'.$tables_name.'Handler->getCount(); $'.$tables_name.'_arr = $'.$tables_name.'Handler->getall($criteria); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-13 14:29:08
|
Revision: 9316 http://xoops.svn.sourceforge.net/xoops/?rev=9316&view=rev Author: txmodxoops Date: 2012-04-13 14:28:56 +0000 (Fri, 13 Apr 2012) Log Message: ----------- Reupload Modified Paths: -------------- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_index.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_language.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_pages.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_configs.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php 2012-04-13 14:21:08 UTC (rev 9315) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php 2012-04-13 14:28:56 UTC (rev 9316) @@ -170,7 +170,7 @@ //Creation of language modinfo.php const_modinfo_language($mods, $mods_name, $tbls_arr, $mods_desc, $topic); //Creation of language admin.php - const_admin_language($mods, $mods_name, $tbls_arr, $tbls_name); + const_admin_language($mods, $mods_name, $tbls_arr, $topic); //Creation of language blocks.php const_blocks_language($mods, $mods_name, $tbls_arr); //Creation of language help.php Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_index.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_index.php 2012-04-13 14:21:08 UTC (rev 9315) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_index.php 2012-04-13 14:28:56 UTC (rev 9316) @@ -32,34 +32,50 @@ $text = '<?php'.$en_tete.' include "admin_header.php"; xoops_cp_header(); - $indexAdmin = new ModuleAdmin(); -'; + $indexAdmin = new ModuleAdmin();'; foreach (array_keys($tables_arr) as $i) { $t_name = $tables_arr[$i]->getVar("tables_name"); + $t_champs = $tables_arr[$i]->getVar("tables_champs"); + $text .= ' //count "total" - $count_'.$t_name.' = $'.$t_name.'Handler->getCount(); + $count_'.$t_name.' = $'.$t_name.'Handler->getCount(); //count "online" - $criteria = new CriteriaCompo(); + $criteria = new CriteriaCompo();'; + //if(array_key_exists($t_name."_online", $t_champs)){ + $text .= ' $criteria->add(new Criteria("'.$t_name.'_online", 1)); - $'.$t_name.'_online = $'.$t_name.'Handler->getCount($criteria); + $'.$t_name.'_online = $'.$t_name.'Handler->getCount($criteria);'; + //} + //if(array_key_exists($t_name."_pending", $t_champs)){ + $text .= ' $criteria->add(new Criteria("'.$t_name.'_pending", 1)); - $'.$t_name.'_pending = $'.$t_name.'Handler->getCount($criteria); + $'.$t_name.'_pending = $'.$t_name.'Handler->getCount($criteria);'; + //} + $text .= ' + unset($criteria); '; } $text .= ' - + $r = \'#FF0000\'; // Red + $g = \'#00AA00\'; // Green '; foreach (array_keys($tables_arr) as $i) { $t_name = $tables_arr[$i]->getVar("tables_name"); + $t_champs = $tables_arr[$i]->getVar("tables_champs"); $text .= ' $indexAdmin->addInfoBox('.$language.strtoupper($t_name).'); - $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).', $count_'.$t_name.', ); - $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).'_ONLINE, $'.$t_name.'_online, ); - $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).'_PENDING, $'.$t_name.'_pending, ); -'; + $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).', $count_'.$t_name.', ($count_'.$t_name.' == 0) ? $r : $g);'; + //if(array_key_exists($t_name."_online", $t_champs)){ + $text .= ' + $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).'_ONLINE, $'.$t_name.'_online, ($count_'.$t_name.' == 0) ? $r : $g);'; + //} + //if(array_key_exists($t_name."_pending", $t_champs)){ + $text .= ' + $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).'_PENDING, $'.$t_name.'_pending, ($count_'.$t_name.' == 0) ? $r : $g); +'; //} } $text .= ' echo $indexAdmin->addNavigation("index.php") ; Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_language.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_language.php 2012-04-13 14:21:08 UTC (rev 9315) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_language.php 2012-04-13 14:28:56 UTC (rev 9316) @@ -20,13 +20,12 @@ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/include/functions_const.php'; -function const_admin_language($modules, $modules_name, $tables_arr, $tables_name) +function const_admin_language($modules, $modules_name, $tables_arr, $topic) { if(!isset($xoopsConfig)) { global $xoopsConfig; } - $language = '_AM_'.strtoupper($modules_name).'_'; - + $language = '_AM_'.strtoupper($modules_name).'_'; $file = "admin.php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/language/".$xoopsConfig['language']."/".$file; $en_tete = const_entete($modules, 0); @@ -42,19 +41,20 @@ '; } foreach (array_keys($tables_arr) as $i) -{ +{ + $t_name = $tables_arr[$i]->getVar("tables_name"); $text .= '//Buttons -define("'.$language.'NEW'.strtoupper($tables_arr[$i]->getVar("tables_name")).'","Add New '.$tables_name.'"); -define("'.$language.''.strtoupper($tables_arr[$i]->getVar("tables_name")).'LIST","List '.$tables_name.'"); -define("'.$language.''.strtoupper($tables_arr[$i]->getVar("tables_name")).'WAIT","Pending '.$tables_name.'"); +define("'.$language.'NEW'.strtoupper($t_name).'","Add New '.UcFirstAndToLower($t_name).'"); +define("'.$language.''.strtoupper($t_name).'LIST","List '.UcFirstAndToLower($t_name).'"); +define("'.$language.''.strtoupper($t_name).'WAIT","Pending '.UcFirstAndToLower($t_name).'"); '; } $text .= ' //General define("'.$language.'FORMOK","Registered successfull"); define("'.$language.'FORMDELOK","Deleted successfull"); -define("'.$language.'FORMSUREDEL", "Are you sure you want to delete: <b><span style=\"color : Red\"> %s </span></b>"); -define("'.$language.'FORMSURERENEW", "Are you sure you want renew: <b><span style=\"color : Red\"> %s </span></b>"); +define("'.$language.'FORMSUREDEL", "Are you sure you want to delete: <span class=\'bold red\'>%s</span>"); +define("'.$language.'FORMSURERENEW", "Are you sure you want renew: <span class=\'bold red\'>%s</span>"); define("'.$language.'FORMUPLOAD","Upload"); define("'.$language.'FORMIMAGE_PATH","File presents in %s"); define("'.$language.'FORMACTION","Action"); @@ -64,11 +64,12 @@ $verif = true; foreach (array_keys($tables_arr) as $i) { + $t_name = $tables_arr[$i]->getVar("tables_name"); //Champs $champs_total = explode("|", $tables_arr[$i]->getVar("tables_champs")); $nb_champs = count($champs_total); - $nb_caracteres = strlen($tables_arr[$i]->getVar("tables_name")); - $language1 = $language.strtoupper($tables_arr[$i]->getVar("tables_name")).'_'; + $nb_caracteres = strlen($t_name); + $language1 = $language.strtoupper($t_name).'_'; //Recuperation des noms des tables for($j=0; $j<$nb_champs; $j++) @@ -81,9 +82,9 @@ if ( $verif == true ) { $text .= ' -define("'.$language1.'ADD","Add a '.$tables_arr[$i]->getVar("tables_name").'"); -define("'.$language1.'EDIT","Edit a '.$tables_arr[$i]->getVar("tables_name").'"); -define("'.$language1.'DELETE","Delete a '.$tables_arr[$i]->getVar("tables_name").'"); +define("'.$language1.'ADD","Add a '.UcFirstAndToLower($t_name).'"); +define("'.$language1.'EDIT","Edit a '.UcFirstAndToLower($t_name).'"); +define("'.$language1.'DELETE","Delete a '.UcFirstAndToLower($t_name).'"); '; } @@ -98,18 +99,21 @@ $text .= '//Blocks.php'; foreach (array_keys($tables_arr) as $i) { - $language1 = $language.strtoupper($tables_arr[$i]->getVar("tables_name")).'_'; + $t_name = $tables_arr[$i]->getVar("tables_name"); + $language1 = $language.strtoupper($t_name).'_'; $text .= ' -define("'.$language1.'BLOCK_DAY","'.$tables_arr[$i]->getVar("tables_name").'s of today"); -define("'.$language1.'BLOCK_RANDOM","'.$tables_arr[$i]->getVar("tables_name").'s random"); -define("'.$language1.'BLOCK_RECENT","'.$tables_arr[$i]->getVar("tables_name").'s recents"); +define("'.$language1.'BLOCK_DAY","'.UcFirstAndToLower($t_name).' of today"); +define("'.$language1.'BLOCK_RANDOM","'.UcFirstAndToLower($t_name).' random"); +define("'.$language1.'BLOCK_RECENT","'.UcFirstAndToLower($t_name).' recents"); '; } +if( $topic == 1 ){ $text .= ' //Permissions define("'.$language.'PERMISSIONS_ACCESS","Permissions to access"); define("'.$language.'PERMISSIONS_VIEW","Permissions to view"); -define("'.$language.'PERMISSIONS_SUBMIT","Permissions to submit"); +define("'.$language.'PERMISSIONS_SUBMIT","Permissions to submit");';} +$text .= ' //Error NoFrameworks define("'.$language.'NOFRAMEWORKS","Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); define("'.$language.'MAINTAINEDBY", "is maintained by the"); Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_pages.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_pages.php 2012-04-13 14:21:08 UTC (rev 9315) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_pages.php 2012-04-13 14:28:56 UTC (rev 9316) @@ -71,12 +71,11 @@ case "list": default: echo $'.$tables_name.'Admin->addNavigation(\''.$tables_name.'.php\'); - $'.$tables_name.'Admin->addItemButton('.$language.'_'.strtoupper($tables_name).'LIST, \''.$tables_name.'.php?op=list\', \'list\'); $'.$tables_name.'Admin->addItemButton('.$language.'_NEW'.strtoupper($tables_name).', \''.$tables_name.'.php?op=new_'.$tables_name.'\', \'add\'); echo $'.$tables_name.'Admin->renderButton(); $limit = $GLOBALS[\'xoopsModuleConfig\'][\'adminperpage\']; $criteria = new CriteriaCompo(); - $criteria->setSort("'.$champs_id.'"); + $criteria->setSort("'.$champs_id.' ASC, '.$champs_name.'"); $criteria->setOrder("ASC"); $numrows = $'.$tables_name.'Handler->getCount(); $start = '.$modules_name.'_CleanVars ( $_REQUEST, \'start\', 0, \'int\' ); @@ -175,14 +174,14 @@ } } - //Affichage du tableau + // View Table if ($numrows>0) { echo "<table class=\'outer width100\' cellspacing=\'1\'> <tr> '; $champs_colonne_name = const_show_champs_parametres($modules_name, $tables_name, $champs_id, $nb_champs, $champs, $champs_param_display_admin, $champs_param_type, $language, '', 0); - $text .= ''.$champs_colonne_name.' + $text .= $champs_colonne_name.' <th class=\'center width5\'>".'.$language.'_FORMACTION."</th> </tr>"; $class = "odd"; @@ -293,7 +292,7 @@ echo $obj->getHtmlErrors(); } } else { - xoops_confirm(array("ok" => 1, "'.$champs_id.'" => $_REQUEST["'.$champs_id.'"], "op" => "delete_'.$tables_name.'"), $_SERVER["REQUEST_URI"], sprintf('.$language.'_FORMSUREDEL, $obj->getVar("'.$tables_name.'_title"))); + xoops_confirm(array("ok" => 1, "'.$champs_id.'" => $_REQUEST["'.$champs_id.'"], "op" => "delete_'.$tables_name.'"), $_SERVER["REQUEST_URI"], sprintf('.$language.'_FORMSUREDEL, $obj->getVar("'.$champs_name.'"))); } break; Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_configs.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_configs.php 2012-04-13 14:21:08 UTC (rev 9315) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_configs.php 2012-04-13 14:28:56 UTC (rev 9316) @@ -38,9 +38,6 @@ $mod_admin = "<a href=\'".'.strtoupper($modules_name).'_URL."/admin/index.php\'><strong>".'.$language.'_ADMIN."</strong></a>"; $mod_copyright = "<a href=\''.$modules_a_w_url.'\' title=\''.$modules_a_w_name.'\' target=\'_blank\'> <img src=\'".$mod_img."\' alt=\''.$modules_a_w_name.'\' /></a>"; -//Load languages -xoops_loadLanguage(\'modinfo\', $GLOBALS[\'xoopsModule\']->getVar("dirname")); -xoops_loadLanguage(\'main\', $GLOBALS[\'xoopsModule\']->getVar("dirname")); ?>'; createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_INCLUDES, Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php 2012-04-13 14:21:08 UTC (rev 9315) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php 2012-04-13 14:28:56 UTC (rev 9316) @@ -95,10 +95,11 @@ '; foreach (array_keys($tables_arr) as $i) { - $language1 = $language.strtoupper($tables_arr[$i]->getVar("tables_name")).''; - $text .= 'define("'.$language1.'_BLOCK_RECENT","'.strtolower($tables_arr[$i]->getVar("tables_name")).' recents"); -define("'.$language1.'_BLOCK_DAY","'.strtolower($tables_arr[$i]->getVar("tables_name")).' d\'aujourdh\'ui"); -define("'.$language1.'_BLOCK_RANDOM","'.strtolower($tables_arr[$i]->getVar("tables_name")).' aleatoires"); + $t_name = $tables_arr[$i]->getVar("tables_name"); + $language1 = $language.strtoupper($t_name).''; + $text .= 'define("'.$language1.'_BLOCK_RECENT","'.UcFirstAndToLower($t_name).' recents"); +define("'.$language1.'_BLOCK_DAY","'.UcFirstAndToLower($t_name).' of today"); +define("'.$language1.'_BLOCK_RANDOM","'.UcFirstAndToLower($t_name).' random"); '; } $text .=' @@ -106,7 +107,6 @@ define("'.$language.'EDITOR","Editor"); define("'.$language.'KEYWORDS","Keywords"); define("'.$language.'KEYWORDS_DESC","Insert here the keywords (separate by comma)"); - define("'.$language.'ADMINPERPAGE", "Admin per page"); define("'.$language.'ADMINPERPAGE_DESC", "Specifies how many items you want to display per page in the list."); define("'.$language.'ADVERTISE","Code of advertise"); Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php 2012-04-13 14:21:08 UTC (rev 9315) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php 2012-04-13 14:28:56 UTC (rev 9316) @@ -81,17 +81,17 @@ $text .= ''.$champs_save.' if ($'.$tables_name.'Handler->insert($obj)) { - redirect_header("'.$tables_name.'.php?op=show_list_'.$tables_name.'", 2, '.$language.'_FORMOK); + redirect_header("'.$tables_name.'.php?op=list", 2, '.$language.'_FORMOK); } echo $obj->getHtmlErrors(); $form =& $obj->getForm(); break; - case "default": + case "list": default: $criteria = new CriteriaCompo(); - $criteria->setSort("'.$champs_id.'"); + $criteria->setSort("'.$champs_id.' ASC, '.$champs_name.'"); $criteria->setOrder("ASC"); $numrows = $'.$tables_name.'Handler->getCount(); $'.$tables_name.'_arr = $'.$tables_name.'Handler->getall($criteria); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <and...@us...> - 2012-04-13 14:21:21
|
Revision: 9315 http://xoops.svn.sourceforge.net/xoops/?rev=9315&view=rev Author: andrey3761 Date: 2012-04-13 14:21:08 +0000 (Fri, 13 Apr 2012) Log Message: ----------- XOOPS 2.5.5 RC: Russian translation is added. Modified Paths: -------------- XoopsLanguages/russian/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/russian/main.php XoopsLanguages/russian/core/2.5.5/htdocs/modules/profile/language/russian/admin.php XoopsLanguages/russian/core/2.5.5/release_notes.txt Added Paths: ----------- XoopsLanguages/russian/core/2.5.5/docs/changelog.250.txt XoopsLanguages/russian/core/2.5.5/docs/changelog.txt XoopsLanguages/russian/core/2.5.5/docs/lang_diff.txt Added: XoopsLanguages/russian/core/2.5.5/docs/changelog.250.txt =================================================================== --- XoopsLanguages/russian/core/2.5.5/docs/changelog.250.txt (rev 0) +++ XoopsLanguages/russian/core/2.5.5/docs/changelog.250.txt 2012-04-13 14:21:08 UTC (rev 9315) @@ -0,0 +1,654 @@ +XOOPS 2.5.x Changelog (Language changes: see: /docs/lang_diff.txt) + +=============================== +2011/03/14: Version 2.5.5 RC +=============================== +Bugfixes: + - ID: 3494895 When changing the # of visible entries in Protector, it goes to Admin (jcweb/mamba) + - ID: 3494894 Calendar shows 40 days (peekay/mage) + - ID: 3494896 Image Manager category creation restrictions (voltan/mage) + - ID: 3494893 PM Messages deleted from Saved box (Danielw42/mage) + - ID: 3501897 Protector errors (cesag/XavierS) + - ID: 3511204 TinyEditor only loading in the 'Scoop' part of the News module (peekay/XavierS) + - ID: 3511205 Bug in fresh install in page_configsave.php (XavierS) + +Improved: + - replacing "msnbot" with "bingbot" in Protector (mamba) + +Updated: + - HTML Purifier to 4.4.0 (mamba) + - TinyMCE to 3.4.9 (mamba) + - jQuery to 1.72 (mamba) + - jQueryUI to version 1.8.18 (mamba) + +=============================== +2011/02/19: Version 2.5.5 Beta +=============================== +Security fixes: + - XSS (Cross Site Scripting) vulnerability in PM module and tinymce (High-Tech Bridge Security Research Lab/trabis) + +Bugfixes: + - Templates Manager does not handle single quotes correctly (trabis) + - $xoTheme->addScript('', '', 'content here'); causes duplicate CDATA on cached pages (wishcraft/trabis) + - System admin maintenance table names are incorrect if db_prefix length is not 4 (trabis) + - System admin users advance search displays wrong results when using 'contains' or 'equal' in some fields (trabis) + - System admin users pagination not working correctly for some fields (trabis) + - System admin users blank page when site as many users (trabis) + - /class/object.php deprecated message, should be /class/xoopsobject.php (mamba/trabis) + - /class/module.php deprecated message, should be /class/xoopsmodule.php (mamba) + - /class/user.php deprecated message, should be /class/xoopsuser.php (mamba) + - ID: 3443381 Images stored in database not given correctly in edit mode (mage) + - ID: 3201929 Change upper limit for Banner impressions (mamba/mage) + - ID: 3432275 html structure (kris_fr/mage) + - ID: 3461539 Incorrect value for setOrder() in modulesadmin/main.php (mage) + - ID: 3469896 When deleting client, it doesn't delete finished banners (mamba/mage) + - ID: 3442270 Date format and Xoops 2.5.4 (cesag/formuss) + +Improved: + - Add key 'uid' on 'groups_users_link' table to allow joining 'users' table with better performance (trabis) + - Add Comments, Templates, and Uninstall links to Module's Admin (mamba) + +Updated: + - TinyMCE to 3.4.8 (mamba) + - jQuery to 1.71 (mamba) + - jQueryUI to version 1.8.17 (mamba) + - PhpMailer to version 5.2.1 (mamba) + +=============================== +2011/11/20: Version 2.5.4 Final +=============================== +Bugfixes: + - ID: 3430112 Java problem in xoops editor (voltan/mamba/trabis) + - dhtml smilie is always inserted in the end (mamba/trabis) + - tinymce using body background color (trabis) + - jquery ui css no loaded correctly on admin side (trabis) + - ID: 3432017 HTML tags not closed (kris_fr/mamba) + +Updated: + - updated jQuery to 1.7 (mamba) + +=============================== +2011/10/10: Version 2.5.4 RC +=============================== +Bugfixes: + - quoteConv causing problems with large number of quotes (Roby73/trabis) + - Cache bug. The key's not generated correctly (andrey3761/trabis) + - ID: 3425970 Unknown: Function split() (cesag/trabis) + - ID: 3424295 Undefined index: tplset (cesag/trabis) + - Preferences not using description field correctly, tooltip showing title and description without space (trabis) + - Extra height in admin page when warnings are not displayed (timgno/trabis) + - Files loaded with browse.php (*.js, *.css, etc) are not cached by the browser (trabis) + - ID: 3421180 CBB 4.05 and Xoops 2.5.4 error with Framework (cesag/trabis) + +Improved: + - Replacing deprecated Database::getInstance(); calls with XoopsDatabaseFactory::getDatabaseConnection(); (trabis) + - Logging deprecated methods and files that will be removed on XOOPS 2.6.0 (trabis) + +=============================== +2011/10/05: Version 2.5.4 Beta +=============================== +Bugfixes: + - Remove a call of non existing css file in admin menu + - ID: 3419812 Drag and drop Xoops 2.5.3 bug (cesag/trabis) + - Calendar form element does not work properly (trabis) + - Make sure xoops_data/data is writable during install (trabis) + - ID: 3419332 Logout bug (cesag/trabis) + +Updated: + - Update jQueryUI to version 1.8.16 (voltan) + - Update tinymce to version 3.4.6 (ForMuss) + - Update PhpMailer to version 5.1 (dhsoft) + - Update jQuery o version 1.6.4 (ForMuss) + - Update Core modules (PM, Profile, Protector) to ModuleAdmin GUI (mamba) + +Deleted: + - Delete xoops_lib/data/secure.php file for exclude update error + +=============================== +2011/10/03: Version 2.5.3 +=============================== +Bugfixes: + - Style switcher does not work on default admin GUI(trabis) + - Reverting fix for bug ID: 2672723 Changed the code in Install to omits the SQL command: "ALTER DATABASE ... CHARACTER SET ..." (trabis) + +=============================== +2011/09/29: Version 2.5.2 Final +=============================== +Bugfixes: + - ID: 3416069 - avatars upload problem (cesag/trabis) + - MyTextSanitizer::htmlSpecialChars() using UTF-8 by default (trabis) + - System Waiting block produces queries for inactive modules (trabis) + - 'Selected modules does not exist' if using inactive module on startpage (trabis) + +=============================== +2011/09/06: Version 2.5.2 RC +=============================== +Security fixes: + - Removed support for script driven images!!! (High-Tech Bridge Security Research Lab/trabis) + - Fixed XSS (Cross Site Scripting) vulnerability in /include/formdhtmltextarea_preview.php (High-Tech Bridge Security Research Lab/trabis) +Bugfixes: + - Protector Module - Added stopforumspam option (trabis) + - Modules admin does not show update warning for modules that have no main. (trabis) + - ID: 3411696 custom avatar is not deleted after user change avatar (sabahan) + - XoopsCaptcha does not load captcha configs correctly (trabis) + - XoopsCaptcha is not allowing the use of Frameworks folder (trabis) + - XoopsCaptcha(Method) is not extensible enough, can't add new captcha methods without hacking (trabis) + - ID: 2909799 Unbalanced [quote] introduces unbalanced <div> tag (ghia/trabis) + - ID: 2704039 backend.php does not work in 2.3.3 (drieben/trabis) + - ID: 3026492 Xoops Forms using Single Quotes For Html tags (catzwolf/trabis) + - ID: 3000518 Required fields for registration are not always enforced(csware/trabis) + - ID: 2795050 user profile Bug (zaza123/trabis) + - ID: 3014493 SQL structure duplicates wrongly PM module table (ghia/mamba) + - ID: 3139081 xoops_error displays array dump (madreus/trabis) + - ID: 2937966 Reusing loop variable in preferences (ghia/trabis) + - ID: 2843028 Bug fonction "checkRight" class XoopsGroupPerm (mageg/trabis) + - ID: 2827946 Required list message doesn't appear (daviddu54/trabis) + - cleanVars() does not enforce array() on vars of type 'array' (trabis) + - XoopsUserUtility::validate() {$uid} not set in query (trabis) + - ID: 3410742 Broken Message Icon Image for core pm. (sabahan/Mamba) + - ID: 2672723 Changed the code in Install to omits the SQL command: "ALTER DATABASE ... CHARACTER SET ..." if it's not needed. (bs_php) + - ID: 1988039 does not accept some valid email addresses (anderssk/trabis) + - ID: 1889743 Installation of module fails if SQL file ends with a comment (ojobazos/trabis) + - ID: 1811479 Showing the right block in the wrong place: Top page wrong d (nachenko/trabis) + - ID: 3409728 PM Module : Missing message icon in readpmsg.php (sabahan/Mamba) + - ID: 3409391 From module condition check error in pmlite.php (zyspec) + - ID: 2959764 Path with spaces causes bad login redirect (bhardie/trabis) + - ID: 2843027 Bug class criteria GroupBy (mageg/trabis) + - $block = new XoopsBlock($id); not assigning block vars. (trabis) + - ID: 3403521 System Block Class, getContent var case inconsistency (zyspec/trabis) + - ID: 2956172 Internet Explorer 8 and Alt-attribute (drieben/mamba) + - ID: 3408962 theme set during install & register (sabahan/formuss) + - ID: 3408955 comment display mode standardization (sabahan/formuss) + - ID: 3288975 javascript calendar date format localization (ianez/formuss) + - ID: 3059263 Word Censoring Options not work (trabis) + - ID: 3408572 zetadigme admin gui - top banner bug (sabahan) + - ID: 3090520 class xoopsform default date (philou_themes) + - ID: 3408236 PM Module - Missing Message Icon selector (sabahan/Mamba) + - ID: 2340215 Not possible to use URL link in images (marcoxoops/Mamba) + - ID: 3406494 Geshi support in textsanitizer, syntaxhighlight incomplete (zyspec/trabis) + - ID: 3074089 XoopsModelSync, synchronization method always returns true (zyspec/Formuss) + - ID: 3404935 Avatar for new users is set to 'blank.gif' (trabis/Formuss) + - ID: 3407347 Somewhat weird for the xoops_data, xoops_lib directory (trabis) + - ID: 3404306 message is delete directly no confirmation yes or no (trabis) + - ID: 3383092 Cache problems with Stylesheets (trabis) + - ID: 3406326 Setting of Message image not implemented in Core pmlite.php (Mamba) + - ID: 3406244 Read/Unread PM Module indicator in Core (sabahan/Mamba) + - ID: 3197093 formcheckbox.php validation not working in xoops 2.5.1a (Satrebil/trabis) + - ID: 2952506 Read/Unread PM Module indicator (sarahmx/Mamba) + - ID: 3404307 read and unread pm icon (Sabahan/Mamba) + - ID: 3404000 display of empty profile field (sabahan/trabis) + - ID: 3403568 avatar problem (sabahan/Formuss) + - ID: 3291912 multilanguage Language Issue (sabahan/Formuss) + - ID: 3241757 Module Update Error Messages (zyspec/Formuss) + - ID: 3400039 When module is deactivated, blocks are still active (Mamba/Formuss) + - ID: 3252445 Setting avatar display "off" in System Avatar has no effect (Mamba/Formuss) + - ID: 2482129 Huge number of files created in /smarty_cache (trabis) + - ID: 3109230 Cloned template are not accessible (Drieben/Formuss) + - ID: 3288284 Uninitialized variable in gui.php (Mamba/Formuss) + - ID: 3252474 Missing "Delete" action icon on Custom Avatars (Mamba/Formuss) + - Fix an error for display admin template (Mage/Formuss) + - Activate/Deactivate module was not updating xoops_active_modules cache file(trabis) + - ID: 3273466 Banner : Add new advertiser (Tatane/Formuss) +Added: + - Added renderValidationJS() for captcha (trabis) + - Recaptcha catpcha support (ghia/DhSoft/trabis) + - Preview button for blocks (trabis) + - "admin_warnings_enable" option in xoops_data/configs/xoopsconfig.php (trabis) + - Preload event 'checkcache' on header.php to allow disable caching on specific conditions (trabis) + - XoopsObject::getVar() case 'n' for XOBJ_DTYPE_ARRAY/XOBJ_DTYPE_UNICODE_ARRAY to allow getting raw value (trabis) +Improved: + - Changed "debugLevel" default option to 2(admins only) in xoops_data/configs/xoopsconfig.php(trabis) + - XoopsGroupPermHandler::getRight() as new parameter $trueifadmin to allow modules to set admin permissions (trabis) + - subject icons in private messages to be set by sender and not by the system (mamba) + - Blocks admin using cookies to save select boxes status (trabis) + - Moved js and css from xo_scripts template into gui class(using $xoTheme) to avoid module conflicts + - require class/xoopslocal.php causing problems with RMCommon (mamba/trabis) + +=============================== +2011/04/12: Version 2.5.2 Beta +=============================== +Bugfixes: + - Module names and orders were not able to update (phppp/aitor) + - Custom block was not able to add due to missing of 'block_type' (phppp/tatane/mr-reda04_fr/aitor) + - System avatars not set in DB (voltan) + - Improved translations (phppp/mamba) + + +=============================== +2011/03/23: Version 2.5.1 Final +=============================== +Bugfixes: + - ID: 3219412 Block Cloning : parent module (mid) not saved when cloning(trabis) + - ID: 3219408 Block management : data not saved when editing(trabis) + - ID: 3229007 Setting # of banner impressions has no effect(trabis) + + +=============================== +2011/03/15: Version 2.5.1 RC +=============================== +Updates: + - Updated suico and zetagenesis themes, zetadigme system admin theme (kris_fr) + +=============================== +2011/03/15: Version 2.5.1 RC +=============================== +Security improvements: + - Added filters to output data to avoid potential XSS (phppp/Aung Khant) +Updates: + - Update zetadigme admin gui (kris_fr) + - New MIME types (mojtabajml/kris_fr) + - Update jquery and jquery ui to last version (voltan) + - Fix bug in help page url in modules/system/class/gui.php (voltan) + - Add image URL show option in Image Manager (voltan) +Bugfixes: + - ID: 3168899 Module weight Arrangment bug, change order only for visible blocks (trabis) + - ID: 3167970 Banner edit generates a new banner(trabis) + - ID: 3153597 Banner management: URL click mandatory(trabis) + - ID: 3111137 Module Block is cloned as custom block(trabis) + + +=============================== +Updated 2010/10/23: Version 2.5.0 +=============================== +Bug Fixes: + + - Fix security bug in Profile (gaba/phppp) + - Fix save in edit avatar and change path to avatar in form (formuss) + - include jQuery in admin page (formuss) + - Fix: Banners - "add" buttons disappear after deleting all banners. (trabis) + - Fix: Banners - Blank page when deleting clients. (trabis) + - Fix: Impossible to edit a user if uname contains a ', it shows uname already taken. (trabis) + - Fix: Some user defines(Error messages) were placed in blocks language file! They were moved to user language file and renamed. (trabis) + - Fix: Impossible to "delete" or "update groups" of selected users. Table sorting does not work with select fields! Table sorting was disabled for now. Also, the action for deleting users was not matching the action requested by the submit form. + - Improving fix for "Arbitrary file deletion" reported by Ono. Make sure file is inside "themes" directory. (onokazu/trabis) + - Fixing Xss attack, and possible sql injections on admin user page(reported by Ono).. (onokazu/trabis) + - Added 3 language constants for interest, occupation and location for usage on "search user" page. . (trabis) + - Altered 3 language constants for interest, occupation and location used on "add/edit user" page.. (trabis) + - Fixed error messages constants that were using old definitions. . (trabis) + - Fixing "full path disclosure" (onokazu/trabis) + - Fix an error when we commit with blank.gif (formuss) + - Add default image for avatar (formuss) + - Clean variables passed by submit (formuss) + - Add case in clean variable function (formuss) + - Load english language as default (formuss) + - Fix errors with _AM_SYSTEM_DBUPDATED define in sub file (formuss) + - Fix an error on banners client deletion (formuss) + - Fix banners error on search client name (formuss) + - Fix an error when add smilies with existing file (formuss) + - Fix banners error on search client name (formuss) + - Fix an error when add smilies with existing file (formuss) + - Fix an error with IE (formuss) + - Fix problem for changing module name (formuss) + - ID: 3089455 (wrong width in Profile Style.css) (Mamba) + - ID: 3081037 (Updated PHP & MySQL requirementes) (Anderssk/Mamba) + - ID: 3089251 (Checkboxes in Block Accees not working) (Mamba/Formuss) + - ID: 3085003 (Info buttons not linked) (Mamba/Formuss) + - ID: 3084587 (Typo in xmlrpc.php) (Wishcraft/Mamba) + - ID: 3000221 (TYPE=MyISAM replaced by ENGINE=MyISAM) (Ghia/Mamba) + - Division by zero in banners.php (trabis) + - $myts not defined in banners.php (trabis) + - function xoops_getbanner() may delete a newly created banner (trabis) + - ID: 3060263([code] still translate to double <code> tags in 2.4.5 Final/madreus)(trabis) + - Templates that use xoAppUrl or xoImgUrl (themes/default/modules/system/system_redirect.html, etc) do not compile correctly during module update (trabis) + - XOOPS_SYSTEM_COMMENT not defined, comment permissions not working correctly (trabis) + - Banner count being incremented in admin pages and twice for redirect pages (trabis) + - ID: 2153663 (Preview function/anderssk) (trabis) + - ID: 2929230 (DHTML AJAX can tackle server/ghia) (trabis) + - ID: 3033138 (XoopsLists::getHtmlList method needs updating/zyspec) (trabis) + - ID: 3023820 (Error in folder class/formuss) (trabis/formuss) + - XoopsFormDhtmlTextArea validation not working (trabis) + - Removing file class/xoopsform/formtree.php, class is not working and not following Xoops naming conventions (trabis) + +Design Fixes: + - update legacy admin gui (change link in header) - xoops 2.5.0 (kris_fr) + - correction of image links and cleaning css code in legacy admin gui (kris_fr) + - correction and cleaning css code and deleting unused images in installer (kris_fr) + - correction define language, cleaning css code and deleting unused files in zetadigme admin gui (kris_fr) + - fix tooltips in zetadigme admin gui (kris_fr) + - design template system_preferences.html in zetadigme admin gui (kris_fr) + - suico theme : delete french language, correction filemanager link and language define for baradmin/footerstatic, add if no avatar in userbar popup (kris_fr) + - suico theme : minors fixes for list : ol li (kris_fr) + - fix suico thm for ie (kris_fr) + - fix and cleaning css code in modules/system/css (kris_fr) + - complete generic class in modules/system/css/class.css (kris_fr) + - rebuild default admin gui based by morphogenesis 3.1.3 (voltan) + * incativ orange skin (voltan) + - add new style Sheet for installer and upgrade script (voltan) + - update zetagenesis theme for xoops 2.5.0 : add new links, images and language defines in footer admin (kris_fr) + - minors fixes css in zetagenesis theme : link hover for #xo-logger-tabs, accordion transition effect (kris_fr) + - remove old tag/style css in system blocks templates - replace by generic class (kris_fr) + - complete xoops.css with basic styles and generic class used in system module, themes and admin gui (kris_fr) + - replace old/tag styles by generic class for module system templates (kris_fr) + - little cosmetic cleaning / generic class in admin templates (kris_fr) + - cosmetic cleaning / generic class in pm module templates (kris_fr) + - cosmetic cleaning / generic class in profile module templates (kris_fr) + - cosmetic cleaning / generic class in php files (kris_fr) + - add xoops.css to system_imagemanager.html (kris_fr) + - add imagemanager.css for imagemanager.html (voltan) + - redesign fatal error message (kris_fr) + - redesign upgrade process (kris_fr) + - complete legacy admin gui : icons missing and link for help page (kris_fr) + - fix block theme with pm module (kris_fr) + - fix td align in pm_pmlite.html (kris_fr) + - fix cookie Styleswitch - problem with old orange style for default admin gui (kris_fr) + - fix color link under ie8/9 in default admin gui footer (kris_fr) + - add help page in zetadigme admin gui (kris_fr) + +XOOPS: + - user.php: User page + * Change destroy session for jGrowl redirection + - xoops.css: Xoops stylesheet + * Add jGrowl style + - class/smarty/xoops_plugins/resource.db.php: Smarty plugin (Modify) + * Search template for module, permit to have two template with the same name in different module + * Construct template path for front and backend side + * Fix an error for find template + - class/smarty/xoops_plugins/compiler.xoAdminIcons.php: Smarty plugin for find icons (Add) + - class/smarty/xoops_plugins/compiler.xoAdminNav.php:: Smarty plugin for breadcrumb (Add) + - class/theme.html: XOOPS Theme (Modify) + * Change path to admin theme + - include/defines.php: XOOPS Constants (Modify) + * Change path and url for admin area + - xoops_lib/Frameworks/jquery/jquery.js: JQuery file (Modify) + * Update jQuery to latest version + - xoops_lib/Frameworks/jquery/plugins/jquery.form.js (Add) + - xoops_lib/Frameworks/jquery/plugins/jquery.jgrowl.js (Add) + - xoops_lib/Frameworks/jquery/plugins/jquery.lightbox.js (Add) + - xoops_lib/Frameworks/jquery/plugins/jquery.tablesorter.js (Add) + - xoops_lib/Frameworks/jquery/plugins/jquery.ui.js (Add) + - include/comment_form.php (Modify) + * Add choice of text editor module system in the comment form + +Install: + - install/include/makedata.php: Save default data for system module (Modify) + * Add some new setting in config table and new template for admin + - install/language/english/mysql.lang.data.sql: SQL data + * Change folder location + +System module: + - /modules/system/admin/modulesadmin/modulesadmin.php + * Adding extra module-related links to the just installed modules (Add) Mamba + - modules/system/header.php: System constants (Add) + * use specific header for all system module + - modules/system/admin.php: Admin main page (Modify) + * use system function for load admin language file + * use template for main admin page + * Use function for get system setting + - modules/system/help.php: Help page (Add) + * Add content to help index page and first page of all modules (Voltan) + - modules/system/constants.php: System constants (Modify) + * Add new constant variables for system module + - modules/system/menu.php: System menu (Modify) + * Use user right for manage menu + - modules/system/class/gui.php: Xoops Cpanel GUI abstract class (Modify) + * Manage template file in admin side and move admin theme in specific folder + - modules/system/class/cpanel.php: Xoops Cpanel class (Modify) + * Change path to admin theme + - modules/system/xoops_version.php: System setting (Modify) + * Clean code and add admin template and system settings + - modules/system/blocks/system_blocks.php (Modify) + * Add waiting content for some modules + +pm module: + * Changing the admin menu. Using the menu generated by the module system + - modules/pm/admin/admin.php (Modify) + - modules/pm/admin/header.php (Modify) + - modules/pm/admin/prune.php (Modify) + - modules/pm/changelog.txt (Modify) + - modules/pm/xoops_version.php (Modify) + +profile module: + * Changing the admin menu. Using the menu generated by the module system + - modules/profile/admin/category.php (Modify) + - modules/profile/admin/field.php (Modify) + - modules/profile/admin/header.php (Modify) + - modules/profile/admin/header.php (Modify) + - modules/profile/admin/permissions.php (Modify) + - modules/profile/admin/step.php (Modify) + - modules/profile/admin/user.php (Modify) + - modules/profile/changelog.txt (Modify) + - modules/profile/xoops_version.php (Modify) + + +Templates: + - modules/system/templates/admin: Folder for all admin template files (Add) + - modules/system/templates/admin/index.html: Secure HTML file (Add) + - modules/system/templates/admin/system_header.html: Template for breadcrumb, tips and help (Add) + - modules/system/templates/admin/system_avatar.html: Template for avatars (Add) + - modules/system/templates/admin/system_banners.html: Template for banners (Add) + - modules/system/templates/admin/system_blocks.html: Template for blocks (Add) + - modules/system/templates/admin/system_blocks_item.html: Sub template for blocks (Add) + - modules/system/templates/admin/system_comments.html: Template for comments (Add) + - modules/system/templates/admin/system_groups.html: Template for groups (Add) + - modules/system/templates/admin/system_images.html: Template for images (Add) + - modules/system/templates/admin/system_mailusers.html: Template for mail to users (Add) + - modules/system/templates/admin/system_maintenance.html: Template for maintenace (Add) + - modules/system/templates/admin/system_modules.html: Template for modules (Add) + - modules/system/templates/admin/system_modules_confirm.html: Template for modules (Add) + - modules/system/templates/admin/system_preferences.html: Template for preferences (Add) + - modules/system/templates/admin/system_smilies.html: Template for smilies (Add) + - modules/system/templates/admin/system_templates.html: Template for templates (Add) + - modules/system/templates/admin/system_userrank.html: Template for user ranks (Add) + - modules/system/templates/admin/system_users.html: Template for users (Add) + - modules/system/templates/admin/system_help.html: Template for help (Add) + - modules/system/templates/admin/system_index.html: Template for index (Add) + +Help: + - modules/system/language/english/help/avatars.html: Help file for avatars + +CSS: + - modules/system/css: Folder for CSS file (Add) + * Create a folder for put all CSS file used by system module + - modules/system/css/index.html: Secure HTML file (Add) + - modules/system/css/admin.css: CSS file for system module (Add) + - modules/system/css/button.css: CSS file for buttons (Add) + - modules/system/css/class.css: CSS file for standard class (Add) + - modules/system/css/admin.css: CSS file for help section (Add) + - modules/system/css/lightbox.css: CSS file for help lightbox (Add) + - modules/system/css/help.css: CSS file for help pages (Add) + - modules/system/css/code_mirror/*: Code mirror stylesheet files + +Images: + - modules/system/images/icons/*: Icons folder (Add) + - modules/system/images/breadcrumb/*: Breadcrumb folder (Add) + - modules/system/images/mimetypes/*: Mimetypes folder (Add) + - modules/system/images/bg_button.gif: Background images button (Add) + - modules/system/images/loading.gif: Loading images (Add) + - modules/system/images/spinner.gif: Small loading images (Add) + - modules/system/images/bg_content.gif (Delete) + - modules/system/images/bg_menu.gif (Delete) + - modules/system/images/check.gif (Delete) + - modules/system/images/hbar_left.gif (Delete) + - modules/system/images/hbar_middle.gif (Delete) + - modules/system/images/hbar_right.gif (Delete) + - modules/system/images/info.gif (Delete) + - modules/system/images/install.gif (Delete) + - modules/system/images/logo.gif (Delete) + - modules/system/images/menu.gif (Delete) + - modules/system/images/powered_by_xoops.gif (Delete) + - modules/system/images/uninstall.gif (Delete) + - modules/system/images/update.gif (Delete) + - modules/system/images/xoops2.gif (Delete) + +JS: + - modules/system/js: Folder fo JS files (Add) + - modules/system/js/index.html: Secure HTML file (Add) + - modules/system/js/admin.js: Main JS file for system module (Add) + +Breadcrumbs: + - modules/system/class/breadcrumb.php: Class for breadcrumb toolbar + * Manage the breadcrumb in system module + +Thumbs: + - modules/system/class/thumbs: Thumbs class for avatar and image gallery (Add) + * Class for generate thumbs images + +Avatars: + - edituser.php: Xoops edit user page (Modify) + * Create a specific folder in uploads directory for avatars + - modules/profile/edituser.php: Profile edit user page (Modify) + * Create a specific folder in uploads directory for avatars + + - modules/system/admin/avatars/xoops_version.php: Avatars configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/avatars/main.php: Main avatar managment (Modify) + * Code cleanup and use of a specific class to manage Avatars + - modules/system/class/avatar.php: System class for Avatars (Modify) + * Manage avatars with a specific class + - modules/system/language/english/admin/avatar.php: Avatar define variable (Modify) + * Changed define name to follow XOOPS standard + +Banners: + - modules/system/admin/banners/xoops_version.php: Banners configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/banners/main.php: Main banners managment (Modify) + * Code cleanup and use of a specific class to manage Banners + - modules/system/admin/banners/banners.php (Delete) + - modules/system/class/banner.php: Banners Class Manager (Add) + * Manage banners with a specific class + - modules/system/class/bannerclient.php: Banners Client Class Manager (Add) + * Manage banners client with a specific class + - modules/system/class/bannerfinish.php: Banners Finish Class Manager (Add) + * Manage banners finish with a specific class + - modules/system/language/english/admin/banners.php: Banners define variable (Modify) + * Changed define name to follow XOOPS standard + +Blocks: + - modules/system/admin/blocksadmin/xoops_version.php: Blocks configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/blocksadmin/main.php: Main block managment (Modify) + * Code cleanup and use of a specific class to manage Blocks + - modules/system/admin/blocksadmin/blockform.php (Delete) + - modules/system/admin/blocksadmin/blocksadmin.php (Delete) + - modules/system/class/block.php: Block Class Manager (Add) + * Manage blocks with a specific class + - modules/system/class/blocklinkmodule.php: Block link to module Class Manager (Add) + - modules/system/class/cookie.php: Class for manage cookie + - modules/system/language/english/admin/blocksadmin.php: Block define variable (Modify) + * Changed define name to follow XOOPS standard + +Comments: + - modules/system/admin/comments/xoops_version.php: Comments configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/comments/main.php: Main comments managment (Modify) + * Code cleanup and use of a specific class to manage Comments + - modules/system/admin/comments/admin_header.php: Comment Header (Modify) + - modules/system/admin/comments/comment_delete.php: Comment delete file (Modify) + - modules/system/admin/comments/comment_edit.php: Comment edit file (Modify) + - modules/system/admin/comments/comment_post.php: Comment post file (Modify) + - modules/system/language/english/admin/comments.php: Comment define variable (Modify) + * Changed define name to follow XOOPS standard + +Find users: + - modules/system/admin/findusers/xoops_version.php: Find user configuration files (Delete) + - modules/system/admin/findusers/main.php: Main find user managment (Delete) + - modules/system/language/english/admin/findusers.php: Find user define variable (Delete) + +Groups: + - modules/system/admin/groups/xoops_version.php: Groups configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/groups/main.php: Main groups managment (Modify) + * Code cleanup and use of a specific class to manage Comments + - modules/system/admin/groups/groupform.php (Delete) + - modules/system/admin/groups/groups.php (Delete) + - modules/system/class/group.php: Group Class Manager (Add) + * Manage group with a specific class + * Add All check box for group form + - modules/system/language/english/admin/groups.php: Groups define variable (Modify) + * Changed define name to follow XOOPS standard + +Images: + - modules/system/admin/images/xoops_version.php: Images configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/images/main.php: Main Images managment (Modify) + * Code cleanup and use of a specific class to manage Images + - modules/system/language/english/admin/images.php: Images define variable (Modify) + * Changed define name to follow XOOPS standard + +Mail users: + - modules/system/admin/mailusers/xoops_version.php: Mail to users configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/mailusers/main.php: Main mail to users managment (Modify) + * Code cleanup and use of a specific class to manage Mail to users + - modules/system/admin/groups/mailform.php (Delete) + - modules/system/admin/groups/mailusers.php (Delete) + - modules/system/language/english/admin/mailusers.php: Mail to users define variable (Modify) + * Changed define name to follow XOOPS standard + +Maintenance: + - modules/system/admin/maintenance/xoops_version.php: Maintenance configuration files (Add) + * Changes to use the same variables for image and help + - modules/system/admin/maintenance/main.php: Main Maintenance managment (Add) + * Use a specific class for manage maintenance + - modules/system/admin/maintenance/dump: Folder for database dump (Add) + - modules/system/class/maintenance.php: Maintenance Class Manager (Add) + * Manage maintenance with a specific class + - modules/system/language/english/admin/maintenance.php: Maintenance variable (Add) + * Changed define name to follow XOOPS standard + +Modules: + - modules/system/admin/modulesadmin/xoops_version.php: Maintenance configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/modulesadmin/main.php: Main Maintenance managment (Modify) + * Update code and use drag'n drop for define position + - modules/system/modulesadmin/modulesadmin.php: Modules functions (Modify) + * Change header file and change log display + - modules/system/language/english/admin/modulesadmin.php: Maintenance variable (Modify) + * Changed define name to follow XOOPS standard + +Preferences: + - modules/system/admin/preferences/xoops_version.php: Preferences configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/preferences/main.php: Preferences managment (Modify) + * Clean code for manage preferences + - modules/system/language/english/admin/preferences.php: Preferences variable (Modify) + * Changed define name to follow XOOPS standard + +Smilies: + - modules/system/admin/smilies/xoops_version.php: Smilies configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/smilies/main.php: Smilies managment (Modify) + * Code cleanup and use of a specific class to manage smilies + - modules/system/admin/smilies/smileform.php (Delete) + - modules/system/admin/smilies/smilies.php (Delete) + - modules/system/class/smilies.php: Smilies Class Manager (Add) + * Manage smilies with a specific class + - modules/system/language/english/admin/smilies.php: Smilies variable (Modify) + * Changed define name to follow XOOPS standard + +Templates: + - modules/system/admin/tplsets/xoops_version.php: Templates configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/tplsets/main.php: Templates managment (Modify) + * Change code for use template editor (code mirror) + - modules/system/admin/tplsets/jquery.php: jQuery File Tree PHP Connector (Add) + - modules/system/admin/tplsets/themeimgform.php (Delete) + - modules/system/admin/tplsets/tplform.php (Delete) + - modules/system/language/english/admin/tplsets.php: Templates variable (Modify) + * Changed define name to follow XOOPS standard + +Ranks + - modules/system/admin/userrank/xoops_version.php: User ranks configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/userrank/main.php: User ranks managment (Modify) + * Code cleanup and use of a specific class to manage user ranks + - modules/system/admin/userrank/rankform.php (Delete) + - modules/system/admin/userrank/userrank.php (Delete) + - modules/system/class/userrank.php: User ranks Class Manager (Add) + * Manage user ranks with a specific class + - modules/system/language/english/admin/userrank.php: User ranks variable (Modify) + * Changed define name to follow XOOPS standard + +Users: + - modules/system/admin/users/xoops_version.php: User configuration files (Modify) + * Changes to use the same variables for image and help + - modules/system/admin/users/main.php: User managment (Modify) + * Code cleanup and use of a specific class to manage user + - modules/system/admin/users/users.php: Users functions (Modify) + * Code cleanup and use of a specific class to manage user + - modules/system/admin/users/jquery.php: jQuery File Tree PHP Connector (Add) + - modules/system/admin/users/userform.php (Delete) + - 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 Added: XoopsLanguages/russian/core/2.5.5/docs/changelog.txt =================================================================== --- XoopsLanguages/russian/core/2.5.5/docs/changelog.txt (rev 0) +++ XoopsLanguages/russian/core/2.5.5/docs/changelog.txt 2012-04-13 14:21:08 UTC (rev 9315) @@ -0,0 +1,1388 @@ +XOOPS Changelog + + +=============================== +2010/07/12: Version 2.4.5 Final +=============================== +- Formulated coding style and restored author/copyright information in header blocks (phppp) +- Fixed bug #3025455: return value was missing in {@XoopsObject} getVar method (phppp/catzwolf) + +=============================== +2010/06/19: Version 2.4.5 RC3 +=============================== +- Reverted calendar realted functionality to XOOPS 2.3 series due to license conflicts (phppp/mamba) +- Improved file inclusion for Framework in XoopsLoad: stop including a file if it is not detected (phppp) + +=============================== +2010/05/22: Version 2.4.5 RC2 +=============================== +Updates upon community: +- Reverted: Added Support for unicode object vars (trabis) +- Added: .htaccess into uploads folder for extra security (mamba) +- Fixed: _CM_RE renamed to _RE (trabis/mowaffaq) + +=============================== +2010/02/10: Version 2.4.5 RC +=============================== +Updates upon community: +- Fixed: Flash banners are not displayed in the expected position (kris_fr/trabis) +- Improved current link in system block : mainmenu and usermenu (trabis/kris_fr) +- Reverted: Support for unicode object vars, reverting object behavior to 2.3.x (trabis) +- Reverted: Changes in module textsanitizer related to the code box fix (trabis) + +Removed Language defines: +- Please refer to modules/profile/changelog.txt (trabis) + +=============================== +2010/02/04: Version 2.4.5 beta +=============================== +Updates upon community: +- Fixed: Adding missing constructor classes for php4 compatibility (trabis) +- Fixed: Problems with & a m p ; character (trabis) + + +=============================== +2010/01/16: Version 2.4.4 +=============================== +Updates upon community: +- Added: Frameworks/textsanitizer (beckmi/culex) +- Added: New logger for deprecated API (trabis) +- Fixed: Functions for getting and setting system and module configs, no cleaning should be made (trabis) +- Fixed: Changing © into @ in some config values (trabis) +- Fixed: Notifications box not including comments language (trabis) +- Fixed: Profile module Field weight: > 9 incorrect display (trabis) +- Improved: Cache file 'system_modules_active' is automatically created without need to update system module (trabis) + +Updates from Sourceforge trackers: +- Fixed bug #2928289 : XOOPS object behaviour modified (trabis/ghia) + +Added Language defines: + language/english/logger.php _LOGGER_DEPRECATED + +=============================== +2009/12/26: Version 2.4.3 +=============================== +Updates upon community: +- Added: Ability to assign display elements to a specific group of users (ghia) +- Added: Smarty variable for xoops_avatar (kris_fr/trabis) +- Added: Cache supported functions: xoops_getActiveModules(), xoops_setActiveModules(), xoops_isActiveModule() (trabis) +- Added: XoopsMailer - Adding method to set 'allow html' parameter (Wishcraft) +- Improved: Preloads are only loaded for modules installed and active, this will reduce queries and improve performance (trabis) +- Fixed : XoopsLoad class (xoops calendar not found and other issues) (trabis) +- Fixed : Database images not loading when using php 5.3 (trabis) +- Fixed : Cross-Site Scripting vulnerability in PM module (trabis/secunia.com) +- Fixed : SQL Injection vulnerability in kernel/notification.php (trabis/secunia.com) + +Updates from Sourceforge trackers: +- Fixed bug #2917631 : Double frame around BBcode quotes in zetagenesis (kris_fr/ghia) +- Fixed bug #2923867 : Website Row is displayed even value is empty (trabis/maxxy) +- Fixed bug #2909312 : Layout of XoopsForms is changed (trabis/ghia) +- Fixed bug #2904777 : preload including not installed module's preloads (trabis/bandit-x) +- Fixed bug #2908887 : User can not select system avatars (trabis/ghia) +- Fixed bug #2911944 : Users can see other users profile in edit profile (trabis/ghia) +- Fixed bug #2910495 : BBcode code tag handles code worse than quote tag (trabis/ghia) +- Fixed bug #2914175 : code tags translate to double tags and alter first line (trabis/ghia) +- Fixed bug #2915970 : Banner white page on IE (trabis/ghia) + +Added Language defines: + language/english/banners.php _BANNERS_NO_LOGIN_DATA + language/english/banners.php _BANNERS_NO_REFERER + language/english/banners.php _BANNERS_NO_ID + +=============================== +2009/11/28: Version 2.4.2 +=============================== +Updates upon community: +- Fixed : "embed" is deprecated in banners (kris_fr) +- Fixed : bug flash banner (display and count) (kris_fr) +- Fixed : Duplicate notifications (trabis) +- Fixed : Cannot delete multiple pms in PM module (trabis) +- Fixed : removed dependency on Framework Captcha (mamba, ghia) +- Fixed : Language problem in xoops mailer (dhcst) +- Fixed : XoopsPersistableObjectHandler::get() not allowing getting objects with id=0 (trabis) +- Fixed : Cannot redeclare class xoopscaptchaimage (trabis) +- Fixed : problem with module menus(article, tags) in oxygen admin gui (trabis) +- Added : missing index.html files (mamba, Culex) +- Added : Frameworks/compat (trabis) +- Added : define language for banner client ID (kris_fr) +- Added : users real name can now be used in themes <{$xoops_name}> (kris_fr) +- Added : comment for download module and theme in last page "xoops installer" (kris_fr) +- Improved : rtl style in oxygen GUI (voltan) + +Updates from Sourceforge trackers: +- Fixed bug #2904049: xoopsform/formfile.php (mamba, Frankblack) + +Added Language defines: + modules/system/language/english/admin/banners.php _AM_CLIENTID + +Modified Language file: + install/language/english/finish.php + +=============================== +2009/10/27: Version 2.4.1 +=============================== +Updates upon community: +- Fixed : image.php not returning images (trabis) +- Fixed : some deprecated files are loading incorrect files (trabis) +- Fixed : form for selecting user not working (trabis) +- Fixed : Left blocks expanding in default theme in some browsers (Runeher) +- Fixed : Banners opening on a blank IE page (trabis) +- Fixed : Xoops forms not including xoopsform correctly (trabis, Alekska) +- Fixed : Blocks preview not working (trabis) +- Added : Preload hook in index.php (trabis) + +Updates from Sourceforge trackers: +- Fixed bug #2864474: 2.4.0 RC Registration Emails Duplicated (trabis) + +=============================== +2009/10/23: Version 2.4.0 +=============================== +Updates from Sourceforge trackers: +- Fixed bug #2872644 : Find users bug - MAX_JOIN_SIZE (trabis/ghia/mowaffak) +- Fixed bug #2877987 : setExtra of XoopsFormElement is unusable (trabis/instantzero) +- Fixed bug #2720792 : Hardcoded "Re:" in pmlite.php (trabis/arabxoops) + +Removed language defines: + /language/english/comment.php _CM_RE + +Added Language defines: + /language/english/global.php _RE + +=============================== +2009/09/10: Version 2.4.0 RC +=============================== +Updates upon community: +- Removed soap authentication and classes(trabis) +- Removed extra databases support (trabis) + +Removed language defines: + /modules/system/language/english/admin/preferences.php _MD_AM_AUTH_CONFOPTION_SOAP + /modules/system/language/english/admin/preferences.php _MD_AM_SOAP_* + +=============================== +2009/09/6: Version 2.4.0 Beta 2 +=============================== +Updates from Sourceforge trackers: +- Fixed bug #2586854: date format is hardcoded in form elements (dugris/marco) +- Fixed bug #2835056: ldap / soap syntax error (frankblack/julionc) +- Fixed bug #2723428: Search Results - SEO (arabxoops/julionc) +- Fixed bug #2838534: Error in oxygen orange css file (tititou/julionc) +- Fixed bug #2839949: Wrong display of mandatory fields in oxygen GUI theme (tititou) +- Added patch #2838667 : HTML syntax error + various formating in oxygen GUI, and clean up! (tititou/julionc) +- Added feature request #2816381: Images Manager Sorting(trabis/Slyss) + +Updates upon community: +- Fixed : some php4 related bugs in installer and xoopslogger (trabis) +- Removed : System key (trabis) +- Changed : Admin GUI's are now using a theme factory, modules can make use of $xoTheme and $xoopsTpl (trabis) ++ Added : Preload system, modules can now respond to system events(trabis) ++ Added : Support to php5.3 (trabis) ++ Added : jquery support. If you need to use jquery.js, please use $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); (trabis/phppp) + +Modified Language files: + /modules/system/class/gui/oxygen/language/english/admin.php _AD_XOOPSMODULES, _AD_LOCALSUPPORT + +Removed language defines: + /modules/system/language/english/admin/preferences.php _MD_AM_SYSTEMKEY + /modules/system/language/english/admin/preferences.php _MD_AM_SYSTEMKEYDSC + upgrade/upd-2.0.18-to-2-3-0/language/english.php LEGEND_XOOPS_MAINFILE_FORPROTECTOR + upgrade/upd-2.0.18-to-2-3-0/language/english.php XOOPS_MAINFILE_LABEL_FORPROTECTOR + +Added Language File: + /language/english/localsupport.php + /class/calendar/JSCal2/JSCal2/src/js/lang/en.js + /class/calendar/JSCal2/language/english.php + +Third-party updates: + + +============================ +2009/08/12: Version 2.4.0 Beta 1 +============================ +Updates from Sourceforge trackers: +- Fixed bug #2761876: Indexes issues/improvements (trabis/Instant-Zero) +- Fixed bug #2788739: missing language definition _XOOPS_FORM_ALTYOUTUBE (trabis/voltan) +- Added feature req #2414148 : removing harcoded 'administration' from cpanels (trabis/mowaffaq) +- Fixed bug #2782360: Profile Module - Registration steps and user creation (trabis/instantzero) +- Fixed bug #2730373: Removing content from homepage template (trabis/instantzero) +- Fixed bug #2704179: CaritaFoto and Link to image with a space in the dir name (trabis) +- Fixed bug #2624953: Can't save value of DATE and LONGDATE in profile module (trabis) +- Fixed bug #2691957: Images not given in the image manager (trabis) +- Fixed bug #2661850: Bug on [mp3] tags and update player.swf (trabis) + +Updates upon community: +- Fixed bug: Updating countries list and moving harcoded names to language folder (trabis) +- Fixed bug: Parsing issues with Oxigen(class mapper) (trabis/mamba) +- Fixed bug: Blocksadmin - Cookies for remembering display list settings (trabis) +- Fixed bug: Undefined 'OS' in logger/render.php (trabis) +- Fixed bug: Inclusion of custom config file for text sanitizer (trabis) +- Fixed bug: XoopsList.php (Timezone return is not true must be array) (wishcraft) +- Fixed bug: Xoops Captcha Class This class would call third party Framewok Files. If the file was not found, this would either report no error or cause a WSOD. (Catzwolf) +- Fixed bug: class/captcha/xoopscaptcha: Fixed many suppression errors that would lead to either WSOD or report no error. (Catzwolf) +- Fixed bug: Can not delete notifications. Cache was being used and Token validation was failing. (trabis) +- Fixed bug: Cookie Domain Dope now has constant set in common.php - XOOPS_COOKIE_DOMAIN (wishcraft) +- Fixed bug: XoopsCache - XOOPS URL Include with Cache Filename (Cause issue with multiple domains) (wishcraft) +- Fixed bug: XoopsTpl - XOOPS URL Include with Cache Filename (Cause issue with multiple domains) (wishcraft) +- Fixed bug: XoopsObject - $this->vars[$key]['changed'] not set to true if value is the same and unchanged. (wishcraft) +- Fixed bug: XoopsAuth - Some installs of xoops } would physically be missing from auth_ldap.php, xoops_ads.php [rep: brandonheyer] (wishcraft) + +- Changed: Xoops Captcha Config: Cleaned and Formatted code for consistency. (Catzwolf) +- Changed: Xoops Captcha Image: Cleaned and Formatted code for consistency. (Catzwolf) +- Changed: Xoops Captcha Text: Cleaned and Formatted code for consistency. (Catzwolf) +- Chanded: XoopsDatabase: Cleaned and Formatted code for consistency. (Catzwolf) +- Changed: XoopsDatabaseFactory: Cleaned and Formatted code for consistency. Added error checking on file inclusion with error reporting. (Catzwolf) +- Changed: XoopsFormCheckBox: Added check to see if class has already been loaded and changed include to use xoops_load function. (Catzwolf) +- Changed: XoopsFormDhtmlTextArea: Added check to see if class has already been loaded and changed include to use xoops_load function. (Catzwolf) +- Changed: XoopsGroupPermForm: Added Check to see if form have been loaded ppreviously nad changed includes to use xoops_load function (Catzwolf) +- Changed: XoopsLists: Cleaned and Formatted Code. (Catzwolf) +- Changed: Xoops ThemeForm and TableForm: Fixed the tables td to a fixed width 40%. (catzwolf) +- Changed: XoopsForm: ThemeForm and TableForm: Replaced htmlspecialchar to a preg_replace to remove any malious code rather than just changing it to a readable form. (Catzwolf) +- Changed: Auth Classes: Cleaned and Formatted code for consistency. (Catzwolf) +- Changed: Xoops Model Classes: Cleaned and Formatted code for consistency. (Catzwolf) +- Changed: Xoops Cache Classes: Cleaned and Formatted code for consistency. (Catzwolf) +- Changed: Xoops File Classes: Cleaned and Formatted code for consistency. (Catzwolf) +- Changed: Xoops Logger: Cleaned and Formatted code for consistency. (Catzwolf) +- Changed: Xoops MultiMailer: Cleaned and Formatted code for consistency. (Catzwolf) +- Changed: Functions,php: Cleaned and Formatted code for consistency. (Catzwolf) +- Changed: Moved xos_kernel_Xoops2 Class from common.php to its own class file in /class (Catzwolf) +- Changed: Common.php: Moved Many items into xos_kernel_Xoops2. (Catzwolf) +- Changed: Moved Defines into own file called defines.php in include directory. (Catzwolf) +- Chanded: refactored xoops_loadLanguage in function.php This was due to the way that this classed used error suppression and now also checks for $xoopsOption and sanitizes it. (Catzwolf) +- Changed: Removed extra globals from module.errorhandler.php (do we really need this class now). (Catzwolf) +- Changed: Change class Xoopstree function. Added 'extra' to the selection to allow for onchange etc (Catzwolf) +- Changed: Formatted code and headers to conform to the Xoops coding standards. (Catzwolf) +- Changed: Changed global calls to the database ($GLOBALS['xoopsDB'] To &XoopsDatabaseFactory::getDatabaseConnection(); which is the correct method of calling the database. +- Changed: Changed initVar calls to the XoopsObject class to support enumeration array for XOBJ_DTYPE_ENUM (wishcraft) +- Changed: Default Control Panel Theme set to oxygen by voltan (tnx Iran) [wishcraft] +- Changed: Profile Module (Support for new Object Types and Refactorised Authentication Library) + ++ Added: SOAP Authenication Installation Variables - see: makedata.php (wishcraft) ++ Added: XOOPS System Key (XOOPS Server Key for Unique Identified Systems) - see: makedata.php (wishcraft) ++ Added: SOAP Factory - Simple Object Access Protocol [Notice: Php Soap is crashing apache] (wishcraft) ++ Added: SOAP Authentication and Provisionning - User Network Management (wishcraft) ++ Added: Database Factory - mSQL Supporting Class - see /class/database/msqldatabase.php (wishcraft) ++ Added: Database Factory - Microsoft SQL Server Supporting Class - see /class/database/mssqldatabase.php (wishcraft) ++ Added: Database Factory - MaxDB Supporting Class - see /class/database/maxdbdatabase.php (wishcraft) ++ Added: Database Factory - Ingres Supporting Class - see /class/database/ingresdatabase.php (wishcraft) ++ Added: Database Factory - Oracle OCI Supporting Class - see /class/database/ocidatabase.php (wishcraft) ++ Added: Database Factory - iBase Supporting Class - see /class/database/ibasedatabase.php (wishcraft) ++ Added: Database Factory - FBSql Supporting Class - see /class/database/fbsqldatabase.php (wishcraft) ++ Added: Database Factory - DB2 Supporting Class - see /class/database/db2database.php (wishcraft) ++ Added: Query timers to logger (trabis) ++ Added: Blocksadmin - groups selection to block forms (trabis) ++ Added: Deprecated methods on kernel/module.php (trabis) ++ Added: XOBJ_DTYPE_FLOAT - Object Type for Floating Points (php4) - see /class/object.php (wishcraft) ++ Added: XOBJ_DTYPE_DECIMAL - Object Type for Decimals/Doubles (php4) - see /class/object.php (wishcraft) ++ Added: XOBJ_DTYPE_ENUM - Object Type for Enumerators (Database Support) - see /class/object.php (wishcraft) ++ Added: XOBJ_DTYPE_UNICODE_TXTBOX - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) ++ Added: XOBJ_DTYPE_UNICODE_TXTAREA - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) ++ Added: XOBJ_DTYPE_UNICODE_URL - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) ++ Added: XOBJ_DTYPE_UNICODE_EMAIL - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) ++ Added: XOBJ_DTYPE_UNICODE_ARRAY - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) ++ Added: XOBJ_DTYPE_UNICODE_OTHER - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) ++ Added: xoops_base_domain - Function for retrieving TLD of domain of any URL - see /include/functions.php (wishcraft) ++ Added: xoops_convert_encode - Function for Converting Bit Strings Storage in any format database in a string - see /include/functions.php (wishcraft) ++ Added: xoops_convert_decode - Function for Converting Bit Strings Storage in any format database in a string - see /include/functions.php (wishcraft) ++ Added: xoops_hex2bin - Function for Unicode Storage in any format database with hex - see /include/functions.php (wishcraft) ++ Added: xoops_hex2bin - Function for Unicode Storage in any format database with hex - see /include/functions.php (wishcraft) ++ Added: xoops_ishexstr - Function for Checking for a hex string with length limiting - see /include/functions.php (wishcraft) ++ Added: xoops_aw_decode - Array Walking Function for Unicode Storage see func: xoops_bin2hex - see /include/functions.php (wishcraft) ++ Added: xoops_aw_encode - Array Walking Function for Unicode Storage see func: xoops_hex2bin - see /include/functions.php (wishcraft) ++ Added: WCAG 2.0 - Sight Impaired Assisted Forms (Disability Access - Form Objects) - see /class/xoopsforms/ (wishcraft) ++ Added: getTitle - WCAG 2.0 - Object HTML Title Tag (Text to Speach 4 Prompted Forms) - see /class/xoopsforms/formelement.php (wishcraft) ++ Added: WCAG 2.0 - Label Associations with WCAG1/2 - see form objects render (wishcraft) ++ Added: New Class to XoopsForms: XoopsFormTree Class. The ability to add XoopsTree directly into any form. (Catzwolf) ++ Added: New Class to XoopsForms: XoopsFormSelectCheckGroup. This class will allow developers to add Xoops Groups into forms for permissions. (Catwolf) ++ Added: Class XoopsMySQLDatabase: Added the ability to take items from the database as an object and cleaned and formatted code. (Catzwolf) ++ Added: New Admin Theme "Oxygen" (Voltan) + +Updates upon community: ++ Added: Added functionality where items in the Xoops Form Element can span over two columns rather than into one. This was done for items such as tinymce to prevent cramping into one little box (Catzwolf) ++ Added: XoopsLists: Added correct method to connect to database. Changed from using the $GLOBAL and added file check when including language file. +Editors like tiny mce were not cramped into one little box. (Catzwolf) ++ Added: New XoopsForm Class: XoopsFormButtonTray: This will allow developers to quicker add Cancel, Reset and Submit (Delete is used with a Switch) buttons in form with just one line. (Catzwolf) ++ Added: Two new defines in common.php NWLINE to insert newlines and DS as a shortcut of DIRECTORY_SEPARATOR. We should be using this method with XOOPS_ROOT_PATH when dealing with paths correctly. (Catzwolf) ++ Added: Auth Class: Added some class and file checks with error_triggers to prevent white pages (Catwolf) ++ Added: Xoops File Classes: Added file and class inclusion checks and added error reporting. (Catzwolf) ++ Added: Xoops Logger: Added check to see if error number was 2048 and return true as this error is not required to be checked and helps speeds up the logger class (Catzwolf) ++ Added: Xoops MultiMailer: Added file check . (Catzwolf) ++ Added: Module Helper Function: In Functions called xoops_getModuleOption. This will allow module developers to quickly Access $xoopsModuleConfig across all modules. Based on News Module Version (Catzwolf, Herve) ++ Added: New Core function in functions.php xoops_getConfigOption. Allow to get $xoopsConfig() in a safer and static version. (Catzwolf) ++ Added: New Core function in functions.php xoops_setConfigOption. Allow to set $xoopsConfig() in a safer. (Catzwolf) ++ Added: New function to xos_kernel_Xoops2 called pathExists. When using $xoops->path($file), this call will check that the file exists or throw friendly error (Catzwolf) ++ Added: New Function: triggerError. To allow Core and modules to add errors with custom messages. (Catzwolf) + +Modified language files: + /modules/profile/language/english/modinfo.php : Fixed typo in "PROFILE_MI_NEVER_LOGED_IN" - it should be "LOGGED_IN" (mamba) + /upgrade/language/english/upgrade.php : "_NO_NEED_UPGRADE" (trabis) + +Added Language defines: + /modules/system/language/english/cpanel.php : Added _MD_CPANEL_SITE_ADMINISTRATION (trabis/mowaffaq) + /language/english/formdhtmltextarea.php : Added _XOOPS_FORM_ALTYOUTUBE (trabis/voltan) + /language/english/banners.php : Added _BANNERS_CHANGE to defines (trabis) + /language/english/global.php : Added _RESET + /language/english/global.php : Added _XO_AD_USERBENNED_HEADER + /language/english/global.php : Added _XO_AD_USERBENNED_TEXT + /upgrade/language/english/upgrade.php : Added '_UPDATE_SYSTEM_MODULE' (trabis) + +Removed language defines: + /language/english/admin.php : _AD_PRESSGEN + +Added Language File: + /language/english/countries.php (trabis) + /language/english/logger.php (trabis) + /language/english/errors.php (Catzwolf) + +Third-party updates: +- Added nuSoap - sourceforge (wishcraft) +- Upgraded Smarty to 2.6.26 (trabis) + +============================ +2009/02/02: Version 2.3.3 +============================ +Updates from Sourceforge trackers: +- Fixed bug #2414112: Hardcoded Style (mowaffak/dugris) +- Fixed bug #2419532: maxlength (25) for adminname and display strong password generator (bandit/dugris) +- Fixed bug #2501237: merger complete configuration files (default and custom) (zoullou/dugris) +- Fixed bug #2426129: XoopsFormEditor class uses the selected XoopsEditor customized renderValidationJS method when exists (luciorota) +- Fixed bug #2164522: Last login date display fixed for user had never logged (julionc/marco/colossus) +- Fixed bug #2164510: "Url" field in Profile module isn't a link (ju... [truncated message content] |
From: <txm...@us...> - 2012-04-13 10:08:32
|
Revision: 9314 http://xoops.svn.sourceforge.net/xoops/?rev=9314&view=rev Author: txmodxoops Date: 2012-04-13 10:08:22 +0000 (Fri, 13 Apr 2012) Log Message: ----------- Fixed all bugs Modified Paths: -------------- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_coms.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/functions_const.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/admin.php Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php 2012-04-13 10:07:27 UTC (rev 9313) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php 2012-04-13 10:08:22 UTC (rev 9314) @@ -90,7 +90,7 @@ } //Creation of pages and templates user if ( $mods_display_user == 1 ) { - const_user_pages($mods, $mods_name, $tbls_name, $tbls_champs, $tbls_champs, $tbls_parametres); + const_user_pages($mods, $mods_name, $tbls_name, $tbls_champs, $tbls_parametres); // Creation of templates pages const_templates_pages($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); } Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php 2012-04-13 10:07:27 UTC (rev 9313) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php 2012-04-13 10:08:22 UTC (rev 9314) @@ -439,13 +439,13 @@ { echo '<table width="100%" cellspacing="1" class="outer">'; echo '<tr>'; - echo '<th align="center" width="30%">'._AM_TDMCREATE_NAME.'</th>'; + echo '<th align="center" width="10%">'._AM_TDMCREATE_NAME.'</th>'; echo '<th align="center" width="10%">'._AM_TDMCREATE_IMAGE.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_DISPLAY_ADMIN.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_DISPLAY_USER.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_BLOCS.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_NB_CHAMPS.'</th>'; - echo '<th align="center" width="20%">'._AM_TDMCREATE_FORMACTION.'</th>'; + echo '<th align="center" width="8%">'._AM_TDMCREATE_DISPLAY_ADMIN.'</th>'; + echo '<th align="center" width="8%">'._AM_TDMCREATE_DISPLAY_USER.'</th>'; + echo '<th align="center" width="5%">'._AM_TDMCREATE_BLOCS.'</th>'; + echo '<th align="center" width="8%">'._AM_TDMCREATE_NB_CHAMPS.'</th>'; + echo '<th align="center" width="5%">'._AM_TDMCREATE_FORMACTION.'</th>'; echo '</tr>'; $class = 'odd'; foreach (array_keys($modules_arr) as $i) Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_coms.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_coms.php 2012-04-13 10:07:27 UTC (rev 9313) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_coms.php 2012-04-13 10:08:22 UTC (rev 9314) @@ -19,7 +19,7 @@ */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/include/functions_const.php'; -function const_include_coms($modules, $modules_name, $tables_name, $tables_module_table, $tables_champs, $tables_parametres, $tables_img) +function const_include_coms($modules, $modules_name, $tables_name, $tables_module_table, $tables_champs, $tables_parametres) { $file = "comment_new.php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/".$file; Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php 2012-04-13 10:07:27 UTC (rev 9313) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php 2012-04-13 10:08:22 UTC (rev 9314) @@ -20,12 +20,9 @@ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/include/functions_const.php'; -function const_user_pages($modules, $modules_name, $tables_id, $tables_module_table, $tables_name, $tables_img, $tables_champs, $tables_parametres) +function const_user_pages($modules, $modules_name, $tables_name, $tables_champs, $tables_parametres) { $language = '_MD_'.strtoupper($modules_name).''; - $language_manager = '_MD_'.strtoupper($modules_name).'_'.strtoupper($tables_name).''; - - $modules_name_minuscule = strtolower($modules_name); $file = $tables_name.".php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/".$file; $en_tete = const_entete($modules, 0); Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/functions_const.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/functions_const.php 2012-04-13 10:07:27 UTC (rev 9313) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/functions_const.php 2012-04-13 10:08:22 UTC (rev 9314) @@ -35,7 +35,7 @@ if ( $option == 0 ) { - //Creation du constructor + //Creation of constructor for ($i=0; $i<$nb_champs; $i++) { $structure = explode(":", $champs[$i]); @@ -180,8 +180,7 @@ $text = ''; if ( $option == 0 ) { - //print_r($champs_param_display_admin); - //Nom des colonnes du tableau + // Name of columns table for($i=0; $i<$nb_champs; $i++) { if ( $i != 0 ) { @@ -192,7 +191,7 @@ } } } elseif ( $option == 1 ) { - //Donn\xE9es du tableau + // Given Tables for($i=0; $i<$nb_champs; $i++) { if ( $champs_param_display_admin[$i] == 1 ) { Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/admin.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/admin.php 2012-04-13 10:07:27 UTC (rev 9313) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/admin.php 2012-04-13 10:08:22 UTC (rev 9314) @@ -62,7 +62,7 @@ //Form define("_AM_TDMCREATE_MODULES_ADD", "Add a new module"); define("_AM_TDMCREATE_MODULES_EDIT", "Create a module"); -define("_AM_TDMCREATE_MODULES_IMPORTANT", "Required Information"); +//define("_AM_TDMCREATE_MODULES_IMPORTANT", "Required Information"); define("_AM_TDMCREATE_MODULES_IMPORTANT", "Information"); define("_AM_TDMCREATE_MODULES_NOTIMPORTANT", "Optional Information"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-13 10:07:37
|
Revision: 9313 http://xoops.svn.sourceforge.net/xoops/?rev=9313&view=rev Author: txmodxoops Date: 2012-04-13 10:07:27 +0000 (Fri, 13 Apr 2012) Log Message: ----------- Fixed all bugs Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_coms.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions_const.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/english/admin.php Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -90,7 +90,7 @@ } //Creation of pages and templates user if ( $mods_display_user == 1 ) { - const_user_pages($mods, $mods_name, $tbls_name, $tbls_champs, $tbls_champs, $tbls_parametres); + const_user_pages($mods, $mods_name, $tbls_name, $tbls_champs, $tbls_parametres); // Creation of templates pages const_templates_pages($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); } Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -439,13 +439,13 @@ { echo '<table width="100%" cellspacing="1" class="outer">'; echo '<tr>'; - echo '<th align="center" width="30%">'._AM_TDMCREATE_NAME.'</th>'; + echo '<th align="center" width="10%">'._AM_TDMCREATE_NAME.'</th>'; echo '<th align="center" width="10%">'._AM_TDMCREATE_IMAGE.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_DISPLAY_ADMIN.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_DISPLAY_USER.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_BLOCS.'</th>'; - echo '<th align="center" width="10%">'._AM_TDMCREATE_NB_CHAMPS.'</th>'; - echo '<th align="center" width="20%">'._AM_TDMCREATE_FORMACTION.'</th>'; + echo '<th align="center" width="8%">'._AM_TDMCREATE_DISPLAY_ADMIN.'</th>'; + echo '<th align="center" width="8%">'._AM_TDMCREATE_DISPLAY_USER.'</th>'; + echo '<th align="center" width="5%">'._AM_TDMCREATE_BLOCS.'</th>'; + echo '<th align="center" width="8%">'._AM_TDMCREATE_NB_CHAMPS.'</th>'; + echo '<th align="center" width="5%">'._AM_TDMCREATE_FORMACTION.'</th>'; echo '</tr>'; $class = 'odd'; foreach (array_keys($modules_arr) as $i) Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_coms.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_coms.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_coms.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -19,7 +19,7 @@ */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/include/functions_const.php'; -function const_include_coms($modules, $modules_name, $tables_name, $tables_module_table, $tables_champs, $tables_parametres, $tables_img) +function const_include_coms($modules, $modules_name, $tables_name, $tables_module_table, $tables_champs, $tables_parametres) { $file = "comment_new.php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/".$file; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -20,12 +20,9 @@ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/include/functions_const.php'; -function const_user_pages($modules, $modules_name, $tables_id, $tables_module_table, $tables_name, $tables_img, $tables_champs, $tables_parametres) +function const_user_pages($modules, $modules_name, $tables_name, $tables_champs, $tables_parametres) { $language = '_MD_'.strtoupper($modules_name).''; - $language_manager = '_MD_'.strtoupper($modules_name).'_'.strtoupper($tables_name).''; - - $modules_name_minuscule = strtolower($modules_name); $file = $tables_name.".php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/".$file; $en_tete = const_entete($modules, 0); Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions_const.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions_const.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions_const.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -35,7 +35,7 @@ if ( $option == 0 ) { - //Creation du constructor + //Creation of constructor for ($i=0; $i<$nb_champs; $i++) { $structure = explode(":", $champs[$i]); @@ -180,8 +180,7 @@ $text = ''; if ( $option == 0 ) { - //print_r($champs_param_display_admin); - //Nom des colonnes du tableau + // Name of columns table for($i=0; $i<$nb_champs; $i++) { if ( $i != 0 ) { @@ -192,7 +191,7 @@ } } } elseif ( $option == 1 ) { - //Donn\xE9es du tableau + // Given Tables for($i=0; $i<$nb_champs; $i++) { if ( $champs_param_display_admin[$i] == 1 ) { Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/english/admin.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/english/admin.php 2012-04-12 21:25:34 UTC (rev 9312) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/english/admin.php 2012-04-13 10:07:27 UTC (rev 9313) @@ -62,7 +62,7 @@ //Form define("_AM_TDMCREATE_MODULES_ADD", "Add a new module"); define("_AM_TDMCREATE_MODULES_EDIT", "Create a module"); -define("_AM_TDMCREATE_MODULES_IMPORTANT", "Required Information"); +//define("_AM_TDMCREATE_MODULES_IMPORTANT", "Required Information"); define("_AM_TDMCREATE_MODULES_IMPORTANT", "Information"); define("_AM_TDMCREATE_MODULES_NOTIMPORTANT", "Optional Information"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-04-12 21:26:01
|
Revision: 9312 http://xoops.svn.sourceforge.net/xoops/?rev=9312&view=rev Author: wishcraft Date: 2012-04-12 21:25:34 +0000 (Thu, 12 Apr 2012) Log Message: ----------- Friendica 2.8.3 - Pre Alpha Conversion to XOOPS - Not Production Added Paths: ----------- XoopsModules/friendica/ XoopsModules/friendica/releases/ XoopsModules/friendica/trunk/ XoopsModules/friendica/trunk/docs/ XoopsModules/friendica/trunk/docs/INSTALL.txt XoopsModules/friendica/trunk/docs/LICENSE XoopsModules/friendica/trunk/docs/README XoopsModules/friendica/trunk/htdocs/ XoopsModules/friendica/trunk/htdocs/modules/ XoopsModules/friendica/trunk/htdocs/modules/friendica/ XoopsModules/friendica/trunk/htdocs/modules/friendica/.gitignore XoopsModules/friendica/trunk/htdocs/modules/friendica/.gitmodules XoopsModules/friendica/trunk/htdocs/modules/friendica/.htaccess XoopsModules/friendica/trunk/htdocs/modules/friendica/boot.php XoopsModules/friendica/trunk/htdocs/modules/friendica/build.xml XoopsModules/friendica/trunk/htdocs/modules/friendica/database.sql XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/ XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Account-Basics.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Bugs-and-Issues.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Connectors.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Developers.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Groups-and-Privacy.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Home.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Install.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Installing-Connectors.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Making-Friends.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Message-Flow.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Pages.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Plugins.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Profiles.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Remove-Account.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Settings.md XoopsModules/friendica/trunk/htdocs/modules/friendica/doc/Tags-and-Mentions.md XoopsModules/friendica/trunk/htdocs/modules/friendica/docblox.dist.xml XoopsModules/friendica/trunk/htdocs/modules/friendica/htconfig.php XoopsModules/friendica/trunk/htdocs/modules/friendica/images/ XoopsModules/friendica/trunk/htdocs/modules/friendica/images/article.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/audio.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/b_block.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/b_drop.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/b_drop.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/b_drophide.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/b_dropshow.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/b_edit.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/b_edit.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/beer_mug.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/bug-x.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/calendar.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/camera-icon.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/coffee.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/connect-bg.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/content-types.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/default-group-mm.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/default-profile-mm.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/default-profile-sm.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/default-profile.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/diaspora.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/dislike.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/document.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/ff-128.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/ff-16.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/ff-256.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/ff-32.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/ff-64.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/ff.xcf XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-128.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-128.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-16.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-16.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-1600.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-256.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-256.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-32.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-32.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-48.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-64.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-64.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica-96.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendica.svg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-128.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-128.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-16.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-16.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-1600.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-256.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-256.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-32.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-32.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-48.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-64.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-64.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika-96.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/friendika.svg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/globe.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/hide_off.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/hide_on.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/ XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/ XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/add.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/audio.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/delete.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/edit.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/feed.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/gear.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/group.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/image.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/info.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/link.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/lock.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/menu.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/notice.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/notify_off.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/notify_on.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/play.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/plugin.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/star.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/text.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/unlock.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/user.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/video.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/10/zip.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/ XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/add.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/audio.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/delete.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/edit.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/feed.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/gear.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/group.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/image.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/info.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/link.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/lock.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/menu.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/notice.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/notify_off.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/notify_on.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/play.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/plugin.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/star.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/text.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/unlock.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/user.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/video.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/16/zip.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/ XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/add.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/audio.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/delete.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/edit.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/feed.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/gear.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/group.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/image.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/info.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/link.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/lock.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/menu.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/notice.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/notify_off.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/notify_on.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/play.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/plugin.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/star.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/text.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/unlock.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/user.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/video.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/22/zip.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/ XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/add.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/audio.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/delete.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/edit.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/feed.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/gear.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/group.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/image.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/info.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/link.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/lock.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/menu.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/notice.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/notify_off.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/notify_on.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/play.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/plugin.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/star.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/text.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/unlock.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/user.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/video.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/48/zip.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/Makefile XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/add.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/audio.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/delete.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/edit.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/feed.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/gear.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/group.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/image.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/info.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/link.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/lock.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/menu.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/notice.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/notify_off.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/notify_on.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/play.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/plugin.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/star.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/text.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/unlock.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/user.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/video.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons/zip.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/icons.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/larrow.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/larrw.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/like.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/link-icon.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/lock_icon.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/logo.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/lrarrow.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/mapicon.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/no.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/noglobe.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/nosign.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/onoff.jpg XoopsModules/friendica/trunk/htdocs/modules/friendica/images/pause.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/pen.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/pencil.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/penhover.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/people.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/play.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/plugin.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/rarrow.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/rarrw.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/recycle.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/remote-link.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/rotator.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/search_18.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/selected.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/share.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/show_all_off.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/show_all_on.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/show_off.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/show_on.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-Oo.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-bangheaddesk.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-beard.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-brokenheart.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-cool.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-cry.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-embarassed.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-facepalm.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-foot-in-mouth.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-frown.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-heart.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-innocent.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-kiss.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-laughing.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-money-mouth.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-sealed.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-shaka.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-smile.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-surprised.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-thumbsup.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-tongue-out.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-undecided.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-whitebeard.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-wink.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/smiley-yell.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/spencil.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/star.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/star_dummy.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/tag.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/tag_b.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/tools.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/twopeople.png XoopsModules/friendica/trunk/htdocs/modules/friendica/images/unlock_icon.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/video.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/images/youtube_icon.gif XoopsModules/friendica/trunk/htdocs/modules/friendica/include/ XoopsModules/friendica/trunk/htdocs/modules/friendica/include/Contact.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/EmailNotification.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/Photo.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/Scrape.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/acl_selectors.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/api.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/attach.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/auth.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/bb2diaspora.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/bbcode.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/cache.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/config.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/contact_selectors.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/contact_widgets.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/conversation.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/cronhooks.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/crypto.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/datetime.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/dba.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/delivery.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/diaspora.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/directory.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/email.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/enotify.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/event.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/expire.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/fcontact.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/group.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/html2bbcode.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/html2plain.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/items.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/message.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/nav.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/network.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/notifier.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/oauth.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/oembed.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/pgettext.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/plugin.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/poller.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/profile_advanced.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/profile_selectors.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/profile_update.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/queue.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/queue_fn.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/quoteconvert.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/remoteupdate.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/salmon.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/security.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/session.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/socgraph.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/system_unavailable.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/template_processor.php XoopsModules/friendica/trunk/htdocs/modules/friendica/include/text.php XoopsModules/friendica/trunk/htdocs/modules/friendica/index.php XoopsModules/friendica/trunk/htdocs/modules/friendica/js/ XoopsModules/friendica/trunk/htdocs/modules/friendica/js/acl.js XoopsModules/friendica/trunk/htdocs/modules/friendica/js/ajaxupload.js XoopsModules/friendica/trunk/htdocs/modules/friendica/js/country.js XoopsModules/friendica/trunk/htdocs/modules/friendica/js/fk.autocomplete.js XoopsModules/friendica/trunk/htdocs/modules/friendica/js/jquery.htmlstream.js XoopsModules/friendica/trunk/htdocs/modules/friendica/js/jquery.js XoopsModules/friendica/trunk/htdocs/modules/friendica/js/jquery.textinputs.js XoopsModules/friendica/trunk/htdocs/modules/friendica/js/main.js XoopsModules/friendica/trunk/htdocs/modules/friendica/js/webtoolkit.base64.js XoopsModules/friendica/trunk/htdocs/modules/friendica/language/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/cmnt_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/cmnt_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/cmnt_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/follow_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/friend_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/htconfig.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/intro_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/lostpass_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/mail_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/mail_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/passchanged_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/register_open_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/register_verify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/request_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/wall_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/wall_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/mail_templates/wall_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/messages.po XoopsModules/friendica/trunk/htdocs/modules/friendica/language/czech/strings.php XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/mail_templates/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/mail_templates/follow_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/mail_templates/friend_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/mail_templates/htconfig.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/mail_templates/intro_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/mail_templates/lostpass_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/mail_templates/passchanged_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/mail_templates/register_open_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/mail_templates/register_verify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/mail_templates/request_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/english/modinfo.php XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/cmnt_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/cmnt_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/cmnt_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/follow_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/friend_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/htconfig.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/intro_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/lostpass_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/mail_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/mail_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/passchanged_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/register_open_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/register_verify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/request_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/mail_templates/wall_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/messages.po XoopsModules/friendica/trunk/htdocs/modules/friendica/language/french/strings.php XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/cmnt_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/cmnt_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/cmnt_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/follow_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/friend_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/htconfig.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/intro_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/lostpass_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/mail_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/mail_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/passchanged_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/register_open_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/register_verify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/request_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/wall_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/wall_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/mail_templates/wall_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/messages.po XoopsModules/friendica/trunk/htdocs/modules/friendica/language/german/strings.php XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/cmnt_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/cmnt_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/cmnt_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/follow_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/friend_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/htconfig.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/intro_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/lostpass_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/mail_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/mail_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/passchanged_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/register_open_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/register_verify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/request_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/wall_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/wall_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/mail_templates/wall_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/messages.po XoopsModules/friendica/trunk/htdocs/modules/friendica/language/italian/strings.php XoopsModules/friendica/trunk/htdocs/modules/friendica/language/portugese/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/portugese/mail_templates/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/portugese/messages.po XoopsModules/friendica/trunk/htdocs/modules/friendica/language/portugese/strings.php XoopsModules/friendica/trunk/htdocs/modules/friendica/language/russian/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/russian/mail_templates/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/russian/messages.po XoopsModules/friendica/trunk/htdocs/modules/friendica/language/russian/strings.php XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/cmnt_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/follow_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/friend_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/htconfig.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/intro_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/lostpass_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/mail_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/mail_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/messages.po XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/passchanged_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/register_open_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/register_verify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/request_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/strings.php XoopsModules/friendica/trunk/htdocs/modules/friendica/language/spanish/mail_templates/wall_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/ XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/cmnt_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/follow_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/friend_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/htconfig.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/intro_complete_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/lostpass_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/mail_received_html_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/mail_received_text_body_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/passchanged_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/register_open_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/register_verify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/request_notify_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/mail_templates/wall_received_eml.tpl XoopsModules/friendica/trunk/htdocs/modules/friendica/language/swedish/strings.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/ASNValue.class.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTML5/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTML5/Data.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTML5/InputStream.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTML5/Parser.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTML5/Tokenizer.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTML5/TreeBuilder.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTML5/named-character-references.ser XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrCollections.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/Background.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/Border.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/Color.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/Composite.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/Filter.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/Font.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/FontFamily.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/Length.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/ListStyle.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/Multiple.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/Number.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/Percentage.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS/URI.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/CSS.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/Enum.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/HTML/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/HTML/Bool.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/HTML/Class.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/HTML/Color.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/HTML/ID.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/HTML/Length.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/HTML/MultiLength.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/HTML/Pixels.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/Integer.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/Lang.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/Switch.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/Text.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/URI/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/URI/Email/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/URI/Email/SimpleCheck.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/URI/Email.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/URI/Host.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/URI/IPv4.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/URI/IPv6.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef/URI.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrDef.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/Background.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/BdoDir.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/BgColor.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/BoolToCSS.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/Border.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/EnumToCSS.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/ImgRequired.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/ImgSpace.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/Input.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/Lang.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/Length.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/Name.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/NameSync.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/SafeEmbed.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/SafeObject.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/SafeParam.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/ScriptRequired.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform/Textarea.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTransform.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrTypes.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/AttrValidator.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/Bootstrap.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/CSSDefinition.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ChildDef/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ChildDef/Chameleon.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ChildDef/Custom.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ChildDef/Empty.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ChildDef/Optional.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ChildDef/Required.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ChildDef/StrictBlockquote.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ChildDef/Table.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ChildDef.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/Config.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/Builder/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/Builder/Xml.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/Exception.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/Interchange/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/Interchange/Directive.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/Interchange/Id.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/Interchange.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/InterchangeBuilder.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/Validator.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/ XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedClasses.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.ClassUseCDATA.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.ForbiddenClasses.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.DocURL.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveSpansWithoutAttributes.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.Language.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Escaping.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.TidyImpl.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/HTML.Attr.Name.UseCDATA.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt XoopsModules/friendica/trunk/htdocs/modules/friendica/library/HTMLPurifier/ConfigSch... [truncated message content] |
From: <txm...@us...> - 2012-04-12 18:31:22
|
Revision: 9311 http://xoops.svn.sourceforge.net/xoops/?rev=9311&view=rev Author: txmodxoops Date: 2012-04-12 18:31:14 +0000 (Thu, 12 Apr 2012) Log Message: ----------- Fixed all bugs Modified Paths: -------------- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/includes.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/modules.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_header.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_index.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/functions.php Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php 2012-04-12 18:30:10 UTC (rev 9310) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php 2012-04-12 18:31:14 UTC (rev 9311) @@ -27,7 +27,7 @@ switch ($op) { case "creation": - $mods =& $modsHandler->get($_REQUEST['modules_name']); + $mods =& $modulesHandler->get($_REQUEST['modules_name']); $mods_name = $mods->getVar('modules_name'); //$mods_fname = $mods->getVar('modules_fname'); $mods_desc = $mods->getVar('modules_description'); @@ -37,13 +37,13 @@ $mods_display_admin = $mods->getVar('modules_display_admin'); $mods_display_user = $mods->getVar('modules_display_user'); //Remove the new module directory if it exists - TDMCreate_clearDir($modPath.'/modules/'.$modules_fname); + TDMCreate_clearDir($modPath.'/modules/'.$mods_name); //Nom des tables et combien de tables $criteria = new CriteriaCompo(); $criteria->add(new Criteria('tables_modules', $_REQUEST['modules_name'])); - $nb_tables = $tblsHandler->getCount($criteria); - $tbls_arr = $tblsHandler->getall($criteria); + $nb_tables = $tablesHandler->getCount($criteria); + $tbls_arr = $tablesHandler->getall($criteria); //Debut echo '<table width="100%" cellspacing="1" style="background: #fff;"> @@ -122,19 +122,19 @@ } } //Variables - $tbls_id = $tblsHandler->getVar('tables_id'); - $tbls_name = $tblsHandler->getVar('tables_name'); - $tbls_module_table = $tblsHandler->getVar('tables_module_table'); - $tbls_img = $tblsHandler->getVar('tables_img'); - $tbls_champs = $tblsHandler->getVar('tables_champs'); - $tbls_parametres = $tblsHandler->getVar('tables_parametres'); - $tbls_blocks = $tblsHandler->getVar('tables_blocks'); - $tbls_display_admin = $tblsHandler->getVar('tables_display_admin'); - $tbls_display_user = $tblsHandler->getVar('tables_display_user'); - $tbls_online = $tblsHandler->getVar('tables_online'); - $tbls_pending = $tblsHandler->getVar('tables_pending'); - $tbls_search = $tblsHandler->getVar('tables_search'); - $tbls_coms = $tblsHandler->getVar('tables_coms'); + $tbls_id = $tablesHandler->getVar('tables_id'); + $tbls_name = $tablesHandler->getVar('tables_name'); + $tbls_module_table = $tablesHandler->getVar('tables_module_table'); + $tbls_img = $tablesHandler->getVar('tables_img'); + $tbls_champs = $tablesHandler->getVar('tables_champs'); + $tbls_parametres = $tablesHandler->getVar('tables_parametres'); + $tbls_blocks = $tablesHandler->getVar('tables_blocks'); + $tbls_display_admin = $tablesHandler->getVar('tables_display_admin'); + $tbls_display_user = $tablesHandler->getVar('tables_display_user'); + $tbls_online = $tablesHandler->getVar('tables_online'); + $tbls_pending = $tablesHandler->getVar('tables_pending'); + $tbls_search = $tablesHandler->getVar('tables_search'); + $tbls_coms = $tablesHandler->getVar('tables_coms'); //Creation of xoopsversion.php file //Xoops version set to integrate the end of the block, etc. const_xoopsversion($mods, $mods_name, $tbls_arr, $tbls_module_table, $tbls_blocks); @@ -142,7 +142,7 @@ // Creation of template index const_templates_index($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); // Creation of template header - const_templates_header($mods, $mods_name); + const_templates_header($mods, $mods_name, $mods_desc); // Creation of template footer const_templates_footer($mods, $mods_name, $tbls_module_table); } @@ -157,7 +157,7 @@ //Configs const_include_configs($mods, $mods_name, $mods_author_website_name, $mods_author_website_url); //Style - const_css_admin($mods, $mods_name); + //const_css_admin($mods, $mods_name); const_css_style($mods, $mods_name); //Functions const_include_functions($mods, $mods_name); @@ -166,13 +166,13 @@ //Language /////////////////////////////////////////////////////////////////////// //Creation of language main.php - const_main_language($mods, $mods_name, $mods_desc); + const_main_language($mods, $mods_name, $mods_desc, $tbls_arr); //Creation of language modinfo.php - const_modinfo_language($mods, $mods_name, $tbls_arr, $mods_desc); + const_modinfo_language($mods, $mods_name, $tbls_arr, $mods_desc, $topic); //Creation of language admin.php - const_admin_language($mods, $mods_name, $mods_desc, $tbls_name, $tbls_arr, $tbls_pending); + const_admin_language($mods, $mods_name, $tbls_arr, $tbls_name); //Creation of language blocks.php - const_blocks_language($mods, $mods_name); + const_blocks_language($mods, $mods_name, $tbls_arr); //Creation of language help.php const_help_language($mods, $mods_name, $mods_desc); //Creation of language @@ -212,22 +212,22 @@ $form = new XoopsThemeForm(_AM_TDMCREATE_ADMIN_CONST, 'form_creation', $action, 'post', true); - $mods_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_MODULES, 'modules_name', 'modules_name', 10); - $mods_select->addOptionArray($modsHandler->getList()); + $mods_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_MODULES, 'modules_name', 'modules_name'); + $mods_select->addOptionArray($modulesHandler->getList()); $form->addElement($mods_select, true); - $modules_name = xoops_getModuleHandler('tdmcreate_modules', 'TDMCreate'); + /*$modules_name = xoops_getModuleHandler('tdmcreate_modules', 'TDMCreate'); $criteria = new CriteriaCompo(new Criteria('modules_name', $modules_name)); $criteria->setSort('tables_name'); $criteria->setOrder('ASC'); - $tbls_name_arr = $tblsHandler->getAll($criteria); + $tbls_name_arr = $tablesHandler->getAll($criteria); foreach (array_keys($tbls_name_arr) as $i) { $tbls_option_name = $tbls_name_arr[$i]->getVar('tables_name'); } - $tbls_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_TABLES, 'tables_name', 'tables_name', 4, true); - $tbls_select->addOptionArray($tblsHandler->getList($criteria)); // $tbls_option_name - $form->addElement($tbls_select, false); + $tbls_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_TABLES, 'tables_name', 'tables_name'); + $tbls_select->addOptionArray($tablesHandler->getList($criteria)); // $tbls_option_name + $form->addElement($tbls_select, false);*/ $form->addElement(new XoopsFormHidden('op', 'creation')); $form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/includes.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/includes.php 2012-04-12 18:30:10 UTC (rev 9310) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/includes.php 2012-04-12 18:31:14 UTC (rev 9311) @@ -36,7 +36,6 @@ include_once $cPath.'/const_blocks.php'; include_once $cPath.'/const_blocks_templates.php'; include_once $cPath.'/const_class.php'; -include_once $cPath.'/const_class_admin.php'; include_once $cPath.'/const_js_jquery.php'; include_once $cPath.'/const_admin_header.php'; @@ -48,7 +47,6 @@ include_once $cPath.'/const_admin_permissions.php'; include_once $cPath.'/const_admin_language.php'; include_once $cPath.'/const_modinfo_language.php'; -include_once $cPath.'/const_about_language.php'; include_once $cPath.'/const_help_language.php'; include_once $cPath.'/const_blocks_language.php'; include_once $cPath.'/const_main_language.php'; Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/modules.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/modules.php 2012-04-12 18:30:10 UTC (rev 9310) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/modules.php 2012-04-12 18:31:14 UTC (rev 9311) @@ -2,8 +2,10 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.xoops.org) + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) * + * Cette licence, contient des limitations!!! + * * 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. @@ -12,9 +14,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * @license TDM GPL license - * @author TDM TEAM DEV MODULE + * @author TDM TEAM DEV MODULE * - * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include '../../../include/cp_header.php'; Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php 2012-04-12 18:30:10 UTC (rev 9310) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php 2012-04-12 18:31:14 UTC (rev 9311) @@ -2,8 +2,10 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.xoops.org) + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) * + * Cette licence, contient des limitations!!! + * * 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. @@ -14,7 +16,6 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * - * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include 'admin_header.php'; Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_header.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_header.php 2012-04-12 18:30:10 UTC (rev 9310) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_header.php 2012-04-12 18:31:14 UTC (rev 9311) @@ -57,8 +57,8 @@ $module_handler =& xoops_gethandler(\'module\'); $xoopsModule = & $module_handler->getByDirname($dirname); $moduleInfo =& $module_handler->get($xoopsModule->getVar(\'mid\')); -$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo(\'icons16\'); -$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo(\'icons32\'); +$pathImageIcon = XOOPS_URL .\'/\'. $moduleInfo->getInfo(\'icons16\'); +$pathImageAdmin = XOOPS_URL .\'/\'. $moduleInfo->getInfo(\'icons32\'); '; Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php 2012-04-12 18:30:10 UTC (rev 9310) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php 2012-04-12 18:31:14 UTC (rev 9311) @@ -38,8 +38,8 @@ $text = '<?php'.$en_tete.' // Admin -define("'.$language.'NAME","'.ucfirst( $modules_name ).'"); -define("'.$language.'DESC","'.ucfirst( $modules_desc ).'"); +define("'.$language.'NAME","'. $modules_name .'"); +define("'.$language.'DESC","'. $modules_desc .'"); //Menu define("'.$language.'ADMENU'.$menu.'","Dashboard"); @@ -47,7 +47,7 @@ foreach (array_keys($tables_arr) as $i) { $menu++; - $text .= 'define("'.$language.'ADMENU'.$menu.'","'.ucfirst(strtolower($tables_arr[$i]->getVar("tables_name"))).'"); + $text .= 'define("'.$language.'ADMENU'.$menu.'","'.UcFirstAndToLower($tables_arr[$i]->getVar("tables_name")).'"); '; } if ( $topic == 1 ) { Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_index.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_index.php 2012-04-12 18:30:10 UTC (rev 9310) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_index.php 2012-04-12 18:31:14 UTC (rev 9311) @@ -20,7 +20,7 @@ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/include/functions_const.php'; -function const_user_index($modules, $modules_name, $tables_id, $tables_module_table, $tables_name) +function const_user_index($modules, $modules_name) { $language = '_MA_'.strtoupper($modules_name).''; $file = "index.php"; Modified: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/functions.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/functions.php 2012-04-12 18:30:10 UTC (rev 9310) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/functions.php 2012-04-12 18:31:14 UTC (rev 9311) @@ -42,7 +42,7 @@ while($file=readdir($opening)) { if ($file == '.' || $file == '..') continue; if (is_dir($folder."/".$file)) { - $r=clearDir($folder."/".$file); + $r=TDMCreate_clearDir($folder."/".$file); if (!$r) return false; } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-12 18:30:17
|
Revision: 9310 http://xoops.svn.sourceforge.net/xoops/?rev=9310&view=rev Author: txmodxoops Date: 2012-04-12 18:30:10 +0000 (Thu, 12 Apr 2012) Log Message: ----------- Fixed all bugs Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/includes.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/modules.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_header.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_index.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions.php Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-12 17:34:05 UTC (rev 9309) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-12 18:30:10 UTC (rev 9310) @@ -27,7 +27,7 @@ switch ($op) { case "creation": - $mods =& $modsHandler->get($_REQUEST['modules_name']); + $mods =& $modulesHandler->get($_REQUEST['modules_name']); $mods_name = $mods->getVar('modules_name'); //$mods_fname = $mods->getVar('modules_fname'); $mods_desc = $mods->getVar('modules_description'); @@ -37,13 +37,13 @@ $mods_display_admin = $mods->getVar('modules_display_admin'); $mods_display_user = $mods->getVar('modules_display_user'); //Remove the new module directory if it exists - TDMCreate_clearDir($modPath.'/modules/'.$modules_fname); + TDMCreate_clearDir($modPath.'/modules/'.$mods_name); //Nom des tables et combien de tables $criteria = new CriteriaCompo(); $criteria->add(new Criteria('tables_modules', $_REQUEST['modules_name'])); - $nb_tables = $tblsHandler->getCount($criteria); - $tbls_arr = $tblsHandler->getall($criteria); + $nb_tables = $tablesHandler->getCount($criteria); + $tbls_arr = $tablesHandler->getall($criteria); //Debut echo '<table width="100%" cellspacing="1" style="background: #fff;"> @@ -122,19 +122,19 @@ } } //Variables - $tbls_id = $tblsHandler->getVar('tables_id'); - $tbls_name = $tblsHandler->getVar('tables_name'); - $tbls_module_table = $tblsHandler->getVar('tables_module_table'); - $tbls_img = $tblsHandler->getVar('tables_img'); - $tbls_champs = $tblsHandler->getVar('tables_champs'); - $tbls_parametres = $tblsHandler->getVar('tables_parametres'); - $tbls_blocks = $tblsHandler->getVar('tables_blocks'); - $tbls_display_admin = $tblsHandler->getVar('tables_display_admin'); - $tbls_display_user = $tblsHandler->getVar('tables_display_user'); - $tbls_online = $tblsHandler->getVar('tables_online'); - $tbls_pending = $tblsHandler->getVar('tables_pending'); - $tbls_search = $tblsHandler->getVar('tables_search'); - $tbls_coms = $tblsHandler->getVar('tables_coms'); + $tbls_id = $tablesHandler->getVar('tables_id'); + $tbls_name = $tablesHandler->getVar('tables_name'); + $tbls_module_table = $tablesHandler->getVar('tables_module_table'); + $tbls_img = $tablesHandler->getVar('tables_img'); + $tbls_champs = $tablesHandler->getVar('tables_champs'); + $tbls_parametres = $tablesHandler->getVar('tables_parametres'); + $tbls_blocks = $tablesHandler->getVar('tables_blocks'); + $tbls_display_admin = $tablesHandler->getVar('tables_display_admin'); + $tbls_display_user = $tablesHandler->getVar('tables_display_user'); + $tbls_online = $tablesHandler->getVar('tables_online'); + $tbls_pending = $tablesHandler->getVar('tables_pending'); + $tbls_search = $tablesHandler->getVar('tables_search'); + $tbls_coms = $tablesHandler->getVar('tables_coms'); //Creation of xoopsversion.php file //Xoops version set to integrate the end of the block, etc. const_xoopsversion($mods, $mods_name, $tbls_arr, $tbls_module_table, $tbls_blocks); @@ -142,7 +142,7 @@ // Creation of template index const_templates_index($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); // Creation of template header - const_templates_header($mods, $mods_name); + const_templates_header($mods, $mods_name, $mods_desc); // Creation of template footer const_templates_footer($mods, $mods_name, $tbls_module_table); } @@ -157,7 +157,7 @@ //Configs const_include_configs($mods, $mods_name, $mods_author_website_name, $mods_author_website_url); //Style - const_css_admin($mods, $mods_name); + //const_css_admin($mods, $mods_name); const_css_style($mods, $mods_name); //Functions const_include_functions($mods, $mods_name); @@ -166,13 +166,13 @@ //Language /////////////////////////////////////////////////////////////////////// //Creation of language main.php - const_main_language($mods, $mods_name, $mods_desc); + const_main_language($mods, $mods_name, $mods_desc, $tbls_arr); //Creation of language modinfo.php - const_modinfo_language($mods, $mods_name, $tbls_arr, $mods_desc); + const_modinfo_language($mods, $mods_name, $tbls_arr, $mods_desc, $topic); //Creation of language admin.php - const_admin_language($mods, $mods_name, $mods_desc, $tbls_name, $tbls_arr, $tbls_pending); + const_admin_language($mods, $mods_name, $tbls_arr, $tbls_name); //Creation of language blocks.php - const_blocks_language($mods, $mods_name); + const_blocks_language($mods, $mods_name, $tbls_arr); //Creation of language help.php const_help_language($mods, $mods_name, $mods_desc); //Creation of language @@ -212,22 +212,22 @@ $form = new XoopsThemeForm(_AM_TDMCREATE_ADMIN_CONST, 'form_creation', $action, 'post', true); - $mods_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_MODULES, 'modules_name', 'modules_name', 10); - $mods_select->addOptionArray($modsHandler->getList()); + $mods_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_MODULES, 'modules_name', 'modules_name'); + $mods_select->addOptionArray($modulesHandler->getList()); $form->addElement($mods_select, true); - $modules_name = xoops_getModuleHandler('tdmcreate_modules', 'TDMCreate'); + /*$modules_name = xoops_getModuleHandler('tdmcreate_modules', 'TDMCreate'); $criteria = new CriteriaCompo(new Criteria('modules_name', $modules_name)); $criteria->setSort('tables_name'); $criteria->setOrder('ASC'); - $tbls_name_arr = $tblsHandler->getAll($criteria); + $tbls_name_arr = $tablesHandler->getAll($criteria); foreach (array_keys($tbls_name_arr) as $i) { $tbls_option_name = $tbls_name_arr[$i]->getVar('tables_name'); } - $tbls_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_TABLES, 'tables_name', 'tables_name', 4, true); - $tbls_select->addOptionArray($tblsHandler->getList($criteria)); // $tbls_option_name - $form->addElement($tbls_select, false); + $tbls_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_TABLES, 'tables_name', 'tables_name'); + $tbls_select->addOptionArray($tablesHandler->getList($criteria)); // $tbls_option_name + $form->addElement($tbls_select, false);*/ $form->addElement(new XoopsFormHidden('op', 'creation')); $form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/includes.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/includes.php 2012-04-12 17:34:05 UTC (rev 9309) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/includes.php 2012-04-12 18:30:10 UTC (rev 9310) @@ -36,7 +36,6 @@ include_once $cPath.'/const_blocks.php'; include_once $cPath.'/const_blocks_templates.php'; include_once $cPath.'/const_class.php'; -include_once $cPath.'/const_class_admin.php'; include_once $cPath.'/const_js_jquery.php'; include_once $cPath.'/const_admin_header.php'; @@ -48,7 +47,6 @@ include_once $cPath.'/const_admin_permissions.php'; include_once $cPath.'/const_admin_language.php'; include_once $cPath.'/const_modinfo_language.php'; -include_once $cPath.'/const_about_language.php'; include_once $cPath.'/const_help_language.php'; include_once $cPath.'/const_blocks_language.php'; include_once $cPath.'/const_main_language.php'; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/modules.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/modules.php 2012-04-12 17:34:05 UTC (rev 9309) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/modules.php 2012-04-12 18:30:10 UTC (rev 9310) @@ -2,8 +2,10 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.xoops.org) + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) * + * Cette licence, contient des limitations!!! + * * 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. @@ -12,9 +14,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * @license TDM GPL license - * @author TDM TEAM DEV MODULE + * @author TDM TEAM DEV MODULE * - * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include '../../../include/cp_header.php'; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php 2012-04-12 17:34:05 UTC (rev 9309) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php 2012-04-12 18:30:10 UTC (rev 9310) @@ -2,8 +2,10 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.xoops.org) + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) * + * Cette licence, contient des limitations!!! + * * 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. @@ -14,7 +16,6 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * - * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include 'admin_header.php'; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_header.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_header.php 2012-04-12 17:34:05 UTC (rev 9309) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_header.php 2012-04-12 18:30:10 UTC (rev 9310) @@ -57,8 +57,8 @@ $module_handler =& xoops_gethandler(\'module\'); $xoopsModule = & $module_handler->getByDirname($dirname); $moduleInfo =& $module_handler->get($xoopsModule->getVar(\'mid\')); -$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo(\'icons16\'); -$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo(\'icons32\'); +$pathImageIcon = XOOPS_URL .\'/\'. $moduleInfo->getInfo(\'icons16\'); +$pathImageAdmin = XOOPS_URL .\'/\'. $moduleInfo->getInfo(\'icons32\'); '; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php 2012-04-12 17:34:05 UTC (rev 9309) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php 2012-04-12 18:30:10 UTC (rev 9310) @@ -38,8 +38,8 @@ $text = '<?php'.$en_tete.' // Admin -define("'.$language.'NAME","'.ucfirst( $modules_name ).'"); -define("'.$language.'DESC","'.ucfirst( $modules_desc ).'"); +define("'.$language.'NAME","'. $modules_name .'"); +define("'.$language.'DESC","'. $modules_desc .'"); //Menu define("'.$language.'ADMENU'.$menu.'","Dashboard"); @@ -47,7 +47,7 @@ foreach (array_keys($tables_arr) as $i) { $menu++; - $text .= 'define("'.$language.'ADMENU'.$menu.'","'.ucfirst(strtolower($tables_arr[$i]->getVar("tables_name"))).'"); + $text .= 'define("'.$language.'ADMENU'.$menu.'","'.UcFirstAndToLower($tables_arr[$i]->getVar("tables_name")).'"); '; } if ( $topic == 1 ) { Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_index.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_index.php 2012-04-12 17:34:05 UTC (rev 9309) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_index.php 2012-04-12 18:30:10 UTC (rev 9310) @@ -20,7 +20,7 @@ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/include/functions_const.php'; -function const_user_index($modules, $modules_name, $tables_id, $tables_module_table, $tables_name) +function const_user_index($modules, $modules_name) { $language = '_MA_'.strtoupper($modules_name).''; $file = "index.php"; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions.php 2012-04-12 17:34:05 UTC (rev 9309) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions.php 2012-04-12 18:30:10 UTC (rev 9310) @@ -42,7 +42,7 @@ while($file=readdir($opening)) { if ($file == '.' || $file == '..') continue; if (is_dir($folder."/".$file)) { - $r=clearDir($folder."/".$file); + $r=TDMCreate_clearDir($folder."/".$file); if (!$r) return false; } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-12 17:34:18
|
Revision: 9309 http://xoops.svn.sourceforge.net/xoops/?rev=9309&view=rev Author: txmodxoops Date: 2012-04-12 17:34:05 +0000 (Thu, 12 Apr 2012) Log Message: ----------- Added in releases folder Added Paths: ----------- XoopsModules/TDMCreate/releases/1.38/ XoopsModules/TDMCreate/releases/1.38/Frameworks/ XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/ XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/icons/ XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/icons/32/ XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/icons/32/addmodule.png XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/icons/32/addtable.png XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/icons/32/builder.png XoopsModules/TDMCreate/releases/1.38/modules/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/about.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/admin_footer.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/admin_header.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/includes.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/index.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/menu.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/modules.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/class/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/class/constArchitecture.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/class/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/class/tdmcreate_modules.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/class/tdmcreate_tables.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_about.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_footer.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_header.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_help.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_index.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_language.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_menu.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_pages.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_admin_permissions.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_architecture.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_blocks.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_blocks_language.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_blocks_templates.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_changelog.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_class.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_class_admin.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_css_admin.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_css_style.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_entete.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_header.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_help_language.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_coms.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_configs.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_functions.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_install.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_jquery.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_include_search.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_js_jquery.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_languages.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_main_header.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_main_index.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_main_language.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_modinfo_language.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_sql.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_templates.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_templates_admin_about.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_templates_admin_help.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_templates_footer.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_templates_header.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_templates_index.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_templates_pages.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_header.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_index.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_user_pages.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/const/const_xoopsversion.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/css/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/css/admin.css XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/css/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/docs/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/docs/changelog.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/docs/credits.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/docs/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/docs/install.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/docs/lang_diff.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/docs/licence.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/docs/readme.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/deco/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/deco/arrow.gif XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/deco/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/deco/loading.gif XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/deco/off.gif XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/deco/off.png XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/deco/on.gif XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/deco/on.png XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/icons/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/icons/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/icons/loading.gif XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/icons/off.png XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/icons/on.png XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/loading.gif XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/logo.png XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/menu/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/menu/bg.png XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/menu/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/menu/left_both.png XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/menu/right_both.png XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/tdmcreate_slogo.png XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/uploads/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/uploads/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/uploads/modules/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/uploads/modules/default_slogo.png XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/uploads/modules/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/uploads/tables/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/uploads/tables/blank.gif XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/images/uploads/tables/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/comment_delete.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/comment_edit.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/comment_new.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/comment_post.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/comment_reply.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/functions.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/functions_const.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/install.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/include/update.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/arabic/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/arabic/admin.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/arabic/help/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/arabic/help/help.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/arabic/help/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/arabic/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/arabic/modinfo.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/bulgarian/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/bulgarian/admin.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/bulgarian/help/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/bulgarian/help/help.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/bulgarian/help/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/bulgarian/help.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/bulgarian/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/bulgarian/modinfo.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/admin.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/help/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/help/help.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/help/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/help.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/english/modinfo.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/french/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/french/admin.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/french/help/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/french/help/help.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/french/help/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/french/help.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/french/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/french/modinfo.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/italian/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/italian/admin.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/italian/help/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/italian/help/help.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/italian/help/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/italian/help.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/italian/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/italian/modinfo.php XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/update language 1.0 to 1.1.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/update language 1.1 to 1.15.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/update language 1.1 to 1.37.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/update language 1.15 to 1.37.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/update language 1.37 to 1.38.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/language/update language 1.38 to 1.39.txt XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/modules/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/sql/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/sql/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/sql/mysql.sql XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/templates/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/templates/admin/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/templates/admin/help.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/templates/admin/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/templates/blocks/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/templates/blocks/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/templates/help/ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/templates/help/help.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/templates/help/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/templates/index.html XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/xoops_version.php Added: XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/icons/32/addmodule.png =================================================================== (Binary files differ) Property changes on: XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/icons/32/addmodule.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/icons/32/addtable.png =================================================================== (Binary files differ) Property changes on: XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/icons/32/addtable.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/icons/32/builder.png =================================================================== (Binary files differ) Property changes on: XoopsModules/TDMCreate/releases/1.38/Frameworks/moduleclasses/icons/32/builder.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/about.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/about.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/about.php 2012-04-12 17:34:05 UTC (rev 9309) @@ -0,0 +1,25 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include 'admin_header.php'; +xoops_cp_header(); +$aboutAdmin = new ModuleAdmin(); +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); +include 'admin_footer.php'; \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/admin_footer.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/admin_footer.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/admin_footer.php 2012-04-12 17:34:05 UTC (rev 9309) @@ -0,0 +1,26 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author Mamba (www.xoops.org) + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ +global $pathImageAdmin; + +echo "<div align=\"center\"><a href=\"http://www.xoops.org\" target=\"_blank\"><img src=" . $pathImageAdmin.'/xoopsmicrobutton.gif'.' '." alt='XOOPS' title='XOOPS'></a></div>"; +echo "<div class='center small italic pad5'><strong>" . $xoopsModule->getVar("name") . "</strong> is maintained by the <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"; + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/admin_header.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/admin_header.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/admin_header.php 2012-04-12 17:34:05 UTC (rev 9309) @@ -0,0 +1,62 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +include_once("../include/functions.php"); +include_once 'includes.php'; + +if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + //return true; +}else{ + echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + //return false; +} +//load class +$modulesHandler =& xoops_getModuleHandler('tdmcreate_modules', 'TDMCreate'); +$tablesHandler =& xoops_getModuleHandler('tdmcreate_tables', 'TDMCreate'); + +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} +$xoopsTpl->assign('pathImageIcon', $pathImageIcon); +$xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); +//Load languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/building.php 2012-04-12 17:34:05 UTC (rev 9309) @@ -0,0 +1,237 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include 'admin_header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); +echo $indexAdmin->addNavigation('building.php'); + +$op = TDMCreate_CleanVars($_REQUEST, 'op', 'default', 'string'); + +switch ($op) { + case "creation": + $mods =& $modsHandler->get($_REQUEST['modules_name']); + $mods_name = $mods->getVar('modules_name'); + //$mods_fname = $mods->getVar('modules_fname'); + $mods_desc = $mods->getVar('modules_description'); + $mods_author_website_name = $mods->getVar('modules_author_website_name'); + $mods_author_website_url = $mods->getVar('modules_author_website_url'); + $mods_image = $mods->getVar('modules_image'); + $mods_display_admin = $mods->getVar('modules_display_admin'); + $mods_display_user = $mods->getVar('modules_display_user'); + //Remove the new module directory if it exists + TDMCreate_clearDir($modPath.'/modules/'.$modules_fname); + + //Nom des tables et combien de tables + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('tables_modules', $_REQUEST['modules_name'])); + $nb_tables = $tblsHandler->getCount($criteria); + $tbls_arr = $tblsHandler->getall($criteria); + + //Debut + echo '<table width="100%" cellspacing="1" style="background: #fff;"> + <tr class="marg2"> + <td class="ui-corner-all">'; + /************************************************/ + /*Structure*/ + /************************************************/ + //Creation de l'architecture + const_architecture($mods_name, $mods_image); + //Creation du changelog.txt + const_changelog($mods, $mods_name); + + // Files cicles + foreach (array_keys($tbls_arr) as $i) + { + //Variables + $tbls_id = $tbls_arr[$i]->getVar('tables_id'); + $tbls_name = $tbls_arr[$i]->getVar('tables_name'); + $tbls_module_table = $tbls_arr[$i]->getVar('tables_module_table'); + $tbls_img = $tbls_arr[$i]->getVar('tables_img'); + $tbls_champs = $tbls_arr[$i]->getVar('tables_champs'); + $tbls_parametres = $tbls_arr[$i]->getVar('tables_parametres'); + $tbls_blocks = $tbls_arr[$i]->getVar('tables_blocks'); + $tbls_display_admin = $tbls_arr[$i]->getVar('tables_display_admin'); + $tbls_display_user = $tbls_arr[$i]->getVar('tables_display_user'); + $tbls_online = $tbls_arr[$i]->getVar('tables_online'); + $tbls_pending = $tbls_arr[$i]->getVar('tables_pending'); + $tbls_search = $tbls_arr[$i]->getVar('tables_search'); + $tbls_coms = $tbls_arr[$i]->getVar('tables_coms'); + + //Fabrication + //Copie of images tables + $tbls_img1 = $modPath."/images/uploads/tables/".$tbls_img; + if (file_exists($tbls_img1)) { + copy($tbls_img1, $modPath."/modules/".$mods_name."/images/deco/".$tbls_img); + } + //Creation des classes + const_class($mods, $mods_name, $tbls_module_table, $tbls_name, $tbls_champs, $tbls_parametres); + + //Creation of pages admin + if ( $mods_display_admin == 1 ) { + const_admin_pages($mods, $mods_name, $tbls_id, $tbls_module_table, $tbls_name, $tbls_img, $tbls_champs, $tbls_parametres, $tbls_online, $tbls_pending); + } + //Creation of pages and templates user + if ( $mods_display_user == 1 ) { + const_user_pages($mods, $mods_name, $tbls_name, $tbls_champs, $tbls_champs, $tbls_parametres); + // Creation of templates pages + const_templates_pages($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); + } + //Creation of search + if ( $tbls_search == 1 ) { + const_include_search($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres, $tbls_img); + } + //Creation of the comments + if ( $tbls_coms == 1 ) { + const_include_coms($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); + } + + //Creation of the file mysql.sql + const_sql($mods_name, $tbls_module_table, $tbls_name, $tbls_champs); + $result = $xoopsDB->queryF("SELECT COUNT(*) FROM " . $xoopsDB->prefix("tdmcreate_tables"). + " WHERE tables_name = 'topic' OR tables_name = '".$tbls_name."_topic' + OR tables_name = 'cat' + OR tables_name = 'category' + OR tables_name = 'categories' + OR tables_name = '".$tbls_name."_cat' + OR tables_name = '".$tbls_name."_category' + OR tables_name = '".$tbls_name."_categories' "); + list( $topic ) = $xoopsDB->fetchRow($result); + //Creation of the blocks + if ( $tbls_blocks != 1 ) { + const_blocks($mods, $mods_name, $tbls_module_table, $tbls_name, $tbls_champs, $tbls_parametres, $topic); + //Creation of template blocks + const_blocks_templates($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); + } + } + //Variables + $tbls_id = $tblsHandler->getVar('tables_id'); + $tbls_name = $tblsHandler->getVar('tables_name'); + $tbls_module_table = $tblsHandler->getVar('tables_module_table'); + $tbls_img = $tblsHandler->getVar('tables_img'); + $tbls_champs = $tblsHandler->getVar('tables_champs'); + $tbls_parametres = $tblsHandler->getVar('tables_parametres'); + $tbls_blocks = $tblsHandler->getVar('tables_blocks'); + $tbls_display_admin = $tblsHandler->getVar('tables_display_admin'); + $tbls_display_user = $tblsHandler->getVar('tables_display_user'); + $tbls_online = $tblsHandler->getVar('tables_online'); + $tbls_pending = $tblsHandler->getVar('tables_pending'); + $tbls_search = $tblsHandler->getVar('tables_search'); + $tbls_coms = $tblsHandler->getVar('tables_coms'); + //Creation of xoopsversion.php file + //Xoops version set to integrate the end of the block, etc. + const_xoopsversion($mods, $mods_name, $tbls_arr, $tbls_module_table, $tbls_blocks); + if($mods_display_user == 1){ + // Creation of template index + const_templates_index($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); + // Creation of template header + const_templates_header($mods, $mods_name); + // Creation of template footer + const_templates_footer($mods, $mods_name, $tbls_module_table); + } + //Creation of the file permissions + $topic = 0; + if ( $topic == 1 || $tbls_module_table != null) { // + const_admin_permissions($mods, $mods_name, $tbls_name, $topic); + } + + //Include + const_js_jquery($mods, $mods_name); + //Configs + const_include_configs($mods, $mods_name, $mods_author_website_name, $mods_author_website_url); + //Style + const_css_admin($mods, $mods_name); + const_css_style($mods, $mods_name); + //Functions + const_include_functions($mods, $mods_name); + //Creation of the install file for uploads + const_include_install($mods, $mods_name, $tbls_arr); + //Language + /////////////////////////////////////////////////////////////////////// + //Creation of language main.php + const_main_language($mods, $mods_name, $mods_desc); + //Creation of language modinfo.php + const_modinfo_language($mods, $mods_name, $tbls_arr, $mods_desc); + //Creation of language admin.php + const_admin_language($mods, $mods_name, $mods_desc, $tbls_name, $tbls_arr, $tbls_pending); + //Creation of language blocks.php + const_blocks_language($mods, $mods_name); + //Creation of language help.php + const_help_language($mods, $mods_name, $mods_desc); + //Creation of language + //const_language($mods, $mods_name); + /////////////////////////////////////////////////////////////////////// + /************************************************/ + /*Admin*/ + /************************************************/ + if ( $mods_display_admin == 1 ) { + //Creation of admin file admin_header.php + const_admin_header($mods, $mods_name, $tbls_arr); + //Creation of admin file admin_footer.php + const_admin_footer($mods, $mods_name, $tbls_arr); + //Creation of admin file menu.php + const_admin_menu($mods, $mods_name, $tbls_arr, $topic); + //Creation of admin file about.php + const_admin_about($mods, $mods_name); + //Creation of admin file index.php + const_admin_index($mods, $mods_name, $tbls_arr, $tbls_online, $tbls_pending); + } + /************************************************/ + /*User*/ + /************************************************/ + if ( $mods_display_user == 1 ) { + const_user_header($mods, $mods_name, $tbls_arr, $tbls_name, $tbls_module_table); + const_user_index($mods, $mods_name); + } + echo '</td></tr></table>'; + + break; + + case "default": + default: + + include_once(XOOPS_ROOT_PATH."/class/xoopsformloader.php"); + $action = $_SERVER['REQUEST_URI']; + + $form = new XoopsThemeForm(_AM_TDMCREATE_ADMIN_CONST, 'form_creation', $action, 'post', true); + + $mods_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_MODULES, 'modules_name', 'modules_name', 10); + $mods_select->addOptionArray($modsHandler->getList()); + $form->addElement($mods_select, true); + + $modules_name = xoops_getModuleHandler('tdmcreate_modules', 'TDMCreate'); + $criteria = new CriteriaCompo(new Criteria('modules_name', $modules_name)); + $criteria->setSort('tables_name'); + $criteria->setOrder('ASC'); + $tbls_name_arr = $tblsHandler->getAll($criteria); + foreach (array_keys($tbls_name_arr) as $i) + { + $tbls_option_name = $tbls_name_arr[$i]->getVar('tables_name'); + } + $tbls_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_TABLES, 'tables_name', 'tables_name', 4, true); + $tbls_select->addOptionArray($tblsHandler->getList($criteria)); // $tbls_option_name + $form->addElement($tbls_select, false); + + $form->addElement(new XoopsFormHidden('op', 'creation')); + $form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); + $form->display(); + break; +} +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/includes.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/includes.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/includes.php 2012-04-12 17:34:05 UTC (rev 9309) @@ -0,0 +1,65 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include '../../../include/cp_header.php'; +include_once("../include/functions.php"); + +$modPath = XOOPS_ROOT_PATH.'/modules/TDMCreate'; +$cPath = $modPath.'/const'; + +include_once $cPath.'/const_architecture.php'; +include_once $cPath.'/const_xoopsversion.php'; +include_once $cPath.'/const_changelog.php'; +include_once $cPath.'/const_include_search.php'; +include_once $cPath.'/const_include_coms.php'; +include_once $cPath.'/const_include_configs.php'; +include_once $cPath.'/const_include_functions.php'; +include_once $cPath.'/const_include_install.php'; +include_once $cPath.'/const_css_style.php'; +include_once $cPath.'/const_sql.php'; +include_once $cPath.'/const_blocks.php'; +include_once $cPath.'/const_blocks_templates.php'; +include_once $cPath.'/const_class.php'; +include_once $cPath.'/const_class_admin.php'; +include_once $cPath.'/const_js_jquery.php'; + +include_once $cPath.'/const_admin_header.php'; +include_once $cPath.'/const_admin_footer.php'; +include_once $cPath.'/const_admin_menu.php'; +include_once $cPath.'/const_admin_index.php'; +include_once $cPath.'/const_admin_pages.php'; +include_once $cPath.'/const_admin_about.php'; +include_once $cPath.'/const_admin_permissions.php'; +include_once $cPath.'/const_admin_language.php'; +include_once $cPath.'/const_modinfo_language.php'; +include_once $cPath.'/const_about_language.php'; +include_once $cPath.'/const_help_language.php'; +include_once $cPath.'/const_blocks_language.php'; +include_once $cPath.'/const_main_language.php'; +include_once $cPath.'/const_user_header.php'; +include_once $cPath.'/const_user_index.php'; +include_once $cPath.'/const_user_pages.php'; +include_once $cPath.'/const_templates_header.php'; +include_once $cPath.'/const_templates_index.php'; +include_once $cPath.'/const_templates_pages.php'; +include_once $cPath.'/const_templates_footer.php'; +include_once $cPath.'/const_templates_admin_about.php'; +include_once $cPath.'/const_templates_admin_help.php'; + +?> \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/index.html =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/index.html (rev 0) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/index.html 2012-04-12 17:34:05 UTC (rev 9309) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/index.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/index.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/index.php 2012-04-12 17:34:05 UTC (rev 9309) @@ -0,0 +1,31 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include 'admin_header.php'; +xoops_cp_header(); + $criteria = new CriteriaCompo(); + $count_modules = $modulesHandler->getCount($criteria); + $indexAdmin = new ModuleAdmin(); +$indexAdmin->addInfoBox(_AM_TDMCREATE_ADMIN_NUMMODULES) ; +$indexAdmin->addInfoBoxLine(_AM_TDMCREATE_ADMIN_NUMMODULES, "<label>" ._AM_TDMCREATE_THEREARE_NUMMODULES. "</label>", $count_modules, 'Green') ; + + echo $indexAdmin->addNavigation('index.php'); + echo $indexAdmin->renderIndex(); + +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/menu.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/menu.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/menu.php 2012-04-12 17:34:05 UTC (rev 9309) @@ -0,0 +1,47 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ +$module_handler =& xoops_gethandler('module'); +$xoopsModule =& XoopsModule::getByDirname('TDMCreate'); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +//$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); +$pathImageAdmin = $moduleInfo->getInfo('icons32'); + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_INDEX; +$adminmenu[$i]["link"] = 'admin/index.php'; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/home.png'; +$i++; +$adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_MODULES; +$adminmenu[$i]["link"] = 'admin/modules.php'; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/addmodule.png'; +$i++; +$adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_TABLES; +$adminmenu[$i]["link"] = 'admin/tables.php'; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/addtable.png'; +$i++; +$adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_CONST; +$adminmenu[$i]["link"] = 'admin/building.php'; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/builder.png'; +$i++; +$adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_ABOUT; +$adminmenu[$i]["link"] = 'admin/about.php'; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/about.png'; Added: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/modules.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/modules.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/modules.php 2012-04-12 17:34:05 UTC (rev 9309) @@ -0,0 +1,176 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include '../../../include/cp_header.php'; +include_once("../include/functions.php"); +include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/class/tdmcreate_modules.php'; +include 'admin_header.php'; +xoops_cp_header(); + +if (isset($_REQUEST['op'])) { + $op = $_REQUEST['op']; +} else { + @$op = 'default'; +} + +switch ($op) { + case "modules_save": + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('modules.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + + if (isset($_REQUEST['modules_id'])) { + $obj =& $modulesHandler->get($_REQUEST['modules_id']); + } else { + $obj =& $modulesHandler->create(); + } + //Image + include_once XOOPS_ROOT_PATH.'/class/uploader.php'; + $uploaddir = XOOPS_ROOT_PATH . "/modules/".$xoopsModule->dirname()."/images/uploads/modules/"; + $uploader = new XoopsMediaUploader($uploaddir, "gif|jpeg|pjpeg|png", 104857600, null, null); + + if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { + $extension = preg_replace( "/^.+\.([^.]+)$/sU" , "\\1" , $_FILES["attachedfile"]['name']) ; + $name_img = $_REQUEST['modules_name'].'_slogo.'.$extension; + $uploader->setTargetFileName($name_img); + $uploader->fetchMedia($_POST['xoops_upload_file'][0]); + if (!$uploader->upload()) { + $errors = $uploader->getErrors(); + redirect_header("javascript:history.go(-1)",3, $errors); + } else { + $obj->setVar('modules_image', $uploader->getSavedFileName()); + } + } else { + $obj->setVar('modules_image', $_REQUEST['modules_image']); + } + + $obj->setVar('modules_name', $_REQUEST['modules_name']); + $obj->setVar('modules_version', $_REQUEST['modules_version']); + $obj->setVar('modules_description', $_REQUEST['modules_description']); + $obj->setVar('modules_author', $_REQUEST['modules_author']); + $obj->setVar('modules_author_mail', $_REQUEST['modules_author_mail']); + $obj->setVar('modules_author_website_url', $_REQUEST['modules_author_website_url']); + $obj->setVar('modules_author_website_name', $_REQUEST['modules_author_website_name']); + $obj->setVar('modules_credits', $_REQUEST['modules_credits']); + $obj->setVar('modules_license', $_REQUEST['modules_license']); + $obj->setVar('modules_release_info', $_REQUEST['modules_release_info']); + $obj->setVar('modules_release_file', $_REQUEST['modules_release_file']); + $obj->setVar('modules_manual', $_REQUEST['modules_manual']); + $obj->setVar('modules_manual_file', $_REQUEST['modules_manual_file']); + $obj->setVar('modules_demo_site_url', $_REQUEST['modules_demo_site_url']); + $obj->setVar('modules_demo_site_name', $_REQUEST['modules_demo_site_name']); + $obj->setVar('modules_forum_site_url', $_REQUEST['modules_forum_site_url']); + $obj->setVar('modules_forum_site_name', $_REQUEST['modules_forum_site_name']); + $obj->setVar('modules_module_website_url', $_REQUEST['modules_module_website_url']); + $obj->setVar('modules_module_website_name', $_REQUEST['modules_module_website_name']); + $obj->setVar('modules_release', $_REQUEST['modules_release']); + $obj->setVar('modules_module_status', $_REQUEST['modules_module_status']); + $obj->setVar('modules_display_admin', $_REQUEST['modules_display_admin']); + $obj->setVar('modules_display_user', $_REQUEST['modules_display_user']); + $obj->setVar('modules_active_search', $_REQUEST['modules_active_search']); + $obj->setVar('modules_active_comments', $_REQUEST['modules_active_comments']); + + if ($modulesHandler->insert($obj)) { + redirect_header('modules.php?op=default', 2, _AM_TDMCREATE_FORMOK); + } + break; + + case "modules_create": + $modcreate_admin = new ModuleAdmin(); + echo $modcreate_admin->addNavigation('modules.php'); + $modcreate_admin->addItemButton(_AM_TDMCREATE_MODULES_LIST, 'modules.php?op=modules_list', 'list'); + echo $modcreate_admin->renderButton(); + + $obj =& $modulesHandler->create(); + $form = $obj->getForm(); + break; + case "modules_edit": + $obj =& $modulesHandler->get($_REQUEST['modules_id']); + $form = $obj->getForm(); + break; + case "modules_delete": + $obj =& $modulesHandler->get($_REQUEST['modules_id']); + if (isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1) + { + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('modules.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + if ($modulesHandler->delete($obj)) { + $xoopsDB->queryF("DELETE FROM ".$xoopsDB->prefix("tdmcreate_modules")." WHERE modules_id = ".$_REQUEST['modules_id']); + redirect_header('modules.php', 3, _AM_TDMCREATE_FORMDELOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array('ok' => 1, 'modules_id' => $_REQUEST['modules_id'], 'op' => 'modules_delete'), $_SERVER['REQUEST_URI'], sprintf(_AM_TDMCREATE_FORMSUREDEL, $obj->getVar('modules_name'))); + } + break; + case "modules_list": + default: + $modcreate_admin = new ModuleAdmin(); + echo $modcreate_admin->addNavigation('modules.php'); + $modcreate_admin->addItemButton(_AM_TDMCREATE_MODULES_NEW, 'modules.php?op=modules_create', 'add'); + echo $modcreate_admin->renderButton(); + + $criteria = new CriteriaCompo(); + $criteria->setSort('modules_name'); + $criteria->setOrder('ASC'); + $modules_arr = $modulesHandler->getall($criteria); + $numrows_modules = $modulesHandler->getCount(); + + if ( $numrows_modules > 0 ) + { + echo '<table width="100%" cellspacing="1" class="outer">'; + echo '<tr class="center">'; + echo '<th width="20%">'._AM_TDMCREATE_NAME.'</th>'; + echo '<th width="10%">'._AM_TDMCREATE_IMAGE.'</th>'; + echo '<th width="15%">'._AM_TDMCREATE_DISPLAY_ADMIN.'</th>'; + echo '<th width="15%">'._AM_TDMCREATE_DISPLAY_USER.'</th>'; + echo '<th width="10%">'._AM_TDMCREATE_BLOCS.'</th>'; + echo '<th width="10%">'._AM_TDMCREATE_NB_CHAMPS.'</th>'; + echo '<th width="10%">'._AM_TDMCREATE_FORMACTION.'</th>'; + echo '</tr>'; + $class = 'odd'; + foreach (array_keys($modules_arr) as $i) + { + $modules_id = $modules_arr[$i]->getVar('modules_id'); + $modules_name = $modules_arr[$i]->getVar('modules_name'); + $modules_image = $modules_arr[$i]->getVar('modules_image'); + //$modules_blocks = $modules_arr[$i]->getVar('modules_blocs'); + $modules_display_admin = $modules_arr[$i]->getVar('modules_display_admin'); + $modules_display_user = $modules_arr[$i]->getVar('modules_display_user'); + $display_admin = ($modules_display_admin == 1) ? _YES : _NO; + $display_user = ($modules_display_user == 1) ? _YES : _NO; + echo '<tr class="odd center">'; + echo '<td><b>'.$modules_name.'</b></td>'; + echo '<td><img src="../images/uploads/modules/'.$modules_image.'" height="30px"></td>'; + echo '<td>'.$display_admin.'</td>'; + echo '<td>'.$display_user.'</td>'; + echo '<td> </td>'; + echo '<td> </td>'; + echo '<td>'; + echo '<a href="modules.php?op=modules_edit&modules_id='.$modules_id.'"><img src='. $pathImageIcon ."/edit.png alt="._AM_TDMCREATE_FORMEDIT.'" title="'._AM_TDMCREATE_FORMEDIT.'"></a> <a href="modules.php?op=modules_delete&modules_id='.$modules_id.'"><img src='. $pathImageIcon ."/delete.png alt="._AM_TDMCREATE_FORMDEL.'" title="'._AM_TDMCREATE_FORMDEL.'"></a>'; + echo '</td>'; + echo '</tr>'; + } + echo '</table><br><br>'; + } + break; +} +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.38/modules/TDMCreate/admin/tables.php 2012-04-12 17:34:05 UTC (rev 9309) @@ -0,0 +1,516 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include 'admin_header.php'; +include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/class/tdmcreate_tables.php'; +xoops_cp_header(); + +if (isset($_REQUEST['op'])) { + $op = $_REQUEST['op']; +} else { + @$op = 'default'; +} + +switch ($op) { + case "tables_save": + + if (isset($_REQUEST['tables_id'])) { + $obj =& $tablesHandler->get($_REQUEST['tables_id']); + } else { + $obj =& $tablesHandler->create(); + } + + //Nom du module + $modules =& $modulesHandler->get($_REQUEST['tables_modules']); + $modules_name = $modules->getVar('modules_name'); + + $obj->setVar('tables_modules', $_REQUEST['tables_modules']); + + if ( $_REQUEST['select'] == 1 ) + { + $obj->setVar('tables_module_table', strtolower($modules_name.'_topic')); + $obj->setVar('tables_name', 'topic'); + $obj->setVar('tables_blocs', 0); + $obj->setVar('tables_display_admin', 1); + $obj->setVar('tables_display_user', 1); + $obj->setVar('tables_search', 0); + $obj->setVar('tables_coms', 0); + $obj->setVar('tables_nb_champs', 7); + + $tables_champs = ''; + $tables_parametres = 'XoopsFormTopic:0:0:0:0:0:0|XoopsFormText:1:1:0:1:0:1|XoopsFormTextArea:0:1:0:0:0:1|XoopsFormUploadImage:1:1:0:0:0:0|XoopsFormText:1:1:0:0:0:1|XoopsFormColorPicker:1:1:0:0:0:0|XoopsFormSelectUser:0:0:0:0:0:1|XoopsFormTextDateSelect:0:0:0:0:0:1|XoopsFormCheckBox:1:1:0:0:0:1'; + + //Image + include_once XOOPS_ROOT_PATH.'/class/uploader.php'; + + if(is_dir($pathImageAdmin)){ + $uploaddir = $pathImageAdmin; + }else{ + $uploaddir = XOOPS_ROOT_PATH . "/modules/".$xoopsModule->dirname()."/images/uploads/tables/"; + } + + $uploader = new XoopsMediaUploader($uploaddir, "gif|jpeg|pjpeg|png", 104857600, null, null); + + if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { + $extension = preg_replace( "/^.+\.([^.]+)$/sU" , "\\1" , $_FILES["attachedfile1"]['name']) ; + $name_img = 'topic.'.$extension; + $uploader->setTargetFileName($name_img); + $uploader->fetchMedia($_POST['xoops_upload_file'][0]); + if (!$uploader->upload()) { + $errors = $uploader->getErrors(); + redirect_header("javascript:history.go(-1)",3, $errors); + } else { + $obj->setVar('tables_img', $uploader->getSavedFileName()); + } + } else { + $obj->setVar('tables_img', $_REQUEST['tables_img1']); + } + } else { + + $obj->setVar('tables_module_table', strtolower($modules_name.'_'.$_REQUEST['tables_name'])); + $obj->setVar('tables_name', strtolower($_REQUEST['tables_name'])); + $obj->setVar('tables_blocs', $_REQUEST['tables_blocs']); + $obj->setVar('tables_display_admin', $_REQUEST['tables_display_admin']); + $obj->setVar('tables_display_user', $_REQUEST['tables_display_user']); + $obj->setVar('tables_search', $_REQUEST['tables_search']); + $obj->setVar('tables_coms', $_REQUEST['tables_coms']); + $obj->setVar('tables_nb_champs', $_REQUEST['tables_nb_champs']); + + $tables_champs = ''; + $tables_parametres = ''; + for($i=0; $i<$_REQUEST['tables_nb_champs']; $i++) + { + //Rajouts des parametres: text:on:off: ... + if ( $i != 0 ) { + $tables_parametres .= ( !empty($_REQUEST['champs_param_elements'][$i]) ) ? "".$_REQUEST['champs_param_elements'][$i].":" : " :"; + $tables_parametres .= ( !empty($_REQUEST['champs_param_display_admin'][$i]) ) ? "1:" : "0:"; + $tables_parametres .= ( !empty($_REQUEST['champs_param_display_user'][$i]) ) ? "1:" : "0:"; + $tables_parametres .= ( !empty($_REQUEST['champs_param_display_blocs'][$i]) ) ? "1:" : "0:"; + $tables_parametres .= ( $i == $_REQUEST['champs_param_main_field']) ? "1:" : "0:"; + $tables_parametres .= ( !empty($_REQUEST['champs_param_search_field'][$i]) ) ? "1:" : "0:"; + $tables_parametres .= ( !empty($_REQUEST['champs_param_required_field'][$i]) ) ? "1" : "0"; + } + + //Rajouts des champs: test:int:4: ... + $tables_champs .= (!empty($_REQUEST['champs_name'][$i])) ? "".$_REQUEST['champs_name'][$i].":" : " :"; + $tables_champs .= (!empty($_REQUEST['champs_type'][$i])) ? "".$_REQUEST['champs_type'][$i].":" : " :"; + $tables_champs .= (!empty($_REQUEST['champs_valeur'][$i])) ? "".$_REQUEST['champs_valeur'][$i].":" : " :"; + $tables_champs .= (!empty($_REQUEST['champs_attributs'][$i])) ? "".$_REQUEST['champs_attributs'][$i].":" : " :"; + $tables_champs .= (!empty($_REQUEST['champs_null'][$i])) ? "".strtoupper($_REQUEST['champs_null'][$i]).":" : " :"; + $tables_champs .= (!empty($_REQUEST['champs_default'][$i])) ? "".$_REQUEST['champs_default'][$i].":" : " :"; + $tables_champs .= (!empty($_REQUEST['champs_clef'][$i])) ? "".$_REQUEST['champs_clef'][$i]."" : " "; + + //Coupure entre les champs et coupre entre les parametres + if ( $i != $_REQUEST['tables_nb_champs'] - 1) { + $tables_champs .= '|'; + if ( $i != 0 ) + $tables_parametres .= '|'; + } else { + /*if ( isset($_REQUEST['tables_submitter']) == 1 ) + $tables_champs .= '|'.strtolower($_REQUEST['tables_name']).'_submitter:int:10: :NOT NULL:0:'; + if ( isset($_REQUEST['tables_date_created']) == 1 ) + $tables_champs .= '|'.strtolower($_REQUEST['tables_name']).'_date_created:int:10: :NOT NULL:0:'; + if ( isset($_REQUEST['tables_online']) == 1 ) + $tables_champs .= '|'.strtolower($_REQUEST['tables_name']).'_online:tinyint:1: :NOT NULL:0:'; */ + $tables_champs .= ''; + $tables_parametres .= '|XoopsFormSelectUser:1:1:1:0:0:1|XoopsFormTextDateSelect:1:1:1:0:0:1|XoopsFormCheckBox:1:1:1:0:0:1'; + } + } + } + $obj->setVar('tables_champs', $tables_champs); + $obj->setVar('tables_parametres', $tables_parametres); + + if ($tablesHandler->insert($obj)) + { + redirect_header('tables.php?op=default', 2, _AM_TDMCREATE_FORMOK); + } + + break; + + case "tables_save1": + + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('tables.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + + if (isset($_REQUEST['tables_id'])) { + $obj =& $tablesHandler->get($_REQUEST['tables_id']); + } else { + $obj =& $tablesHandler->create(); + } + //Nom du module + $modules =& $modulesHandler->get($_REQUEST['tables_modules']); + $modules_name = $modules->getVar('modules_name'); + + $tables_blocks = (isset($_REQUEST['tables_blocs'])) ? $_REQUEST['tables_blocs'] : '0'; + $tables_display_admin = (isset($_REQUEST['tables_display_admin'])) ? $_REQUEST['tables_display_admin'] : '0'; + $tables_display_user = (isset($_REQUEST['tables_display_user'])) ? $_REQUEST['tables_display_user'] : '0'; + $tables_search = (isset($_REQUEST['tables_search'])) ? $_REQUEST['tables_search'] : '0'; + $tables_coms = (isset($_REQUEST['tables_coms'])) ? $_REQUEST['tables_coms'] : '0'; + $select = (isset($_REQUEST['select'])) ? $_REQUEST['select'] : '0'; + + //Image + include_once XOOPS_ROOT_PATH.'/class/uploader.php'; + if(is_dir($pathImageAdmin) && isset($pathImageAdmin)){ + $uploaddir = $pathImageAdmin; + } else { + $uploaddir = XOOPS_ROOT_PATH . "/modules/".$xoopsModule->dirname()."/modules/".$modules_name."/images/32/"; + } + $uploader = new XoopsMediaUploader($u... [truncated message content] |
From: <txm...@us...> - 2012-04-12 17:27:23
|
Revision: 9308 http://xoops.svn.sourceforge.net/xoops/?rev=9308&view=rev Author: txmodxoops Date: 2012-04-12 17:27:17 +0000 (Thu, 12 Apr 2012) Log Message: ----------- Updated Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-12 17:26:38 UTC (rev 9307) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-12 17:27:17 UTC (rev 9308) @@ -37,7 +37,7 @@ $mods_display_admin = $mods->getVar('modules_display_admin'); $mods_display_user = $mods->getVar('modules_display_user'); //Remove the new module directory if it exists - clearDir($modPath.'/modules/'.$modules_fname); + TDMCreate_clearDir($modPath.'/modules/'.$modules_fname); //Nom des tables et combien de tables $criteria = new CriteriaCompo(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-12 17:26:44
|
Revision: 9307 http://xoops.svn.sourceforge.net/xoops/?rev=9307&view=rev Author: txmodxoops Date: 2012-04-12 17:26:38 +0000 (Thu, 12 Apr 2012) Log Message: ----------- Update function Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions.php Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions.php 2012-04-12 15:16:44 UTC (rev 9306) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions.php 2012-04-12 17:26:38 UTC (rev 9307) @@ -21,7 +21,22 @@ die('XOOPS root path not defined'); } -function clearDir($folder) { +function TDMCreate_CleanVars( &$global, $key, $default = '', $type = 'int' ) { + switch ( $type ) { + case 'string': + $ret = ( isset( $global[$key] ) ) ? filter_var( $global[$key], FILTER_SANITIZE_MAGIC_QUOTES ) : $default; + break; + case 'int': default: + $ret = ( isset( $global[$key] ) ) ? filter_var( $global[$key], FILTER_SANITIZE_NUMBER_INT ) : $default; + break; + } + if ( $ret === false ) { + return $default; + } + return $ret; +} + +function TDMCreate_clearDir($folder) { $opening=@opendir($folder); if (!$opening) return; while($file=readdir($opening)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-12 15:16:55
|
Revision: 9306 http://xoops.svn.sourceforge.net/xoops/?rev=9306&view=rev Author: txmodxoops Date: 2012-04-12 15:16:44 +0000 (Thu, 12 Apr 2012) Log Message: ----------- Updated Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/index.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/menu.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/modules.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/index.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/index.php 2012-04-12 15:00:52 UTC (rev 9305) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/index.php 2012-04-12 15:16:44 UTC (rev 9306) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,27 +14,14 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ - -include '../../../include/cp_header.php'; -include_once(XOOPS_ROOT_PATH."/class/xoopsformloader.php"); -include_once(XOOPS_ROOT_PATH."/class/tree.php"); -include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; -include_once("../include/functions.php"); include 'admin_header.php'; -//xoops_cp_header(); -//apelle du menu admin - - xoops_cp_header(); - $criteria = new CriteriaCompo(); $count_modules = $modulesHandler->getCount($criteria); - - $indexAdmin = new ModuleAdmin(); - - + $indexAdmin = new ModuleAdmin(); $indexAdmin->addInfoBox(_AM_TDMCREATE_ADMIN_NUMMODULES) ; $indexAdmin->addInfoBoxLine(_AM_TDMCREATE_ADMIN_NUMMODULES, "<label>" ._AM_TDMCREATE_THEREARE_NUMMODULES. "</label>", $count_modules, 'Green') ; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/menu.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/menu.php 2012-04-12 15:00:52 UTC (rev 9305) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/menu.php 2012-04-12 15:16:44 UTC (rev 9306) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,8 +14,9 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** - */ + */ $module_handler =& xoops_gethandler('module'); $xoopsModule =& XoopsModule::getByDirname('TDMCreate'); $moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); @@ -33,15 +32,15 @@ $i++; $adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_MODULES; $adminmenu[$i]["link"] = 'admin/modules.php'; -$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/add.png'; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/addmodule.png'; $i++; $adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_TABLES; $adminmenu[$i]["link"] = 'admin/tables.php'; -$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/index.png'; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/addtable.png'; $i++; $adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_CONST; -$adminmenu[$i]["link"] = 'admin/const.php'; -$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/modifiedlink.png'; +$adminmenu[$i]["link"] = 'admin/building.php'; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/builder.png'; $i++; $adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_ABOUT; $adminmenu[$i]["link"] = 'admin/about.php'; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/modules.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/modules.php 2012-04-12 15:00:52 UTC (rev 9305) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/modules.php 2012-04-12 15:16:44 UTC (rev 9306) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -14,8 +12,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * @license TDM GPL license - * @author TDM TEAM DEV MODULE + * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include '../../../include/cp_header.php'; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php 2012-04-12 15:00:52 UTC (rev 9305) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/tables.php 2012-04-12 15:16:44 UTC (rev 9306) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include 'admin_header.php'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-12 15:01:06
|
Revision: 9305 http://xoops.svn.sourceforge.net/xoops/?rev=9305&view=rev Author: txmodxoops Date: 2012-04-12 15:00:52 +0000 (Thu, 12 Apr 2012) Log Message: ----------- Updated to Final Release Fixed all code Deleted unused code Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/about.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/admin_footer.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/admin_header.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/includes.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/menu.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/class/tdmcreate_modules.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_about.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_footer.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_header.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_help.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_index.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_language.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_menu.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_pages.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_permissions.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_architecture.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks_language.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks_templates.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_changelog.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_class.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_css_admin.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_css_style.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_entete.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_help_language.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_coms.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_configs.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_functions.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_install.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_include_search.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_languages.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_main_language.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_modinfo_language.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_sql.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_templates.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_templates_admin_about.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_templates_admin_help.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_templates_footer.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_templates_header.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_templates_index.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_templates_pages.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_header.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_index.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_user_pages.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_xoopsversion.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/docs/changelog.txt XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/docs/install.txt XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/docs/lang_diff.txt XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/docs/readme.txt XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/comment_delete.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/comment_edit.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/comment_new.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/comment_post.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/comment_reply.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/functions_const.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/install.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/include/update.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/arabic/admin.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/arabic/modinfo.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/bulgarian/admin.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/bulgarian/help.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/bulgarian/modinfo.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/english/admin.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/english/help.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/english/modinfo.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/french/admin.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/french/help.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/french/modinfo.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/italian/admin.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/italian/help.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/language/italian/modinfo.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/xoops_version.php Added Paths: ----------- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_js_jquery.php XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/images/uploads/modules/default_slogo.png XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/images/uploads/tables/blank.gif Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/about.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/about.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/about.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -1,6 +1,8 @@ <?php /** - * TDMCreate module + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) * * 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 @@ -9,21 +11,15 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright The XOOPS Project (http://www.xoops.org) - * @license GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html/) - * @package TDMCreate - * @since 2.5.0 - * @author Mage, Mamba - * @version $Id $ - **/ - -include '../../../include/cp_header.php'; + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ include 'admin_header.php'; xoops_cp_header(); - $aboutAdmin = new ModuleAdmin(); - echo $aboutAdmin->addNavigation('about.php'); echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); - include 'admin_footer.php'; \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/admin_footer.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/admin_footer.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/admin_footer.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -1,6 +1,8 @@ <?php /** - * XoopsPoll module + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) * * 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 @@ -9,16 +11,16 @@ * 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/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package XoopsPoll - * @since 2.5.0 - * @author Mamba (www.xoops.org) - * @version $Id $ -**/ + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author Mamba (www.xoops.org) + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ global $pathImageAdmin; echo "<div align=\"center\"><a href=\"http://www.xoops.org\" target=\"_blank\"><img src=" . $pathImageAdmin.'/xoopsmicrobutton.gif'.' '." alt='XOOPS' title='XOOPS'></a></div>"; -echo "<div class='center smallsmall italic pad5'><strong>" . $xoopsModule->getVar("name") . "</strong> is maintained by the <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"; +echo "<div class='center small italic pad5'><strong>" . $xoopsModule->getVar("name") . "</strong> is maintained by the <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"; xoops_cp_footer(); \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/admin_header.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/admin_header.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/admin_header.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -1,6 +1,8 @@ <?php /** - * Marquee module + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.xoops.org) * * 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 @@ -9,25 +11,24 @@ * 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/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package Marquee - * @since 2.5.0 - * @author XOOPS Module Team - * @version $Id $ -**/ + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ + * **************************************************************************** + */ include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; include_once("../include/functions.php"); include_once 'includes.php'; if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ - include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); - //return true; - }else{ - echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); - //return false; - } + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + //return true; +}else{ + echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + //return false; +} //load class $modulesHandler =& xoops_getModuleHandler('tdmcreate_modules', 'TDMCreate'); $tablesHandler =& xoops_getModuleHandler('tdmcreate_tables', 'TDMCreate'); @@ -53,11 +54,8 @@ include_once(XOOPS_ROOT_PATH."/class/template.php"); $xoopsTpl = new XoopsTpl(); } - $xoopsTpl->assign('pathImageIcon', $pathImageIcon); $xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); -//xoops_cp_header(); - //Load languages xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/building.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,11 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Revision Copyright (c) (http://www.txmodxoops.org) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * This license contains restrictions!!! - * * 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. @@ -16,9 +13,8 @@ * * @license TDM GPL license * @author TDM TEAM DEV MODULE - * @author TXMod Xoops (in...@tx...) * - * Version : 1.39 Tue 2012/02/14 16:20:18 : Timgno Exp $ + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include 'admin_header.php'; @@ -41,7 +37,7 @@ $mods_display_admin = $mods->getVar('modules_display_admin'); $mods_display_user = $mods->getVar('modules_display_user'); //Remove the new module directory if it exists - //clearDir($modPath.'/modules/'.$modules_fname); + clearDir($modPath.'/modules/'.$modules_fname); //Nom des tables et combien de tables $criteria = new CriteriaCompo(); @@ -157,7 +153,7 @@ } //Include - const_include_jquery($mods, $mods_name); + const_js_jquery($mods, $mods_name); //Configs const_include_configs($mods, $mods_name, $mods_author_website_name, $mods_author_website_url); //Style Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/includes.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/includes.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/includes.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include '../../../include/cp_header.php'; @@ -32,13 +31,13 @@ include_once $cPath.'/const_include_configs.php'; include_once $cPath.'/const_include_functions.php'; include_once $cPath.'/const_include_install.php'; -//include_once $cPath.'/const_include_style.php'; +include_once $cPath.'/const_css_style.php'; include_once $cPath.'/const_sql.php'; include_once $cPath.'/const_blocks.php'; include_once $cPath.'/const_blocks_templates.php'; include_once $cPath.'/const_class.php'; include_once $cPath.'/const_class_admin.php'; -//include_once $cPath.'/const_class_menu.php'; +include_once $cPath.'/const_js_jquery.php'; include_once $cPath.'/const_admin_header.php'; include_once $cPath.'/const_admin_footer.php'; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/menu.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/menu.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/admin/menu.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -17,9 +17,7 @@ * @author TDM TEAM DEV MODULE * * **************************************************************************** - */ - - + */ $module_handler =& xoops_gethandler('module'); $xoopsModule =& XoopsModule::getByDirname('TDMCreate'); $moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/class/tdmcreate_modules.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/class/tdmcreate_modules.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/class/tdmcreate_modules.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -108,11 +108,11 @@ $modules_active_comments = $this->isNew() ? 0 : $this->getVar('modules_active_comments'); $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_MODULES_ACTIVE_COMMENTS, 'modules_active_comments', $modules_active_comments, _YES, _NO)); - $modules_image = $this->getVar('modules_image') ? $this->getVar('modules_image') : 'blank.gif'; + $modules_image = $this->getVar('modules_image') ? $this->getVar('modules_image') : 'default_slogo.png'; $uploadirectory = "/modules/".$xoopsModule->dirname()."/images/uploads/modules"; $imgtray = new XoopsFormElementTray(_AM_TDMCREATE_MODULES_IMAGE,'<br />'); - $imgpath = sprintf(_AM_TDMCREATE_FORMIMAGE_PATH, "./modules/".$xoopsModule->dirname()."/images/uploads/modules"); + $imgpath = sprintf(_AM_TDMCREATE_FORMIMAGE_PATH, "./modules/".$xoopsModule->dirname()."/images/uploads/modules/"); $imageselect= new XoopsFormSelect($imgpath, 'modules_image', $modules_image); $modules_image_array = XoopsLists :: getImgListAsArray( XOOPS_ROOT_PATH.$uploadirectory ); foreach( $modules_image_array as $image ) { Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_about.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_about.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_about.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_footer.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_footer.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_footer.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -23,8 +22,7 @@ function const_admin_footer($modules, $modules_name, $tables_arr) { - $language = '_AM_'.strtoupper($modules_name).'_'; - $language1 = '_MI_'.strtoupper($modules_name).'_ADMIN_'; + $language = '_AM_'.strtoupper($modules_name).'_'; $myts =& MyTextSanitizer::getInstance(); $file = "admin_footer.php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/admin/".$file; @@ -34,13 +32,12 @@ global $pathImageAdmin; echo "<div align=\'center\'><a href=\'http://www.xoops.org\' target=\'_blank\'> <img src=\'".$pathImageAdmin."/xoopsmicrobutton.gif\' alt=\'XOOPS\' title=\'XOOPS\'></a></div>"; -echo "<div class=\'center smallsmall italic pad5\'> +echo "<div class=\'center small italic pad5\'> <strong>" . $xoopsModule->getVar(\'name\') . "</strong> ".'.$language.'MAINTAINEDBY." <a href=\''.$modules->getVar("modules_forum_site_url").'\' title=\'Visit '.$modules->getVar("modules_forum_site_name").'\' class=\'tooltip\' rel=\'external\'>'.$modules->getVar("modules_forum_site_name").'</a></div>"; xoops_cp_footer(); '; - createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_ADMINS, _AM_TDMCREATE_CONST_NOTOK_ADMINS, $file); -} +} \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_header.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_header.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_header.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -23,48 +22,45 @@ function const_admin_header($modules, $modules_name, $tables_arr) { - global $tables_name; $language = '_AM_'.strtoupper($modules_name).'_'; - $language1 = '_MI_'.strtoupper($modules_name).'_ADMIN_'; $myts =& MyTextSanitizer::getInstance(); $file = "admin_header.php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/admin/".$file; $en_tete = const_entete($modules, 0); - $text = '<?php'.$en_tete. -<<<'EOD' + $text = '<?php'.$en_tete.' +include_once dirname(dirname(dirname(dirname(__FILE__)))) . \'/mainfile.php\'; +include_once XOOPS_ROOT_PATH . \'/include/cp_functions.php\'; +include_once \'../include/config.php\'; +include_once \'../include/functions.php\'; -include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; -include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; -include_once '../include/functions.php'; +$pathDir = $GLOBALS[\'xoops\']->path(\'/Frameworks/moduleclasses/moduleadmin\'); +$globlang = $GLOBALS[\'xoopsConfig\'][\'language\']; -$pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin'); -$globlang = $GLOBALS['xoopsConfig']['language']; - -if ( file_exists($pathDir.'/language/'.$globlang.'/main.php')){ - include_once $pathDir.'/language/'.$globlang.'/main.php'; +if ( file_exists($pathDir.\'/language/\'.$globlang.\'/main.php\')){ + include_once $pathDir.\'/language/\'.$globlang.\'/main.php\'; } else { - include_once $pathDir.'/language/english/main.php'; + include_once $pathDir.\'/language/english/main.php\'; } -if ( file_exists($pathDir.'/moduleadmin.php')){ - include_once $pathDir.'/moduleadmin.php'; +if ( file_exists($pathDir.\'/moduleadmin.php\')){ + include_once $pathDir.\'/moduleadmin.php\'; //return true; }else{ xoops_cp_header(); - echo xoops_error(_AM_ERROR_NOFRAMEWORKS); + echo xoops_error('.$language.'NOFRAMEWORKS); xoops_cp_footer(); //return false; } $dirname = basename(dirname(dirname( __FILE__ ) )); -$module_handler =& xoops_gethandler('module'); +$module_handler =& xoops_gethandler(\'module\'); $xoopsModule = & $module_handler->getByDirname($dirname); -$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); -$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); -$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); +$moduleInfo =& $module_handler->get($xoopsModule->getVar(\'mid\')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo(\'icons16\'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo(\'icons32\'); -EOD; +'; foreach (array_keys($tables_arr) as $i) { Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_help.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_help.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_help.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -38,11 +37,9 @@ $xoopsTpl->display("db: admin/" . $xoopsModule->getVar("dirname") . "_admin_help.html"); include "footer.php"; -?>'; - +?>'; createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_ADMINS, _AM_TDMCREATE_CONST_NOTOK_ADMINS, $file); } - -?> +?> \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_index.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_index.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_index.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -24,8 +23,7 @@ function const_admin_index($modules, $modules_name, $tables_arr) { $language = '_AM_'.strtoupper($modules_name).'_'; - $language1 = '_AM_'.strtoupper($modules_name).'_ADMIN_'; - $language2 = '_AM_'.strtoupper($modules_name).'_THEREARE_'; + $language1 = '_AM_'.strtoupper($modules_name).'_THEREARE_'; $myts =& MyTextSanitizer::getInstance(); $file = "index.php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/admin/".$file; @@ -34,40 +32,42 @@ $text = '<?php'.$en_tete.' include "admin_header.php"; xoops_cp_header(); - $indexAdmin = new ModuleAdmin(); '; foreach (array_keys($tables_arr) as $i) { + $t_name = $tables_arr[$i]->getVar("tables_name"); $text .= ' //count "total" - $count_'.$tables_arr[$i]->getVar("tables_name").' = $'.$tables_arr[$i]->getVar("tables_name").'Handler->getCount(); + $count_'.$t_name.' = $'.$t_name.'Handler->getCount(); //count "online" $criteria = new CriteriaCompo(); - $criteria->add(new Criteria("'.$tables_arr[$i]->getVar("tables_name").'_online", 1)); - $'.$tables_arr[$i]->getVar("tables_name").'_online = $'.$tables_arr[$i]->getVar("tables_name").'Handler->getCount($criteria); - $criteria->add(new Criteria("'.$tables_arr[$i]->getVar("tables_name").'_pending", 1)); - $'.$tables_arr[$i]->getVar("tables_name").'_pending = $'.$tables_arr[$i]->getVar("tables_name").'Handler->getCount($criteria); + $criteria->add(new Criteria("'.$t_name.'_online", 1)); + $'.$t_name.'_online = $'.$t_name.'Handler->getCount($criteria); + $criteria->add(new Criteria("'.$t_name.'_pending", 1)); + $'.$t_name.'_pending = $'.$t_name.'Handler->getCount($criteria); '; } - + $text .= ' + + '; foreach (array_keys($tables_arr) as $i) { + $t_name = $tables_arr[$i]->getVar("tables_name"); $text .= ' - $indexAdmin->addInfoBox('.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).'); - $indexAdmin->addInfoBoxLine('.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).','.$language2.strtoupper($tables_arr[$i]->getVar("tables_name")).', $count_'.$tables_arr[$i]->getVar("tables_name").'); - $indexAdmin->addInfoBoxLine('.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).','.$language2.strtoupper($tables_arr[$i]->getVar("tables_name")).'_ONLINE, $'.$tables_arr[$i]->getVar("tables_name").'_online); - $indexAdmin->addInfoBoxLine('.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).','.$language2.strtoupper($tables_arr[$i]->getVar("tables_name")).'_PENDING, $'.$tables_arr[$i]->getVar("tables_name").'_pending); + $indexAdmin->addInfoBox('.$language.strtoupper($t_name).'); + $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).', $count_'.$t_name.', ); + $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).'_ONLINE, $'.$t_name.'_online, ); + $indexAdmin->addInfoBoxLine('.$language.strtoupper($t_name).','.$language1.strtoupper($t_name).'_PENDING, $'.$t_name.'_pending, ); '; } $text .= ' echo $indexAdmin->addNavigation("index.php") ; echo $indexAdmin->renderIndex(); - include "admin_footer.php"; ?>'; createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_ADMINS, _AM_TDMCREATE_CONST_NOTOK_ADMINS, $file); } -?> +?> \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_language.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_language.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_language.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -48,7 +47,6 @@ define("'.$language.'NEW'.strtoupper($tables_arr[$i]->getVar("tables_name")).'","Add New '.$tables_name.'"); define("'.$language.''.strtoupper($tables_arr[$i]->getVar("tables_name")).'LIST","List '.$tables_name.'"); define("'.$language.''.strtoupper($tables_arr[$i]->getVar("tables_name")).'WAIT","Pending '.$tables_name.'"); - '; } $text .= ' @@ -101,7 +99,7 @@ foreach (array_keys($tables_arr) as $i) { $language1 = $language.strtoupper($tables_arr[$i]->getVar("tables_name")).'_'; -$text .= ' + $text .= ' define("'.$language1.'BLOCK_DAY","'.$tables_arr[$i]->getVar("tables_name").'s of today"); define("'.$language1.'BLOCK_RANDOM","'.$tables_arr[$i]->getVar("tables_name").'s random"); define("'.$language1.'BLOCK_RECENT","'.$tables_arr[$i]->getVar("tables_name").'s recents"); @@ -113,7 +111,7 @@ define("'.$language.'PERMISSIONS_VIEW","Permissions to view"); define("'.$language.'PERMISSIONS_SUBMIT","Permissions to submit"); //Error NoFrameworks -define("_AM_ERROR_NOFRAMEWORKS","Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); +define("'.$language.'NOFRAMEWORKS","Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); define("'.$language.'MAINTAINEDBY", "is maintained by the"); ?>'; createFile($path_file, $text, Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_menu.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_menu.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_menu.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -23,8 +22,7 @@ function const_admin_menu($modules, $modules_name, $tables_arr, $topic) { - global $xoopsModule, $xoopsConfig; - + global $xoopsModule, $xoopsConfig; $language = '_MI_'.strtoupper($modules_name).'_ADMENU'; $file = "menu.php"; $path_file = TDM_CREATE_MURL."/".$modules_name."/admin/".$file; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_pages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_pages.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_pages.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -85,6 +84,7 @@ $criteria->setLimit($limit); $'.$tables_name.'_arr = $'.$tables_name.'Handler->getall($criteria); if ( $numrows > $limit ) { + include_once XOOPS_ROOT_PATH . "/class/pagenav.php"; $pagenav = new XoopsPageNav($numrows, $limit, $start, \'start\', \'op=list\'); $pagenav = $pagenav->renderNav(4); } else { Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_permissions.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_permissions.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_admin_permissions.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -23,7 +22,6 @@ function const_admin_permissions($modules, $modules_name, $tables_arr) { - $language_manager = '_AM_'.strtoupper($modules_name).'_ADMIN_'; $language = '_AM_'.strtoupper($modules_name).'_PERMISSIONS_'; $myts =& MyTextSanitizer::getInstance(); $file = "permissions.php"; @@ -41,15 +39,12 @@ } xoops_cp_header(); +$permissions_admin = new ModuleAdmin(); +echo $permissions_admin->addNavigation("permissions.php"); - $permissions_admin = new ModuleAdmin(); - echo $permissions_admin->addNavigation("permissions.php"); - -global $xoopsDB; - - $permtoset= isset($_POST["permtoset"]) ? intval($_POST["permtoset"]) : 1; - $selected=array("","",""); - $selected[$permtoset-1]=" selected"; +$permtoset= isset($_POST["permtoset"]) ? intval($_POST["permtoset"]) : 1; +$selected=array("","",""); +$selected[$permtoset-1]=" selected"; echo " <form method=\"post\" name=\"fselperm\" action=\"permissions.php\"> @@ -58,6 +53,7 @@ <td> <select name=\"permtoset\" onChange=\"javascript: document.fselperm.submit()\"> <option value=\"1\"".$selected[0].">".'.$language.'ACCESS."</option> + <option value=\"2\"".$selected[1].">".'.$language.'VIEW."</option> <option value=\"2\"".$selected[1].">".'.$language.'SUBMIT."</option> </select> </td> @@ -66,39 +62,41 @@ </form>"; $module_id = $xoopsModule->getVar("mid"); +switch($permtoset) +{ + case 1: + $title_of_form = '.$language.'ACCESS; + $perm_name = "'.$modules_name.'_access"; + $perm_desc = ""; + break; + case 2: + $title_of_form = '.$language.'VIEW; + $perm_name = "'.$modules_name.'_view"; + $perm_desc = ""; + break; + case 3: + $title_of_form = '.$language.'SUBMIT; + $perm_name = "'.$modules_name.'_submit"; + $perm_desc = ""; + break; +} - switch($permtoset) - { - case 1: - $title_of_form = '.$language.'ACCESS; - $perm_name = "'.$modules_name.'_access"; - $perm_desc = ""; - break; - case 2: - $title_of_form = '.$language.'SUBMIT; - $perm_name = "'.$modules_name.'_submit"; - $perm_desc = ""; - break; - } - - $permform = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc, "admin/permissions.php"); - $xt = new XoopsTopic( $xoopsDB -> prefix("'.$modules_name.'_topic") ); - $alltopics =& $xt->getTopicsList(); - - foreach ($alltopics as $topic_id => $topic) - { - $permform->addItem($topic_id, $topic["title"], $topic["pid"]); - } - echo $permform->render(); - echo "<br /><br /><br /><br />\n"; - unset ($permform); +$permform = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc, "admin/permissions.php"); +$xt = new XoopsTopic( $GLOBALS[\'xoopsDB\'] -> prefix("'.$modules_name.'_topic") ); +$alltopics =& $xt->getTopicsList(); +foreach ($alltopics as $topic_id => $topic) +{ + $permform->addItem($topic_id, $topic["title"], $topic["pid"]); +} +echo $permform->render(); +echo "<br /><br /><br /><br />\n"; +unset ($permform); + include("admin_footer.php"); -?>'; - +?>'; createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_ADMINS, _AM_TDMCREATE_CONST_NOTOK_ADMINS, $file); } - -?> +?> \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_architecture.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_architecture.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_architecture.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,11 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Revision Copyright (c) (http://www.txmodxoops.org) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * This license contains restrictions!!! - * * 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. @@ -16,9 +13,8 @@ * * @license TDM GPL license * @author TDM TEAM DEV MODULE - * @author TXMod Xoops (in...@tx...) * - * Version : 1.37 Mon 2011/08/12 19:22:12 : Timgno Exp $ + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/class/constArchitecture.php'; @@ -52,7 +48,9 @@ // Creation of "css" folder and index.html file echo $css_index = $classArch->makeDirAndCopyFile('css', $indexFile, 'index.html'); // Creation of "images" folder and index.html file - echo $images_index = $classArch->makeDirAndCopyFile('images', $indexFile, 'index.html'); + echo $images_index = $classArch->makeDirAndCopyFile('images', $indexFile, 'index.html'); + // Creation of "js" folder and index.html file + echo $images_index = $classArch->makeDirAndCopyFile('js', $indexFile, 'index.html'); //Copy the logo of the module echo $logo_image = $classArch->CopyFile('images', $fimages."/uploads/modules/".$modules_image, $modules_image); // Creation of "images/menu" folder and index.html file Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -50,35 +49,34 @@ '; if ( $topic == 1 ) { $text .= 'if (!(count($options) == 1 && $options[0] == 0)) { -$criteria->add(new Criteria("'.$tables_name.'_topic", block_addCatSelect($options),"IN")); +$criteria->add(new Criteria("'.$tables_name.'_topic", '.$modules_name.'_block_addCatSelect($options),"IN")); } '; } $text .= ' switch ($type_block) { - // pour le bloc: '.$tables_name.' recents + // For the block: '.$tables_name.' recents case "recent": $criteria->add(new Criteria("'.$tables_name.'_online", 1)); - $criteria->setSort("'.$tables_name.'_date_created"); + $criteria->setSort("'.$tables_name.'_created"); $criteria->setOrder("DESC"); break; - // pour le bloc: '.$tables_name.' du jour + // For the block: '.$tables_name.' of today case "day": $criteria->add(new Criteria("'.$tables_name.'_online", 1)); - $criteria->add(new Criteria("'.$tables_name.'_date_created", strtotime(date("Y/m/d")), ">=")); - $criteria->add(new Criteria("'.$tables_name.'_date_created", strtotime(date("Y/m/d"))+86400, "<=")); - $criteria->setSort("'.$tables_name.'_date_created"); + $criteria->add(new Criteria("'.$tables_name.'_created", strtotime(date("Y/m/d")), ">=")); + $criteria->add(new Criteria("'.$tables_name.'_created", strtotime(date("Y/m/d"))+86400, "<=")); + $criteria->setSort("'.$tables_name.'_created"); $criteria->setOrder("ASC"); break; - // pour le bloc: '.$tables_name.' aléatoires + // For the block: '.$tables_name.' random case "random": $criteria->add(new Criteria("'.$tables_name.'_online", 1)); $criteria->setSort("RAND()"); break; } - $criteria->setLimit($nb_'.$tables_name.'); $'.$tables_name.'_arr = $'.$tables_name.'Handler->getall($criteria);'; @@ -144,13 +142,10 @@ $form .= "</select>"; return $form; -} - +} ?>'; - createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_BLOCKS, _AM_TDMCREATE_CONST_NOTOK_BLOCKS, $file); } - -?> +?> \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks_language.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks_language.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks_language.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -33,7 +32,6 @@ $text = '<?php'.$en_tete.' '; - foreach (array_keys($tables_arr) as $i) { //Champs @@ -43,10 +41,10 @@ $tables_blocks = $tables_arr[$i]->getVar('tables_blocs'); $language1 = $language.strtoupper($tables_arr[$i]->getVar("tables_name")).'_'; if ( $tables_blocks == 1 ) { - $text .= 'define("'.$language1.'DISPLAY","Afficher"); -define("'.$language1.'TITLELENGTH","Longueur du titre"); -define("'.$language1.'CATTODISPLAY","Sélectionner les catégories à affichées"); -define("'.$language1.'ALLCAT","Toutes les catégories"); + $text .= 'define("'.$language1.'DISPLAY","Display"); +define("'.$language1.'TITLELENGTH","Leinght of title"); +define("'.$language1.'CATTODISPLAY","Select the categories to display"); +define("'.$language1.'ALLCAT","All categories"); '; } @@ -66,12 +64,9 @@ } $text .= ' - -?>'; - +?>'; createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_LANGUAGES, _AM_TDMCREATE_CONST_NOTOK_LANGUAGES, $file); } - -?> +?> \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks_templates.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks_templates.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_blocks_templates.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_changelog.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_changelog.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_changelog.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/class/tdmcreate_modules.php'; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_class.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_class.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_class.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -95,11 +94,9 @@ $form = new XoopsThemeForm($title, "form", $action, "post", true); $form->setExtra(\'enctype="multipart/form-data"\'); - '; + '; + $text .= $form.' - $text .= ''.$form.''; - - $text .= ' $form->addElement(new XoopsFormHidden("op", "save_'.$tables_name.'")); $form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); return $form; Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_css_admin.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_css_admin.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_css_admin.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -225,10 +225,8 @@ .txtchangelog { height:350px; overflow:auto;} '; - createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_CSS, _AM_TDMCREATE_CONST_NOTOK_CSS, $file); } - -?> +?> \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_css_style.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_css_style.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_css_style.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -23,7 +23,6 @@ */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_header.php'; include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/include/functions_const.php'; - function const_css_style($modules, $modules_name) { $file = "style.css"; @@ -31,9 +30,17 @@ $on_header_coms = const_header($modules, 0); $text = '@charset "UTF-8";'. $on_header_coms.' + +.box-header { + margin: 2px; + padding: 5px; + background-color: #ccc; + width: 100%; + height: 50px; +} '; createFile($path_file, $text, _AM_TDMCREATE_CONST_OK_CSS, _AM_TDMCREATE_CONST_NOTOK_CSS, $file); } -?> +?> \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_entete.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_entete.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_entete.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -14,8 +12,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * @license TDM GPL license - * @author TDM TEAM DEV MODULE + * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ function const_entete($modules) Modified: XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_help_language.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_help_language.php 2012-04-11 23:28:49 UTC (rev 9304) +++ XoopsModules/TDMCreate/branches/timgno/modules/TDMCreate/const/const_help_language.php 2012-04-12 15:00:52 UTC (rev 9305) @@ -2,10 +2,8 @@ /** * **************************************************************************** * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Licence GPL Copyright (c) (http://www.xoops.org) * - * Cette licence, contient des limitations!!! - * * 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. @@ -16,6 +14,7 @@ * @license TDM GPL license * @author TDM TEAM DEV MODULE * + * Version : 1.38 Thu 2012/04/12 14:04:25 : Timgno Exp $ * **************************************************************************** */ include_once XOOPS_ROOT_PATH.'/modules/TDMCreate/const/const_entete.php'; @@ -48,17 +47,15 @@ No special... [truncated message content] |
From: <be...@us...> - 2012-04-11 23:28:55
|
Revision: 9304 http://xoops.svn.sourceforge.net/xoops/?rev=9304&view=rev Author: beckmi Date: 2012-04-11 23:28:49 +0000 (Wed, 11 Apr 2012) Log Message: ----------- Updating Arabic Help Modified Paths: -------------- XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html Modified: XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html 2012-04-11 22:38:00 UTC (rev 9303) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html 2012-04-11 23:28:49 UTC (rev 9304) @@ -1,33 +1,33 @@ <div id="help-template" class="outer"> - <h1 class="head">Help: + <h1 class="head">\xE3\xD3\xC7\xDA\xCF\xC9: <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/subscribers/admin/index.php" - title="Back to the administration of Subscribers"> Subscribers + title="\xC7\xE1\xDA\xE6\xCF\xC9 \xC5\xE1\xEC \xD5\xDD\xCD\xC9 \xC5\xCF\xC7\xD1\xC9 \xC7\xE1\xDE\xC7\xC6\xE3\xC9 \xC7\xE1\xC8\xD1\xED\xCF\xED\xC9"> \xC7\xE1\xDE\xC7\xC6\xE3\xC9 \xC7\xE1\xC8\xD1\xED\xCF\xED\xC9 <img src="<{xoAdminIcons home.png}>" - alt="Back to the Administration of Subscribers"/> + alt="\xC7\xE1\xDA\xE6\xCF\xC9 \xC5\xE1\xEC \xD5\xDD\xCD\xC9 \xC5\xCF\xC7\xD1\xC9 \xC7\xE1\xDE\xC7\xC6\xE3\xC9 \xC7\xE1\xC8\xD1\xED\xCF\xED\xC9"/> </a></h1> <!-- ===== Help Content ======= --> - <h4 class="odd">Description</h4><br/> + <h4 class="odd">\xC7\xE1\xE6\xD5\xDD</h4><br/> - This module is for subscriptions and mailings.<br/><br/> + \xE5\xD0\xC7 \xC7\xE1\xC8\xD1\xE4\xC7\xE3\xCC \xE3\xD5\xE3\xE3 \xE1\xE1\xE3\xD1\xC7\xD3\xE1\xC9 \xE6 \xC7\xE1\xDE\xE6\xC7\xC6\xE3 \xC7\xE1\xC8\xD1\xED\xCF\xED\xC9<br/><br/> - <h4 class="odd">Install/uninstall</h4><br/> + <h4 class="odd">\xC7\xE1\xCA\xD1\xDF\xED\xC8/\xC7\xE1\xC5\xD2\xC7\xE1\xC9</h4><br/> - No special measures necessary, follow the standard installation process – - extract the module folder into the ../modules directory. Install the - module through Admin -> System Module -> Modules. <br/><br/> - Detailed instructions on installing modules are available in the - <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br/><br/> + \xE1\xC7 \xCA\xE6\xCC\xCF \xCA\xCF\xC7\xC8\xED\xD1 \xCE\xC7\xD5ɡ \xC7\xCA\xC8\xDA \xCE\xD8\xE6\xC7\xCA \xC7\xE1\xCA\xD1\xDF\xED\xC8 \xC7\xE1\xC5\xDA\xCA\xED\xC7\xCF\xED\xC9 - + \xC3\xD1\xDD\xDA \xE3\xCC\xE1\xCF \xC7\xE1\xC8\xD1\xE4\xC7\xE3\xCC \xC5\xE1\xEC \xE3\xCC\xE1\xCF ../modules directory. \xDE\xE3 \xC8\xCA\xD1\xDF\xED\xC8 + \xC7\xE1\xC8\xD1\xE4\xC7\xE3\xCC \xE3\xE4 \xCE\xE1\xC7\xE1 \xD5\xDD\xCD\xC9 \xE1\xE6\xCD\xC9 \xC7\xE1\xCA\xCD\xDF\xE3 \xC7\xE1\xDA\xC7\xE3\xC9 -> \xC5\xCF\xC7\xD1\xC9 \xC7\xE1\xC8\xD1\xC7\xE3\xCC -> \xC7\xE1\xC8\xD1\xC7\xE3\xCC. <br/><br/> + \xC7\xE1\xD4\xD1\xCD \xC7\xE1\xE3\xDD\xD5\xE1 \xDA\xE4 \xDF\xED\xDD\xED\xC9 \xCA\xD1\xDF\xED\xC8 \xC8\xD1\xE4\xC7\xE3\xCC \xDD\xED \xD2\xE6\xE6\xC8\xD3 \xCA\xCC\xCF\xE5 \xDA\xE1\xEC \xC7\xE1\xD1\xC7\xC8\xD8 + <a href="http://goo.gl/adT2i">\xCF\xE1\xED\xE1 \xCA\xD4\xDB\xED\xE1 \xD2\xE6\xE6\xC8\xD3</a><br/><br/> - <h4 class="odd">Operating instructions</h4><br/> + <h4 class="odd">\xCA\xDA\xE1\xED\xE3\xC7\xCA \xC7\xE1\xCA\xD4\xDB\xED\xE1</h4><br/> - Detailed instructions on configuring the access rights for user groups are available in the - <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br/><br/> - <h4 class="odd">Tutorial</h4> + \xC7\xE1\xD4\xD1\xCD \xC7\xE1\xE3\xDD\xD5\xE1 \xDA\xE4 \xDF\xED\xDD\xED\xC9 \xC7\xE1\xCA\xDA\xC7\xE3\xE1 \xE3\xDA \xC7\xE1\xC8\xD1\xC7\xE3\xCC \xE6\xC5\xDA\xD8\xC7\xC1 \xC7\xE1\xD5\xE1\xC7\xCD\xED\xC7\xCA \xE1\xE1\xC3\xDA\xD6\xC7\xC1 \xE6\xC7\xE1\xE3\xCC\xE3\xE6\xDA\xC7\xCA \xCA\xCC\xCF\xE5 \xDA\xE1\xEC \xC7\xE1\xD1\xC7\xC8\xD8 + <a href="http://goo.gl/adT2i">\xCF\xE1\xED\xE1 \xCA\xD4\xDB\xED\xE1 \xD2\xE6\xE6\xC8\xD3</a><br/><br/> + <h4 class="odd">\xC7\xE1\xCF\xD1\xE6\xD3</h4> <br/> - Not available yet + \xDB\xED\xD1 \xE3\xCA\xE6\xDD\xD1\xC9 \xCD\xC7\xE1\xED\xC7\xF0 <!-- ====== Help Content ======== --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-11 22:38:06
|
Revision: 9303 http://xoops.svn.sourceforge.net/xoops/?rev=9303&view=rev Author: beckmi Date: 2012-04-11 22:38:00 +0000 (Wed, 11 Apr 2012) Log Message: ----------- Updating Arabic Translations Modified Paths: -------------- XoopsModules/subscribers/trunk/subscribers/language/arabic/admin.php XoopsModules/subscribers/trunk/subscribers/language/arabic/blocks.php XoopsModules/subscribers/trunk/subscribers/language/arabic/main.php XoopsModules/subscribers/trunk/subscribers/language/arabic/modinfo.php XoopsModules/subscribers/trunk/subscribers/xoops_version.php Modified: XoopsModules/subscribers/trunk/subscribers/language/arabic/admin.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/admin.php 2012-04-11 16:31:35 UTC (rev 9302) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/admin.php 2012-04-11 22:38:00 UTC (rev 9303) @@ -2,7 +2,6 @@ define("_AM_SUBSCRIBERS_GOMOD", "\xD5\xDD\xCD\xC9 \xC7\xE1\xC8\xD1\xE4\xC7\xE3\xCC"); define("_AM_SUBSCRIBERS_BLOCKS", "\xC5\xCF\xC7\xD1\xC9 \xC7\xE1\xC8\xE1\xE6\xDF\xC7\xCA"); define("_AM_SUBSCRIBERS_UPDATE_MODULE", "\xCA\xCD\xCF\xED\xCB \xC7\xE1\xC8\xD1\xE4\xC7\xE3\xCC"); -define("_AM_SUBSCRIBERS_EXPORT", "Export"); define("_AM_SUBSCRIBERS_ERROR", "\xDA\xD0\xD1\xC7\xF0\xA1 \xCD\xCF\xCB \xCE\xD8\xC3!"); define("_AM_SUBSCRIBERS_SOME_ERROR", "\xED\xC8\xCF\xE6 \xC3\xE4 \xC8\xDA\xD6 \xC7\xE1\xE3\xCA\xD8\xE1\xC8\xC7\xCA \xDB\xED\xD1 \xE3\xCA\xE6\xDD\xD1\xC9!"); define("_AM_SUBSCRIBERS_SUCCESS", "\xCA\xE3\xCA \xC7\xE1\xDA\xE3\xE1\xED\xC9 \xC8\xE4\xCC\xC7\xCD"); @@ -14,7 +13,7 @@ define("_AM_SUBSCRIBERS_COUNTRY", "\xC7\xE1\xC8\xE1\xCF"); define("_AM_SUBSCRIBERS_EMAIL", "\xC7\xE1\xC8\xD1\xED\xCF \xC7\xE1\xC5\xE1\xDF\xCA\xD1\xE6\xE4\xED"); define("_AM_SUBSCRIBERS_NAME", "\xC7\xE1\xC7\xD3\xE3"); -define("_AM_SUBSCRIBERS_PHONE", "Phone"); +define("_AM_SUBSCRIBERS_PHONE", "\xD1\xDE\xE3 \xC7\xE1\xE5\xC7\xCA\xDD"); define("_AM_SUBSCRIBERS_CREATED", "\xC8\xCA\xC7\xD1\xED\xCE"); define("_AM_SUBSCRIBERS_PRIORITY", "\xC7\xE1\xC3\xE6\xE1\xE6\xED\xC9"); define("_AM_SUBSCRIBERS_SUBJECT", "\xC7\xE1\xDA\xE4\xE6\xC7\xE4"); @@ -39,5 +38,6 @@ define("_AM_SUBSCRIBERS_USERS_FOUND", "\xC3\xDA\xD6\xC7\xC1 \xC7\xE1\xE3\xE6\xDE\xDA : "); define("_AM_SUBSCRIBERS_TOTAL_FOUND", "\xC7\xE1\xC5\xCC\xE3\xC7\xE1\xED : "); -define("_AM_SUBSCRIBERS_MISSING_PHPEXCEL", "PHPExcel Framework was not found, please install it!"); +define("_AM_SUBSCRIBERS_MISSING_PHPEXCEL", "\xE3\xDF\xCA\xC8\xC9 PHPExcel \xDB\xED\xD1 \xE3\xE6\xCC\xE6\xCF\xC9. \xED\xD1\xCC\xEC \xCA\xD1\xDF\xED\xC8\xE5\xC7 \xE1\xC5\xCA\xE3\xC7\xE3 \xDA\xE3\xE1\xED\xC9 \xC7\xE1\xCA\xD5\xCF\xED\xD1."); + ?> \ No newline at end of file Modified: XoopsModules/subscribers/trunk/subscribers/language/arabic/blocks.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/blocks.php 2012-04-11 16:31:35 UTC (rev 9302) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/blocks.php 2012-04-11 22:38:00 UTC (rev 9303) @@ -5,5 +5,5 @@ define("_MB_SUBSCRIBERS_ENTER_NAME", "\xC7\xD3\xE3\xDF"); define("_MB_SUBSCRIBERS_ENTER_SECURITY", "\xC7\xE1\xD1\xE3\xD2 \xC7\xE1\xC3\xE3\xE4\xED : "); define("_MB_SUBSCRIBERS_SUBMIT", "\xC7\xD4\xCA\xD1\xDF \xC7\xE1\xC2\xE4"); -define("_MB_SUBSCRIBERS_ENTER_PHONE", "Phone Number : "); +define("_MB_SUBSCRIBERS_ENTER_PHONE", "\xD1\xDE\xE3 \xC7\xE1\xE5\xC7\xCA\xDD : "); ?> Modified: XoopsModules/subscribers/trunk/subscribers/language/arabic/main.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/main.php 2012-04-11 16:31:35 UTC (rev 9302) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/main.php 2012-04-11 22:38:00 UTC (rev 9303) @@ -11,8 +11,8 @@ define("_MD_SUBSCRIBERS_ENTER_NAME", "\xC7\xE1\xC7\xD3\xE3 : "); define("_MD_SUBSCRIBERS_ENTER_SECURITY", "\xC7\xE1\xD1\xE3\xD2 \xC7\xE1\xC3\xE3\xE4\xED : "); define("_MD_SUBSCRIBERS_SUBMIT", "\xC7\xD4\xCA\xD1\xDF \xC7\xE1\xC2\xE4"); -define("_MD_SUBSCRIBERS_ENTER_PHONE", "Phone Number : "); +define("_MD_SUBSCRIBERS_ENTER_PHONE", "\xD1\xDE\xE3 \xC7\xE1\xE5\xC7\xCA\xDD : "); //UNSUBSCRIBE -define("_MD_SUBSCRIBERS_U_NO_THANKS", "Sorry, it was not possible to unsubscribe you."); -define("_MD_SUBSCRIBERS_U_THANKS", "You are now unsubscribed!"); \ No newline at end of file +define("_MD_SUBSCRIBERS_U_NO_THANKS", "\xE4\xC3\xD3ݡ \xE1\xE3 \xE4\xCA\xE3\xDF\xE4 \xE3\xE4 \xC5\xE1\xDB\xC7\xC1 \xC7\xE1\xC5\xD4\xCA\xD1\xC7\xDF."); +define("_MD_SUBSCRIBERS_U_THANKS", "\xCA\xE3 \xC5\xE1\xDB\xC7\xC1 \xC5\xD4\xCA\xD1\xC7\xDF\xDF \xC7\xE1\xC2\xE4!"); \ No newline at end of file Modified: XoopsModules/subscribers/trunk/subscribers/language/arabic/modinfo.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/modinfo.php 2012-04-11 16:31:35 UTC (rev 9302) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/modinfo.php 2012-04-11 22:38:00 UTC (rev 9303) @@ -23,4 +23,5 @@ define("_MI_SUBSCRIBERS_CONF_CAPTCHA_CHOICE1", "\xCA\xDD\xDA\xED\xE1\xE5\xC7 \xE1\xE1\xC3\xDA\xD6\xC7\xC1 \xE6 \xC7\xE1\xD2\xE6\xC7\xD1"); define("_MI_SUBSCRIBERS_CONF_CAPTCHA_CHOICE2", "\xCA\xDD\xDA\xED\xE1\xE5\xC7 \xE1\xE1\xD2\xE6\xC7\xD1 \xDD\xDE\xD8"); define("_MI_SUBSCRIBERS_CONF_CAPTCHA_CHOICE3", "\xCA\xDA\xD8\xED\xE1\xE5\xC7"); +define("_MI_SUBSCRIBERS_EXPORT", "\xCA\xD5\xCF\xED\xD1"); ?> Modified: XoopsModules/subscribers/trunk/subscribers/xoops_version.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/xoops_version.php 2012-04-11 16:31:35 UTC (rev 9302) +++ XoopsModules/subscribers/trunk/subscribers/xoops_version.php 2012-04-11 22:38:00 UTC (rev 9303) @@ -6,7 +6,7 @@ $modversion['name'] = _MI_SUBSCRIBERS_MD_NAME; $modversion['version'] = 1.2; $modversion['description'] = _MI_SUBSCRIBERS_MD_DSC; -$modversion['author'] = "Trabis - www.xuups.com"; +$modversion['author'] = "Trabis - www.xuups.com, credit: www.arabxoops.com"; $modversion['credits'] = "Mowaffaq & Mariane - www.arabxoops.com"; $modversion['help'] = 'page=help'; $modversion['license'] = 'GNU GPL 2.0'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-11 16:31:44
|
Revision: 9302 http://xoops.svn.sourceforge.net/xoops/?rev=9302&view=rev Author: beckmi Date: 2012-04-11 16:31:35 +0000 (Wed, 11 Apr 2012) Log Message: ----------- Synchronizing with English Help Modified Paths: -------------- XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html Modified: XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html 2012-04-11 16:30:24 UTC (rev 9301) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html 2012-04-11 16:31:35 UTC (rev 9302) @@ -1,37 +1,29 @@ <div id="help-template" class="outer"> <h1 class="head">Help: - <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/xoopsfaq/admin/index.php" - title="Back to the administration of XOOPS FAQ"> XOOPS FAQ + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/subscribers/admin/index.php" + title="Back to the administration of Subscribers"> Subscribers <img src="<{xoAdminIcons home.png}>" - alt="Back to the Administration of XOOPS FAQ"/> + alt="Back to the Administration of Subscribers"/> </a></h1> <!-- ===== Help Content ======= --> <h4 class="odd">Description</h4><br/> - XOOPS FAQ is a XOOPS module to create FAQ (Frequently Asked Questions). You - can create an unlimited number of questions and answers.<br/><br/> + This module is for subscriptions and mailings.<br/><br/> - You can use a WYSIWYG editor to make your FAQ even more attractive<br/><br/> + <h4 class="odd">Install/uninstall</h4><br/> No special measures necessary, follow the standard installation process – - extract the /xoopsfaq folder into the ../modules directory. Install the + extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. <br/><br/> Detailed instructions on installing modules are available in the <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br/><br/> <h4 class="odd">Operating instructions</h4><br/> - This module and its operations are very simple:<br/><br/> - i) Configure your preferences (e.g. select the text editor)<br/><br/> - ii) Add one or more Categories<br/><br/> - iii) Add Questions and Answers<br/><br/> - iv) Check that you have given your user groups the necessary module and - block access rights to use this module. Group permissions are set through - the Administration Menu -> System -> Groups. <br/><br/>Detailed instructions - on configuring the access rights for user groups are available in the + Detailed instructions on configuring the access rights for user groups are available in the <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br/><br/> <h4 class="odd">Tutorial</h4> <br/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-11 16:30:36
|
Revision: 9301 http://xoops.svn.sourceforge.net/xoops/?rev=9301&view=rev Author: beckmi Date: 2012-04-11 16:30:24 +0000 (Wed, 11 Apr 2012) Log Message: ----------- Updating to 1.2 Beta Modified Paths: -------------- XoopsModules/subscribers/trunk/subscribers/admin/admin_header.php XoopsModules/subscribers/trunk/subscribers/admin/admin_send.php XoopsModules/subscribers/trunk/subscribers/admin/admin_user.php XoopsModules/subscribers/trunk/subscribers/admin/admin_waiting.php XoopsModules/subscribers/trunk/subscribers/admin/index.php XoopsModules/subscribers/trunk/subscribers/admin/menu.php XoopsModules/subscribers/trunk/subscribers/language/english/admin.php XoopsModules/subscribers/trunk/subscribers/language/english/modinfo.php XoopsModules/subscribers/trunk/subscribers/templates/static/subscribers_admin_user.html XoopsModules/subscribers/trunk/subscribers/templates/static/subscribers_admin_waiting.html XoopsModules/subscribers/trunk/subscribers/xoops_version.php Added Paths: ----------- XoopsModules/subscribers/trunk/subscribers/admin/about.php XoopsModules/subscribers/trunk/subscribers/admin/admin_footer.php XoopsModules/subscribers/trunk/subscribers/docs/ XoopsModules/subscribers/trunk/subscribers/docs/changelog.txt XoopsModules/subscribers/trunk/subscribers/docs/index.html XoopsModules/subscribers/trunk/subscribers/docs/readme.txt XoopsModules/subscribers/trunk/subscribers/language/arabic/help/ XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html XoopsModules/subscribers/trunk/subscribers/language/arabic/help/index.html XoopsModules/subscribers/trunk/subscribers/language/english/help/ XoopsModules/subscribers/trunk/subscribers/language/english/help/help.html XoopsModules/subscribers/trunk/subscribers/language/english/help/index.html Added: XoopsModules/subscribers/trunk/subscribers/admin/about.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/about.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/admin/about.php 2012-04-11 16:30:24 UTC (rev 9301) @@ -0,0 +1,29 @@ +<?php +/** + * xLanguage module + * + * 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. + * + * @copyright The XOOPS Project (http://www.xoops.org) + * @license {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} + * @package xlanguage + * @since 2.0 + * @author XOOPS Development Team + * @version $Id $ + **/ + +include_once dirname(__FILE__) . '/admin_header.php'; + +xoops_cp_header(); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); + +include 'admin_footer.php'; \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/admin/admin_footer.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/admin_footer.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/admin/admin_footer.php 2012-04-11 16:30:24 UTC (rev 9301) @@ -0,0 +1,10 @@ +<?php + +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); \ No newline at end of file Modified: XoopsModules/subscribers/trunk/subscribers/admin/admin_header.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/admin_header.php 2012-04-11 15:23:48 UTC (rev 9300) +++ XoopsModules/subscribers/trunk/subscribers/admin/admin_header.php 2012-04-11 16:30:24 UTC (rev 9301) @@ -3,14 +3,23 @@ // URL: http://www.xuups.com // E-Mail: lus...@gm... -include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +//include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; include_once dirname(dirname(__FILE__)) . '/include/functions.php'; -include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +//include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; -$xoopsModuleConfig =& subscribers_getModuleConfig(); //must come first -$xoopsModule =& subscribers_getModuleHandler(); +//$xoopsModuleConfig =& subscribers_getModuleConfig(); //must come first +//$xoopsModule =& subscribers_getModuleHandler(); +global $xoopsModule; +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); +$thisModulePath = dirname(dirname(__FILE__)); + $myts =& MyTextSanitizer::getInstance(); if ($xoopsUser) { @@ -29,7 +38,20 @@ $xoopsTpl = new XoopsTpl(); } -xoops_loadLanguage('admin', 'subscribers'); -xoops_loadLanguage('modinfo', 'subscribers'); +//xoops_loadLanguage('admin', 'subscribers'); +//xoops_loadLanguage('modinfo', 'subscribers'); -?> +// Load language files +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); + +$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); +$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + }else{ + redirect_header("../../../admin.php", 5, _AM_XOOPSMEMBERS_MODULEADMIN_MISSING, false); + } \ No newline at end of file Modified: XoopsModules/subscribers/trunk/subscribers/admin/admin_send.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/admin_send.php 2012-04-11 15:23:48 UTC (rev 9300) +++ XoopsModules/subscribers/trunk/subscribers/admin/admin_send.php 2012-04-11 16:30:24 UTC (rev 9301) @@ -14,9 +14,11 @@ case 'form': default: xoops_cp_header(); - subscribers_adminMenu(1, _MI_SUBSCRIBERS_ADMENU_SEND); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation('admin_send.php'); +// subscribers_adminMenu(1, _MI_SUBSCRIBERS_ADMENU_SEND); echo send_form(); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; } Modified: XoopsModules/subscribers/trunk/subscribers/admin/admin_user.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/admin_user.php 2012-04-11 15:23:48 UTC (rev 9300) +++ XoopsModules/subscribers/trunk/subscribers/admin/admin_user.php 2012-04-11 16:30:24 UTC (rev 9301) @@ -18,18 +18,20 @@ switch ($op){ case 'list': xoops_cp_header(); - subscribers_adminMenu(0, _MI_SUBSCRIBERS_ADMENU_USER); +// subscribers_adminMenu(0, _MI_SUBSCRIBERS_ADMENU_USER); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation('admin_user.php'); echo user_index($start); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; case 'add': user_add($id); break; case 'edit': xoops_cp_header(); - subscribers_adminMenu(0, _MI_SUBSCRIBERS_ADMENU_USER); +// subscribers_adminMenu(0, _MI_SUBSCRIBERS_ADMENU_USER); echo user_form($id); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; case 'editok': user_edit($id); Modified: XoopsModules/subscribers/trunk/subscribers/admin/admin_waiting.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/admin_waiting.php 2012-04-11 15:23:48 UTC (rev 9300) +++ XoopsModules/subscribers/trunk/subscribers/admin/admin_waiting.php 2012-04-11 16:30:24 UTC (rev 9301) @@ -17,9 +17,11 @@ switch ($op) { case 'list': xoops_cp_header(); - subscribers_adminMenu(2, _MI_SUBSCRIBERS_ADMENU_WAITING); +// subscribers_adminMenu(2, _MI_SUBSCRIBERS_ADMENU_WAITING); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation('admin_waiting.php'); echo waiting_index($start); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; case 'del': waiting_confirmdel($id, $redir); Modified: XoopsModules/subscribers/trunk/subscribers/admin/index.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/index.php 2012-04-11 15:23:48 UTC (rev 9300) +++ XoopsModules/subscribers/trunk/subscribers/admin/index.php 2012-04-11 16:30:24 UTC (rev 9301) @@ -3,5 +3,13 @@ // URL: http://www.xuups.com // E-Mail: lus...@gm... -include_once dirname(__FILE__) . '/admin_user.php'; -?> +include_once 'admin_header.php'; +xoops_cp_header(); + +$index_admin = new ModuleAdmin(); + +echo $index_admin->addNavigation('index.php'); +echo $index_admin->renderIndex(); + +include 'admin_footer.php'; +xoops_cp_footer(); Modified: XoopsModules/subscribers/trunk/subscribers/admin/menu.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/menu.php 2012-04-11 15:23:48 UTC (rev 9300) +++ XoopsModules/subscribers/trunk/subscribers/admin/menu.php 2012-04-11 16:30:24 UTC (rev 9301) @@ -3,47 +3,83 @@ // URL: http://www.xuups.com // E-Mail: lus...@gm... -global $xoopsModule; +defined('XOOPS_ROOT_PATH') or die('Restricted access'); +include_once dirname(dirname(__FILE__)) . '/include/functions.php'; + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +//global $xoopsModule; +$xoopsModuleConfig =& subscribers_getModuleConfig(); //must come first +$xoopsModule =& subscribers_getModuleHandler(); + +$pathIcon32 = $xoopsModule->getInfo('icons32'); +$pathLanguage = $path . $xoopsModule->getInfo('dirmoduleadmin'); + +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { + $fileinc = $pathLanguage . '/language/english/main.php'; +} +include_once $fileinc; + // Index +$adminmenu = array(); $i = 0; +$adminmenu[$i]["title"] = _AM_MODULEADMIN_HOME; +$adminmenu[$i]["link"] = "admin/index.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; + +// User +$i++; $adminmenu[$i]['title'] = _MI_SUBSCRIBERS_ADMENU_USER; $adminmenu[$i]['link'] = "admin/admin_user.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/users.png'; // Send $i++; $adminmenu[$i]['title'] = _MI_SUBSCRIBERS_ADMENU_SEND; $adminmenu[$i]['link'] = "admin/admin_send.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/mail_foward.png'; // Waiting $i++; $adminmenu[$i]['title'] = _MI_SUBSCRIBERS_ADMENU_WAITING; $adminmenu[$i]['link'] = "admin/admin_waiting.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/exec.png'; -$subscribers_adminmenu = $adminmenu; +// Export +$i++; +$adminmenu[$i]['title'] = _MI_SUBSCRIBERS_EXPORT; +$adminmenu[$i]['link'] = 'admin/admin_export.php'; +$adminmenu[$i]["icon"] = $pathIcon32.'/export.png'; -if (isset($xoopsModule) && $xoopsModule->getVar('dirname') == basename(dirname(dirname(__FILE__)))) { - $subscribers_url = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname'); +$i++; +$adminmenu[$i]["title"] = _AM_MODULEADMIN_ABOUT; +$adminmenu[$i]["link"] = "admin/about.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/about.png'; - $i = 0; - $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_GOMOD; - $subscribers_headermenu[$i]['link'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname'); +//$subscribers_adminmenu = $adminmenu; - $i++; - $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_BLOCKS; - $subscribers_headermenu[$i]['link'] = '../../system/admin.php?fct=blocksadmin&selvis=-1&selmod=-2&selgrp=-1&selgen=' . $xoopsModule->getVar('mid'); - - $i++; - $subscribers_headermenu[$i]['title'] = _PREFERENCES; - $subscribers_headermenu[$i]['link'] = '../../system/admin.php?fct=preferences&op=showmod&mod='. $xoopsModule->getVar('mid'); - - $i++; - $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_UPDATE_MODULE; - $subscribers_headermenu[$i]['link'] = XOOPS_URL . '/modules/system/admin.php?fct=modulesadmin&op=update&module=' . $xoopsModule->getVar('dirname'); - - $i++; - $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_EXPORT; - $subscribers_headermenu[$i]['link'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/admin/admin_export.php'; - -} -?> +//if (isset($xoopsModule) && $xoopsModule->getVar('dirname') == basename(dirname(dirname(__FILE__)))) { +// $subscribers_url = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname'); +// +// $i = 0; +// $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_GOMOD; +// $subscribers_headermenu[$i]['link'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname'); +// +// $i++; +// $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_BLOCKS; +// $subscribers_headermenu[$i]['link'] = '../../system/admin.php?fct=blocksadmin&selvis=-1&selmod=-2&selgrp=-1&selgen=' . $xoopsModule->getVar('mid'); +// +// $i++; +// $subscribers_headermenu[$i]['title'] = _PREFERENCES; +// $subscribers_headermenu[$i]['link'] = '../../system/admin.php?fct=preferences&op=showmod&mod='. $xoopsModule->getVar('mid'); +// +// $i++; +// $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_UPDATE_MODULE; +// $subscribers_headermenu[$i]['link'] = XOOPS_URL . '/modules/system/admin.php?fct=modulesadmin&op=update&module=' . $xoopsModule->getVar('dirname'); +// +// $i++; +// $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_EXPORT; +// $subscribers_headermenu[$i]['link'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/admin/admin_export.php'; +// +//} +//?> Added: XoopsModules/subscribers/trunk/subscribers/docs/changelog.txt =================================================================== --- XoopsModules/subscribers/trunk/subscribers/docs/changelog.txt (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/docs/changelog.txt 2012-04-11 16:30:24 UTC (rev 9301) @@ -0,0 +1,8 @@ +version 1.2 - April 11, 2012 +-------------------- +- converted to XOOPS 2.5.x Admin GUI (Mamba) + + +version 1.1 - Oct. 31, 2011 +-------------------- +- original release (Trabis) Added: XoopsModules/subscribers/trunk/subscribers/docs/index.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/docs/index.html (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/docs/index.html 2012-04-11 16:30:24 UTC (rev 9301) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/docs/readme.txt =================================================================== --- XoopsModules/subscribers/trunk/subscribers/docs/readme.txt (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/docs/readme.txt 2012-04-11 16:30:24 UTC (rev 9301) @@ -0,0 +1,7 @@ +Subscribers 1.2 +================ + + +If you would like to help with documentation for this module please contact us. + +XOOPS Module Team \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/help/help.html 2012-04-11 16:30:24 UTC (rev 9301) @@ -0,0 +1,42 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/xoopsfaq/admin/index.php" + title="Back to the administration of XOOPS FAQ"> XOOPS FAQ + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of XOOPS FAQ"/> + </a></h1> + <!-- ===== Help Content ======= --> + + <h4 class="odd">Description</h4><br/> + + + XOOPS FAQ is a XOOPS module to create FAQ (Frequently Asked Questions). You + can create an unlimited number of questions and answers.<br/><br/> + + You can use a WYSIWYG editor to make your FAQ even more attractive<br/><br/> + <h4 class="odd">Install/uninstall</h4><br/> + + No special measures necessary, follow the standard installation process – + extract the /xoopsfaq folder into the ../modules directory. Install the + module through Admin -> System Module -> Modules. <br/><br/> + Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br/><br/> + + <h4 class="odd">Operating instructions</h4><br/> + + This module and its operations are very simple:<br/><br/> + i) Configure your preferences (e.g. select the text editor)<br/><br/> + ii) Add one or more Categories<br/><br/> + iii) Add Questions and Answers<br/><br/> + iv) Check that you have given your user groups the necessary module and + block access rights to use this module. Group permissions are set through + the Administration Menu -> System -> Groups. <br/><br/>Detailed instructions + on configuring the access rights for user groups are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br/><br/> + <h4 class="odd">Tutorial</h4> + <br/> + Not available yet + + <!-- ====== Help Content ======== --> + +</div> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/language/arabic/help/index.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/help/index.html (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/help/index.html 2012-04-11 16:30:24 UTC (rev 9301) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Modified: XoopsModules/subscribers/trunk/subscribers/language/english/admin.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/english/admin.php 2012-04-11 15:23:48 UTC (rev 9300) +++ XoopsModules/subscribers/trunk/subscribers/language/english/admin.php 2012-04-11 16:30:24 UTC (rev 9301) @@ -2,7 +2,6 @@ define("_AM_SUBSCRIBERS_GOMOD", "Go to Module"); define("_AM_SUBSCRIBERS_BLOCKS", "Manage blocks"); define("_AM_SUBSCRIBERS_UPDATE_MODULE", "Update Module"); -define("_AM_SUBSCRIBERS_EXPORT", "Export"); define("_AM_SUBSCRIBERS_ERROR", "Sorry, an error occured!"); define("_AM_SUBSCRIBERS_SOME_ERROR", "Hum, some requests were not performed!"); define("_AM_SUBSCRIBERS_SUCCESS", "Done!!!"); Added: XoopsModules/subscribers/trunk/subscribers/language/english/help/help.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/english/help/help.html (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/english/help/help.html 2012-04-11 16:30:24 UTC (rev 9301) @@ -0,0 +1,34 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/subscribers/admin/index.php" + title="Back to the administration of Subscribers"> Subscribers + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Subscribers"/> + </a></h1> + <!-- ===== Help Content ======= --> + + <h4 class="odd">Description</h4><br/> + + + This module is for subscriptions and mailings.<br/><br/> + + + <h4 class="odd">Install/uninstall</h4><br/> + + No special measures necessary, follow the standard installation process – + extract the module folder into the ../modules directory. Install the + module through Admin -> System Module -> Modules. <br/><br/> + Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br/><br/> + + <h4 class="odd">Operating instructions</h4><br/> + + Detailed instructions on configuring the access rights for user groups are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br/><br/> + <h4 class="odd">Tutorial</h4> + <br/> + Not available yet + + <!-- ====== Help Content ======== --> + +</div> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/language/english/help/index.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/english/help/index.html (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/english/help/index.html 2012-04-11 16:30:24 UTC (rev 9301) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Modified: XoopsModules/subscribers/trunk/subscribers/language/english/modinfo.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/english/modinfo.php 2012-04-11 15:23:48 UTC (rev 9300) +++ XoopsModules/subscribers/trunk/subscribers/language/english/modinfo.php 2012-04-11 16:30:24 UTC (rev 9301) @@ -23,4 +23,5 @@ define("_MI_SUBSCRIBERS_CONF_CAPTCHA_CHOICE1", "Activate to users and visitors"); define("_MI_SUBSCRIBERS_CONF_CAPTCHA_CHOICE2", "Activate to visitors only"); define("_MI_SUBSCRIBERS_CONF_CAPTCHA_CHOICE3", "Desactivate"); +define("_MI_SUBSCRIBERS_EXPORT", "Export"); ?> \ No newline at end of file Modified: XoopsModules/subscribers/trunk/subscribers/templates/static/subscribers_admin_user.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/templates/static/subscribers_admin_user.html 2012-04-11 15:23:48 UTC (rev 9300) +++ XoopsModules/subscribers/trunk/subscribers/templates/static/subscribers_admin_user.html 2012-04-11 16:30:24 UTC (rev 9301) @@ -44,8 +44,8 @@ <td align="left"><{$obj.user_email}></td> <td align="left"><{$obj.user_phone}></td> <td> - <a href="admin_user.php?op=edit&id=<{$obj.user_id}>"><img src="<{$xoops_url}>/modules/subscribers/images/edit_big.png" title="<{$smarty.const._EDIT}>" alt="<{$smarty.const._EDIT}>" /></a> - <a href="admin_user.php?op=del&id=<{$obj.user_id}>"><img src="<{$xoops_url}>/modules/subscribers/images/delete_big.png" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>" /></a> + <a href="admin_user.php?op=edit&id=<{$obj.user_id}>"><img src="<{xoModuleIcons16 edit.png}>" title="<{$smarty.const._EDIT}>" alt="<{$smarty.const._EDIT}>" /></a> + <a href="admin_user.php?op=del&id=<{$obj.user_id}>"><img src="<{xoModuleIcons16 delete.png}>" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>" /></a> </td> </tr> <{/foreach}> Modified: XoopsModules/subscribers/trunk/subscribers/templates/static/subscribers_admin_waiting.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/templates/static/subscribers_admin_waiting.html 2012-04-11 15:23:48 UTC (rev 9300) +++ XoopsModules/subscribers/trunk/subscribers/templates/static/subscribers_admin_waiting.html 2012-04-11 16:30:24 UTC (rev 9301) @@ -21,7 +21,7 @@ <td align="left"><{$obj.wt_priority}></td> <td align="left"><{$obj.wt_created}></td> <td> - <a href="admin_waiting.php?op=del&id=<{$obj.wt_id}>"><img src="<{$xoops_url}>/modules/subscribers/images/delete_big.png" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>" /></a> + <a href="admin_waiting.php?op=del&id=<{$obj.wt_id}>"><img src="<{xoModuleIcons16 delete.png}>" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>" /></a> </td> </tr> <{/foreach}> Modified: XoopsModules/subscribers/trunk/subscribers/xoops_version.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/xoops_version.php 2012-04-11 15:23:48 UTC (rev 9300) +++ XoopsModules/subscribers/trunk/subscribers/xoops_version.php 2012-04-11 16:30:24 UTC (rev 9301) @@ -4,17 +4,36 @@ } $modversion['name'] = _MI_SUBSCRIBERS_MD_NAME; -$modversion['version'] = 1.1; +$modversion['version'] = 1.2; $modversion['description'] = _MI_SUBSCRIBERS_MD_DSC; $modversion['author'] = "Trabis - www.xuups.com"; $modversion['credits'] = "Mowaffaq & Mariane - www.arabxoops.com"; -$modversion['help'] = ""; -$modversion['license'] = "GNU General Public License (GPL)"; +$modversion['help'] = 'page=help'; +$modversion['license'] = 'GNU GPL 2.0'; +$modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; $modversion['official'] = 0; $modversion['dirname'] = "subscribers"; $modversion['image'] = "images/module_logo.gif"; +$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin'; +$modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16'; +$modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32'; + +//about +$modversion['demo_site_url'] = ""; +$modversion['demo_site_name'] = ""; +$modversion['module_website_url'] = "http://xoops.org"; +$modversion['module_website_name'] = "XOOPS"; +$modversion['release_date'] = "2012/04/11"; +$modversion['module_status'] = "Beta"; +$modversion["author_website_url"] = "http://www.myweb.ne.jp"; +$modversion["author_website_name"] = "Kazumi Ono"; +$modversion['min_php']='5.2'; +$modversion['min_xoops']="2.5.0"; +$modversion['min_admin']='1.1'; +$modversion['min_db']= array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); + // Admin things $modversion['hasAdmin'] = 1; $modversion['adminindex'] = "admin/index.php"; @@ -31,6 +50,7 @@ $modversion['hasSearch'] = 0; // Menu $modversion['hasMain'] = 1; +$modversion['system_menu'] = 1; // Templates $i = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-11 15:24:02
|
Revision: 9300 http://xoops.svn.sourceforge.net/xoops/?rev=9300&view=rev Author: beckmi Date: 2012-04-11 15:23:48 +0000 (Wed, 11 Apr 2012) Log Message: ----------- Adding Subscribers module Added Paths: ----------- XoopsModules/subscribers/ XoopsModules/subscribers/branches/ XoopsModules/subscribers/releases/ XoopsModules/subscribers/trunk/ XoopsModules/subscribers/trunk/subscribers/ XoopsModules/subscribers/trunk/subscribers/admin/ XoopsModules/subscribers/trunk/subscribers/admin/admin_export.php XoopsModules/subscribers/trunk/subscribers/admin/admin_header.php XoopsModules/subscribers/trunk/subscribers/admin/admin_send.php XoopsModules/subscribers/trunk/subscribers/admin/admin_user.php XoopsModules/subscribers/trunk/subscribers/admin/admin_waiting.php XoopsModules/subscribers/trunk/subscribers/admin/index.php XoopsModules/subscribers/trunk/subscribers/admin/menu.php XoopsModules/subscribers/trunk/subscribers/blocks/ XoopsModules/subscribers/trunk/subscribers/blocks/index.html XoopsModules/subscribers/trunk/subscribers/blocks/subscribers_add.php XoopsModules/subscribers/trunk/subscribers/class/ XoopsModules/subscribers/trunk/subscribers/class/index.html XoopsModules/subscribers/trunk/subscribers/class/user.php XoopsModules/subscribers/trunk/subscribers/class/waiting.php XoopsModules/subscribers/trunk/subscribers/images/ XoopsModules/subscribers/trunk/subscribers/images/bg.gif XoopsModules/subscribers/trunk/subscribers/images/delete_big.png XoopsModules/subscribers/trunk/subscribers/images/edit_big.png XoopsModules/subscribers/trunk/subscribers/images/index.html XoopsModules/subscribers/trunk/subscribers/images/left_both.gif XoopsModules/subscribers/trunk/subscribers/images/module_logo.gif XoopsModules/subscribers/trunk/subscribers/images/right_both.gif XoopsModules/subscribers/trunk/subscribers/include/ XoopsModules/subscribers/trunk/subscribers/include/functions.php XoopsModules/subscribers/trunk/subscribers/include/index.html XoopsModules/subscribers/trunk/subscribers/index.php XoopsModules/subscribers/trunk/subscribers/language/ XoopsModules/subscribers/trunk/subscribers/language/arabic/ XoopsModules/subscribers/trunk/subscribers/language/arabic/admin.php XoopsModules/subscribers/trunk/subscribers/language/arabic/blocks.php XoopsModules/subscribers/trunk/subscribers/language/arabic/index.html XoopsModules/subscribers/trunk/subscribers/language/arabic/mail_template/ XoopsModules/subscribers/trunk/subscribers/language/arabic/mail_template/content.tpl XoopsModules/subscribers/trunk/subscribers/language/arabic/mail_template/index.html XoopsModules/subscribers/trunk/subscribers/language/arabic/main.php XoopsModules/subscribers/trunk/subscribers/language/arabic/modinfo.php XoopsModules/subscribers/trunk/subscribers/language/english/ XoopsModules/subscribers/trunk/subscribers/language/english/admin.php XoopsModules/subscribers/trunk/subscribers/language/english/blocks.php XoopsModules/subscribers/trunk/subscribers/language/english/index.html XoopsModules/subscribers/trunk/subscribers/language/english/mail_template/ XoopsModules/subscribers/trunk/subscribers/language/english/mail_template/content.tpl XoopsModules/subscribers/trunk/subscribers/language/english/mail_template/index.html XoopsModules/subscribers/trunk/subscribers/language/english/main.php XoopsModules/subscribers/trunk/subscribers/language/english/modinfo.php XoopsModules/subscribers/trunk/subscribers/language/index.html XoopsModules/subscribers/trunk/subscribers/sql/ XoopsModules/subscribers/trunk/subscribers/sql/index.html XoopsModules/subscribers/trunk/subscribers/sql/mysql.sql XoopsModules/subscribers/trunk/subscribers/subscribe.php XoopsModules/subscribers/trunk/subscribers/templates/ XoopsModules/subscribers/trunk/subscribers/templates/blocks/ XoopsModules/subscribers/trunk/subscribers/templates/blocks/index.html XoopsModules/subscribers/trunk/subscribers/templates/blocks/subscribers_add.html XoopsModules/subscribers/trunk/subscribers/templates/index.html XoopsModules/subscribers/trunk/subscribers/templates/static/ XoopsModules/subscribers/trunk/subscribers/templates/static/index.html XoopsModules/subscribers/trunk/subscribers/templates/static/subscribers_admin_menu.html XoopsModules/subscribers/trunk/subscribers/templates/static/subscribers_admin_user.html XoopsModules/subscribers/trunk/subscribers/templates/static/subscribers_admin_waiting.html XoopsModules/subscribers/trunk/subscribers/templates/subscribers_index.html XoopsModules/subscribers/trunk/subscribers/unsubscribe.php XoopsModules/subscribers/trunk/subscribers/xoops_version.php Added: XoopsModules/subscribers/trunk/subscribers/admin/admin_export.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/admin_export.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/admin/admin_export.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,52 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... + +require dirname(__FILE__) . '/admin_header.php'; +error_reporting(0); +$xoopsLogger->activated = false; + +include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; +$countries = XoopsLists::getCountryList(); + +$header = array( + "user_email" => _AM_SUBSCRIBERS_EMAIL, + "user_name" => _AM_SUBSCRIBERS_NAME, + "user_country" => _AM_SUBSCRIBERS_COUNTRY, + "user_phone" => _AM_SUBSCRIBERS_PHONE, + //"user_created" => _AM_SUBSCRIBERS_CREATED, +); +$items = array(); +$keys = array_keys($header); +$uHandler = xoops_getmodulehandler('user', 'subscribers'); +//$objs = $uHandler->getObjects(); +$objs = $uHandler->getAll(null, $keys); +foreach ($objs as $key => $obj) { + $objs[$key]->setVar('user_country', $countries[$obj->getVar('user_country')]); +} + +foreach ($objs as $obj) { + foreach ($keys as $key) { + $item[$key] = $obj->getVar($key, 'e'); + } + $items[] = $item; + unset($item); +} +//windows-1256 + +if (false === xoops_load('PHPExcel', 'framework')) { + redirect_header('admin_user.php', 2, _AM_SUBSCRIBERS_MISSING_PHPEXCEL); + exit(); +} +if (_CHARSET == 'windows-1256') { + include PHPEXCEL_ROOT . '/xoopsPHPExcelArabic.php'; + $exporter = new XoopsPHPExcelArabic(); + $exporter->convertCharset = true; +} else { + include PHPEXCEL_ROOT . '/xoopsPHPExcelAbstract.php'; + $exporter = new XoopsPHPExcelAbstract(); +} + +//$exporter->debug = true; +$exporter->render($header, $items); \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/admin/admin_header.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/admin_header.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/admin/admin_header.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,35 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... + +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once dirname(dirname(__FILE__)) . '/include/functions.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; + + +$xoopsModuleConfig =& subscribers_getModuleConfig(); //must come first +$xoopsModule =& subscribers_getModuleHandler(); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once XOOPS_ROOT_PATH . '/class/template.php'; + $xoopsTpl = new XoopsTpl(); +} + +xoops_loadLanguage('admin', 'subscribers'); +xoops_loadLanguage('modinfo', 'subscribers'); + +?> Added: XoopsModules/subscribers/trunk/subscribers/admin/admin_send.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/admin_send.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/admin/admin_send.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,182 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... + +require dirname(__FILE__) . '/admin_header.php'; + +$op = isset($_GET['op']) ? trim($_GET['op']) : (isset($_POST['op']) ? trim($_POST['op']) : 'form'); + +switch ($op){ + case 'email': + send_email(); + break; + case 'form': + default: + xoops_cp_header(); + subscribers_adminMenu(1, _MI_SUBSCRIBERS_ADMENU_SEND); + echo send_form(); + xoops_cp_footer(); + break; +} + +function send_form() +{ + global $xoopsModuleConfig; + include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; + + $this_handler =& xoops_getModuleHandler('user', 'subscribers'); + + $form = new XoopsThemeForm(_AM_SUBSCRIBERS_SEND, 'send_form', 'admin_send.php', "post"); + + $element = new XoopsFormLabel(_MI_SUBSCRIBERS_CONF_FROMNAME, $xoopsModuleConfig['fromname']); + $form->addElement($element); + unset($element); + + $element = new XoopsFormLabel(_MI_SUBSCRIBERS_CONF_FROMEMAIL, $xoopsModuleConfig['fromemail']); + $form->addElement($element); + unset($element); + + // Country + include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; + $countries = array("ALL" => _AM_SUBSCRIBERS_ALL_COUNTRIES); + $countries2 = XoopsLists::getCountryList(); + array_shift($countries2); + $countries += $countries2; + + $element = new XoopsFormSelect(_AM_SUBSCRIBERS_COUNTRY, 'country', 'ALL'); + $element->addOptionArray($countries); + $form->addElement($element); + unset($element, $countries); + + // Subject + $form->addElement(new XoopsFormText(_AM_SUBSCRIBERS_EMAIL_SUBJECT, 'subject', 75, 150, ''), true); + + // Body + $editor_configs = array(); + $editor_configs['rows'] = 35; + $editor_configs['cols'] = 60; + $editor_configs['width'] = '100%'; + $editor_configs['height'] = '400px'; + $editor_configs['name'] = 'body'; + $editor_configs['value'] = ''; + $element = new XoopsFormEditor(_AM_SUBSCRIBERS_EMAIL_BODY, $xoopsModuleConfig['editor'], $editor_configs, $nohtml = false, $onfailure = null); + $element->setDescription(_AM_SUBSCRIBERS_EMAIL_BODY_DSC); + $form->addElement($element); + unset($element); + + // Priority + $priorities = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10); + unset($priorities[0]); + $element = new XoopsFormSelect(_AM_SUBSCRIBERS_EMAIL_PRIORITY, 'priority', 5); + $element->setDescription(_AM_SUBSCRIBERS_EMAIL_PRIORITY_DSC); + $element->addOptionArray($priorities); + $form->addElement($element); + unset($element, $priorities); + + // Groups + $groups = array(_AM_SUBSCRIBERS_SUBSCRIBERS, _AM_SUBSCRIBERS_USERS, _AM_SUBSCRIBERS_BOTH); + $element = new XoopsFormSelect(_AM_SUBSCRIBERS_EMAIL_GROUPS, 'groups', 0); + $element->setDescription(_AM_SUBSCRIBERS_EMAIL_GROUPS_DSC); + $element->addOptionArray($groups); + $form->addElement($element); + unset($element, $groups); + + // Buttons + $tray = new XoopsFormElementTray('' ,''); + $tray->addElement(new XoopsFormButton('', 'submit_button', _SUBMIT, 'submit')); + + $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); + $btn->setExtra('onclick="document.location.href=\'admin_send.php\'"'); + + $tray->addElement($btn); + $form->addElement($tray); + + $form->addElement(new XoopsFormHidden('op', 'email')); + + return $form->render(); +} + +function send_email() +{ + $vars = array(); + $vars['wt_priority'] = isset($_POST['priority']) ? $_POST['priority'] : 5; + $vars['wt_created'] = time(); + + $subject = isset($_POST['subject']) ? trim($_POST['subject']) : ''; + $body = isset($_POST['body']) ? trim($_POST['body']) : ''; + $country = isset($_POST['country']) ? $_POST['country'] : 'ALL'; + $groups = isset($_POST['groups']) ? $_POST['groups'] : 0; + + $user_handler =& xoops_getModuleHandler('user', 'subscribers'); + $wt_handler =& xoops_getModuleHandler('waiting', 'subscribers'); + + $error = false; + + if ($groups == 0 || $groups == 2) { + + $criteria = null; + if ($country != 'ALL') { + $criteria = new Criteria('user_country', $country); + } + $objs = $user_handler->getObjects($criteria); + unset($criteria); + + foreach ($objs as $obj) { + $waiting = $wt_handler->create(); + $vars['wt_toname'] = $obj->getVar('user_name', 'n'); + $vars['wt_toemail'] = $obj->getVar('user_email', 'n'); + + $vars['wt_subject'] = str_replace("{NAME}", $vars['wt_toname'], $subject); + $vars['wt_subject'] = str_replace("{EMAIL}", $vars['wt_toemail'], $vars['wt_subject']); + + $vars['wt_body'] = str_replace("{NAME}", $vars['wt_toname'], $body); + $vars['wt_body'] = str_replace("{EMAIL}", $vars['wt_toemail'], $vars['wt_body']); + + $waiting->setVars($vars); + if (!$wt_handler->insert($waiting)) { + $error == true; + } + unset($waiting); + } + unset($objs); + } + + if ($groups == 1 || $groups == 2) { + + include_once XOOPS_ROOT_PATH . '/kernel/user.php'; + $member_handler = new XoopsUserHandler($GLOBALS['xoopsDB']); + $criteria = new Criteria('level', 0, '>'); + $members = $member_handler->getAll($criteria, array('uname', 'email'), false, false); //Using this to not exaust server resources + unset($criteria); + + foreach ($members as $member) { + $waiting = $wt_handler->create(); + $vars['wt_toname'] = $member['uname']; + $vars['wt_toemail'] = $member['email']; + + $vars['wt_subject'] = str_replace("{NAME}", $vars['wt_toname'], $subject); + $vars['wt_subject'] = str_replace("{EMAIL}", $vars['wt_toemail'], $vars['wt_subject']); + + $vars['wt_body'] = str_replace("{NAME}", $vars['wt_toname'], $body); + $vars['wt_body'] = str_replace("{EMAIL}", $vars['wt_toemail'], $vars['wt_body']); + + $waiting->setVars($vars); + if (!$wt_handler->insert($waiting)) { + $error == true; + } + unset($waiting); + } + unset($members); + } + + if ($error) { + redirect_header('admin_send.php', 2, _AM_SUBSCRIBERS_SOME_ERROR); + exit(); + } + + redirect_header('admin_waiting.php', 2, _AM_SUBSCRIBERS_SUCCESS); + exit(); +} + +?> Added: XoopsModules/subscribers/trunk/subscribers/admin/admin_user.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/admin_user.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/admin/admin_user.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,261 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... + +require dirname(__FILE__) . '/admin_header.php'; + +if (!empty($_POST)) foreach ($_POST as $k => $v) ${$k} = $v; +if (!empty($_GET)) foreach ($_GET as $k => $v) ${$k} = $v; + +$op = isset($_GET['op']) ? trim($_GET['op']) : (isset($_POST['op']) ? trim($_POST['op']) : 'list'); +$id = isset($_GET['id']) ? intval($_GET['id']) : (isset($_POST['id']) ? intval($_POST['id']) : null); + +$limit = isset($_GET['limit']) ? intval($_GET['limit']) : (isset($_POST['limit']) ? intval($_POST['limit']) : 15); +$start = isset($_GET['start']) ? intval($_GET['start']) : (isset($_POST['start']) ? intval($_POST['start']) : 0); +$redir = isset($_GET['redir']) ? $_GET['redir'] : (isset($_POST['redir']) ? $_POST['redir'] : null); + +switch ($op){ + case 'list': + xoops_cp_header(); + subscribers_adminMenu(0, _MI_SUBSCRIBERS_ADMENU_USER); + echo user_index($start); + xoops_cp_footer(); + break; + case 'add': + user_add($id); + break; + case 'edit': + xoops_cp_header(); + subscribers_adminMenu(0, _MI_SUBSCRIBERS_ADMENU_USER); + echo user_form($id); + xoops_cp_footer(); + break; + case 'editok': + user_edit($id); + break; + case 'del': + user_confirmdel($id, $redir); + break; + case 'delok': + user_del($id, $redir); + break; +} + +function user_index($start = 0) +{ + global $xoopsTpl, $xoopsUser, $xoopsConfig, $limit; + $myts =& MyTextSanitizer::getInstance(); + + include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; + + $this_handler =& xoops_getModuleHandler('user', 'subscribers'); + $module_handler =& xoops_getHandler('module'); + + $query = isset($_POST['query']) ? $_POST['query'] : null; + $xoopsTpl->assign('query', $query); + + $criteria = null; + if (!is_null($query)){ + $criteria = new Criteria('user_email', $myts->addSlashes($query) . '%','LIKE'); + } + + $count = $this_handler->getCount($criteria); + $xoopsTpl->assign('count', $count); + + $mHandler =& xoops_getHandler('member'); + $users_count = $mHandler->getUserCount(new Criteria('level', 0, '>')); + $xoopsTpl->assign('users_count', $users_count); + $xoopsTpl->assign('total_count', $users_count + $count); + + $criteria = new CriteriaCompo($criteria); + $criteria->setSort('user_id'); + $criteria->setOrder('DESC'); + $criteria->setStart($start); + $criteria->setLimit($limit); + $objs = $this_handler->getObjects($criteria); + unset($criteria); + + if ($count > 0) { + if ($count > $limit) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $nav = new XoopsPageNav($count, $limit, $start, 'start', 'op=list'); + $xoopsTpl->assign('pag', '<div style="float:left; padding-top:2px;" align="center">' . $nav->renderNav() . '</div>'); + } else { + $xoopsTpl->assign('pag', ''); + } + } else { + $xoopsTpl->assign('pag', ''); + } + + include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; + $countries = XoopsLists::getCountryList(); + + foreach ($objs as $obj){ + $objArray = $obj->toArray(); + $objArray['user_country'] = $countries[$objArray['user_country']]; + $xoopsTpl->append('objs', $objArray); + unset($objArray); + } + $xoopsTpl->assign('add_form', user_form()); + + return $xoopsTpl->fetch(XOOPS_ROOT_PATH . '/modules/subscribers/templates/static/subscribers_admin_user.html'); +} + +function user_add($id) +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('admin_user.php', 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + $this_handler =& xoops_getModuleHandler('user' , 'subscribers'); + + $criteria = new Criteria('user_id', $id); + $count = $this_handler->getCount($criteria); + if ($count > 0) { + $obj = $this_handler->get($id); + } else { + $obj = $this_handler->create(); + } + $obj->setVars($_POST); + $obj->setVar('user_created', time()); + + if (!$this_handler->insert($obj)){ + $msg = _AM_SUBSCRIBERS_ERROR; + }else{ + $msg = _AM_SUBSCRIBERS_SUCCESS; + } + + redirect_header('admin_user.php', 2, $msg); + exit(); +} + +function user_edit($id) +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('admin_user.php', 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + $this_handler =& xoops_getModuleHandler('user' , 'subscribers'); + $obj = $this_handler->get($id); + + $obj->setVars($_POST); + $obj->setVar('user_created', time()); + + if (!$this_handler->insert($obj)){ + $msg = _AM_SUBSCRIBERS_ERROR; + }else{ + $msg = _AM_SUBSCRIBERS_SUCCESS; + } + + redirect_header('admin_user.php', 2, $msg); +} + +function user_del($id, $redir = null) +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('admin_user.php',1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + if ($id <= 0) { + redirect_header('admin_user.php',1); + } + + $this_handler =& xoops_getModuleHandler('user' , 'subscribers'); + $obj = $this_handler->get($id); + if (!is_object($obj)) { + redirect_header('admin_user.php', 1); + } + + if (!$this_handler->delete($obj)) { + xoops_cp_header(); + xoops_error(_AM_SUBSCRIBERS_ERROR, $obj->getVar('id')); + xoops_cp_footer(); + exit(); + } + + redirect_header(!is_null($redir) ? base64_decode($redir) : 'admin_user.php' , 2, _AM_SUBSCRIBERS_SUCCESS); +} + +function user_confirmdel($id, $redir = null) +{ + global $xoopsConfig; + + $this_handler =& xoops_getModuleHandler('user' , 'subscribers'); + $obj = $this_handler->get($id); + + xoops_cp_header(); + + $arr = array(); + $arr['op'] = 'delok'; + $arr['id'] = $id; + if (!is_null($redir)){ + $arr['redir'] = $redir; + } + + xoops_confirm($arr, 'admin_user.php', _AM_SUBSCRIBERS_AYS); + + xoops_cp_footer(); +} + +function user_form($id = null) +{ + global $xoopsUser, $xoopsConfig, $xoopsModuleConfig; + include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; + + $this_handler =& xoops_getModuleHandler('user' , 'subscribers'); + + if (isset($id)) $obj = $this_handler->get($id); + + if (@is_object($obj)){ + $title = _EDIT; + $name = $obj->getVar('user_name', 'e'); + $email = $obj->getVar('user_email', 'e'); + $country = $obj->getVar('user_country', 'e'); + $phone = $obj->getVar('user_phone', 'e'); + } else { + $title = _ADD; + $name = ''; + $email = ''; + $phone = ''; + $country = $xoopsModuleConfig['country']; + } + + $form = new XoopsThemeForm($title, 'user_form', 'admin_user.php', "post", true); + + include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; + $countries = XoopsLists::getCountryList(); + unset($countries[""]); + + $element = new XoopsFormSelect(_AM_SUBSCRIBERS_COUNTRY, 'user_country', $country); + $element->addOptionArray($countries); + $form->addElement($element); + unset($element); + + $form->addElement(new XoopsFormText(_AM_SUBSCRIBERS_NAME,'user_name', 50, 50, $name)); + $form->addElement(new XoopsFormText(_AM_SUBSCRIBERS_EMAIL,'user_email', 50, 50, $email)); + $form->addElement(new XoopsFormText(_AM_SUBSCRIBERS_PHONE,'user_phone', 50, 50, $phone)); + + $tray = new XoopsFormElementTray('' ,''); + $tray->addElement(new XoopsFormButton('', 'submit_button', _SUBMIT, 'submit')); + + $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); + + if (@is_object($obj)){ + $btn->setExtra('onclick="document.location.href=\'admin_user.php?op=list\'"'); + }else{ + $btn->setExtra('onclick="document.getElementById(\'user_form\').style.display = \'none\'; return false;"'); + } + $tray->addElement($btn); + $form->addElement($tray); + + if (@is_object($obj)){ + $form->addElement(new XoopsFormHidden('op', 'editok')); + $form->addElement(new XoopsFormHidden('id', $id)); + }else{ + $form->addElement(new XoopsFormHidden('op', 'add')); + } + + return $form->render(); +} +?> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/admin/admin_waiting.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/admin_waiting.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/admin/admin_waiting.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,145 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... + +require dirname(__FILE__) . '/admin_header.php'; + +$op = isset($_GET['op']) ? trim($_GET['op']) : (isset($_POST['op']) ? trim($_POST['op']) : 'list'); +$op = isset($_POST['delall']) ? 'delall' : $op; + +$id = isset($_GET['id']) ? intval($_GET['id']) : (isset($_POST['id']) ? intval($_POST['id']) : null); + +$limit = isset($_GET['limit']) ? intval($_GET['limit']) : (isset($_POST['limit']) ? intval($_POST['limit']) : 15); +$start = isset($_GET['start']) ? intval($_GET['start']) : (isset($_POST['start']) ? intval($_POST['start']) : 0); +$redir = isset($_GET['redir']) ? $_GET['redir'] : (isset($_POST['redir']) ? $_POST['redir'] : null); + +switch ($op) { + case 'list': + xoops_cp_header(); + subscribers_adminMenu(2, _MI_SUBSCRIBERS_ADMENU_WAITING); + echo waiting_index($start); + xoops_cp_footer(); + break; + case 'del': + waiting_confirmdel($id, $redir); + break; + case 'delok': + waiting_del($id, $redir); + break; + case 'delall': + waiting_confirmdel(null, $redir, 'delallok'); + break; + case 'delallok': + waiting_delall($redir); + break; +} + +function waiting_index($start = 0) +{ + global $xoopsTpl, $xoopsUser, $xoopsConfig, $limit; + + include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; + include_once XOOPS_ROOT_PATH . '/modules/subscribers/include/functions.php'; + + subscribers_sendEmails(); + + $this_handler =& xoops_getModuleHandler('waiting', 'subscribers'); + + $count = $this_handler->getCount(); + $xoopsTpl->assign('count', $count); + + $criteria = new CriteriaCompo(); + $criteria->setSort('wt_priority DESC, wt_created'); + $criteria->setOrder('ASC'); + $criteria->setStart($start); + $criteria->setLimit($limit); + $objs = $this_handler->getObjects($criteria); + + if ($count > 0){ + if ($count > $limit) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $nav = new XoopsPageNav($count, $limit, $start, 'start', 'op=list'); + $xoopsTpl->assign('pag', '<div style="float:left; padding-top:2px;" align="center">' . $nav->renderNav() . '</div>'); + }else{ + $xoopsTpl->assign('pag', ''); + } + }else{ + $xoopsTpl->assign('pag', ''); + } + + include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; + $countries = XoopsLists::getCountryList(); + + foreach ($objs as $obj){ + $objArray = $obj->toArray(); + $objArray['wt_created'] = formatTimestamp($objArray['wt_created']); + $xoopsTpl->append('objs', $objArray); + unset($objArray); + } + + return $xoopsTpl->fetch(XOOPS_ROOT_PATH . '/modules/subscribers/templates/static/subscribers_admin_waiting.html'); +} + +function waiting_del($id, $redir = null) +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('admin_waiting.php',1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + if ($id <= 0) { + redirect_header('admin_waiting.php',1); + } + + $this_handler =& xoops_getModuleHandler('waiting' , 'subscribers'); + $obj = $this_handler->get($id); + if (!is_object($obj)) { + redirect_header('admin_waiting.php', 1); + } + + if (!$this_handler->delete($obj)) { + xoops_cp_header(); + xoops_error(_AM_SUBSCRIBERS_ERROR, $obj->getVar('id')); + xoops_cp_footer(); + exit(); + } + + redirect_header(!is_null($redir) ? base64_decode($redir) : 'admin_waiting.php' , 2, _AM_SUBSCRIBERS_SUCCESS); +} + +function waiting_delall($redir = null) +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('admin_waiting.php',1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + $this_handler =& xoops_getModuleHandler('waiting' , 'subscribers'); + + if (!$this_handler->deleteAll()) { + redirect_header(!is_null($redir) ? base64_decode($redir) : 'admin_waiting.php' , 2, _AM_SUBSCRIBERS_ERROR); + } + + redirect_header(!is_null($redir) ? base64_decode($redir) : 'admin_waiting.php' , 2, _AM_SUBSCRIBERS_SUCCESS); +} + +function waiting_confirmdel($id, $redir = null, $op = 'delok') +{ + global $xoopsConfig; + + $this_handler =& xoops_getModuleHandler('waiting' , 'subscribers'); + $obj = $this_handler->get($id); + + xoops_cp_header(); + + $arr = array(); + $arr['op'] = $op; + $arr['id'] = $id; + if (!is_null($redir)){ + $arr['redir'] = $redir; + } + + xoops_confirm($arr, 'admin_waiting.php', _AM_SUBSCRIBERS_AYS); + + xoops_cp_footer(); +} +?> Added: XoopsModules/subscribers/trunk/subscribers/admin/index.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/index.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/admin/index.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,7 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... + +include_once dirname(__FILE__) . '/admin_user.php'; +?> Added: XoopsModules/subscribers/trunk/subscribers/admin/menu.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/admin/menu.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/admin/menu.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,49 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... + +global $xoopsModule; + +// Index +$i = 0; +$adminmenu[$i]['title'] = _MI_SUBSCRIBERS_ADMENU_USER; +$adminmenu[$i]['link'] = "admin/admin_user.php"; + +// Send +$i++; +$adminmenu[$i]['title'] = _MI_SUBSCRIBERS_ADMENU_SEND; +$adminmenu[$i]['link'] = "admin/admin_send.php"; + +// Waiting +$i++; +$adminmenu[$i]['title'] = _MI_SUBSCRIBERS_ADMENU_WAITING; +$adminmenu[$i]['link'] = "admin/admin_waiting.php"; + +$subscribers_adminmenu = $adminmenu; + +if (isset($xoopsModule) && $xoopsModule->getVar('dirname') == basename(dirname(dirname(__FILE__)))) { + $subscribers_url = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname'); + + $i = 0; + $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_GOMOD; + $subscribers_headermenu[$i]['link'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname'); + + $i++; + $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_BLOCKS; + $subscribers_headermenu[$i]['link'] = '../../system/admin.php?fct=blocksadmin&selvis=-1&selmod=-2&selgrp=-1&selgen=' . $xoopsModule->getVar('mid'); + + $i++; + $subscribers_headermenu[$i]['title'] = _PREFERENCES; + $subscribers_headermenu[$i]['link'] = '../../system/admin.php?fct=preferences&op=showmod&mod='. $xoopsModule->getVar('mid'); + + $i++; + $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_UPDATE_MODULE; + $subscribers_headermenu[$i]['link'] = XOOPS_URL . '/modules/system/admin.php?fct=modulesadmin&op=update&module=' . $xoopsModule->getVar('dirname'); + + $i++; + $subscribers_headermenu[$i]['title'] = _AM_SUBSCRIBERS_EXPORT; + $subscribers_headermenu[$i]['link'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/admin/admin_export.php'; + +} +?> Added: XoopsModules/subscribers/trunk/subscribers/blocks/index.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/blocks/index.html (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/blocks/index.html 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/blocks/subscribers_add.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/blocks/subscribers_add.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/blocks/subscribers_add.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,27 @@ +<?php + +if (!defined("XOOPS_ROOT_PATH")) { + die("XOOPS root path not defined"); +} + +function subscribers_add_show($options) +{ + global $xoopsUser; + include_once XOOPS_ROOT_PATH . '/modules/subscribers/include/functions.php'; + subscribers_sendEmails(); + + $config =& subscribers_getModuleConfig(); + $block = array(); + include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; + $block['countries'] = XoopsLists::getCountryList(); + $block['selected'] = $config['country']; + array_shift($block['countries']); + $sub_captcha = $config['captcha']; + if (is_object($xoopsUser)) { + $block['captcha'] = $sub_captcha == 2 ? 0 : 1; + } else { + $block['captcha'] = $sub_captcha == 3 ? 0 : 1; + } + return $block; +} +?> Added: XoopsModules/subscribers/trunk/subscribers/class/index.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/class/index.html (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/class/index.html 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/class/user.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/class/user.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/class/user.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,48 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... + +if (!defined("XOOPS_ROOT_PATH")) { + die("XOOPS root path not defined"); +} + +class SubscribersUser extends XoopsObject +{ + /** + * constructor + */ + function SubscribersUser() + { + $this->initVar("user_id", XOBJ_DTYPE_INT, null, false); + $this->initVar("user_email", XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar("user_name", XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar("user_country", XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar("user_phone", XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar("user_created", XOBJ_DTYPE_INT, null, false); + } + + function toArray() + { + $ret = array(); + $vars = $this->getVars(); + foreach (array_keys($vars) as $i) { + $ret[$i] = $this->getVar($i); + } + return $ret; + } +} + +class SubscribersUserHandler extends XoopsPersistableObjectHandler +{ + function SubscribersUserHandler(&$db) + { + $this->__construct($db); + } + + function __construct(&$db) + { + parent::__construct($db, 'subscribers_user', 'SubscribersUser', 'user_id', 'user_email'); + } +} +?> Added: XoopsModules/subscribers/trunk/subscribers/class/waiting.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/class/waiting.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/class/waiting.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,59 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... + +if (!defined("XOOPS_ROOT_PATH")) { + die("XOOPS root path not defined"); +} + +class SubscribersWaiting extends XoopsObject +{ + + /** + * constructor + */ + function SubscribersWaiting() + { + $this->initVar("wt_id", XOBJ_DTYPE_INT, null, false); + $this->initVar("wt_subject", XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar("wt_body", XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar("wt_toname", XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar("wt_toemail", XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar("wt_created", XOBJ_DTYPE_INT, null, false); + $this->initVar("wt_priority", XOBJ_DTYPE_INT, null, false); + + $this->initVar("dohtml", XOBJ_DTYPE_INT, 1); + $this->initVar("doxcode", XOBJ_DTYPE_INT, 1); + $this->initVar("dosmiley", XOBJ_DTYPE_INT, 1); + $this->initVar("doimage", XOBJ_DTYPE_INT, 1); + $this->initVar("dobr", XOBJ_DTYPE_INT, 1); + + } + + function toArray() + { + $ret = array(); + $vars = $this->getVars(); + foreach (array_keys($vars) as $i) { + $ret[$i] = $this->getVar($i); + } + return $ret; + } +} + +class SubscribersWaitingHandler extends XoopsPersistableObjectHandler +{ + + function SubscribersWaitingHandler(&$db) + { + $this->__construct($db); + } + + function __construct(&$db) + { + parent::__construct($db, 'subscribers_waiting', 'SubscribersWaiting', 'wt_id', 'wt_subject'); + } + +} +?> Added: XoopsModules/subscribers/trunk/subscribers/images/bg.gif =================================================================== (Binary files differ) Property changes on: XoopsModules/subscribers/trunk/subscribers/images/bg.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/subscribers/trunk/subscribers/images/delete_big.png =================================================================== (Binary files differ) Property changes on: XoopsModules/subscribers/trunk/subscribers/images/delete_big.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/subscribers/trunk/subscribers/images/edit_big.png =================================================================== (Binary files differ) Property changes on: XoopsModules/subscribers/trunk/subscribers/images/edit_big.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/subscribers/trunk/subscribers/images/index.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/images/index.html (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/images/index.html 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/images/left_both.gif =================================================================== (Binary files differ) Property changes on: XoopsModules/subscribers/trunk/subscribers/images/left_both.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/subscribers/trunk/subscribers/images/module_logo.gif =================================================================== (Binary files differ) Property changes on: XoopsModules/subscribers/trunk/subscribers/images/module_logo.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/subscribers/trunk/subscribers/images/right_both.gif =================================================================== (Binary files differ) Property changes on: XoopsModules/subscribers/trunk/subscribers/images/right_both.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/subscribers/trunk/subscribers/include/functions.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/include/functions.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/include/functions.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,152 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... + +if (!defined("XOOPS_ROOT_PATH")) { + die("XOOPS root path not defined"); +} + +function subscribers_adminMenu($currentoption = 0, $breadcrumb = '') +{ + include_once XOOPS_ROOT_PATH . '/class/template.php'; + include XOOPS_ROOT_PATH . '/modules/subscribers/admin/menu.php'; + + xoops_loadLanguage('admin', 'subscribers'); + xoops_loadLanguage('modinfo', 'subscribers'); + + $tpl = new XoopsTpl(); + $tpl->assign(array( + 'modurl' => XOOPS_URL . '/modules/subscribers', + 'headermenu' => $subscribers_headermenu, + 'adminmenu' => $subscribers_adminmenu, + 'current' => $currentoption, + 'breadcrumb' => $breadcrumb, + 'headermenucount' => count($subscribers_headermenu) + )); + $tpl->display(XOOPS_ROOT_PATH . '/modules/subscribers/templates/static/subscribers_admin_menu.html'); +} + +function &subscribers_getModuleHandler() +{ + static $handler; + + if (!isset($handler)) { + global $xoopsModule; + if (isset($xoopsModule) && is_object($xoopsModule) && $xoopsModule->getVar('dirname') == 'subscribers') { + $handler =& $xoopsModule; + } else { + $hModule =& xoops_gethandler('module'); + $handler = $hModule->getByDirname('subscribers'); + } + } + return $handler; +} + +function &subscribers_getModuleConfig() +{ + static $config; + + if (!$config) { + global $xoopsModule; + if (isset($xoopsModule) && is_object($xoopsModule) && $xoopsModule->getVar('dirname') == 'subscribers') { + $config =& $GLOBALS['xoopsModuleConfig']; + } else { + $handler =& subscribers_getModuleHandler(); + $hModConfig =& xoops_gethandler('config'); + $config = $hModConfig->getConfigsByCat(0, $handler->getVar('mid')); + } + } + return $config; +} + +function subscribers_sendEmails() +{ + global $xoopsConfig; + $thisConfigs =& subscribers_getModuleConfig(); + $emailsperpack = intval($thisConfigs['emailsperpack']); + $timebpacks = intval($thisConfigs['timebpacks']); + + $fromname = trim($thisConfigs['fromname']); + $fromemail = trim($thisConfigs['fromemail']); + $fromname = $fromname != '' ? $fromname : $xoopsConfig['sitename']; + $fromemail = $fromemail != '' ? $fromemail : $xoopsConfig['adminmail']; + + $now = time(); + $last = subscribers_getLastTime(); + + if (($now - $last) <= $timebpacks) { + return false; + } + + $this_handler =& xoops_getModuleHandler('waiting', 'subscribers'); + + $criteria = new CriteriaCompo(); + $criteria->setSort('wt_priority DESC, wt_created'); + $criteria->setOrder('ASC'); + $criteria->setLimit($emailsperpack); + $objs = $this_handler->getObjects($criteria); + $count = count($objs); + unset ($criteria); + + if ($count == 0) { + return false; + } + + include_once XOOPS_ROOT_PATH . '/kernel/user.php'; + + $obj_delete = array(); + foreach ($objs as $obj) { + $xoopsMailer =& xoops_getMailer(); + $xoopsMailer->multimailer->ContentType = "text/html"; + $xoopsMailer->setTemplateDir(XOOPS_ROOT_PATH . '/modules/subscribers/language/' . $xoopsConfig['language'] . '/mail_template/'); + $xoopsMailer->setTemplate('content.tpl'); + $xoopsMailer->setFromName($fromname); + $xoopsMailer->setFromEmail($fromemail); + $xoopsMailer->useMail(); + $xoopsMailer->setToEmails(array($obj->getVar('wt_toemail', 'n'))); + $xoopsMailer->setSubject($obj->getVar('wt_subject'), 'n'); + $xoopsMailer->assign('CONTENT', $obj->getVar('wt_body')); + + $key = md5($obj->getVar('wt_toemail', 'n') . XOOPS_ROOT_PATH); + $xoopsMailer->assign("UNSUBSCRIBE_URL", XOOPS_URL . '/modules/subscribers/unsubscribe.php?email=' . $obj->getVar('wt_toemail', 'n') . '&key=' . $key); + + $xoopsMailer->send(false); + unset($xoopsMailer); + + $obj_delete[] = $obj->getVar('wt_id'); + } + + $criteria = new Criteria('wt_id', '(' . implode(',', $obj_delete). ')', 'IN'); + $this_handler->deleteAll($criteria, true); + + subscribers_setLastTime($now); + + return true; +} + +function subscribers_getLastTime() +{ + $fileName = XOOPS_UPLOAD_PATH . '/subscribers_lasttime.txt'; + + if (!file_exists($fileName)) { + $time = time(); + $ret = subscribers_setLastTime($time); + return $ret; + } + + $ret = intval(file_get_contents($fileName)); + return $ret; +} + +function subscribers_setLastTime($time = 0) +{ + $ret = 0; + $fileName = XOOPS_UPLOAD_PATH . '/subscribers_lasttime.txt'; + @unlink($fileName); + $fileHandler = fopen($fileName, 'w'); + if (!$fileHandler) return $ret; + fwrite($fileHandler, $time); + fclose($fileHandler); + return $time; +} \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/include/index.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/include/index.html (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/include/index.html 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/index.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/index.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/index.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,31 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... + +include_once dirname(dirname(dirname(__FILE__))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/modules/subscribers/include/functions.php'; +subscribers_sendEmails(); + +$xoopsOption['template_main'] = 'subscribers_index.html'; +include_once XOOPS_ROOT_PATH . '/header.php'; + +$config =& subscribers_getModuleConfig(); +$selected = $config['country']; + +$sub_captcha = $config['captcha']; +if (is_object($xoopsUser)) { + $captcha = $sub_captcha == 2 ? 0 : 1; +} else { + $captcha = $sub_captcha == 3 ? 0 : 1; +} + +include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; +$countries = XoopsLists::getCountryList(); +array_shift($countries); + +$xoopsTpl->assign('countries', $countries); +$xoopsTpl->assign('selected', $selected); +$xoopsTpl->assign('captcha', $captcha); + +include_once XOOPS_ROOT_PATH . '/footer.php'; \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/language/arabic/admin.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/admin.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/admin.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,43 @@ +<?php +define("_AM_SUBSCRIBERS_GOMOD", "\xD5\xDD\xCD\xC9 \xC7\xE1\xC8\xD1\xE4\xC7\xE3\xCC"); +define("_AM_SUBSCRIBERS_BLOCKS", "\xC5\xCF\xC7\xD1\xC9 \xC7\xE1\xC8\xE1\xE6\xDF\xC7\xCA"); +define("_AM_SUBSCRIBERS_UPDATE_MODULE", "\xCA\xCD\xCF\xED\xCB \xC7\xE1\xC8\xD1\xE4\xC7\xE3\xCC"); +define("_AM_SUBSCRIBERS_EXPORT", "Export"); +define("_AM_SUBSCRIBERS_ERROR", "\xDA\xD0\xD1\xC7\xF0\xA1 \xCD\xCF\xCB \xCE\xD8\xC3!"); +define("_AM_SUBSCRIBERS_SOME_ERROR", "\xED\xC8\xCF\xE6 \xC3\xE4 \xC8\xDA\xD6 \xC7\xE1\xE3\xCA\xD8\xE1\xC8\xC7\xCA \xDB\xED\xD1 \xE3\xCA\xE6\xDD\xD1\xC9!"); +define("_AM_SUBSCRIBERS_SUCCESS", "\xCA\xE3\xCA \xC7\xE1\xDA\xE3\xE1\xED\xC9 \xC8\xE4\xCC\xC7\xCD"); +define("_AM_SUBSCRIBERS_AYS", "\xE5\xE1 \xC3\xE4\xCA \xE3\xCA\xC3\xDF\xCF \xBF"); +define("_AM_SUBSCRIBERS_LIST", "\xDE\xC7\xC6\xE3\xC9 \xC7\xE1\xE3\xD4\xCA\xD1\xDF\xED\xE4"); +define("_AM_SUBSCRIBERS_ERROR_SELECT", "\xCE\xD8\xC3 \xDD\xED \xC7\xE1\xC5\xCE\xCA\xED\xC7\xD1!!!"); +define("_AM_SUBSCRIBERS_RESULTS_FOUND", "\xE3\xD4\xCA\xD1\xDF\xED \xC7\xE1\xDE\xC7\xC6\xE3\xC9 \xC7\xE1\xC8\xD1\xED\xCF\xED\xC9 : "); + +define("_AM_SUBSCRIBERS_COUNTRY", "\xC7\xE1\xC8\xE1\xCF"); +define("_AM_SUBSCRIBERS_EMAIL", "\xC7\xE1\xC8\xD1\xED\xCF \xC7\xE1\xC5\xE1\xDF\xCA\xD1\xE6\xE4\xED"); +define("_AM_SUBSCRIBERS_NAME", "\xC7\xE1\xC7\xD3\xE3"); +define("_AM_SUBSCRIBERS_PHONE", "Phone"); +define("_AM_SUBSCRIBERS_CREATED", "\xC8\xCA\xC7\xD1\xED\xCE"); +define("_AM_SUBSCRIBERS_PRIORITY", "\xC7\xE1\xC3\xE6\xE1\xE6\xED\xC9"); +define("_AM_SUBSCRIBERS_SUBJECT", "\xC7\xE1\xDA\xE4\xE6\xC7\xE4"); +define("_AM_SUBSCRIBERS_NOTFOUND", "\xC7\xE1\xCC\xCF\xE6\xE1 \xDD\xC7\xD1\xDB"); + +define("_AM_SUBSCRIBERS_SEND", "\xD1\xD3\xC7\xE1\xC9 \xC5\xDA\xE1\xC7\xE4\xED\xC9 \xCC\xCF\xED\xCF\xC9"); +define("_AM_SUBSCRIBERS_ALL_COUNTRIES", "\xCC\xE3\xED\xDA \xC7\xE1\xCF\xE6\xE1"); +define("_AM_SUBSCRIBERS_EMAIL_PRIORITY", "\xC7\xE1\xC3\xE6\xE1\xE6\xED\xC9"); +define("_AM_SUBSCRIBERS_EMAIL_PRIORITY_DSC", "\xC7\xE1\xC3\xDA\xE1\xEC \xC3\xD3\xD1\xDA!"); +define("_AM_SUBSCRIBERS_EMAIL_SUBJECT", "\xC7\xE1\xDA\xE4\xE6\xC7\xE4"); +define("_AM_SUBSCRIBERS_EMAIL_BODY", "\xC7\xE1\xD1\xD3\xC7\xE1\xC9"); +define("_AM_SUBSCRIBERS_EMAIL_BODY_DSC", "\xED\xE3\xDF\xE4\xDF \xC5\xD3\xCA\xCE\xCF\xC7\xE3 \xC7\xE1\xC3\xE6\xD3\xE3\xC9 {NAME} \xE6 {EMAIL} .<br /> \xE6 \xD3\xCA\xCA\xE3 \xCA\xCD\xE6\xED\xE1\xE5\xC7 \xC5\xE1\xEC \xC7\xD3\xE3 \xE6 \xC8\xD1\xED\xCF \xC7\xE1\xE3\xD4\xCA\xD1\xDF"); + +// Groups +define("_AM_SUBSCRIBERS_SUBSCRIBERS", "\xC7\xE1\xE3\xD4\xCA\xD1\xDF\xED\xE4"); +define("_AM_SUBSCRIBERS_USERS", "\xC7\xE1\xC3\xDA\xD6\xC7\xC1 \xC7\xE1\xE3\xDD\xDA\xE1\xED\xE4"); +define("_AM_SUBSCRIBERS_BOTH", "\xC7\xE1\xDF\xE1"); +define("_AM_SUBSCRIBERS_EMAIL_GROUPS", "\xC7\xE1\xE3\xCC\xE3\xE6\xDA\xC7\xCA"); +define("_AM_SUBSCRIBERS_EMAIL_GROUPS_DSC", "\xC5\xCE\xCA\xD1 \xE3\xCC\xE3\xE6\xDA\xC9 \xC7\xE1\xE3\xD3\xCA\xE1\xE3\xED\xE4"); + +define("_AM_SUBSCRIBERS_DELETE_ALL", "\xCD\xD0\xDD \xC7\xE1\xDF\xE1"); +define("_AM_SUBSCRIBERS_USERS_FOUND", "\xC3\xDA\xD6\xC7\xC1 \xC7\xE1\xE3\xE6\xDE\xDA : "); +define("_AM_SUBSCRIBERS_TOTAL_FOUND", "\xC7\xE1\xC5\xCC\xE3\xC7\xE1\xED : "); + +define("_AM_SUBSCRIBERS_MISSING_PHPEXCEL", "PHPExcel Framework was not found, please install it!"); +?> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/language/arabic/blocks.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/blocks.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/blocks.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,9 @@ +<?php +define("_MB_SUBSCRIBERS_SUBSCRIBE", "\xC7\xD4\xCA\xD1\xDF \xDD\xED \xC7\xE1\xDE\xC7\xC6\xE3\xC9 \xC7\xE1\xC8\xD1\xED\xCF\xED\xC9"); +define("_MB_SUBSCRIBERS_ENTER_COUNTRY", "\xC7\xE1\xC8\xE1\xCF : "); +define("_MB_SUBSCRIBERS_ENTER_EMAIL", "\xC8\xD1\xED\xCF\xDF \xC7\xE1\xC5\xE1\xDF\xCA\xD1\xE6\xE4\xED"); +define("_MB_SUBSCRIBERS_ENTER_NAME", "\xC7\xD3\xE3\xDF"); +define("_MB_SUBSCRIBERS_ENTER_SECURITY", "\xC7\xE1\xD1\xE3\xD2 \xC7\xE1\xC3\xE3\xE4\xED : "); +define("_MB_SUBSCRIBERS_SUBMIT", "\xC7\xD4\xCA\xD1\xDF \xC7\xE1\xC2\xE4"); +define("_MB_SUBSCRIBERS_ENTER_PHONE", "Phone Number : "); +?> Added: XoopsModules/subscribers/trunk/subscribers/language/arabic/index.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/index.html (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/index.html 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/language/arabic/mail_template/content.tpl =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/mail_template/content.tpl (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/mail_template/content.tpl 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,5 @@ +{CONTENT} +<br /> +<br /> +If you don't want to receive anymore emails from us, please unsubscribe using the following link:<br /> +<a href="{UNSUBSCRIBE_URL}">{UNSUBSCRIBE_URL}</a> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/language/arabic/mail_template/index.html =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/mail_template/index.html (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/mail_template/index.html 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/language/arabic/main.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/main.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/main.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,18 @@ +<?php +define("_MD_SUBSCRIBERS_THANKS", "\xD4\xDF\xD1\xC7\xF0 \xE1\xC5\xD4\xCA\xD1\xC7\xDF\xDF \xDD\xED \xDE\xC7\xC6\xE3\xCA\xE4\xC7 \xC7\xE1\xC8\xD1\xED\xCF\xED\xC9"); +define("_MD_SUBSCRIBERS_NO_THANKS", "\xE4\xC3\xD3\xDD \xE1\xC7 \xED\xE3\xDF\xE4\xDF \xC7\xE1\xC5\xD4\xCA\xD1\xC7\xDF \xCD\xC7\xE1\xED\xC7\xF0"); +define("_MD_SUBSCRIBERS_ERROR_BADEMAIL", "\xDA\xDD\xE6\xC7\xF0\xA1 \xED\xCC\xC8 \xDA\xE1\xED\xDF \xC5\xCF\xCE\xC7\xE1 \xC8\xD1\xED\xCF \xC5\xE1\xDF\xCA\xD1\xE6\xE4\xED \xD5\xCD\xED\xCD"); +define("_MD_SUBSCRIBERS_ERROR_ALREADY", "\xDA\xDD\xE6\xC7\xF0\xA1 \xE5\xD0\xC7 \xC7\xE1\xC8\xD1\xED\xCF \xC7\xE1\xC5\xE1\xDF\xCA\xD1\xE6\xE4\xED \xE3\xD4\xCA\xD1\xDF \xE3\xD3\xC8\xDE\xC7\xF0"); + +//INDEX +define("_MD_SUBSCRIBERS_SUBSCRIBE", "\xC7\xD4\xCA\xD1\xDF \xDD\xED \xDE\xC7\xC6\xE3\xCA\xE4\xC7 \xC7\xE1\xC8\xD1\xED\xCF\xED\xC9"); +define("_MD_SUBSCRIBERS_ENTER_COUNTRY", "\xC7\xE1\xC8\xE1\xCF : "); +define("_MD_SUBSCRIBERS_ENTER_EMAIL", "\xC7\xE1\xC8\xD1\xED\xCF \xC7\xE1\xC5\xE1\xDF\xCA\xD1\xE6\xE4\xED : "); +define("_MD_SUBSCRIBERS_ENTER_NAME", "\xC7\xE1\xC7\xD3\xE3 : "); +define("_MD_SUBSCRIBERS_ENTER_SECURITY", "\xC7\xE1\xD1\xE3\xD2 \xC7\xE1\xC3\xE3\xE4\xED : "); +define("_MD_SUBSCRIBERS_SUBMIT", "\xC7\xD4\xCA\xD1\xDF \xC7\xE1\xC2\xE4"); +define("_MD_SUBSCRIBERS_ENTER_PHONE", "Phone Number : "); + +//UNSUBSCRIBE +define("_MD_SUBSCRIBERS_U_NO_THANKS", "Sorry, it was not possible to unsubscribe you."); +define("_MD_SUBSCRIBERS_U_THANKS", "You are now unsubscribed!"); \ No newline at end of file Added: XoopsModules/subscribers/trunk/subscribers/language/arabic/modinfo.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/arabic/modinfo.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/arabic/modinfo.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,26 @@ +<?php +define("_MI_SUBSCRIBERS_MD_NAME", "\xC7\xE1\xDE\xC7\xC6\xE3\xC9 \xC7\xE1\xC8\xD1\xED\xCF\xED\xC9"); +define("_MI_SUBSCRIBERS_MD_DSC", "\xC8\xD1\xE4\xC7\xE3\xCC \xE1\xE3\xD1\xC7\xD3\xE1\xC9 \xC7\xE1\xDE\xC7\xC6\xE3\xC9 \xC7\xE1\xC8\xD1\xED\xCF\xED\xC9"); +define("_MI_SUBSCRIBERS_BLK_ADD", "\xC7\xD4\xCA\xD1\xDF \xDD\xED \xC7\xE1\xDE\xC7\xC6\xE3\xC9 \xC7\xE1\xC8\xD1\xED\xCF\xED\xC9"); +define("_MI_SUBSCRIBERS_PAGE_INDEX", "\xC7\xE1\xD5\xDD\xCD\xC9 \xC7\xE1\xD1\xC6\xED\xD3\xED\xC9"); +define("_MI_SUBSCRIBERS_ADMENU_USER", "\xDE\xC7\xC6\xE3\xC9 \xC7\xE1\xE3\xD4\xCA\xD1\xDF\xED\xE4"); +define("_MI_SUBSCRIBERS_ADMENU_WAITING", "\xD1\xD3\xC7\xC6\xE1 \xDD\xED \xC7\xE1\xC5\xE4\xCA\xD9\xC7\xD1"); +define("_MI_SUBSCRIBERS_ADMENU_SEND", "\xC5\xD1\xD3\xC7\xE1 \xD1\xD3\xC7\xE1\xC9 \xCC\xCF\xED\xCF\xC9"); +define("_MI_SUBSCRIBERS_CONF_EDITOR", "\xC7\xE1\xE3\xCD\xD1\xD1 \xC7\xE1\xC5\xDD\xCA\xD1\xC7\xD6\xED"); +define("_MI_SUBSCRIBERS_CONF_EDITOR_DSC", "\xC5\xCE\xCA\xD1 \xC7\xE1\xE3\xCD\xD1\xD1 \xC7\xE1\xD0\xED \xCA\xD1\xED\xCF \xC5\xD3\xCA\xCE\xCF\xC7\xE3\xE5 \xDD\xED \xD5\xDD\xCD\xC9 \xC7\xE1\xC5\xD1\xD3\xC7\xE1"); +define("_MI_SUBSCRIBERS_CONF_COUNTRY", "\xC7\xE1\xC8\xE1\xCF"); +define("_MI_SUBSCRIBERS_CONF_COUNTRY_DSC", "\xC5\xCE\xCA\xD1 \xC7\xE1\xCF\xE6\xE1\xC9 \xC7\xE1\xC5\xDD\xCA\xD1\xC7\xD6\xED\xC9 \xC7\xE1\xCA\xED \xD3\xCA\xD9\xE5\xD1 \xDD\xED \xD5\xDD\xCD\xC9 \xC7\xE1\xC5\xD4\xCA\xD1\xC7\xDF"); +define("_MI_SUBSCRIBERS_CONF_FROMNAME", "\xC7\xD3\xE3 \xC7\xE1\xE3\xD1\xD3\xE1"); +define("_MI_SUBSCRIBERS_CONF_FROMNAME_DSC", "\xC7\xDF\xCA\xC8 \xC7\xE1\xC7\xD3\xE3 \xC7\xE1\xD0\xED \xCA\xD1\xDB\xC8 \xDD\xED \xC3\xE4 \xED\xD9\xE5\xD1 \xE1\xE1\xE3\xD3\xCA\xE1\xE3"); +define("_MI_SUBSCRIBERS_CONF_FROMEMAIL", "\xC8\xD1\xED\xCF \xC7\xE1\xE3\xD1\xD3\xE1"); +define("_MI_SUBSCRIBERS_CONF_FROMEMAIL_DSC", "\xC7\xDF\xCA\xC8 \xC7\xE1\xC8\xD1\xED\xCF \xC7\xE1\xC5\xE1\xDF\xCA\xD1\xE6\xE4\xED \xC7\xE1\xD0\xED \xCA\xD1\xDB\xC8 \xDD\xED \xC3\xE4 \xED\xD9\xE5\xD1 \xE1\xE1\xE3\xD3\xCA\xE1\xE3"); +define("_MI_SUBSCRIBERS_CONF_EMAILSPERPACK", "\xC7\xE1\xD1\xD3\xC7\xC6\xE1 \xDD\xED \xDF\xE1 \xCF\xDD\xDA\xC9"); +define("_MI_SUBSCRIBERS_CONF_EMAILSPERPACK_DSC", "\xDA\xCF\xCF \xC7\xE1\xD1\xD3\xC7\xC6\xE1 \xC7\xE1\xCA\xED \xD3\xCA\xD1\xD3\xE1 \xDD\xED \xDF\xE1 \xE3\xD1\xC9"); +define("_MI_SUBSCRIBERS_CONF_TIMEBPACKS", "\xC7\xE1\xE6\xDE\xCA \xC8\xED\xE4 \xC7\xE1\xCF\xDD\xDA\xC7\xCA"); +define("_MI_SUBSCRIBERS_CONF_TIMEBPACKS_DSC", "\xDA\xCF\xCF \xC7\xE1\xCB\xE6\xC7\xE4\xED \xC8\xED\xE4 \xDF\xE1 \xCF\xDD\xDA\xC9 \xE6 \xC3\xCE\xD1\xEC"); +define("_MI_SUBSCRIBERS_CONF_CAPTCHA", "\xC7\xE1\xD1\xE3\xD2 \xC7\xE1\xC3\xE3\xE4\xED"); +define("_MI_SUBSCRIBERS_CONF_CAPTCHA_DSC", ""); +define("_MI_SUBSCRIBERS_CONF_CAPTCHA_CHOICE1", "\xCA\xDD\xDA\xED\xE1\xE5\xC7 \xE1\xE1\xC3\xDA\xD6\xC7\xC1 \xE6 \xC7\xE1\xD2\xE6\xC7\xD1"); +define("_MI_SUBSCRIBERS_CONF_CAPTCHA_CHOICE2", "\xCA\xDD\xDA\xED\xE1\xE5\xC7 \xE1\xE1\xD2\xE6\xC7\xD1 \xDD\xDE\xD8"); +define("_MI_SUBSCRIBERS_CONF_CAPTCHA_CHOICE3", "\xCA\xDA\xD8\xED\xE1\xE5\xC7"); +?> Added: XoopsModules/subscribers/trunk/subscribers/language/english/admin.php =================================================================== --- XoopsModules/subscribers/trunk/subscribers/language/english/admin.php (rev 0) +++ XoopsModules/subscribers/trunk/subscribers/language/english/admin.php 2012-04-11 15:23:48 UTC (rev 9300) @@ -0,0 +1,44 @@ +<?php +define("_AM_SUBSCRIBERS_GOMOD", "Go to Module"); +define("_AM_SUBSCRIBERS_BLOCKS", "Manage blocks"); +define("_AM_SUBSCRIBERS_UPDATE_MODULE", "Update Module"); +define("_AM_SUBSCRIBERS_EXPORT", "Export"); +define("_AM_SUBSCRIBERS_ERROR", "Sorry, an error occured!"); +define("_AM_SUBSCRIBERS_SOME_ERROR", "Hum, some requests were not performed!"); +define("_AM_SUBSCRIBERS_SUCCESS", "Done!!!"); +define("_AM_SUBSCRIBERS_AYS", "Are you sure?"); +define("_AM_SUBSCRIBERS_LIST", "Subscribers list"); +define("_AM_SUBSCRIBERS_ERROR_SELECT", "Selection Error!!!"); +define("_AM_SUBSCRIBERS_RESULTS_FOUND", "Newsletters Subscribers : "); + +define("_AM_SUBSCRIBERS_COUNTRY", "Country"); +define("_AM_SUBSCRIBERS_EMAIL", "Email"); +define("_AM_SUBSCRIBERS_NAME", "Name"); +define("_AM_SUBSCRIBERS_PHONE", "Phone"); +define("_AM_SUBSCRIBERS_CREATED", "Created"); +define("_AM_SUBSCRIBERS_PRIORITY", "Priority"); +define("_AM_SUBSCRIBERS_SUBJECT", "Subject"); +define("_AM_SUBSCRIBERS_NOTFOUND", "The table is empty!"); + +define("_AM_SUBSCRIBERS_SEND", "Send a newsletter"); +define("_AM_SUBSCRIBERS_ALL_COUNTRIES", "All countries"); +define("_AM_SUBSCRIBERS_EMAIL_PRIORITY", "Priority"); +define("_AM_SUBSCRIBERS_EMAIL_PRIORITY_DSC", "The higher the faster!"); +define("_AM_SUBSCRIBERS_EMAIL_SUBJECT", "Subject"); +define("_AM_SUBSCRIBERS_EMAIL_BODY", "Body"); +define("_AM_SUBSCRIBERS_EMAIL_BODY_DSC", "You can use {NAME} and {EMAIL} tags.<br /> They will be replaced by subscriber's name and email"); + +// Groups +define("_AM_SUBSCRIBERS_SUBSCRIBERS", "Subscribers"); +define("_AM_SUBSCRIBERS_USERS", "Active users"); +define("_AM_SUBSCRIBERS_BOTH", "Both"); +define("_AM_SUBSCRIBERS_EMAIL_GROUPS", "Groups"); +define("_AM_SUBSCRIBERS_EMAIL_GROUPS_DSC", "Select groups of recipients"); + +define("_AM_SUBSCRIBERS_DELETE_ALL", "Delete all"); +define("_AM_SUBSCRIBERS_USERS_FOUND", "Website Members : "); +define("_AM_SUBSCRIBERS_TOTAL_FOUND", "Total : "); + +define("_AM_SUBSCRIBERS_MISSING_PHPEXCEL", "PHPExc... [truncated message content] |