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: <wis...@us...> - 2017-05-23 08:28:05
|
Revision: 13248 http://sourceforge.net/p/xoops/svn/13248 Author: wishcraft Date: 2017-05-23 08:27:48 +0000 (Tue, 23 May 2017) Log Message: ----------- Digital Signatures - Signed 2.21 - Final Major Release! Added Paths: ----------- XoopsModules/signed/releases/2.21/ XoopsModules/signed/releases/2.21/NEWS.xcode XoopsModules/signed/releases/2.21/README.md XoopsModules/signed/releases/2.21/modules/ XoopsModules/signed/releases/2.21/modules/signed/ XoopsModules/signed/releases/2.21/modules/signed/.htaccess XoopsModules/signed/releases/2.21/modules/signed/admin/ XoopsModules/signed/releases/2.21/modules/signed/admin/about.php XoopsModules/signed/releases/2.21/modules/signed/admin/admin.php XoopsModules/signed/releases/2.21/modules/signed/admin/admin_footer.php XoopsModules/signed/releases/2.21/modules/signed/admin/admin_header.php XoopsModules/signed/releases/2.21/modules/signed/admin/events.php XoopsModules/signed/releases/2.21/modules/signed/admin/index.html XoopsModules/signed/releases/2.21/modules/signed/admin/menu.php XoopsModules/signed/releases/2.21/modules/signed/admin/salty.php XoopsModules/signed/releases/2.21/modules/signed/admin/signatures.php XoopsModules/signed/releases/2.21/modules/signed/api/ XoopsModules/signed/releases/2.21/modules/signed/api/banned/ XoopsModules/signed/releases/2.21/modules/signed/api/banned/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/banned/index.php XoopsModules/signed/releases/2.21/modules/signed/api/classes/ XoopsModules/signed/releases/2.21/modules/signed/api/classes/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/classes/index.php XoopsModules/signed/releases/2.21/modules/signed/api/descriptions/ XoopsModules/signed/releases/2.21/modules/signed/api/descriptions/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/descriptions/index.php XoopsModules/signed/releases/2.21/modules/signed/api/enumerators/ XoopsModules/signed/releases/2.21/modules/signed/api/enumerators/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/enumerators/index.php XoopsModules/signed/releases/2.21/modules/signed/api/fields/ XoopsModules/signed/releases/2.21/modules/signed/api/fields/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/fields/index.php XoopsModules/signed/releases/2.21/modules/signed/api/fieldtypes/ XoopsModules/signed/releases/2.21/modules/signed/api/fieldtypes/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/fieldtypes/index.php XoopsModules/signed/releases/2.21/modules/signed/api/identifications/ XoopsModules/signed/releases/2.21/modules/signed/api/identifications/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/identifications/index.php XoopsModules/signed/releases/2.21/modules/signed/api/index.php XoopsModules/signed/releases/2.21/modules/signed/api/language/ XoopsModules/signed/releases/2.21/modules/signed/api/language/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/language/index.php XoopsModules/signed/releases/2.21/modules/signed/api/languages/ XoopsModules/signed/releases/2.21/modules/signed/api/languages/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/languages/index.php XoopsModules/signed/releases/2.21/modules/signed/api/processes/ XoopsModules/signed/releases/2.21/modules/signed/api/processes/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/processes/index.php XoopsModules/signed/releases/2.21/modules/signed/api/prompts/ XoopsModules/signed/releases/2.21/modules/signed/api/prompts/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/prompts/index.php XoopsModules/signed/releases/2.21/modules/signed/api/providers/ XoopsModules/signed/releases/2.21/modules/signed/api/providers/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/providers/index.php XoopsModules/signed/releases/2.21/modules/signed/api/request/ XoopsModules/signed/releases/2.21/modules/signed/api/request/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/request/index.php XoopsModules/signed/releases/2.21/modules/signed/api/sign/ XoopsModules/signed/releases/2.21/modules/signed/api/sign/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/sign/index.php XoopsModules/signed/releases/2.21/modules/signed/api/signatures/ XoopsModules/signed/releases/2.21/modules/signed/api/signatures/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/signatures/index.php XoopsModules/signed/releases/2.21/modules/signed/api/sites/ XoopsModules/signed/releases/2.21/modules/signed/api/sites/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/sites/index.php XoopsModules/signed/releases/2.21/modules/signed/api/states/ XoopsModules/signed/releases/2.21/modules/signed/api/states/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/states/index.php XoopsModules/signed/releases/2.21/modules/signed/api/validate.php XoopsModules/signed/releases/2.21/modules/signed/api/validations/ XoopsModules/signed/releases/2.21/modules/signed/api/validations/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/validations/index.php XoopsModules/signed/releases/2.21/modules/signed/api/verification/ XoopsModules/signed/releases/2.21/modules/signed/api/verification/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/verification/index.php XoopsModules/signed/releases/2.21/modules/signed/api/verify/ XoopsModules/signed/releases/2.21/modules/signed/api/verify/.htaccess XoopsModules/signed/releases/2.21/modules/signed/api/verify/index.php XoopsModules/signed/releases/2.21/modules/signed/class/ XoopsModules/signed/releases/2.21/modules/signed/class/cache/ XoopsModules/signed/releases/2.21/modules/signed/class/cache/apc.php XoopsModules/signed/releases/2.21/modules/signed/class/cache/file.php XoopsModules/signed/releases/2.21/modules/signed/class/cache/index.html XoopsModules/signed/releases/2.21/modules/signed/class/cache/memcache.php XoopsModules/signed/releases/2.21/modules/signed/class/cache/model.php XoopsModules/signed/releases/2.21/modules/signed/class/cache/signedcache.php XoopsModules/signed/releases/2.21/modules/signed/class/cache/xcache.php XoopsModules/signed/releases/2.21/modules/signed/class/captcha/ XoopsModules/signed/releases/2.21/modules/signed/class/captcha/index.html XoopsModules/signed/releases/2.21/modules/signed/class/captcha/signedcaptcha.php XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/ XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/aesctr/ XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/aesctr/aes.class.php XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/aesctr/aesctr.class.php XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/aesctr/aesctr.php XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/aesctr/index.html XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/cryptus.php XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/index.html XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/mcrypt/ XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/mcrypt/index.html XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/mcrypt/mcrypt.php XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/mysql/ XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/mysql/index.html XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/mysql/mysql.php XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/openssl/ XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/openssl/index.html XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/openssl/openssl.php XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/rsa-openssl/ XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/rsa-openssl/index.html XoopsModules/signed/releases/2.21/modules/signed/class/cryptus/rsa-openssl/rsa-openssl.php XoopsModules/signed/releases/2.21/modules/signed/class/cryptus.php XoopsModules/signed/releases/2.21/modules/signed/class/event_links.php XoopsModules/signed/releases/2.21/modules/signed/class/events.php XoopsModules/signed/releases/2.21/modules/signed/class/file/ XoopsModules/signed/releases/2.21/modules/signed/class/file/index.html XoopsModules/signed/releases/2.21/modules/signed/class/file/signedfile.php XoopsModules/signed/releases/2.21/modules/signed/class/index.html XoopsModules/signed/releases/2.21/modules/signed/class/keiyes.php XoopsModules/signed/releases/2.21/modules/signed/class/mail/ XoopsModules/signed/releases/2.21/modules/signed/class/mail/index.html XoopsModules/signed/releases/2.21/modules/signed/class/mail/signedmultimailer.php XoopsModules/signed/releases/2.21/modules/signed/class/mobile/ XoopsModules/signed/releases/2.21/modules/signed/class/mobile/handlers/ XoopsModules/signed/releases/2.21/modules/signed/class/mobile/handlers/index.html XoopsModules/signed/releases/2.21/modules/signed/class/mobile/handlers/sip.class.php XoopsModules/signed/releases/2.21/modules/signed/class/mobile/handlers/sip.exception.php XoopsModules/signed/releases/2.21/modules/signed/class/mobile/handlers/sms.cardboardfish.php XoopsModules/signed/releases/2.21/modules/signed/class/mobile/handlers/sms.sip.php XoopsModules/signed/releases/2.21/modules/signed/class/mobile/index.html XoopsModules/signed/releases/2.21/modules/signed/class/mobile/plugin/ XoopsModules/signed/releases/2.21/modules/signed/class/mobile/plugin/index.html XoopsModules/signed/releases/2.21/modules/signed/class/mobile/signedsmscontroller.php XoopsModules/signed/releases/2.21/modules/signed/class/mobile/signedsmsmobile.php XoopsModules/signed/releases/2.21/modules/signed/class/signatures.php XoopsModules/signed/releases/2.21/modules/signed/class/signedapi.php XoopsModules/signed/releases/2.21/modules/signed/class/signedarrays.php XoopsModules/signed/releases/2.21/modules/signed/class/signedcanvas.php XoopsModules/signed/releases/2.21/modules/signed/class/signedciphers.php XoopsModules/signed/releases/2.21/modules/signed/class/signededitor/ XoopsModules/signed/releases/2.21/modules/signed/class/signededitor/index.html XoopsModules/signed/releases/2.21/modules/signed/class/signededitor/readme.txt XoopsModules/signed/releases/2.21/modules/signed/class/signededitor/signededitor.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/ XoopsModules/signed/releases/2.21/modules/signed/class/signedform/form.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formbutton.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formbuttontray.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formcaptcha.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formcheckbox.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formcolorpicker.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formdatetime.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formdhtmltextarea.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formeditor.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formelement.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formelementtray.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formfile.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formhidden.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formhiddentoken.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formlabel.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formpassword.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formradio.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formradioyn.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formselect.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formselectcheckgroup.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formselectcountry.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formselecteditor.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formselectenumerator.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formselectmatchoption.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formselectmonths.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formselecttimezone.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formselectyears.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formtext.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formtextarea.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/formtextdateselect.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/index.html XoopsModules/signed/releases/2.21/modules/signed/class/signedform/simpleform.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/tableform.php XoopsModules/signed/releases/2.21/modules/signed/class/signedform/themeform.php XoopsModules/signed/releases/2.21/modules/signed/class/signedformloader.php XoopsModules/signed/releases/2.21/modules/signed/class/signedlists.php XoopsModules/signed/releases/2.21/modules/signed/class/signedlogger.php XoopsModules/signed/releases/2.21/modules/signed/class/signedmailer.php XoopsModules/signed/releases/2.21/modules/signed/class/signedmobile.php XoopsModules/signed/releases/2.21/modules/signed/class/signedobject.php XoopsModules/signed/releases/2.21/modules/signed/class/signedpackages.php XoopsModules/signed/releases/2.21/modules/signed/class/signedprocesses.php XoopsModules/signed/releases/2.21/modules/signed/class/signedprompts.php XoopsModules/signed/releases/2.21/modules/signed/class/signedsecurity.php XoopsModules/signed/releases/2.21/modules/signed/class/signedsession.php XoopsModules/signed/releases/2.21/modules/signed/class/signedstorage.php XoopsModules/signed/releases/2.21/modules/signed/class/uploader.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/ XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Canvas.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Coordinate.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Exception.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Font/ XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Font/GDF.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Font/PS.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Font/TTF.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Image.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Mapper/ XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Mapper/BMP.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Mapper/GD.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Mapper/GD2.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Mapper/GIF.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Mapper/JPEG.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Mapper/PNG.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Mapper/TGA.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/MapperFactory.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/ XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/AddNoise.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/ApplyConvolution.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/ApplyFilter.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/ApplyMask.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/AsGrayscale.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/AsNegative.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/AutoCrop.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/CopyChannelsPalette.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/CopyChannelsTrueColor.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/CorrectGamma.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/Crop.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/Flip.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/GetMask.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/Merge.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/Mirror.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/Resize.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/ResizeCanvas.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/Rotate.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/RoundCorners.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/Operation/Unsharp.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/OperationFactory.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/PaletteImage.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/TrueColorImage.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/WideImage.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/index.html XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/vendor/ XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/vendor/de77/ XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/vendor/de77/BMP.php XoopsModules/signed/releases/2.21/modules/signed/class/wideimage/vendor/de77/TGA.php XoopsModules/signed/releases/2.21/modules/signed/class/xcp/ XoopsModules/signed/releases/2.21/modules/signed/class/xcp/.htaccess XoopsModules/signed/releases/2.21/modules/signed/class/xcp/XCP-Logo.png XoopsModules/signed/releases/2.21/modules/signed/class/xcp/XCP-Logo.psd XoopsModules/signed/releases/2.21/modules/signed/class/xcp/XCP-Logo.xcf XoopsModules/signed/releases/2.21/modules/signed/class/xcp/debug_base.php XoopsModules/signed/releases/2.21/modules/signed/class/xcp/debug_enumerator.php XoopsModules/signed/releases/2.21/modules/signed/class/xcp/debug_leaver.php XoopsModules/signed/releases/2.21/modules/signed/class/xcp/index.php XoopsModules/signed/releases/2.21/modules/signed/class/xcp/xcp.base.php XoopsModules/signed/releases/2.21/modules/signed/class/xcp/xcp.class.php XoopsModules/signed/releases/2.21/modules/signed/class/xcp/xcp.enumerator.php XoopsModules/signed/releases/2.21/modules/signed/class/xcp/xcp.leaver.php XoopsModules/signed/releases/2.21/modules/signed/class/xmlarray.php XoopsModules/signed/releases/2.21/modules/signed/class/xmlwrapper.php XoopsModules/signed/releases/2.21/modules/signed/crons/ XoopsModules/signed/releases/2.21/modules/signed/crons/.htaccess XoopsModules/signed/releases/2.21/modules/signed/crons/callbacks.php XoopsModules/signed/releases/2.21/modules/signed/crons/expires.php XoopsModules/signed/releases/2.21/modules/signed/crons/expiry.php XoopsModules/signed/releases/2.21/modules/signed/crons/index.html XoopsModules/signed/releases/2.21/modules/signed/crons/request.php XoopsModules/signed/releases/2.21/modules/signed/css/ XoopsModules/signed/releases/2.21/modules/signed/css/calendar-blue.css XoopsModules/signed/releases/2.21/modules/signed/css/index.html XoopsModules/signed/releases/2.21/modules/signed/css/signed.css XoopsModules/signed/releases/2.21/modules/signed/css/style.css XoopsModules/signed/releases/2.21/modules/signed/docs/ XoopsModules/signed/releases/2.21/modules/signed/docs/.htaccess XoopsModules/signed/releases/2.21/modules/signed/docs/classes/ XoopsModules/signed/releases/2.21/modules/signed/docs/classes/Aes.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/AesCtr.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/SignedApiPreload.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/SignedEvent_links.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/SignedEvent_linksHandler.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/SignedEvents.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/SignedEventsHandler.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/SignedKeiyes.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/SignedKeiyesHandler.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/SignedProtectorPreload.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/SignedSignatures.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/SignedSignaturesHandler.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Canvas.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Coordinate.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Exception.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Font_GDF.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Font_PS.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Font_TTF.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_GDFunctionResultException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Image.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_InvalidCanvasMethodException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_InvalidCoordinateException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_InvalidFontFileException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_InvalidImageDimensionException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_InvalidImageHandleException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_InvalidImageSourceException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_MapperFactory.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Mapper_BMP.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Mapper_GD.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Mapper_GD2.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Mapper_GIF.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Mapper_JPEG.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Mapper_PNG.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Mapper_TGA.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_NoFontException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_OperationFactory.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_AddNoise.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_ApplyConvolution.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_ApplyFilter.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_ApplyMask.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_AsGrayscale.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_AsNegative.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_AutoCrop.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_CopyChannelsPalette.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_CopyChannelsTrueColor.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_CorrectGamma.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_Crop.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_Flip.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_GetMask.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_InvalidFitMethodException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_InvalidResizeDimensionException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_Merge.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_Mirror.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_Resize.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_ResizeCanvas.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_Rotate.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_RoundCorners.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_Operation_Unsharp.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_PaletteImage.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_TrueColorImage.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_UnknownErrorWhileMappingException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_UnknownImageOperationException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_UnsupportedFormatException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_vendor_de77_BMP.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/WideImage_vendor_de77_TGA.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/XML2Array.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/XmlDomConstruct.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedAPI.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedArrays.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCache.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCacheApc.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCacheEngine.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCacheFile.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCacheMemcache.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCacheXcache.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCanvas.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCaptcha.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCiphers.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCryptus.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCryptusAesctr.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCryptusHandler.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCryptusLibraries.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCryptusMcrypt.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCryptusMysql.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCryptusOpensll.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedCryptusRsaOpensll.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedEditor.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedEditorHandler.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFile.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedForm.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormButton.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormButtonTray.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormCaptcha.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormCheckBox.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormColorPicker.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormDateTime.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormDhtmlTextArea.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormEditor.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormElement.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormElementTray.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormFile.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormHidden.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormHiddenToken.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormLabel.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormPassword.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormRadio.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormRadioYN.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormSelect.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormSelectCheckGroup.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormSelectCountry.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormSelectEditor.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormSelectEnumerator.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormSelectMatchOption.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormSelectMonths.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormSelectTimezone.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormSelectYears.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormText.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormTextArea.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedFormTextDateSelect.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedLists.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedLogger.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedMailer.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedMailerLocal.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedMediaUploader.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedMobile.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedMobileLocal.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedMultiMailer.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedObject.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedPackages.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedProcesses.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedPrompts.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedSIP.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedSIPException.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedSMSController.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedSMSHandlerCardboardfish.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedSMSHandlerSip.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedSMSMobile.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedSecurity.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedSessionHandler.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedSimpleForm.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedStorage.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedTableForm.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signedThemeForm.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signed_form_edit_object.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signed_form_object.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signed_generic_edit_form.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signed_generic_form.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signed_identification_edit_form.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/signed_identification_form.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/xcp.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/xcp_base.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/xcp_enumerator.html XoopsModules/signed/releases/2.21/modules/signed/docs/classes/xcp_leaver.html XoopsModules/signed/releases/2.21/modules/signed/docs/css/ XoopsModules/signed/releases/2.21/modules/signed/docs/css/bootstrap-combined.no-icons.min.css XoopsModules/signed/releases/2.21/modules/signed/docs/css/font-awesome.min.css XoopsModules/signed/releases/2.21/modules/signed/docs/css/jquery.iviewer.css XoopsModules/signed/releases/2.21/modules/signed/docs/css/phpdocumentor-clean-icons/ XoopsModules/signed/releases/2.21/modules/signed/docs/css/phpdocumentor-clean-icons/Read Me.txt XoopsModules/signed/releases/2.21/modules/signed/docs/css/phpdocumentor-clean-icons/fonts/ XoopsModules/signed/releases/2.21/modules/signed/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.dev.svg XoopsModules/signed/releases/2.21/modules/signed/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.eot XoopsModules/signed/releases/2.21/modules/signed/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.svg XoopsModules/signed/releases/2.21/modules/signed/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.ttf XoopsModules/signed/releases/2.21/modules/signed/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.woff XoopsModules/signed/releases/2.21/modules/signed/docs/css/phpdocumentor-clean-icons/lte-ie7.js XoopsModules/signed/releases/2.21/modules/signed/docs/css/phpdocumentor-clean-icons/style.css XoopsModules/signed/releases/2.21/modules/signed/docs/css/prism.css XoopsModules/signed/releases/2.21/modules/signed/docs/css/template.css XoopsModules/signed/releases/2.21/modules/signed/docs/files/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin/about.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin/admin.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin/admin_footer.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin/admin_header.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin/events.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin/menu.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin/salty.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin/signatures.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin.about.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin.admin.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin.admin_footer.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin.admin_header.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin.events.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin.menu.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin.salty.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/admin.signatures.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/banned/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/banned/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/classes/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/classes/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/descriptions/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/descriptions/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/enumerators/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/enumerators/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/fields/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/fields/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/fieldtypes/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/fieldtypes/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/identifications/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/identifications/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/language/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/language/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/languages/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/languages/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/processes/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/processes/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/prompts/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/prompts/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/providers/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/providers/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/request/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/request/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/sign/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/sign/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/signatures/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/signatures/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/sites/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/sites/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/states/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/states/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/validate.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/validations/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/validations/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/verification/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/verification/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/verify/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/api/verify/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.banned.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.classes.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.descriptions.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.enumerators.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.fields.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.fieldtypes.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.identifications.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.language.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.languages.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.processes.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.prompts.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.providers.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.request.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.sign.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.signatures.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.sites.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.states.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.validate.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.validations.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.verification.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/api.verify.index.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cache/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cache/apc.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cache/file.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cache/memcache.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cache/model.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cache/signedcache.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cache/xcache.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/captcha/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/captcha/signedcaptcha.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/aesctr/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/aesctr/aes.class.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/aesctr/aesctr.class.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/aesctr/aesctr.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/cryptus.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/mcrypt/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/mcrypt/mcrypt.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/mysql/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/mysql/mysql.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/openssl/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/openssl/openssl.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/rsa-openssl/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus/rsa-openssl/rsa-openssl.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/cryptus.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/event_links.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/events.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/file/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/file/signedfile.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/keiyes.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/mail/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/mail/signedmultimailer.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/mobile/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/mobile/handlers/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/mobile/handlers/sip.class.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/mobile/handlers/sip.exception.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/mobile/handlers/sms.cardboardfish.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/mobile/handlers/sms.sip.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/mobile/signedsmscontroller.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/mobile/signedsmsmobile.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signatures.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedapi.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedarrays.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedcanvas.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedciphers.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signededitor/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signededitor/signededitor.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/form.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formbutton.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formbuttontray.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formcaptcha.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formcheckbox.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formcolorpicker.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formdatetime.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formdhtmltextarea.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formeditor.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formelement.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formelementtray.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formfile.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formhidden.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formhiddentoken.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formlabel.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formpassword.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formradio.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formradioyn.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formselect.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formselectcheckgroup.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formselectcountry.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formselecteditor.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formselectenumerator.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formselectmatchoption.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formselectmonths.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formselecttimezone.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formselectyears.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formtext.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formtextarea.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/formtextdateselect.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/simpleform.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/tableform.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedform/themeform.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedformloader.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedlists.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedlogger.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedmailer.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedmobile.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedobject.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedpackages.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedprocesses.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedprompts.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedsecurity.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedsession.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/signedstorage.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/uploader.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Canvas.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Coordinate.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Exception.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Font/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Font/GDF.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Font/PS.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Font/TTF.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Image.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Mapper/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Mapper/BMP.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Mapper/GD.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Mapper/GD2.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Mapper/GIF.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Mapper/JPEG.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Mapper/PNG.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Mapper/TGA.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/MapperFactory.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/AddNoise.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/ApplyConvolution.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/ApplyFilter.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/ApplyMask.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/AsGrayscale.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/AsNegative.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/AutoCrop.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/CopyChannelsPalette.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/CopyChannelsTrueColor.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/CorrectGamma.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/Crop.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/Flip.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/GetMask.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/Merge.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/Mirror.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/Resize.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/ResizeCanvas.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/Rotate.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/RoundCorners.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/Operation/Unsharp.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/OperationFactory.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/PaletteImage.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/TrueColorImage.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/WideImage.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/vendor/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/vendor/de77/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/vendor/de77/BMP.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/wideimage/vendor/de77/TGA.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/xcp/ XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/xcp/debug_base.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/xcp/debug_enumerator.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/xcp/debug_leaver.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/xcp/index.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/xcp/xcp.base.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/xcp/xcp.class.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/xcp/xcp.enumerator.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/xcp/xcp.leaver.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/xmlarray.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class/xmlwrapper.php.txt XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cache.apc.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cache.file.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cache.memcache.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cache.model.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cache.signedcache.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cache.xcache.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.captcha.signedcaptcha.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cryptus.aesctr.aes.class.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cryptus.aesctr.aesctr.class.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cryptus.aesctr.aesctr.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cryptus.cryptus.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cryptus.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cryptus.mcrypt.mcrypt.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cryptus.mysql.mysql.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cryptus.openssl.openssl.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.cryptus.rsa-openssl.rsa-openssl.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.event_links.html XoopsModules/signed/releases/2.21/modules/signed/docs/files/class.events.html XoopsModules/signed/releases/2.21/modules/signed/docs... [truncated message content] |
From: <wis...@us...> - 2017-05-23 08:10:30
|
Revision: 13247 http://sourceforge.net/p/xoops/svn/13247 Author: wishcraft Date: 2017-05-23 08:10:29 +0000 (Tue, 23 May 2017) Log Message: ----------- Readme For Trunk Missing! Added Paths: ----------- XoopsModules/pingtrax/trunk/README.md Added: XoopsModules/pingtrax/trunk/README.md =================================================================== --- XoopsModules/pingtrax/trunk/README.md (rev 0) +++ XoopsModules/pingtrax/trunk/README.md 2017-05-23 08:10:29 UTC (rev 13247) @@ -0,0 +1,22 @@ +# Pingtrax 2.01 ~ Pinging + Trackbacks + Sitemaps +## for XOOPS 2.5 ~ http://xoops.org +### (PHP Framework Example) + +# Introduction:- + +PingTrax is a module for XOOPS 2.5 which allows for the discovery of pages on the system for both pingback discovery and recrawling updates as well as sitemaps that are actually maintained on popularity as well as trackbacks (these are also known as permilinks). + +The Trackbacks has two blocks which are generally displayed on all pages except the front one, one which displays the trackback URL, and the other for the trackback comments (This uses the XOOPS Comments System). + +It will notify pingbacks with locations of information on your site as well as poll it when it is updated, this partly uses an extra smarty class for the trackbacking, make sure this is included, it is an extra plugin + +## Requirements:- + + * You will require a system running XOOPS 2.5 + * You will require a site not running on localhost + +## Downloads:- + +You can download this module and others from sourceforge.net at the following project: https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/ + + |
From: <wis...@us...> - 2017-05-23 06:30:58
|
Revision: 13246 http://sourceforge.net/p/xoops/svn/13246 Author: wishcraft Date: 2017-05-23 06:30:56 +0000 (Tue, 23 May 2017) Log Message: ----------- Tag Module 2.41 (Still in Development - Alpha-1! Removed Paths: ------------- XoopsModules/tag/trunk/modules/tag/sample.php Deleted: XoopsModules/tag/trunk/modules/tag/sample.php =================================================================== --- XoopsModules/tag/trunk/modules/tag/sample.php 2017-05-23 06:22:04 UTC (rev 13245) +++ XoopsModules/tag/trunk/modules/tag/sample.php 2017-05-23 06:30:56 UTC (rev 13246) @@ -1,173 +0,0 @@ -<?php -/** - * XOOPS tag management 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://sourceforge.net/projects/xoops/ - * @license General Public License version 3 - * @author Simon Roberts <wis...@us...> - * @author Taiwen Jiang <ph...@us...> - * @subpackage tag - * @description XOOPS tag management module - * @version 2.4.1 - * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/tag - * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/tag - * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/tag - * @link http://internetfounder.wordpress.com - */ - -/* -This module provides a centralized toolkit including input, display, stats and substantial more comprehensive applications, so that each module does not need to develop its own tag handling scripts. - -Check http://en.wikipedia.org/wiki/Tags for more info about "tag" -*/ - -/* -terms: -itemid: unique ID of the object to which the tag belonging, for instance topic_id for newbb topic, art_id for article article; -modid: module ID of the object -catid: extra parameter to identify an object. Only useful when you have more than one types of objects in the same module, for instance in a gallery module, type #1 tags are for images, type #2 tags for albums: (IDofImage, mid, catid=1), (IDofAlbum, mid, catid=2) -*/ - -/* -To enable tag for a module ("mymodule"), following steps are need: -1 add tag input box to your item edit form (required) -2 add tag storage to your item submission page (required) -3 define functions to build info of tagged items (required) -4 add tag display API to your item display page and include tag template in your item template (optional) -5 add module tag view page and tag list page (optional) -6 add module tag blocks (optional) -*/ - -/* Step 1: add tag input box */ -// File: edit.item.php -$itemid = $item_obj->isNew() ? 0 : $item_obj->getVar("itemid"); -include_once XOOPS_ROOT_PATH . "/modules/tag/include/formtag.php"; -$form_item->addElement(new XoopsFormTag("item_tag", 60, 255, $itemid, $catid = 0)); - -/* Step 2: add tag storage after item storage */ -// File: submit.item.php -$tag_handler = xoops_getmodulehandler('tag', 'tag'); -$tag_handler->updateByItem($_POST["item_tag"], $itemid, $xoopsModule->getVar("dirname"), $catid = 0); - -/* Step 3: define functions to build info of tagged items */ -// File: /modules/tag/plugin/mymodule.php OR /modules/mymodule/include/plugin.tag.php -/** Get item fields: title, content, time, link, uid, uname, tags **/ -function mymodule_tag_iteminfo(&$items) -{ - $items_id = array(); - foreach (array_keys($items) as $cat_id) { - // Some handling here to build the link upon catid - // If catid is not used, just skip it - foreach (array_keys($items[$cat_id]) as $item_id) { - // In article, the item_id is "art_id" - $items_id[] = intval($item_id); - } - } - $item_handler =& xoops_getmodulehandler("item", "module"); - $items_obj = $item_handler->getObjects(new Criteria("itemid", "(" . implode(", ", $items_id) . ")", "IN"), true); - - foreach (array_keys($items) as $cat_id) { - foreach (array_keys($items[$cat_id]) as $item_id) { - $item_obj =& $items_obj[$item_id]; - $items[$cat_id][$item_id] = array( - "title" => $item_obj->getVar("item_title"), - "uid" => $item_obj->getVar("uid"), - "link" => "view.item.php?itemid={$item_id}", - "time" => $item_obj->getVar("item_time"), - "tags" => tag_parse_tag($item_obj->getVar("item_tags", "n")), // optional - "content" => "", - ); - } - } - unset($items_obj); -} -/** Remove orphan tag-item links **/ -function mymodule_tag_synchronization($mid) -{ - // Optional -} - - -/* Step 4: Display tags on our tiem page */ -// File: view.item.php -include_once XOOPS_ROOT_PATH."/modules/tag/include/tagbar.php"; -$xoopsTpl->assign('tagbar', tagBar($itemid, $catid = 0)); -// File: mymodule_item_template.html -<{include file="db:tag_bar.html"}> - -/* Step 5: create tag list page and tag view page */ -// File: list.tag.php -include "header.php"; -include XOOPS_ROOT_PATH . "/modules/tag/list.tag.php"; -// File: view.tag.php -include "header.php"; -include XOOPS_ROOT_PATH . "/modules/tag/view.tag.php"; - -/* Step 6: create tag blocks */ -// File: xoops_version.php -/* - * $options: - * $options[0] - number of tags to display - * $options[1] - time duration, in days, 0 for all the time - * $options[2] - max font size (px or %) - * $options[3] - min font size (px or %) - */ -$modversion["blocks"][] = array( - "file" => "mymodule_block_tag.php", - "name" => "Module Tag Cloud", - "description" => "Show tag cloud", - "show_func" => "mymodule_tag_block_cloud_show", - "edit_func" => "mymodule_tag_block_cloud_edit", - "options" => "100|0|150|80", - "template" => "mymodule_tag_block_cloud.html", - ); -/* - * $options: - * $options[0] - number of tags to display - * $options[1] - time duration, in days, 0 for all the time - * $options[2] - sort: a - alphabet; c - count; t - time - */ -$modversion["blocks"][] = array( - "file" => "mymodule_block_tag.php", - "name" => "Module Top Tags", - "description" => "Show top tags", - "show_func" => "mymodule_tag_block_top_show", - "edit_func" => "mymodule_tag_block_top_edit", - "options" => "50|30|c", - "template" => "mymodule_tag_block_top.html", - ); -// File: module_block_tag.php -function mymodule_tag_block_cloud_show($options) -{ - include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; - return tag_block_cloud_show($options, $module_dirname); -} -function mymodule_tag_block_cloud_edit($options) -{ - include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; - return tag_block_cloud_edit($options); -} -function mymodule_tag_block_top_show($options) -{ - include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; - return tag_block_top_show($options, $module_dirname); -} -function mymodule_tag_block_top_edit($options) -{ - include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; - return tag_block_top_edit($options); -} -// File: mymodule_tag_block_cloud.html -<{include file="db:tag_block_cloud.html"}> -// File: mymodule_tag_block_top.html -<{include file="db:tag_block_top.html"}> - -/* Over */ -?> \ No newline at end of file |
From: <wis...@us...> - 2017-05-23 06:22:07
|
Revision: 13245 http://sourceforge.net/p/xoops/svn/13245 Author: wishcraft Date: 2017-05-23 06:22:04 +0000 (Tue, 23 May 2017) Log Message: ----------- Tag Module 2.41 (Still in Development - Alpha-1! Modified Paths: -------------- XoopsModules/tag/trunk/README.md Modified: XoopsModules/tag/trunk/README.md =================================================================== --- XoopsModules/tag/trunk/README.md 2017-05-23 05:41:44 UTC (rev 13244) +++ XoopsModules/tag/trunk/README.md 2017-05-23 06:22:04 UTC (rev 13245) @@ -8,6 +8,21 @@ Check http://en.wikipedia.org/wiki/Tags for more info about "tag" +# Shortened Search Engine Friendly URLS (mod_rewrite) + +The following goes in the .htaccess if your running apache2 in the XOOPS_ROOT_PATH + + RewriteEngine On + RewriteRule ^tags/index.html ./modules/tag/index.php [L,NC,QSA] + RewriteRule ^tags/(view|list)/(tag|cat)/([0-9]+)/([0-9]+).html ./modules/tag/$1.$2.php?start=$3&termid=$4 [L,NC,QSA] + RewriteRule ^tags/(view|list)/(tag|cat)/([0-9]+)/([0-9]+)/([0-9]+).html ./modules/tag/$1.$2.php?start=$3&catid=$4&termid=$5 [L,NC,QSA] + RewriteRule ^tags/(view|list)/(tag|cat)/([0-9]+)/([0-9]+)-(.*?).html ./modules/tag/$1.$2.php?start=$3&termid=$4&dirname=$5 [L,NC,QSA] + RewriteRule ^tags/(view|list)/(tag|cat)/([0-9]+)/([0-9]+)/([0-9]+)-(.*?).html ./modules/tag/$1.$2.php?start=$3&catid=$4&termid=$5&dirname=$6 [L,NC,QSA] + RewriteRule ^tags/(view|list)/(tag|cat)/([0-9]+)/(.*?).html ./modules/tag/$1.$2.php?start=$3&term=$4 [L,NC,QSA] + RewriteRule ^tags/(view|list)/(tag|cat)/([0-9]+)/([0-9]+)/(.*?).html ./modules/tag/$1.$2.php?start=$3&catid=$4&term=$5 [L,NC,QSA] + RewriteRule ^tags/(view|list)/(tag|cat)/([0-9]+)/(.*?)-(.*?).html ./modules/tag/$1.$2.php?start=$3&term=$4&dirname=$5 [L,NC,QSA] + RewriteRule ^tags/(view|list)/(tag|cat)/([0-9]+)/([0-9]+)/(.*?)-(.*?).html ./modules/tag/$1.$2.php?start=$3&catid=$4&term=$5&dirname=$6 [L,NC,QSA] + # Usage of the Tag Module in your XOOPS Module To enable tag for a module ("mymodule"), following steps are need: |
From: <wis...@us...> - 2017-05-23 05:41:46
|
Revision: 13244 http://sourceforge.net/p/xoops/svn/13244 Author: wishcraft Date: 2017-05-23 05:41:44 +0000 (Tue, 23 May 2017) Log Message: ----------- Tag Module 2.41 (Still in Development - Alpha-1! Modified Paths: -------------- XoopsModules/tag/trunk/README.md Modified: XoopsModules/tag/trunk/README.md =================================================================== --- XoopsModules/tag/trunk/README.md 2017-05-23 05:39:24 UTC (rev 13243) +++ XoopsModules/tag/trunk/README.md 2017-05-23 05:41:44 UTC (rev 13244) @@ -1,6 +1,6 @@ -#Tag Module for XOOPS 2.5 +# Tag Module for XOOPS 2.5 -##Version 2.xx (Still in Development) +## Version 2.xx (Still in Development) ### Author: Simon Roberts <simon@snails.email> @@ -8,7 +8,7 @@ Check http://en.wikipedia.org/wiki/Tags for more info about "tag" -#Usage of the Tag Module in your XOOPS Module +# Usage of the Tag Module in your XOOPS Module To enable tag for a module ("mymodule"), following steps are need: * add tag input box to your item edit form (required) @@ -18,7 +18,7 @@ * add module tag view page and tag list page (optional) * add module tag blocks (optional) -##Step 1: add tag input box +## Step 1: add tag input box This is how you would set up an inclusion of the tag module in an itemised edit form in your module, this is not explicit example and could have variegates for the module you are writing or editing. @@ -27,7 +27,7 @@ include_once XOOPS_ROOT_PATH . "/modules/tag/include/formtag.php"; $form_item->addElement(new XoopsFormTag("item_tag", 60, 255, $itemid, $catid = 0)); -##Step 2: add tag storage after item storage +## Step 2: add tag storage after item storage This is how you would set up an inclusion of the tag module in an itemised submition form in your module, this is not explicit example and could have variegates for the module you are writing or editing. @@ -35,12 +35,12 @@ $tag_handler = xoops_getmodulehandler('tag', 'tag'); $tag_handler->updateByItem($_POST["item_tag"], $itemid, $xoopsModule->getVar("dirname"), $catid = 0); -##Step 3: define functions to build info of tagged items of module +## Step 3: define functions to build info of tagged items of module This is the plugin for the tag module to enable the taging in both the tag module and the module you are writing/editing! Editing File Example: /modules/tag/plugin/mymodule.php -###Get item fields: title, content, time, link, uid, uname, tags +### Get item fields: title, content, time, link, uid, uname, tags function mymodule_tag_iteminfo(&$items) { @@ -72,7 +72,7 @@ unset($items_obj); } -###Remove orphan tag-item links +### Remove orphan tag-item links function mymodule_tag_synchronization($mid) { @@ -79,9 +79,9 @@ // Optional } -###Get's category catid data for module +### Get's category catid data for module -###Get item fields: catid, parentid, term +### Get item fields: catid, parentid, term function mymodule_tag_category($catid) { @@ -88,48 +88,48 @@ return array('catid'->0, 'parentid' =>0, 'term' =>0); } -##Step 4: Display tags on our tiem page +## Step 4: Display tags on our tiem page These files are not explicit as filenames they could be different this is how to display the tag in the item of the module you are editing/writing. -###File: view.item.php +### File: view.item.php include_once XOOPS_ROOT_PATH."/modules/tag/include/tagbar.php"; $xoopsTpl->assign('tagbar', tagBar($itemid, $catid = 0)); -###File: mymodule_item_template.html +### File: mymodule_item_template.html <{include file="db:tag_bar.html"}> -##Step 5: create tag list page and tag view page and for categories as well +## Step 5: create tag list page and tag view page and for categories as well This is the files that belong in /modules/mymodule/xxxx.xxx.php for redirecting or displaying within your module the tag lists and views as well as categories -###File: list.tag.php +### File: list.tag.php include "header.php"; include XOOPS_ROOT_PATH . "/modules/tag/list.tag.php"; -###File: view.tag.php +### File: view.tag.php include "header.php"; include XOOPS_ROOT_PATH . "/modules/tag/view.tag.php"; -###File: list.cat.php +### File: list.cat.php include "header.php"; include XOOPS_ROOT_PATH . "/modules/tag/list.cat.php"; -###File: view.cat.php +### File: view.cat.php include "header.php"; include XOOPS_ROOT_PATH . "/modules/tag/view.cat.php"; -##Step 6: create tag blocks +## Step 6: create tag blocks This is where you create the blocks you will have to edit and create files for this within your module -###File: xoops_version.php +### File: xoops_version.php /* * $options: @@ -177,7 +177,7 @@ "template" => "mymodule_tag_block_cumulus.html", ); -###File: mymodule_block_tag.php +### File: mymodule_block_tag.php This file belongs in /modules/mymodule/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. @@ -202,7 +202,7 @@ return tag_block_top_edit($options); } -###File: mymodule_block_cumulus.php +### File: mymodule_block_cumulus.php This file belongs in /modules/mymodule/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. @@ -217,19 +217,19 @@ return tag_block_cumulus_edit($options); } -###File: mymodule_tag_block_cloud.html +### File: mymodule_tag_block_cloud.html This file belongs in /modules/mymodule/templates/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. <{include file="db:tag_block_cloud.html"}> -###File: mymodule_tag_block_top.html +### File: mymodule_tag_block_top.html This file belongs in /modules/mymodule/templates/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. <{include file="db:tag_block_top.html"}> -###File: mymodule_tag_block_cumulus.html +### File: mymodule_tag_block_cumulus.html This file belongs in /modules/mymodule/templates/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. |
From: <wis...@us...> - 2017-05-23 05:39:25
|
Revision: 13243 http://sourceforge.net/p/xoops/svn/13243 Author: wishcraft Date: 2017-05-23 05:39:24 +0000 (Tue, 23 May 2017) Log Message: ----------- Tag Module 2.41 (Still in Development - Alpha-1! Modified Paths: -------------- XoopsModules/tag/trunk/README.md Removed Paths: ------------- XoopsModules/tag/trunk/modules/tag/language/french/ XoopsModules/tag/trunk/modules/tag/language/schinese/ XoopsModules/tag/trunk/modules/tag/language/schinese_utf8/ Modified: XoopsModules/tag/trunk/README.md =================================================================== --- XoopsModules/tag/trunk/README.md 2017-05-23 05:09:37 UTC (rev 13242) +++ XoopsModules/tag/trunk/README.md 2017-05-23 05:39:24 UTC (rev 13243) @@ -1,5 +1,7 @@ -#Tag Module for XOOPS 2.5 +#Tag Module for XOOPS 2.5 + ##Version 2.xx (Still in Development) + ### Author: Simon Roberts <simon@snails.email> This module provides a centralized toolkit including input, display, stats and substantial more comprehensive applications, so that each module does not need to develop its own tag handling scripts. @@ -7,6 +9,7 @@ Check http://en.wikipedia.org/wiki/Tags for more info about "tag" #Usage of the Tag Module in your XOOPS Module + To enable tag for a module ("mymodule"), following steps are need: * add tag input box to your item edit form (required) * add tag storage to your item submission page (required) @@ -16,6 +19,7 @@ * add module tag blocks (optional) ##Step 1: add tag input box + This is how you would set up an inclusion of the tag module in an itemised edit form in your module, this is not explicit example and could have variegates for the module you are writing or editing. // File: edit.item.php @@ -24,6 +28,7 @@ $form_item->addElement(new XoopsFormTag("item_tag", 60, 255, $itemid, $catid = 0)); ##Step 2: add tag storage after item storage + This is how you would set up an inclusion of the tag module in an itemised submition form in your module, this is not explicit example and could have variegates for the module you are writing or editing. // File: submit.item.php @@ -31,10 +36,12 @@ $tag_handler->updateByItem($_POST["item_tag"], $itemid, $xoopsModule->getVar("dirname"), $catid = 0); ##Step 3: define functions to build info of tagged items of module + This is the plugin for the tag module to enable the taging in both the tag module and the module you are writing/editing! Editing File Example: /modules/tag/plugin/mymodule.php ###Get item fields: title, content, time, link, uid, uname, tags + function mymodule_tag_iteminfo(&$items) { $items_id = array(); @@ -66,6 +73,7 @@ } ###Remove orphan tag-item links + function mymodule_tag_synchronization($mid) { // Optional @@ -72,7 +80,9 @@ } ###Get's category catid data for module + ###Get item fields: catid, parentid, term + function mymodule_tag_category($catid) { return array('catid'->0, 'parentid' =>0, 'term' =>0); @@ -79,7 +89,9 @@ } ##Step 4: Display tags on our tiem page + These files are not explicit as filenames they could be different this is how to display the tag in the item of the module you are editing/writing. + ###File: view.item.php include_once XOOPS_ROOT_PATH."/modules/tag/include/tagbar.php"; @@ -90,22 +102,33 @@ <{include file="db:tag_bar.html"}> ##Step 5: create tag list page and tag view page and for categories as well + This is the files that belong in /modules/mymodule/xxxx.xxx.php for redirecting or displaying within your module the tag lists and views as well as categories + ###File: list.tag.php + include "header.php"; include XOOPS_ROOT_PATH . "/modules/tag/list.tag.php"; + ###File: view.tag.php + include "header.php"; include XOOPS_ROOT_PATH . "/modules/tag/view.tag.php"; + ###File: list.cat.php + include "header.php"; include XOOPS_ROOT_PATH . "/modules/tag/list.cat.php"; + ###File: view.cat.php + include "header.php"; include XOOPS_ROOT_PATH . "/modules/tag/view.cat.php"; ##Step 6: create tag blocks + This is where you create the blocks you will have to edit and create files for this within your module + ###File: xoops_version.php /* @@ -153,7 +176,9 @@ "options" => "", "template" => "mymodule_tag_block_cumulus.html", ); + ###File: mymodule_block_tag.php + This file belongs in /modules/mymodule/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. function mymodule_tag_block_cloud_show($options) @@ -178,6 +203,7 @@ } ###File: mymodule_block_cumulus.php + This file belongs in /modules/mymodule/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. function mymodule_tag_block_cumulus_show($options) @@ -192,16 +218,19 @@ } ###File: mymodule_tag_block_cloud.html + This file belongs in /modules/mymodule/templates/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. <{include file="db:tag_block_cloud.html"}> ###File: mymodule_tag_block_top.html + This file belongs in /modules/mymodule/templates/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. <{include file="db:tag_block_top.html"}> ###File: mymodule_tag_block_cumulus.html + This file belongs in /modules/mymodule/templates/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. - <{include file="db:tag_block_cumulus.html"}> \ No newline at end of file + <{include file="db:tag_block_cumulus.html"}> |
From: <wis...@us...> - 2017-05-23 05:09:41
|
Revision: 13242 http://sourceforge.net/p/xoops/svn/13242 Author: wishcraft Date: 2017-05-23 05:09:37 +0000 (Tue, 23 May 2017) Log Message: ----------- Tag Module 2.41 (Still in Development - Alpha-1! Added Paths: ----------- XoopsModules/tag/trunk/README.md XoopsModules/tag/trunk/modules/ XoopsModules/tag/trunk/modules/tag/ XoopsModules/tag/trunk/modules/tag/admin/ XoopsModules/tag/trunk/modules/tag/admin/admin.tag.php XoopsModules/tag/trunk/modules/tag/admin/header.php XoopsModules/tag/trunk/modules/tag/admin/index.php XoopsModules/tag/trunk/modules/tag/admin/menu.php XoopsModules/tag/trunk/modules/tag/admin/syn.tag.php XoopsModules/tag/trunk/modules/tag/blocks/ XoopsModules/tag/trunk/modules/tag/blocks/block.php XoopsModules/tag/trunk/modules/tag/blocks/index.html XoopsModules/tag/trunk/modules/tag/class/ XoopsModules/tag/trunk/modules/tag/class/index.html XoopsModules/tag/trunk/modules/tag/class/link.php XoopsModules/tag/trunk/modules/tag/class/tag.php XoopsModules/tag/trunk/modules/tag/footer.php XoopsModules/tag/trunk/modules/tag/header.php XoopsModules/tag/trunk/modules/tag/images/ XoopsModules/tag/trunk/modules/tag/images/delimiter.gif XoopsModules/tag/trunk/modules/tag/images/left_both.gif XoopsModules/tag/trunk/modules/tag/images/mlogo.png XoopsModules/tag/trunk/modules/tag/images/modadminbg.gif XoopsModules/tag/trunk/modules/tag/images/right_both.gif XoopsModules/tag/trunk/modules/tag/include/ XoopsModules/tag/trunk/modules/tag/include/action.module.php XoopsModules/tag/trunk/modules/tag/include/formtag.php XoopsModules/tag/trunk/modules/tag/include/functions.ini.php XoopsModules/tag/trunk/modules/tag/include/functions.php XoopsModules/tag/trunk/modules/tag/include/functions.recon.php XoopsModules/tag/trunk/modules/tag/include/plugin.dist.php XoopsModules/tag/trunk/modules/tag/include/plugin.php XoopsModules/tag/trunk/modules/tag/include/search.inc.php XoopsModules/tag/trunk/modules/tag/include/tagbar.php XoopsModules/tag/trunk/modules/tag/include/vars.php XoopsModules/tag/trunk/modules/tag/index.php XoopsModules/tag/trunk/modules/tag/language/ XoopsModules/tag/trunk/modules/tag/language/english/ XoopsModules/tag/trunk/modules/tag/language/english/admin.php XoopsModules/tag/trunk/modules/tag/language/english/blocks.php XoopsModules/tag/trunk/modules/tag/language/english/config.php XoopsModules/tag/trunk/modules/tag/language/english/index.html XoopsModules/tag/trunk/modules/tag/language/english/main.php XoopsModules/tag/trunk/modules/tag/language/english/modinfo.php XoopsModules/tag/trunk/modules/tag/language/french/ XoopsModules/tag/trunk/modules/tag/language/french/admin.php XoopsModules/tag/trunk/modules/tag/language/french/blocks.php XoopsModules/tag/trunk/modules/tag/language/french/config.php XoopsModules/tag/trunk/modules/tag/language/french/index.html XoopsModules/tag/trunk/modules/tag/language/french/main.php XoopsModules/tag/trunk/modules/tag/language/french/modinfo.php XoopsModules/tag/trunk/modules/tag/language/index.html XoopsModules/tag/trunk/modules/tag/language/schinese/ XoopsModules/tag/trunk/modules/tag/language/schinese/admin.php XoopsModules/tag/trunk/modules/tag/language/schinese/blocks.php XoopsModules/tag/trunk/modules/tag/language/schinese/config.php XoopsModules/tag/trunk/modules/tag/language/schinese/index.html XoopsModules/tag/trunk/modules/tag/language/schinese/main.php XoopsModules/tag/trunk/modules/tag/language/schinese/modinfo.php XoopsModules/tag/trunk/modules/tag/language/schinese_utf8/ XoopsModules/tag/trunk/modules/tag/language/schinese_utf8/admin.php XoopsModules/tag/trunk/modules/tag/language/schinese_utf8/blocks.php XoopsModules/tag/trunk/modules/tag/language/schinese_utf8/config.php XoopsModules/tag/trunk/modules/tag/language/schinese_utf8/index.html XoopsModules/tag/trunk/modules/tag/language/schinese_utf8/main.php XoopsModules/tag/trunk/modules/tag/language/schinese_utf8/modinfo.php XoopsModules/tag/trunk/modules/tag/list.cat.php XoopsModules/tag/trunk/modules/tag/list.tag.php XoopsModules/tag/trunk/modules/tag/plugin/ XoopsModules/tag/trunk/modules/tag/plugin/article.php XoopsModules/tag/trunk/modules/tag/plugin/newbb.php XoopsModules/tag/trunk/modules/tag/sample.php XoopsModules/tag/trunk/modules/tag/sql/ XoopsModules/tag/trunk/modules/tag/sql/index.html XoopsModules/tag/trunk/modules/tag/sql/mysql.150.sql XoopsModules/tag/trunk/modules/tag/sql/mysql.230.sql XoopsModules/tag/trunk/modules/tag/sql/mysql.sql XoopsModules/tag/trunk/modules/tag/templates/ XoopsModules/tag/trunk/modules/tag/templates/blocks/ XoopsModules/tag/trunk/modules/tag/templates/blocks/tag_block_cloud.html XoopsModules/tag/trunk/modules/tag/templates/blocks/tag_block_top.html XoopsModules/tag/trunk/modules/tag/templates/index.html XoopsModules/tag/trunk/modules/tag/templates/style.css XoopsModules/tag/trunk/modules/tag/templates/tag_bar.html XoopsModules/tag/trunk/modules/tag/templates/tag_category_list.html XoopsModules/tag/trunk/modules/tag/templates/tag_category_view.html XoopsModules/tag/trunk/modules/tag/templates/tag_index.html XoopsModules/tag/trunk/modules/tag/templates/tag_list.html XoopsModules/tag/trunk/modules/tag/templates/tag_view.html XoopsModules/tag/trunk/modules/tag/view.cat.php XoopsModules/tag/trunk/modules/tag/view.tag.php XoopsModules/tag/trunk/modules/tag/xoops_version.php Removed Paths: ------------- XoopsModules/tag/trunk/tag/ Added: XoopsModules/tag/trunk/README.md =================================================================== --- XoopsModules/tag/trunk/README.md (rev 0) +++ XoopsModules/tag/trunk/README.md 2017-05-23 05:09:37 UTC (rev 13242) @@ -0,0 +1,207 @@ +#Tag Module for XOOPS 2.5 +##Version 2.xx (Still in Development) +### Author: Simon Roberts <simon@snails.email> + +This module provides a centralized toolkit including input, display, stats and substantial more comprehensive applications, so that each module does not need to develop its own tag handling scripts. + +Check http://en.wikipedia.org/wiki/Tags for more info about "tag" + +#Usage of the Tag Module in your XOOPS Module +To enable tag for a module ("mymodule"), following steps are need: +* add tag input box to your item edit form (required) +* add tag storage to your item submission page (required) +* define functions to build info of tagged items (required) +* add tag display API to your item display page and include tag template in your item template (optional) +* add module tag view page and tag list page (optional) +* add module tag blocks (optional) + +##Step 1: add tag input box +This is how you would set up an inclusion of the tag module in an itemised edit form in your module, this is not explicit example and could have variegates for the module you are writing or editing. + + // File: edit.item.php + $itemid = $item_obj->isNew() ? 0 : $item_obj->getVar("itemid"); + include_once XOOPS_ROOT_PATH . "/modules/tag/include/formtag.php"; + $form_item->addElement(new XoopsFormTag("item_tag", 60, 255, $itemid, $catid = 0)); + +##Step 2: add tag storage after item storage +This is how you would set up an inclusion of the tag module in an itemised submition form in your module, this is not explicit example and could have variegates for the module you are writing or editing. + + // File: submit.item.php + $tag_handler = xoops_getmodulehandler('tag', 'tag'); + $tag_handler->updateByItem($_POST["item_tag"], $itemid, $xoopsModule->getVar("dirname"), $catid = 0); + +##Step 3: define functions to build info of tagged items of module +This is the plugin for the tag module to enable the taging in both the tag module and the module you are writing/editing! +Editing File Example: /modules/tag/plugin/mymodule.php + +###Get item fields: title, content, time, link, uid, uname, tags + function mymodule_tag_iteminfo(&$items) + { + $items_id = array(); + foreach (array_keys($items) as $cat_id) { + // Some handling here to build the link upon catid + // If catid is not used, just skip it + foreach (array_keys($items[$cat_id]) as $item_id) { + // In article, the item_id is "art_id" + $items_id[] = intval($item_id); + } + } + $item_handler =& xoops_getmodulehandler("item", "module"); + $items_obj = $item_handler->getObjects(new Criteria("itemid", "(" . implode(", ", $items_id) . ")", "IN"), true); + + foreach (array_keys($items) as $cat_id) { + foreach (array_keys($items[$cat_id]) as $item_id) { + $item_obj =& $items_obj[$item_id]; + $items[$cat_id][$item_id] = array( + "title" => $item_obj->getVar("item_title"), + "uid" => $item_obj->getVar("uid"), + "link" => "view.item.php?itemid={$item_id}", + "time" => $item_obj->getVar("item_time"), + "tags" => tag_parse_tag($item_obj->getVar("item_tags", "n")), // optional + "content" => "", + ); + } + } + unset($items_obj); + } + +###Remove orphan tag-item links + function mymodule_tag_synchronization($mid) + { + // Optional + } + +###Get's category catid data for module +###Get item fields: catid, parentid, term + function mymodule_tag_category($catid) + { + return array('catid'->0, 'parentid' =>0, 'term' =>0); + } + +##Step 4: Display tags on our tiem page +These files are not explicit as filenames they could be different this is how to display the tag in the item of the module you are editing/writing. +###File: view.item.php + + include_once XOOPS_ROOT_PATH."/modules/tag/include/tagbar.php"; + $xoopsTpl->assign('tagbar', tagBar($itemid, $catid = 0)); + +###File: mymodule_item_template.html + + <{include file="db:tag_bar.html"}> + +##Step 5: create tag list page and tag view page and for categories as well +This is the files that belong in /modules/mymodule/xxxx.xxx.php for redirecting or displaying within your module the tag lists and views as well as categories +###File: list.tag.php + include "header.php"; + include XOOPS_ROOT_PATH . "/modules/tag/list.tag.php"; +###File: view.tag.php + include "header.php"; + include XOOPS_ROOT_PATH . "/modules/tag/view.tag.php"; +###File: list.cat.php + include "header.php"; + include XOOPS_ROOT_PATH . "/modules/tag/list.cat.php"; +###File: view.cat.php + include "header.php"; + include XOOPS_ROOT_PATH . "/modules/tag/view.cat.php"; + +##Step 6: create tag blocks +This is where you create the blocks you will have to edit and create files for this within your module +###File: xoops_version.php + + /* + * $options: + * $options[0] - number of tags to display + * $options[1] - time duration, in days, 0 for all the time + * $options[2] - max font size (px or %) + * $options[3] - min font size (px or %) + */ + $modversion["blocks"][] = array( + "file" => "mymodule_block_tag.php", + "name" => "Module Tag Cloud", + "description" => "Show tag cloud", + "show_func" => "mymodule_tag_block_cloud_show", + "edit_func" => "mymodule_tag_block_cloud_edit", + "options" => "100|0|150|80", + "template" => "mymodule_tag_block_cloud.html", + ); + + /* + * $options: + * $options[0] - number of tags to display + * $options[1] - time duration, in days, 0 for all the time + * $options[2] - sort: a - alphabet; c - count; t - time + */ + $modversion["blocks"][] = array( + "file" => "mymodule_block_tag.php", + "name" => "Module Top Tags", + "description" => "Show top tags", + "show_func" => "mymodule_tag_block_top_show", + "edit_func" => "mymodule_tag_block_top_edit", + "options" => "50|30|c", + "template" => "mymodule_tag_block_top.html", + ); + + /* + * $options: + */ + $modversion["blocks"][] = array( + "file" => "mymodule_block_cumulus.php", + "name" => "Module Top Tags", + "description" => "Show top tags", + "show_func" => "mymodule_tag_block_cumulus_show", + "edit_func" => "mymodule_tag_block_cumulus_edit", + "options" => "", + "template" => "mymodule_tag_block_cumulus.html", + ); +###File: mymodule_block_tag.php +This file belongs in /modules/mymodule/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. + + function mymodule_tag_block_cloud_show($options) + { + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + return tag_block_cloud_show($options, basename(dirname(dirname(dirname(__DIR__))))); + } + function mymodule_tag_block_cloud_edit($options) + { + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + return tag_block_cloud_edit($options); + } + function mymodule_tag_block_top_show($options) + { + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + return tag_block_top_show($options, basename(dirname(dirname(dirname(__DIR__))))); + } + function mymodule_tag_block_top_edit($options) + { + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + return tag_block_top_edit($options); + } + +###File: mymodule_block_cumulus.php +This file belongs in /modules/mymodule/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. + + function mymodule_tag_block_cumulus_show($options) + { + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/cumulus.php"; + return tag_block_cumulus_show($options, basename(dirname(dirname(dirname(__DIR__))))); + } + function mymodule_tag_block_cumulus_edit($options) + { + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/cumulus.php"; + return tag_block_cumulus_edit($options); + } + +###File: mymodule_tag_block_cloud.html +This file belongs in /modules/mymodule/templates/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. + + <{include file="db:tag_block_cloud.html"}> + +###File: mymodule_tag_block_top.html +This file belongs in /modules/mymodule/templates/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. + + <{include file="db:tag_block_top.html"}> + +###File: mymodule_tag_block_cumulus.html +This file belongs in /modules/mymodule/templates/blocks and is adjustable in function names and filename in the xoops_version.php as seen in the example above. + + <{include file="db:tag_block_cumulus.html"}> \ No newline at end of file Added: XoopsModules/tag/trunk/modules/tag/admin/admin.tag.php =================================================================== --- XoopsModules/tag/trunk/modules/tag/admin/admin.tag.php (rev 0) +++ XoopsModules/tag/trunk/modules/tag/admin/admin.tag.php 2017-05-23 05:09:37 UTC (rev 13242) @@ -0,0 +1,143 @@ +<?php +/** + * XOOPS tag management 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 + * @author Simon Roberts <wis...@us...> + * @author Taiwen Jiang <ph...@us...> + * @subpackage tag + * @description XOOPS tag management module + * @version 2.4.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/tag + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/tag + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/tag + * @link http://internetfounder.wordpress.com + */ + +include 'header.php'; +require_once XOOPS_ROOT_PATH . "/class/xoopsformloader.php"; + +xoops_cp_header(); + +include XOOPS_ROOT_PATH . "/modules/tag/include/vars.php"; +echo function_exists("loadModuleAdminMenu") ? loadModuleAdminMenu(1) : ""; + +$limit = 10; +$modid = intval( empty($_GET['modid']) ? @$_POST['modid'] : $_GET['modid'] ); +$start = intval( empty($_GET['start']) ? @$_POST['start'] : $_GET['start'] ); +$status = intval( empty($_GET['status']) ? @$_POST['status'] : $_GET['status'] ); + +$tag_handler =& xoops_getmodulehandler("tag", $xoopsModule->getVar("dirname")); + +if (!empty($_POST['tags'])) { + foreach ($_POST['tags'] as $tag => $tag_status) { + $tag_obj =& $tag_handler->get($tag); + if (!is_object($tag_obj) || !$tag_obj->getVar("tag_id")) continue; + if ($tag_status < 0) { + $tag_handler->delete($tag_obj); + } elseif ($tag_status != $tag_obj->getVar("tag_status")) { + $tag_obj->setVar("tag_status", $tag_status); + $tag_handler->insert($tag_obj); + } + } + redirect_header("admin.tag.php?modid={$modid}&start={$start}&status={$status}", 2); + exit(); +} + +$sql = " SELECT tag_modid, COUNT(DISTINCT tag_id) AS count_tag"; +$sql .= " FROM " . $xoopsDB->prefix("tag_link"); +$sql .= " GROUP BY tag_modid"; +$counts_module = array(); +$module_list = array(); +if ( ($result = $xoopsDB->query($sql)) == false) { + xoops_error($xoopsDB->error()); +} else { + while ($myrow = $xoopsDB->fetchArray($result)) { + $counts_module[$myrow["tag_modid"]] = $myrow["count_tag"]; + } + if (!empty($counts_module)) { + $module_handler =& xoops_gethandler("module"); + $module_list = $module_handler->getList(new Criteria("mid", "(" . implode(", ", array_keys($counts_module)) . ")", "IN")); + } +} + +$opform = new XoopsSimpleForm('', 'moduleform', xoops_getenv("PHP_SELF"), "get"); +$tray = new XoopsFormElementTray(''); +$mod_select = new XoopsFormSelect(_SELECT, 'modid', $modid); +$mod_select->addOption(0, _ALL); +foreach ($module_list as $module => $module_name) { + $mod_select->addOption($module, $module_name." (" . $counts_module[$module] . ")"); +} +$tray->addElement($mod_select); +$status_select = new XoopsFormRadio("", 'status', $status); +$status_select->addOption(-1, _ALL); +$status_select->addOption(0, TAG_AM_ACTIVE); +$status_select->addOption(1, TAG_AM_INACTIVE); +$tray->addElement($status_select); +$tray->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); +$opform->addElement($tray); +$opform->display(); + +$criteria = new CriteriaCompo(); +$criteria->setSort("a"); +$criteria->setOrder("ASC"); +$criteria->setStart($start); +$criteria->setLimit($limit); +if ($status >= 0) { + $criteria->add( new Criteria("o.tag_status", $status) ); +} +if (!empty($modid)) { + $criteria->add( new Criteria("l.tag_modid", $modid) ); +} +$tags = $tag_handler->getByLimit($criteria, false); + +$form_tags = "<form name='tags' method='post' action='" . xoops_getenv("PHP_SELF") . "'>"; +$form_tags .= "<table border='0' cellpadding='4' cellspacing='1' width='100%' class='outer'>"; +$form_tags .= "<tr align='center'>"; +$form_tags .= "<td class='bg3'>" . TAG_AM_TERM . "</td>"; +$form_tags .= "<td class='bg3' width='10%'>" . TAG_AM_ACTIVE . "</td>"; +$form_tags .= "<td class='bg3' width='10%'>" . TAG_AM_INACTIVE . "</td>"; +$form_tags .= "<td class='bg3' width='10%'>" . _DELETE . "</td>"; +$form_tags .= "</tr>"; +if (empty($tags)) { + $form_tags .= "<tr><td colspan='4'>" . _NONE . "</td></tr>"; +} else { + $class_tr = array("odd", "even"); + $i = 0; + foreach (array_keys($tags) as $key) { + $form_tags .= "<tr class='" . $class_tr[(++$i) % 2] . "'>"; + $form_tags .= "<td>" . $tags[$key]["term"] . "</td>"; + $form_tags .= "<td><input type='radio' name='tags[{$key}]' value='0' " . ( $tags[$key]["status"] ? "" : " 'checked' ") . "></td>"; + $form_tags .= "<td><input type='radio' name='tags[{$key}]' value='1' " . ( $tags[$key]["status"] ? " 'checked' " : "") . "></td>"; + $form_tags .= "<td><input type='radio' name='tags[{$key}]' value='-1'></td>"; + $form_tags .= "</tr>"; + } + if ( !empty($start) || count($tags) >= $limit ) { + $count_tag = $tag_handler->getCount($criteria); + + include XOOPS_ROOT_PATH . "/class/pagenav.php"; + $nav = new XoopsPageNav($count_tag, $limit, $start, "start", "modid={$modid}&status={$status}"); + $form_tags .= "<tr><td colspan='4' align='right'>" . $nav->renderNav(4) . "</td></tr>"; + } + $form_tags .= "<tr><td colspan='4' align='center'>"; + $form_tags .= "<input type='hidden' name='status' value='{$status}'> "; + $form_tags .= "<input type='hidden' name='start' value='{$start}'> "; + $form_tags .= "<input type='hidden' name='modid' value='{$modid}'> "; + $form_tags .= "<input type='submit' name='submit' value='" . _SUBMIT . "'> "; + $form_tags .= "<input type='reset' name='submit' value='" . _CANCEL . "'>"; + $form_tags .= "</td></tr>"; +} +$form_tags .= "</table>"; +$form_tags .= "</form>"; + +echo $form_tags; +xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/tag/trunk/modules/tag/admin/header.php =================================================================== --- XoopsModules/tag/trunk/modules/tag/admin/header.php (rev 0) +++ XoopsModules/tag/trunk/modules/tag/admin/header.php 2017-05-23 05:09:37 UTC (rev 13242) @@ -0,0 +1,91 @@ +<?php +/** + * XOOPS tag management 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 + * @author Simon Roberts <wis...@us...> + * @author Taiwen Jiang <ph...@us...> + * @subpackage tag + * @description XOOPS tag management module + * @version 2.4.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/tag + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/tag + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/tag + * @link http://internetfounder.wordpress.com + */ + +include "../../../include/cp_header.php"; +require XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar("dirname") . "/include/vars.php"; +require_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar("dirname") . "/include/functions.php"; +xoops_loadLanguage("main", $xoopsModule->getVar("dirname")); + +$myts =& MyTextSanitizer::getInstance(); + +IF (!@ include_once XOOPS_ROOT_PATH . "/Frameworks/art/functions.admin.php"): + +function loadModuleAdminMenu($currentoption, $breadcrumb = "") +{ + if (!$adminmenu = $GLOBALS["xoopsModule"]->getAdminMenu()) { + return false; + } + + $breadcrumb = empty($breadcrumb) ? $adminmenu[$currentoption]["title"] : $breadcrumb; + $module_link = XOOPS_URL . "/modules/" . $GLOBALS["xoopsModule"]->getVar("dirname") . "/"; + $image_link = XOOPS_URL . "/modules/" . $GLOBALS["xoopsModule"]->getVar("dirname") . "/images"; + + $adminmenu_text =' + <style type="text/css"> + <!-- + #buttontop { float:left; width:100%; background: #e7e7e7; font-size:93%; line-height:normal; border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; margin: 0;} + #buttonbar { float:left; width:100%; background: #e7e7e7 url("'.$image_link.'/modadminbg.gif") repeat-x left bottom; font-size:93%; line-height:normal; border-left: 1px solid black; border-right: 1px solid black; margin-bottom: 12px;} + #buttonbar ul { margin:0; margin-top: 15px; padding:10px 10px 0; list-style:none; } + #buttonbar li { display:inline; margin:0; padding:0; } + #buttonbar a { float:left; background:url("'.$image_link.'/left_both.gif") no-repeat left top; margin:0; padding:0 0 0 9px; border-bottom:1px solid #000; text-decoration:none; } + #buttonbar a span { float:left; display:block; background:url("'.$image_link.'/right_both.gif") no-repeat right top; padding:5px 15px 4px 6px; font-weight:bold; color:#765; } + /* Commented Backslash Hack hides rule from IE5-Mac \*/ + #buttonbar a span {float:none;} + /* End IE5-Mac hack */ + #buttonbar a:hover span { color:#333; } + #buttonbar .current a { background-position:0 -150px; border-width:0; } + #buttonbar .current a span { background-position:100% -150px; padding-bottom:5px; color:#333; } + #buttonbar a:hover { background-position:0% -150px; } + #buttonbar a:hover span { background-position:100% -150px; } + //--> + </style> + <div id="buttontop"> + <table style="width: 100%; padding: 0; " cellspacing="0"> + <tr> + <td style="width: 70%; font-size: 10px; text-align: left; color: #2F5376; padding: 0 6px; line-height: 18px;"> + <a href="../index.php">' . $GLOBALS["xoopsModule"]->getVar("name") . '</a> + </td> + <td style="width: 30%; font-size: 10px; text-align: right; color: #2F5376; padding: 0 6px; line-height: 18px;"> + <strong>' . $GLOBALS["xoopsModule"]->getVar("name") . '</strong> ' . $breadcrumb . ' + </td> + </tr> + </table> + </div> + <div id="buttonbar"> + <ul> + '; + foreach (array_keys($adminmenu) as $key) { + $adminmenu_text .= (($currentoption == $key) ? '<li class="current">' : '<li>') . '<a href="' . $module_link . $adminmenu[$key]["link"] . '"><span>' . $adminmenu[$key]["title"] . '</span></a></li>'; + } + $adminmenu_text .= '<li><a href="' . XOOPS_URL . '/modules/system/admin.php?fct=preferences&op=showmod&mod=' . $GLOBALS["xoopsModule"]->getVar("mid") . '"><span>' . _PREFERENCES . '</span></a></li>'; + $adminmenu_text .= ' + </ul> + </div> + <br style="clear:both;" />'; + + echo $adminmenu_text; +} + +ENDIF; +?> \ No newline at end of file Added: XoopsModules/tag/trunk/modules/tag/admin/index.php =================================================================== --- XoopsModules/tag/trunk/modules/tag/admin/index.php (rev 0) +++ XoopsModules/tag/trunk/modules/tag/admin/index.php 2017-05-23 05:09:37 UTC (rev 13242) @@ -0,0 +1,92 @@ +<?php +/** + * XOOPS tag management 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 + * @author Simon Roberts <wis...@us...> + * @author Taiwen Jiang <ph...@us...> + * @subpackage tag + * @description XOOPS tag management module + * @version 2.4.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/tag + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/tag + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/tag + * @link http://internetfounder.wordpress.com + */ + +include 'header.php'; + +xoops_cp_header(); + +include XOOPS_ROOT_PATH . "/modules/tag/include/vars.php"; +echo function_exists("loadModuleAdminMenu") ? loadModuleAdminMenu(0) : ""; + +$tag_handler =& xoops_getmodulehandler("tag", $xoopsModule->getVar("dirname")); +$count_tag = $tag_handler->getCount(); + +$count_item = 0; +$sql = " SELECT COUNT(DISTINCT tl_id) FROM " . $xoopsDB->prefix("tag_link"); +if ( ($result = $xoopsDB->query($sql)) == false) { + xoops_error($xoopsDB->error()); +} else { + list($count_item) = $xoopsDB->fetchRow($result); +} + +$sql = " SELECT tag_modid, SUM(tag_count) AS count_item, COUNT(DISTINCT tag_id) AS count_tag"; +$sql .= " FROM " . $xoopsDB->prefix("tag_stats"); +$sql .= " GROUP BY tag_modid"; +$counts_module = array(); +if( ($result = $xoopsDB->query($sql)) == false) { + xoops_error($xoopsDB->error()); +} else { + while ($myrow = $xoopsDB->fetchArray($result)) { + $counts_module[$myrow["tag_modid"]] = array("count_item" => $myrow["count_item"], "count_tag" => $myrow["count_tag"]); + } + if (!empty($counts_module)) { + $module_handler =& xoops_gethandler("module"); + $module_list = $module_handler->getList(new Criteria("mid", "(" . implode(", ", array_keys($counts_module)) . ")", "IN")); + } +} + +$output= " + <style type=\"text/css\"> + label,text { + display: block; + float: left; + margin-bottom: 2px; + } + label { + text-align: right; + width: 150px; + padding-right: 20px; + } + br { + clear: left; + } + </style> +"; + +$output .= "<fieldset><legend style='font-weight: bold; color: #900;'>" . TAG_AM_STATS . "</legend>"; +$output .= "<div style='padding: 8px;'>"; +$output .= "<label><strong>" . TAG_AM_COUNT_TAG . ":</strong></label><text>" . $count_tag . "</text><br />"; +$output .= "<label><strong>" . TAG_AM_COUNT_ITEM . ":</strong></label><text>" . $count_item . "</text><br />"; +$output .= "</div>"; +$output .= "<div style='padding: 8px;'>"; +$output .= "<label><strong>" . TAG_AM_COUNT_MODULE . "</strong>:</label><text>" . TAG_AM_COUNT_TAG . " - " . TAG_AM_COUNT_ITEM . "</text><br />"; +foreach ($counts_module as $module => $count) { + $output .= "<label>" . $module_list[$module] . ":</label><text>" . $count["count_tag"] . " - " . $count["count_item"] . " [<a href=\"" . XOOPS_URL . "/modules/tag/admin/admin.tag.php?modid={$module}\">" . TAG_AM_EDIT . "</a>] [<a href=\"" . XOOPS_URL . "/modules/tag/admin/syn.tag.php?modid={$module}\">" . TAG_AM_SYNCHRONIZATION . "</a>] </text><br />"; +} +$output .= "</div>"; +$output .= "</fieldset>"; + +echo $output; +xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/tag/trunk/modules/tag/admin/menu.php =================================================================== --- XoopsModules/tag/trunk/modules/tag/admin/menu.php (rev 0) +++ XoopsModules/tag/trunk/modules/tag/admin/menu.php 2017-05-23 05:09:37 UTC (rev 13242) @@ -0,0 +1,38 @@ +<?php +/** + * XOOPS tag management 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 + * @author Simon Roberts <wis...@us...> + * @author Taiwen Jiang <ph...@us...> + * @subpackage tag + * @description XOOPS tag management module + * @version 2.4.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/tag + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/tag + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/tag + * @link http://internetfounder.wordpress.com + */ + + +if (!defined('XOOPS_ROOT_PATH')) { exit(); } + +global $adminmenu; + +$adminmenu = array(); + +$adminmenu[]= array("link" => "admin/index.php", + "title" => TAG_MI_ADMENU_INDEX); +$adminmenu[]= array("link" => "admin/admin.tag.php", + "title" => TAG_MI_ADMENU_EDIT); +$adminmenu[]= array("link" => "admin/syn.tag.php", + "title" => TAG_MI_ADMENU_SYNCHRONIZATION); +?> \ No newline at end of file Added: XoopsModules/tag/trunk/modules/tag/admin/syn.tag.php =================================================================== --- XoopsModules/tag/trunk/modules/tag/admin/syn.tag.php (rev 0) +++ XoopsModules/tag/trunk/modules/tag/admin/syn.tag.php 2017-05-23 05:09:37 UTC (rev 13242) @@ -0,0 +1,97 @@ +<?php +/** + * XOOPS tag management 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 + * @author Simon Roberts <wis...@us...> + * @author Taiwen Jiang <ph...@us...> + * @subpackage tag + * @description XOOPS tag management module + * @version 2.4.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/tag + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/tag + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/tag + * @link http://internetfounder.wordpress.com + */ + +include 'header.php'; +require_once XOOPS_ROOT_PATH . "/class/xoopsformloader.php"; + +xoops_cp_header(); + +include XOOPS_ROOT_PATH . "/modules/tag/include/vars.php"; +echo function_exists("loadModuleAdminMenu") ? loadModuleAdminMenu(2) : ""; + +$limit = 10; +$modid = intval( @$_GET['modid'] ); +$start = intval( @$_GET['start'] ); +$limit = isset($_GET['limit']) ? intval( $_GET['limit'] ) : 100; + +$sql = " SELECT tag_modid, COUNT(DISTINCT tag_id) AS count_tag"; +$sql .= " FROM " . $xoopsDB->prefix("tag_link"); +$sql .= " GROUP BY tag_modid"; +$counts_module = array(); +$module_list = array(); +if ( $result = $xoopsDB->query($sql)) { + while ($myrow = $xoopsDB->fetchArray($result)) { + $counts_module[$myrow["tag_modid"]] = $myrow["count_tag"]; + } + if (!empty($counts_module)) { + $module_handler =& xoops_gethandler("module"); + $module_list = $module_handler->getList(new Criteria("mid", "(" . implode(", ", array_keys($counts_module)) . ")", "IN")); + } +} + +$opform = new XoopsSimpleForm('', 'moduleform', xoops_getenv("PHP_SELF"), "get"); +$tray = new XoopsFormElementTray(''); +$mod_select = new XoopsFormSelect(_SELECT, 'modid', $modid); +$mod_select->addOption(-1, TAG_AM_GLOBAL); +$mod_select->addOption(0, TAG_AM_ALL); +foreach ($module_list as $module => $module_name) { + $mod_select->addOption($module, $module_name . " (" . $counts_module[$module] . ")"); +} +$tray->addElement($mod_select); +$num_select = new XoopsFormSelect(TAG_AM_NUM, 'limit', $limit); +foreach (array(10, 50, 100, 500) as $_num) { + $num_select->addOption($_num); +} +$num_select->addOption(0, _ALL); +$tray->addElement($num_select); +$tray->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); +$tray->addElement(new XoopsFormHidden("start", $start)); +$opform->addElement($tray); +$opform->display(); + + +if ( isset($_GET['start']) ) { + + $tag_handler =& xoops_getmodulehandler("tag", $xoopsModule->getVar("dirname")); + + $criteria = new CriteriaCompo(); + $criteria->setStart($start); + $criteria->setLimit($limit); + if ($modid > 0) { + $criteria->add( new Criteria("l.tag_modid", $modid) ); + } + $tags = $tag_handler->getByLimit($criteria, false); + if (empty($tags)) { + echo "<h2>" . TAG_AM_FINISHED . "</h2>"; + } else { + + foreach (array_keys($tags) as $tag_id) { + $tag_handler->update_stats($tag_id, ( $modid == -1 ) ? 0 : $tags[$tag_id]["modid"]); + } + redirect_header("syn.tag.php?modid={$modid}&start=" . ($start + $limit) . "&limit={$limit}", 2, TAG_AM_IN_PROCESS); + } +} + +xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/tag/trunk/modules/tag/blocks/block.php =================================================================== --- XoopsModules/tag/trunk/modules/tag/blocks/block.php (rev 0) +++ XoopsModules/tag/trunk/modules/tag/blocks/block.php 2017-05-23 05:09:37 UTC (rev 13242) @@ -0,0 +1,307 @@ +<?php +/** + * XOOPS tag management 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 + * @author Simon Roberts <wis...@us...> + * @author Taiwen Jiang <ph...@us...> + * @subpackage tag + * @description XOOPS tag management module + * @version 2.4.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/tag + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/tag + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/tag + * @link http://internetfounder.wordpress.com + */ + + +if (!defined('XOOPS_ROOT_PATH')) { exit(); } +include XOOPS_ROOT_PATH . "/modules/tag/include/vars.php"; +include_once XOOPS_ROOT_PATH . "/modules/tag/include/functions.php"; + +xoops_loadLanguage("blocks", "tag"); + +/**#@+ + * Function to display tag cloud + * + * Developer guide: + * <ul> + * <li>Build your tag_block_cloud_show function, for example newbb_block_tag_cloud_show;</li> + * <li>Call the tag_block_cloud_show in your defined block function:<br /> + * <code> + * function newbb_block_tag_cloud_show($options) { + * $catid = $options[4]; // Not used by newbb, Only for demonstration + * if (!@include_once XOOPS_ROOT_PATH."/modules/tag/blocks/block.php") { + * return null; + * } + * $block_content = tag_block_cloud_show($options, "newbb", $catid); + * return $block_content; + * } + * </code> + * </li> + * <li>Build your tag_block_cloud_edit function, for example newbb_block_tag_cloud_edit;</li> + * <li>Call the tag_block_cloud_edit in your defined block function:<br /> + * <code> + * function newbb_block_tag_cloud_edit($options) { + * if (!@include_once XOOPS_ROOT_PATH."/modules/tag/blocks/block.php") { + * return null; + * } + * $form = tag_block_cloud_edit($options); + * $form .= $CODE_FOR_GET_CATID; // Not used by newbb, Only for demonstration + * return $form; + * } + * </code> + * </li> + * <li>Create your tag_block_cloud template, for example newbb_block_tag_cloud.html;</li> + * <li>Include tag_block_cloud template in your created block template:<br /> + * <code> + * <{include file="db:tag_block_cloud.html"}> + * </code> + * </li> + * </ul> + * + * {@link TagTag} + * + * @param array $options: + * $options[0] - number of tags to display + * $options[1] - time duration, in days, 0 for all the time + * $options[2] - max font size (px or %) + * $options[3] - min font size (px or %) + */ +function tag_block_cloud_show( $options, $dirname = "", $catid = 0 ) +{ + global $xoopsDB; + + if (empty($dirname)) { + $modid = 0; + } elseif (isset($GLOBALS["xoopsModule"]) && is_object($GLOBALS["xoopsModule"]) && $GLOBALS["xoopsModule"]->getVar("dirname") == $dirname) { + $modid = $GLOBALS["xoopsModule"]->getVar("mid"); + } else { + $module_handler =& xoops_gethandler("module"); + $module = $module_handler->getByDirname($dirname); + $modid = $module->getVar("mid"); + } + + $block = array(); + $tag_handler =& xoops_getmodulehandler("tag", "tag"); + tag_define_url_delimiter(); + + $criteria = new CriteriaCompo(); + $criteria->setSort("count"); + $criteria->setOrder("DESC"); + $criteria->setLimit($options[0]); + $criteria->add( new Criteria("o.tag_status", 0) ); + if (!empty($modid)) { + $criteria->add( new Criteria("l.tag_modid", $modid) ); + if ($catid >= 0) { + $criteria->add( new Criteria("l.tag_catid", $catid) ); + } + } + if (!$tags = $tag_handler->getByLimit($criteria, empty($options[1]))) { + return $block; + } + + $count_max = 0; + $count_min = 0; + $tags_term = array(); + foreach (array_keys($tags) as $key) { + if ($tags[$key]["count"] > $count_max) $count_max = $tags[$key]["count"]; + if ($tags[$key]["count"] < $count_min || $count_min == 0) $count_min = $tags[$key]["count"]; + $tags_term[] = strtolower($tags[$key]["term"]); + } + array_multisort($tags_term, SORT_ASC, $tags); + $count_interval = $count_max - $count_min; + $level_limit = 5; + + $font_max = $options[2]; + $font_min = $options[3]; + $font_ratio = ($count_interval) ? ($font_max - $font_min) / $count_interval : 1; + + $tags_data = array(); + foreach (array_keys($tags) as $key) { + $tags_data[] = array( + "id" => $tags[$key]["id"], + "font" => ($count_interval) ? floor( ($tags[$key]["count"] - $count_min) * $font_ratio + $font_min ) : 100, + "level" => empty($count_max) ? 0 : floor( ($tags[$key]["count"] - $count_min) * $level_limit / $count_max ), + "term" => $tags[$key]["term"], + "count" => $tags[$key]["count"], + ); + } + unset($tags, $tags_term); + + $block["tags"] =& $tags_data; + $block["tag_dirname"] = "tag"; + if (!empty($modid)) { + $module_handler =& xoops_gethandler('module'); + if ($module_obj =& $module_handler->get($modid)) { + $block["tag_dirname"] = $module_obj->getVar("dirname"); + } + } + return $block; +} + +function tag_block_cloud_edit($options) +{ + $form = TAG_MB_ITEMS . ": <input type=\"text\" name=\"options[0]\" value=\"" . $options[0] . "\" /><br />"; + $form .= TAG_MB_TIME_DURATION . ": <input type=\"text\" name=\"options[1]\" value=\"" . $options[1] . "\" /><br />"; + $form .= TAG_MB_FONTSIZE_MAX . ": <input type=\"text\" name=\"options[2]\" value=\"" . $options[2] . "\" /><br />"; + $form .= TAG_MB_FONTSIZE_MIN . ": <input type=\"text\" name=\"options[3]\" value=\"" . $options[3] . "\" /><br />"; + + return $form; +} + + +/**#@+ + * Function to display top tag list + * + * Developer guide: + * <ul> + * <li>Build your tag_block_top_show function, for example newbb_block_tag_top_show;</li> + * <li>Call the tag_block_top_show in your defined block function:<br /> + * <code> + * function newbb_block_tag_top_show($options) { + * $catid = $options[3]; // Not used by newbb, Only for demonstration + * if (!@include_once XOOPS_ROOT_PATH."/modules/tag/blocks/block.php") { + * return null; + * } + * $block_content = tag_block_top_show($options, "newbb", $catid); + * return $block_content; + * } + * </code> + * </li> + * <li>Build your tag_block_top_edit function, for example newbb_block_tag_top_edit;</li> + * <li>Call the tag_block_top_edit in your defined block function:<br /> + * <code> + * function newbb_block_tag_top_edit($options) { + * if (!@include_once XOOPS_ROOT_PATH."/modules/tag/blocks/block.php") { + * return null; + * } + * $form = tag_block_cloud_edit($options); + * $form .= $CODE_FOR_GET_CATID; // Not used by newbb, Only for demonstration + * return $form; + * } + * </code> + * </li> + * <li>Create your tag_block_top template, for example newbb_block_tag_top.html;</li> + * <li>Include tag_block_top template in your created block template:<br /> + * <code> + * <{include file="db:tag_block_top.html"}> + * </code> + * </li> + * </ul> + * + * {@link TagTag} + * + * @param array $options: + * $options[0] - number of tags to display + * $options[1] - time duration, in days, 0 for all the time + * $options[2] - sort: a - alphabet; c - count; t - time + */ +function tag_block_top_show( $options, $dirname = "", $catid = 0 ) +{ + global $xoopsDB; + + if (empty($dirname)) { + $modid = 0; + } elseif (isset($GLOBALS["xoopsModule"]) && is_object($GLOBALS["xoopsModule"]) && $GLOBALS["xoopsModule"]->getVar("dirname") == $dirname) { + $modid = $GLOBALS["xoopsModule"]->getVar("mid"); + } else { + $module_handler =& xoops_gethandler("module"); + $module = $module_handler->getByDirname($dirname); + $modid = $module->getVar("mid"); + } + + $block = array(); + $tag_handler =& xoops_getmodulehandler("tag", "tag"); + tag_define_url_delimiter(); + + $criteria = new CriteriaCompo(); + $sort = ($options[2] == "a" || $options[2] == "alphabet") ? "count" : $options[2]; + $criteria->setSort("count"); + $criteria->setOrder("DESC"); + $criteria->setLimit($options[0]); + $criteria->add( new Criteria("o.tag_status", 0) ); + if (!empty($options[1])) { + $criteria->add( new Criteria("l.tag_time", time() - $options[1] * 24 * 3600, ">") ); + } + if (!empty($modid)) { + $criteria->add( new Criteria("l.tag_modid", $modid) ); + if ($catid >= 0) { + $criteria->add( new Criteria("l.tag_catid", $catid) ); + } + } + if (!$tags = $tag_handler->getByLimit($criteria, empty($options[1]))) { + return $block; + } + + $count_max = 0; + $count_min = 0; + $tags_sort = array(); + foreach (array_keys($tags) as $key) { + if ($tags[$key]["count"] > $count_max) $count_max = $tags[$key]["count"]; + if ($tags[$key]["count"] < $count_min) $count_min = $tags[$key]["count"]; + if ($options[2] == "a" || $options[2] == "alphabet") { + $tags_sort[] = strtolower($tags[$key]["term"]); + } + } + $count_interval = $count_max - $count_min; + + /* + $font_max = $options[1]; + $font_min = $options[2]; + $font_ratio = ($count_interval) ? ($font_max - $font_min) / $count_interval : 1; + */ + if (!empty($tags_sort)) { + array_multisort($tags_sort, SORT_ASC, $tags); + } + + $tags_data = array(); + foreach (array_keys($tags) as $key) { + $tags_data[] = array( + "id" => $tags[$key]["id"], + //"level" => ($tags[$key]["count"] - $count_min) * $font_ratio + $font_min, + "term" => $tags[$key]["term"], + "count" => $tags[$key]["count"], + ); + } + unset($tags, $tags_term); + + $block["tags"] =& $tags_data; + $block["tag_dirname"] = "tag"; + if (!empty($modid)) { + $module_handler =& xoops_gethandler('module'); + if ($module_obj =& $module_handler->get($modid)) { + $block["tag_dirname"] = $module_obj->getVar("dirname"); + } + } + return $block; +} + +function tag_block_top_edit($options) +{ + $form = TAG_MB_ITEMS . ": <input type=\"text\" name=\"options[0]\" value=\"" . $options[0] . "\" /><br />"; + $form .= TAG_MB_TIME_DURATION . ": <input type=\"text\" name=\"options[1]\" value=\"" . $options[1] . "\" /><br />"; + $form .= TAG_MB_SORT . ": <select name='options[2]'>"; + $form .= "<option value='a'"; + if ($options[2] == "a") $form .= " selected='selected' "; + $form .= ">" . TAG_MB_ALPHABET . "</option>"; + $form .= "<option value='c'"; + if ($options[2] == "c") $form .= " selected='selected' "; + $form .= ">" . TAG_MB_COUNT . "</option>"; + $form .= "<option value='t'"; + if ($options[2] == "t") $form .= " selected='selected' "; + $form .= ">" . TAG_MB_TIME . "</option>"; + $form .= "</select>"; + + return $form; +} + +?> \ No newline at end of file Added: XoopsModules/tag/trunk/modules/tag/blocks/index.html =================================================================== Added: XoopsModules/tag/trunk/modules/tag/class/index.html =================================================================== Added: XoopsModules/tag/trunk/modules/tag/class/link.php =================================================================== --- XoopsModules/tag/trunk/modules/tag/class/link.php (rev 0) +++ XoopsModules/tag/trunk/modules/tag/class/link.php 2017-05-23 05:09:37 UTC (rev 13242) @@ -0,0 +1,81 @@ +<?php +/** + * XOOPS tag management 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 + * @author Simon Roberts <wis...@us...> + * @author Taiwen Jiang <ph...@us...> + * @subpackage tag + * @description XOOPS tag management module + * @version 2.4.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/tag + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/tag + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/tag + * @link http://internetfounder.wordpress.com + */ + +if (!defined("XOOPS_ROOT_PATH")) { + exit(); +} + +class TagLink extends XoopsObject +{ + /** + * Constructor + */ + function TagLink() + { + $this->initVar("tl_id", XOBJ_DTYPE_INT, null, false); + $this->initVar("tag_id", XOBJ_DTYPE_INT, 0); + $this->initVar("tag_modid", XOBJ_DTYPE_INT, 0); + $this->initVar("tag_catid", XOBJ_DTYPE_INT, 0); + $this->initVar("tag_itemid", XOBJ_DTYPE_INT, 0); + $this->initVar("tag_time", XOBJ_DTYPE_INT, 0); + } +} + +/** + * Tag link handler class. + * @package tag + * + * @author Taiwen Jiang <ph...@us...> + * @copyright copyright © The XOOPS Project + * + * {@link XoopsPersistableObjectHandler} + * + */ + +class TagLinkHandler extends XoopsPersistableObjectHandler +{ + var $table_stats; + + /** + * Constructor + * + * @param object $db reference to the {@link XoopsDatabase} object + **/ + function TagLinkHandler(&$db) + { + $this->XoopsPersistableObjectHandler($db, "tag_link", "TagLink", "tl_id", "tag_itemid"); + $this->table_stats = $this->db->prefix("tag_stats"); + } + + /** + * clean orphan links from database + * + * @return bool true on success + */ + function cleanOrphan() + { + return parent::cleanOrphan($this->db->prefix("tag_tag"), "tag_id"); + } +} +?> \ No newline at end of file Added: XoopsModules/tag/trunk/modules/tag/class/tag.php =================================================================== --- XoopsModules/tag/trunk/modules/tag/class/tag.php (rev 0) +++ XoopsModules/tag/trunk/modules/tag/class/tag.php 2017-05-23 05:09:37 UTC (rev 13242) @@ -0,0 +1,543 @@ +<?php +/** + * XOOPS tag management 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 + * @author Simon Roberts <wis...@us...> + * @author Taiwen Jiang <ph...@us...> + * @subpackage tag + * @description XOOPS tag management module + * @version 2.4.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/tag + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/tag + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/tag + * @link http://internetfounder.wordpress.com + */ + + +if (!defined("XOOPS_ROOT_PATH")) { + exit(); +} + +class TagTag extends XoopsObject +{ + /** + * Constructor + * + * @param int $id ID of the tag, deprecated + */ + function TagTag($id = null) + { + $this->initVar("tag_id", XOBJ_DTYPE_INT, null, false); + $this->initVar("tag_term", XOBJ_DTYPE_TXTBOX, "", true); + $this->initVar("tag_status", XOBJ_DTYPE_INT, 0); + $this->initVar("tag_count", XOBJ_DTYPE_INT, 0); + } +} + +/** + * Tag object handler class. + * + * @author Taiwen Jiang <ph...@us...> + * @copyright copyright © The XOOPS Project + * + * {@link XoopsPersistableObjectHandler} + * + */ + +class TagTagHandler extends XoopsPersistableObjectHandler +{ + var $table_link; + var $table_stats; + + /** + * Constructor + * + * @param object $db reference to the {@link XoopsDatabase} object + **/ + function TagTagHandler(&$db) + { + $this->XoopsPersistableObjectHandler($db, "tag_tag", "TagTag", "tag_id", "tag_term"); + $this->table_link = $this->db->prefix("tag_link"); + $this->table_stats = $this->db->prefix("tag_stats"); + } + + /** + * Get tags linked to an item + * + * @param integer $itemid item ID + * @param integer $modid module ID, optional + * @param integer $catid id of corresponding category, optional + * @return array associative array of tags (id, term) + */ + function getByItem($itemid, $modid = 0, $catid = 0) + { + $ret = array(); + + $itemid = intval($itemid); + $modid = (empty($modid) && is_object($GLOBALS["xoopsModule"]) && "tag" != $GLOBALS["xoopsModule"]->getVar("dirname") ) ? $GLOBALS["xoopsModule"]->getVar("mid") : intval($modid); + if (empty($itemid) || empty($modid)) return $ret; + + $sql = "SELECT o.tag_id, o.tag_term" . + " FROM {$this->table_link} AS l " . + " LEFT JOIN {$this->table} AS o ON o.{$this->keyName} = l.{$this->keyName} " . + " WHERE l.tag_itemid = {$itemid} AND l.tag_modid = {$modid}" . + (empty($catid) ? "" : ( " AND l.tag_catid=" . intval($catid))) . + " ORDER BY o.tag_count DESC" + ; + if ( ($result = $this->db->query($sql)) == false) { + return $ret; + } + while ($myrow = $this->db->fetchArray($result)) { + $ret[$myrow[$this->keyName]] = $myrow["tag_term"]; + } + return $ret; + } + + /** + * Update tags linked to an item + * + * @param array $tags + * @param integer $itemid item ID + * @param integer $modid module ID or module dirname, optional + * @param integer $catid id of corresponding category, optional + * @return boolean + */ + function updateByItem($tags, $itemid, $modid = "", $catid = 0) + { + $catid = intval($catid); + $itemid = intval($itemid); + + if (!empty($modid) && !is_numeric($modid)) { + if (is_object($GLOBALS["xoopsModule"]) && $modid == $GLOBALS["xoopsModule"]->getVar("dirname") ) { + $modid = $GLOBALS["xoopsModule"]->getVar("mid"); + } else { + $module_handler =& xoops_gethandler("module"); + if ($module_obj = $module_handler->getByDirname($modid)) { + $modid = $module_obj->getVar("mid"); + } else { + $modid = 0; + } + } + } elseif (is_object($GLOBALS["xoopsModule"])) { + $modid = $GLOBALS["xoopsModule"]->getVar("mid"); + } + + if (empty($itemid) || empty($modid)) return false; + + if (empty($tags)) { + $tags = array(); + } elseif (!is_array($tags)) { + include_once XOOPS_ROOT_PATH . "/modules/tag/include/functions.php"; + $tags = tag_parse_tag(addslashes(stripslashes($tags))); + } + + $tags_existing = $this->getByItem($itemid, $modid, $catid); + $tags_delete = array_diff(array_values($tags_existing), $tags); + $tags_add = array_diff($tags, array_values($tags_existing)); + + $tags_update = array(); + + if (!empty($tags_delete)) { + $tags_delete = array_map(array($this->db, "quoteString"), $tags_delete); + if ($tags_id = $this->getIds(new Criteria("tag_term", "(" . implode(", ", $tags_delete) . ")", "IN"))) { + $sql = "DELETE FROM {$this->table_link}" . + " WHERE " . + " {$this->keyName} IN (" . implode(", ", $tags_id) . ")" . + " AND tag_modid = {$modid} AND tag_catid = {$catid} AND tag_itemid = {$itemid}"; + if ( ($result = $this->db->queryF($sql)) == false) { + } + $sql = "DELETE FROM " . $this->table . + " WHERE ". + " tag_count < 2 AND ". + " {$this->keyName} IN (" . implode(", ", $tags_id) . ")"; + ... [truncated message content] |
From: <wis...@us...> - 2017-05-12 15:27:38
|
Revision: 13241 http://sourceforge.net/p/xoops/svn/13241 Author: wishcraft Date: 2017-05-12 15:27:34 +0000 (Fri, 12 May 2017) Log Message: ----------- Pingtrax 2.01 ~ Final Release after Candidate in Major+Minor! Modified Paths: -------------- XoopsModules/pingtrax/trunk/modules/pingtrax/class/pings.php XoopsModules/pingtrax/trunk/modules/pingtrax/class/plugins.php XoopsModules/pingtrax/trunk/modules/pingtrax/xoops.org.news.article.txt XoopsModules/pingtrax/trunk/modules/pingtrax/xoops_version.php Added Paths: ----------- XoopsModules/pingtrax/releases/2.00/ XoopsModules/pingtrax/releases/2.00/README.md XoopsModules/pingtrax/releases/2.00/htdocs/ XoopsModules/pingtrax/releases/2.00/htdocs/class/ XoopsModules/pingtrax/releases/2.00/htdocs/class/smarty/ XoopsModules/pingtrax/releases/2.00/htdocs/class/smarty/xoops_plugins/ XoopsModules/pingtrax/releases/2.00/htdocs/class/smarty/xoops_plugins/function.xoTrackbacks.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/about.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin_footer.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin_header.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/items.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/menu.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/pings.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/api/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/api/.htaccess XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/api/index.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/blocks/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/blocks/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/blocks/pingtrax_blocks.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/items.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/items_pings.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/items_sitemaps.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/pings.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/plugins.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/simple_html_dom.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/sitemaps.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/trackback.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/images/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/images/add.png XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/images/copy.png XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/images/delete.png XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/images/edit.png XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/images/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/images/link.png XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/images/logo.png XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/include/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/include/category-id-names.txt XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/include/exclude-names.txt XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/include/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/include/install.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/include/item-id-names.txt XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/language/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/language/english/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/language/english/admin.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/language/english/help/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/language/english/help/help.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/language/english/help/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/language/english/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/language/english/modinfo.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/language/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/pingtrax.css XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/plugins/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/plugins/default.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/plugins/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/plugins/xcenter.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/preloads/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/preloads/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/preloads/items.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/preloads/ping.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/preloads/sitemap.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/preloads/trackback.php XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/sql/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/sql/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/sql/mysql.sql XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/sql/tables.json XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/admin/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/admin/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/admin/items.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/admin/pings.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/blocks/ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/blocks/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/blocks/trackbacks_block.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/blocks/trackbacks_url.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/index.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/sitemaps.xml.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/templates/xoTrackback.html XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/xoops.org.news.article.txt XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/xoops_version.php XoopsModules/pingtrax/releases/2.01/ XoopsModules/pingtrax/releases/2.01/README.md XoopsModules/pingtrax/releases/2.01/htdocs/ XoopsModules/pingtrax/releases/2.01/htdocs/class/ XoopsModules/pingtrax/releases/2.01/htdocs/class/smarty/ XoopsModules/pingtrax/releases/2.01/htdocs/class/smarty/xoops_plugins/ XoopsModules/pingtrax/releases/2.01/htdocs/class/smarty/xoops_plugins/function.xoTrackbacks.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/admin/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/admin/about.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/admin/admin.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/admin/admin_footer.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/admin/admin_header.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/admin/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/admin/items.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/admin/menu.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/admin/pings.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/api/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/api/.htaccess XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/api/index.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/blocks/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/blocks/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/blocks/pingtrax_blocks.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/class/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/class/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/class/items.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/class/items_pings.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/class/items_sitemaps.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/class/pings.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/class/plugins.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/class/simple_html_dom.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/class/sitemaps.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/class/trackback.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/images/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/images/add.png XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/images/copy.png XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/images/delete.png XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/images/edit.png XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/images/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/images/link.png XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/images/logo.png XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/include/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/include/category-id-names.txt XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/include/exclude-names.txt XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/include/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/include/install.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/include/item-id-names.txt XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/language/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/language/english/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/language/english/admin.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/language/english/help/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/language/english/help/help.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/language/english/help/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/language/english/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/language/english/modinfo.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/language/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/pingtrax.css XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/plugins/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/plugins/default.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/plugins/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/plugins/xcenter.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/preloads/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/preloads/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/preloads/items.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/preloads/ping.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/preloads/sitemap.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/preloads/trackback.php XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/sql/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/sql/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/sql/mysql.sql XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/sql/tables.json XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/admin/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/admin/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/admin/items.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/admin/pings.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/blocks/ XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/blocks/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/blocks/trackbacks_block.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/blocks/trackbacks_url.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/index.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/sitemaps.xml.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/templates/xoTrackback.html XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/xoops.org.news.article.txt XoopsModules/pingtrax/releases/2.01/htdocs/modules/pingtrax/xoops_version.php Added: XoopsModules/pingtrax/releases/2.00/README.md =================================================================== --- XoopsModules/pingtrax/releases/2.00/README.md (rev 0) +++ XoopsModules/pingtrax/releases/2.00/README.md 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,22 @@ +# Pinging + Trackbacks + Sitemaps +## for XOOPS 2.5 ~ http://xoops.org +### (PHP Framework Example) + +# Introduction:- + +PingTrax is a module for XOOPS 2.5 which allows for the discovery of pages on the system for both pingback discovery and recrawling updates as well as sitemaps that are actually maintained on popularity as well as trackbacks (these are also known as permilinks). + +The Trackbacks has two blocks which are generally displayed on all pages except the front one, one which displays the trackback URL, and the other for the trackback comments (This uses the XOOPS Comments System). + +It will notify pingbacks with locations of information on your site as well as poll it when it is updated, this partly uses an extra smarty class for the trackbacking, make sure this is included, it is an extra plugin + +## Requirements:- + + * You will require a system running XOOPS 2.5 + * You will require a site not running on localhost + +## Downloads:- + +You can download this module and others from sourceforge.net at the following project: https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/ + + Added: XoopsModules/pingtrax/releases/2.00/htdocs/class/smarty/xoops_plugins/function.xoTrackbacks.php =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/class/smarty/xoops_plugins/function.xoTrackbacks.php (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/class/smarty/xoops_plugins/function.xoTrackbacks.php 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,51 @@ +<?php +/** + * PingTrax Smarty Trackback Function + * + * 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 Chronolabs Cooperative http://sourceforge.net/projects/chronolabs/ + * @license GNU GPL 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Antony Roberts <wis...@us...> + * @see http://sourceforge.net/projects/xoops/ + * @see http://sourceforge.net/projects/chronolabs/ + * @see http://sourceforge.net/projects/chronolabsapi/ + * @see http://labs.coop + * @version 1.0.1 + * @since 1.0.1 + */ + +function smarty_function_xoTrackbacks($tag_args, &$comp) +{ + $attrs = $comp->_parse_attrs($tag_args); + foreach ($attrs as $arg_name => $arg_value) { + if ($arg_name == 'dirname') { + $dirname = $arg_value; + continue; + } + } + global $pingtraxitem; + if (is_a($pingtraxitem, "PingtraxItems")) + { + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . "/modules/pingtrax/pingtrax.css"); + $trackbacksTpl = new XoopsTpl(); + $trackbacksTpl->assign('permlink', $pingtraxitem->getVar('item-protocol').$pingtraxitem->getVar('item-domain').$pingtraxitem->getVar('item-referer-uri')); + $commentHandler = xoops_gethandler('comment'); + $moduleHandler = xoops_gethandler('module'); + $criteria = new CriteriaCompo(new Criteria('com_modid', $moduleHandler->getByDirname('pingtrax')->getVar('mid'))); + $criteria->add(new Criteria('com_itemid', $pingtraxitem->getVar('id'))); + $criteria->setOrder('com_created'); + $criteria->setSort('DESC'); + foreach($commentHandler->getObjects($criteria) as $comid => $comment) + $trackbacksTpl->append('trackbacks', array('subject'=>$comment->getVar('com_title'), 'comment'=>$comment->getVar('com_text'))); + ob_start(); + $trackbacksTpl->display($GLOBALS['xoops']->path('/modules/pingtrax/templates/xoTrackback.html')); + return ob_get_clean(); + } + return ''; +} Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/about.php =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/about.php (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/about.php 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,34 @@ +<?php +/** + * PingTrax Admin + * + * 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 Chronolabs Cooperative http://sourceforge.net/projects/chronolabs/ + * @license GNU GPL 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Antony Roberts <wis...@us...> + * @see http://sourceforge.net/projects/xoops/ + * @see http://sourceforge.net/projects/chronolabs/ + * @see http://sourceforge.net/projects/chronolabsapi/ + * @see http://labs.coop + * @version 1.0.1 + * @since 1.0.1 + */ + +include_once dirname(__FILE__) . '/../../../include/cp_header.php'; +include '../../../class/xoopsformloader.php'; +include_once dirname(__FILE__) . '/admin_header.php'; +xoops_cp_header(); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); + +include_once dirname(__FILE__) . '/admin_footer.php'; +//xoops_cp_footer(); Property changes on: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/about.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin.php =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin.php (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin.php 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,48 @@ +<?php +/** + * PingTrax Admin + * + * 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 Chronolabs Cooperative http://sourceforge.net/projects/chronolabs/ + * @license GNU GPL 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Antony Roberts <wis...@us...> + * @see http://sourceforge.net/projects/xoops/ + * @see http://sourceforge.net/projects/chronolabs/ + * @see http://sourceforge.net/projects/chronolabsapi/ + * @see http://labs.coop + * @version 1.0.1 + * @since 1.0.1 + */ + +include_once dirname(__FILE__) . '/admin_header.php'; +xoops_cp_header(); + + +$pingsHandler = xoops_getmodulehandler('pings', 'pingtrax'); +$itemsHandler = xoops_getmodulehandler('items', 'pingtrax'); + +$indexAdmin = new ModuleAdmin(); + +$indexAdmin->addInfoBox(_AM_PINGTRAX_STATISTICS); + +$indexAdmin->addInfoBoxLine(_AM_PINGTRAX_STATISTICS, "<label>"._AM_PINGTRAX_STATISTICS_PINGLISTS."</label>", $pingsHandler->getCountPinglists(), 'Green'); +$indexAdmin->addInfoBoxLine(_AM_PINGTRAX_STATISTICS, "<label>"._AM_PINGTRAX_STATISTICS_SITEMAPS."</label>", $pingsHandler->getCountSitemaps(), 'Green'); +$indexAdmin->addInfoBoxLine(_AM_PINGTRAX_STATISTICS, "<label>"._AM_PINGTRAX_STATISTICS_PINGSUCCESS."</label>", $pingsHandler->getSumSuccessful(), 'Green'); +$indexAdmin->addInfoBoxLine(_AM_PINGTRAX_STATISTICS, "<label>"._AM_PINGTRAX_STATISTICS_PINGFAILURES."</label>", $pingsHandler->getSumFailures(), 'Green'); +$indexAdmin->addInfoBoxLine(_AM_PINGTRAX_STATISTICS, "<label>"._AM_PINGTRAX_STATISTICS_PINGLASTSUCCESS."</label>", $pingsHandler->getLastSuccessDate('Y-m-d H:i:s'), 'Purple'); +$indexAdmin->addInfoBoxLine(_AM_PINGTRAX_STATISTICS, "<label>"._AM_PINGTRAX_STATISTICS_PINGLASTFAILED."</label>", $pingsHandler->getLastFailedDate('Y-m-d H:i:s'), 'Red'); +$indexAdmin->addInfoBoxLine(_AM_PINGTRAX_STATISTICS, "<label>"._AM_PINGTRAX_STATISTICS_URISADMIN."</label>", $itemsHandler->getCount(new Criteria('user-session', 'admin')), 'Blue'); +$indexAdmin->addInfoBoxLine(_AM_PINGTRAX_STATISTICS, "<label>"._AM_PINGTRAX_STATISTICS_URISUSERS."</label>", $itemsHandler->getCount(new Criteria('user-session', 'user')), 'Blue'); +$indexAdmin->addInfoBoxLine(_AM_PINGTRAX_STATISTICS, "<label>"._AM_PINGTRAX_STATISTICS_URISGUEST."</label>", $itemsHandler->getCount(new Criteria('user-session', 'guest')), 'Blue'); + +echo $indexAdmin->addNavigation('admin.php'); +echo $indexAdmin->renderIndex(); + +include_once dirname(__FILE__) . '/admin_footer.php'; +//xoops_cp_footer(); Property changes on: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin_footer.php =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin_footer.php (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin_footer.php 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,30 @@ +<?php +/** + * PingTrax Admin + * + * 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 Chronolabs Cooperative http://sourceforge.net/projects/chronolabs/ + * @license GNU GPL 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Antony Roberts <wis...@us...> + * @see http://sourceforge.net/projects/xoops/ + * @see http://sourceforge.net/projects/chronolabs/ + * @see http://sourceforge.net/projects/chronolabsapi/ + * @see http://labs.coop + * @version 1.0.1 + * @since 1.0.1 + */ + +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); Property changes on: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin_footer.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin_header.php =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin_header.php (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin_header.php 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,69 @@ +<?php +/** + * PingTrax Admin + * + * 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 Chronolabs Cooperative http://sourceforge.net/projects/chronolabs/ + * @license GNU GPL 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Antony Roberts <wis...@us...> + * @see http://sourceforge.net/projects/xoops/ + * @see http://sourceforge.net/projects/chronolabs/ + * @see http://sourceforge.net/projects/chronolabsapi/ + * @see http://labs.coop + * @version 1.0.1 + * @since 1.0.1 + */ + + +$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'; +require_once $path . '/class/pagenav.php'; + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +//if functions.php file exist +//require_once dirname(dirname(__FILE__)) . '/include/functions.php'; + +// 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'); + +include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + +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('pathIcon16', $pathIcon16); + +if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once XOOPS_ROOT_PATH . '/class/template.php'; + $GLOBALS['xoopsTpl'] = new XoopsTpl(); +} Property changes on: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/admin_header.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/index.html =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/index.html (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/index.html 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/items.php =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/items.php (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/items.php 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,103 @@ +<?php +/** + * PingTrax Admin + * + * 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 Chronolabs Cooperative http://sourceforge.net/projects/chronolabs/ + * @license GNU GPL 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Antony Roberts <wis...@us...> + * @see http://sourceforge.net/projects/xoops/ + * @see http://sourceforge.net/projects/chronolabs/ + * @see http://sourceforge.net/projects/chronolabsapi/ + * @see http://labs.coop + * @version 1.0.1 + * @since 1.0.1 + */ + +include_once dirname(__FILE__) . '/admin_header.php'; +xoops_cp_header(); + +xoops_load('PageNav'); +xoops_load('XoopsFormLoader'); + +$indexAdmin = new ModuleAdmin(); +echo $indexAdmin->addNavigation('pings.php'); + +$start = !isset($_REQUEST['start'])?0:(integer)$_REQUEST['start']; +$num = !isset($_REQUEST['num'])?30:(integer)$_REQUEST['num']; +$domain = !isset($_REQUEST['domain'])?'':(string)$_REQUEST['domain']; +$protocol = !isset($_REQUEST['protocol'])?'':(string)$_REQUEST['protocol']; + +$sitemapsHandler = xoops_getmodulehandler('sitemaps', 'pingtrax'); +$itemsHandler = xoops_getmodulehandler('items', 'pingtrax'); +$itemsSitemapsHandler = xoops_getmodulehandler('items_sitemaps', 'pingtrax'); + +$criteria = new Criteria('offlined', 0); +foreach($sitemapsHandler->getObjects($criteria) as $id => $sitemap) + $GLOBALS['xoopsTpl']->append('filter', array('protocol'=>$sitemap->getVar('protocol'), 'domain'=>$sitemap->getVar('domain'),'filename'=>$sitemap->getVar('filename'))); + + +$criteria = new CriteriaCompo(new Criteria('`offlined`', 0)); +if (!empty($protocol)) + $criteria->add(new Criteria('`item-protocol`', mysqli_escape_string($protocol))); +if (!empty($domain)) + $criteria->add(new Criteria('`item-domain`', $domain)); +$criteria->add(new Criteria('`type`', 'local')); +$total = $itemsHandler->getCount($criteria); +$criteria->setStart($start); +$criteria->setLimit($num); + +foreach($itemsHandler->getObjects($criteria, true) as $id => $item) +{ + $local = array(); + $local['id'] = $item->getVar('id'); + $local['dirname'] = $item->getVar('module-dirname'); + $local['class'] = $item->getVar('module-class'); + $local['itemid'] = $item->getVar('module-item-id'); + $local['catid'] = $item->getVar('item-category-id'); + $local['author']['uid'] = $item->getVar('item-author-uid'); + $local['author']['name'] = $item->getVar('item-author-name'); + $local['uri'] = $item->getVar('item-protocol').$item->getVar('item-domain').$item->getVar('item-referer-uri'); + $local['title'] = $item->getVar('item-title'); + $local['refereruri'] = $item->getVar('item-referer-uri'); + $local['discovery'] = $item->getVar('discovery-hook'); + $local['session'] = $item->getVar('user-session'); + $criteria = new CriteriaCompo(new Criteria('type', 'remote')); + $criteria->add(new Criteria('parent-id', $local['id'])); + $local['children'] = $itemsHandler->getCount($criteria); + $criteria = new CriteriaCompo(new Criteria('item-referer', $item->getVar('referer'))); + if ($itemsSitemapsHandler->getCount($criteria)==0) + { + $local['changed'] = $local['checking'] = $local['priority'] = $local['frequency'] = '---'; + } else { + $itemsitemaps = $itemsSitemapsHandler->getObjects($criteria, false); + if (isset($itemsitemaps[0]) && is_object($itemsitemaps[0])) + { + $local['frequency'] = $itemsitemaps[0]->getVar('frequency'); + $local['priority'] = $itemsitemaps[0]->getVar('priority'); + $local['changed'] = ($itemsitemaps[0]->getVar('changed')==0?"---":date('Y-m-d H:i:s', $itemsitemaps[0]->getVar('changed'))); + $local['checking'] = ($itemsitemaps[0]->getVar('checking')==0?"---":date('Y-m-d H:i:s', $itemsitemaps[0]->getVar('checking'))); + } else + $local['changed'] = $local['checking'] = $local['priority'] = $local['frequency'] = '---'; + } + $GLOBALS['xoopsTpl']->append('locals', $local); +} + +$pagenav = new XoopsPageNav($total, $num, $start, 'start', "&num=$num&protocol=$protocol&domain=$domain"); +$GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(5)); +$GLOBALS['xoopsTpl']->assign('start', $start); +$GLOBALS['xoopsTpl']->assign('num', $num); +$GLOBALS['xoopsTpl']->assign('protocol', $protocol); +$GLOBALS['xoopsTpl']->assign('domain', $domain); +$GLOBALS['xoopsTpl']->assign('phpself', XOOPS_URL . $_SERVER["PHP_SELF"]); +$GLOBALS['xoopsTpl']->display($GLOBALS['xoops']->path('/modules/pingtrax/templates/admin/items.html')); + + +include_once dirname(__FILE__) . '/admin_footer.php'; +//xoops_cp_footer(); Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/menu.php =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/menu.php (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/menu.php 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,58 @@ +<?php +/** + * PingTrax Admin + * + * 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 Chronolabs Cooperative http://sourceforge.net/projects/chronolabs/ + * @license GNU GPL 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Antony Roberts <wis...@us...> + * @see http://sourceforge.net/projects/xoops/ + * @see http://sourceforge.net/projects/chronolabs/ + * @see http://sourceforge.net/projects/chronolabsapi/ + * @see http://labs.coop + * @version 1.0.1 + * @since 1.0.1 + */ + +// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; + +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); +$pathLanguage = $path . $pathModuleAdmin; + +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { + $fileinc = $pathLanguage . '/language/english/main.php'; +} + +include_once $fileinc; + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]['title'] = _MI_PINGTRAX_DASHBOARD; +$adminmenu[$i]['link'] = "admin/admin.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/home.png' ; +++$i; +$adminmenu[$i]['title'] = _MI_PINGTRAX_PINGS; +$adminmenu[$i]['link'] = 'admin/pings.php'; +$adminmenu[$i]['icon'] = $pathIcon32.'/globe.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PINGTRAX_ITEMS; +$adminmenu[$i]['link'] = 'admin/items.php'; +$adminmenu[$i]['icon'] = $pathIcon32.'/playlist.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PINGTRAX_ABOUT; +$adminmenu[$i]['link'] = 'admin/about.php'; +$adminmenu[$i]['icon'] = $pathIcon32.'/about.png'; Property changes on: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/menu.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/pings.php =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/pings.php (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/admin/pings.php 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,109 @@ +<?php +/** + * PingTrax Admin + * + * 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 Chronolabs Cooperative http://sourceforge.net/projects/chronolabs/ + * @license GNU GPL 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Antony Roberts <wis...@us...> + * @see http://sourceforge.net/projects/xoops/ + * @see http://sourceforge.net/projects/chronolabs/ + * @see http://sourceforge.net/projects/chronolabsapi/ + * @see http://labs.coop + * @version 1.0.1 + * @since 1.0.1 + */ + +include_once dirname(__FILE__) . '/admin_header.php'; +xoops_cp_header(); + +xoops_load('PageNav'); +xoops_load('XoopsFormLoader'); + +$indexAdmin = new ModuleAdmin(); +echo $indexAdmin->addNavigation('pings.php'); + +$start = !isset($_REQUEST['start'])?0:(integer)$_REQUEST['start']; +$num = !isset($_REQUEST['num'])?30:(integer)$_REQUEST['num']; +$id = !isset($_REQUEST['id'])?0:(integer)$_REQUEST['id']; +$op = !isset($_REQUEST['op'])?'default':(string)$_REQUEST['op']; + +$pingsHandler = xoops_getmodulehandler('pings', 'pingtrax'); +$itemsHandler = xoops_getmodulehandler('items', 'pingtrax'); + +switch ($op) +{ + default: + $criteria = new Criteria('offlined', 0); + $total = $pingsHandler->getCount($criteria); + $criteria->setStart($start); + $criteria->setLimit($num); + + foreach($pingsHandler->getObjects($criteria, true) as $id => $ping) + { + if ($ping->getVar('last-item-referer')!='') + { + $item = $itemsHandler->getByReferer($ping->getVar('last-item-referer')); + if (is_object($item)) + $last = array('uri'=>$item->getVar('item-protocol').$item->getVar('item-domain').$item->getVar('item-referer-uri'), 'title' => $item->getVar('item-title')); + else + $last = array(); + } else + $last = array(); + $GLOBALS['xoopsTpl']->append('pings', array('id' => $ping->getVar('id'), 'type' => $ping->getVar('type'), 'uri' => $ping->getVar('uri'), 'last' => $last, "successes" => number_format($ping->getVar('successful-pings'), 0), "failures" => number_format($ping->getVar('failed-pings'), 0), 'success' => ($ping->getVar('success-time')!=0?date("Y-m-d H:i:s", $ping->getVar('success-time')):"---"), 'failed' => ($ping->getVar('failure-time')!=0?date("Y-m-d H:i:s", $ping->getVar('failure-time')):"---"), 'sleeptill' => ($ping->getVar('sleep-till')!=0?date("Y-m-d H:i:s", $ping->getVar('sleep-till')):"---"))); + } + + $pagenav = new XoopsPageNav($total, $num, $start, 'start', "&num=$num"); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(5)); + $GLOBALS['xoopsTpl']->assign('start', $start); + $GLOBALS['xoopsTpl']->assign('num', $num); + + $form = new XoopsThemeForm(_AM_PINGTRAX_PING_ADD, 'add-pinglist', $_SERVER['PHP_SELF']."?op=add&start=$start&num=&num"); + $form->addElement(new XoopsFormText(_AM_PINGTRAX_PING_URI, 'uri', 50, 250)); + $type = new XoopsFormSelect(_AM_PINGTRAX_PING_TYPE, 'type'); + $type->addOption('XML-RPC', 'XML-RPC'); + $type->addOption('SITEMAPS', 'SITEMAPS'); + $form->addElement($type); + $form->addElement(new XoopsFormButton(_SUBMIT, 'submit', _SUBMIT)); + $GLOBALS['xoopsTpl']->assign('addform', $form->render()); + $GLOBALS['xoopsTpl']->display($GLOBALS['xoops']->path('/modules/pingtrax/templates/admin/pings.html')); + break; + case "add": + if (!empty($_POST['uri']) && !empty($_POST['type'])) + { + $ping = $pingsHandler->create(); + $ping->setVar('uri', $_POST['uri']); + $ping->setVar('type', $_POST['type']); + if($pingsHandler->insert($ping)) + redirect_header($_SERVER["PHP_SELF"]."?start=$start&num=$num", 7, _AM_PINGTRAX_PING_ADD_SUCCESSFUL); + } + redirect_header($_SERVER["PHP_SELF"]."?start=$start&num=$num", 7, _AM_PINGTRAX_PING_ADD_FAILED); + exit(0); + case "edit": + foreach($_POST['uri'] as $id=> $uri) + { + $ping = $pingsHandler->get($id); + $ping->setVar('uri', $uri); + $ping->setVar('type', $_POST['type'][$id]); + $pingsHandler->insert($ping); + } + redirect_header($_SERVER["PHP_SELF"]."?start=$start&num=$num", 7, _AM_PINGTRAX_PING_EDIT_COMPLETE); + exit(0); + case "delete": + $ping = $pingsHandler->get($id); + if (is_a($ping, "PingtraxPings")) + if ($pingsHandler->delete($ping)) + redirect_header($_SERVER["PHP_SELF"]."?start=$start&num=$num", 7, _AM_PINGTRAX_PING_DELETE_SUCCESS); + redirect_header($_SERVER["PHP_SELF"]."?start=$start&num=$num", 7, _AM_PINGTRAX_PING_DELETE_FAILED); + exit(0); + break; +} + +include_once dirname(__FILE__) . '/admin_footer.php'; +//xoops_cp_footer(); Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/api/.htaccess =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/api/.htaccess (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/api/.htaccess 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,2 @@ +RewriteEngine On +RewriteRule ^([0-9a-z]{32,44})$ index.php?referer=$1 [L] \ No newline at end of file Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/api/index.php =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/api/index.php (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/api/index.php 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,50 @@ +<?php + +require_once dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . "mainfile.php"; +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . "class". DIRECTORY_SEPARATOR . "trackback.php"; + +$trackback = new PingtraxTrackback($GLOBALS['xoopsConfig']['sitename'], $GLOBALS['xoopsConfig']['sitename'], 'UTF-8'); + +if (!isset($_GET['referer'])) + die($trackback->recieve(false, "\$_GET['referer'] not specified and is required for trackback API!")); + +xoops_load("XoopsUserUtility"); +$moduleHandler = xoops_gethandler('module'); +$commentHandler = xoops_gethandler('comment'); +$itemsHandler = xoops_getmodulehandler('items', 'pingtrax'); +$item = $itemsHandler->getByReferer($_GET['referer']); + +if (!is_a($item, "PingtraxItems")) + die($trackback->recieve(false, $_GET['referer'] . " does not match any recorded item on the trackback API!")); + +$url = $_REQUEST["url"]; +if ($url) { + $excerpt = $_REQUEST["excerpt"]; + $name = ($_REQUEST["blog_name"]) ? $_REQUEST["blog_name"] : $url; + $subject = ($_REQUEST["title"]) ? $_REQUEST["title"] : $url; + $comment = "<strong> TrackBack from <a href=\"$url\">$name</a>:</strong><br />"; + $comment .= "<blockquote>$excerpt</blockquote>"; + + $pluginHandler = xoops_getmodulehandler('plugins', 'pingtrax'); + $remoteitem = $pluginHandler->getRemoteObject($item, $url, $name, $subject, $comment); + if (is_a($remoteitem, "PingtraxItems")) + { + $comment = $commentHandler->create(); + $comment->setVar('com_modid', $moduleHandler->getByDirname('pingtrax')->getVar('mid')); + $comment->setVar('com_title', $subject); + $comment->setVar('com_text', $comment); + $comment->setVar('com_created', time()); + $comment->setVar('com_url', $url); + $comment->setVar('com_ip', XoopsUserUtility::getIP(true)); + $comment->setVar('com_itemid', $item->getVar('id')); + $comment->setVar('dohtml', true); + $comment->setVar('dosmiley', true); + $comment->setVar('doxcode', true); + $comment->setVar('doimage', true); + $comment->setVar('dobr', true); + $commentHandler->insert($comment); + } +} else { + die($trackback->recieve(false, "Missing URL for trackback API!")); +} +die($trackback->recieve(true, "")); Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/blocks/index.html =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/blocks/index.html (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/blocks/index.html 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/blocks/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/blocks/pingtrax_blocks.php =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/blocks/pingtrax_blocks.php (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/blocks/pingtrax_blocks.php 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,44 @@ +<?php +/** + * Pingtrax Block Trackbacks Handler 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 Chronolabs Cooperative http://sourceforge.net/projects/chronolabs/ + * @license GNU GPL 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Antony Roberts <wis...@us...> + * @see http://sourceforge.net/projects/xoops/ + * @see http://sourceforge.net/projects/chronolabs/ + * @see http://sourceforge.net/projects/chronolabsapi/ + * @see http://labs.coop + * @version 1.0.1 + * @since 1.0.1 + */ + + +function pingtrax_trackbacks_block_show($args = array()) +{ + +} + + +function pingtrax_trackbacks_block_edit($args = array()) +{ + +} + +function pingtrax_trackurl_block_show($args = array()) +{ + return array('url'=>XOOPS_URL . $_SERVER["REQUEST_URI"]); +} + + +function pingtrax_trackurl_block_edit($args = array()) +{ + +} \ No newline at end of file Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/index.html =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/index.html (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/index.html 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/items.php =================================================================== --- XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/items.php (rev 0) +++ XoopsModules/pingtrax/releases/2.00/htdocs/modules/pingtrax/class/items.php 2017-05-12 15:27:34 UTC (rev 13241) @@ -0,0 +1,242 @@ +<?php +/** + * Pingtrax Database Class Handler 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 Chronolabs Cooperative http://sourceforge.net/projects/chronolabs/ + * @license GNU GPL 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Antony Roberts <wis...@us...> + * @see http://sourceforge.net/projects/xoops/ + * @see http://sourceforge.net/projects/chronolabs/ + * @see http://sourceforge.net/projects/chronolabsapi/ + * @see http://labs.coop + * @version 1.0.1 + * @since 1.0.1 + */ + + +/** + * Class PingtraxItems + * + * @subpackage pingtrax + * + * Database MySQL Table:- + * + * CREATE TABLE `pingtrax_items` ( + * `id` mediumint(20) NOT NULL AUTO_INCREMENT, + * `parent-id` mediumint(20) NOT NULL DEFAULT '0', + * `referer` varchar(44) NOT NULL DEFAULT '', + * `type` enum('local','remote','unknown') NOT NULL DEFAULT 'unknown', + * `module-dirname` varchar(30) NOT NULL DEFAULT '', + * `module-class` varchar(100) NOT NULL DEFAULT '', + * `module-item-id` mediumint(30) NOT NULL DEFAULT '0', + * `module-php-self` varchar(150) NOT NULL DEFAULT '', + * `module-get` tinytext, + * `item-author-uid` int(13) NOT NULL DEFAULT '0', + * `item-author-name` varchar(64) NOT NULL DEFAULT '', + * `item-category-id` int(20) NOT NULL DEFAULT '0', + * `item-title` varchar(180) NOT NULL DEFAULT '', + * `item-description` varchar(250) NOT NULL DEFAULT '', + * `item-protocol` enum('https://','http://') NOT NULL DEFAULT 'http://', + * `item-domain` varchar(150) NOT NULL DEFAULT '', + * `item-referer-uri` varchar(250) NOT NULL DEFAULT '', + * `item-php-self` varchar(250) NOT NULL DEFAULT '', + * `feed-protocol` enum('https://','http://') NOT NULL DEFAULT 'http://', + * `feed-domain` varchar(150) NOT NULL DEFAULT '', + * `feed-referer-uri` varchar(250) NOT NULL DEFAULT '', + * `discovery-hook` enum('php','preloader','smarty','combination','unknown') NOT NULL DEFAULT 'unknown', + * `user-session` enum('admin','user','guest','unknown') NOT NULL DEFAULT 'unknown', + * `created` int(12) NOT NULL DEFAULT '0', + * `updated` int(12) NOT NULL DEFAULT '0', + * `offlined` int(12) NOT NULL DEFAULT '0', + * PRIMARY KEY (`id`), + * KEY `SEARCH` (`referer`,`item-author-uid`,`item-author-name`,`module-dirname`,`item-protocol`,`item-domain`,`item-referer-uri`,`module-php-self`,`item-php-self`,`discovery-hook`,`id`) KEY_BLOCK_SIZE=128, + * KEY `CHRONOLOGISTICS` (`id`,`referer`,`created`,`updated`,`offlined`) USING BTREE KEY_BLOCK_SIZE=64 + * ) ENGINE=InnoDB DEFAULT CHARSET=utf8 PACK_KEYS=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC KEY_BLOCK_SIZE=16; + */ +class PingtraxItems extends XoopsObject +{ + /** + * + * @var unknown + */ + var $_configs = array(); + + /** + * + */ + function __construct() + { + $moduleHandler = xoops_gethandler('module'); + $configHandler = xoops_gethandler('config'); + $this->_configs = $configHandler->getConfigList($moduleHandler->getByDirname(basename(dirname(__DIR__)))->getVar('mid')); + + $this->XoopsObject(); + $this->initVar('id', XOBJ_DTYPE_INT, null, false); + $this->initVar('parent-id', XOBJ_DTYPE_INT, null, false); + $this->initVar('referer', XOBJ_DTYPE_OTHER, sha1(NULL), false, 44); + $this->initVar('type', XOBJ_DTYPE_ENUM, 'unknown', true, false, false, false, array('local','remote','unknown')); + $this->initVar('module-dirname', XOBJ_DTYPE_OTHER, '', false, 30); + $this->initVar('module-class', XOBJ_DTYPE_OTHER, '', false, 100); + $this->initVar('module-item-id', XOBJ_DTYPE_INT, 0, false); + $this->initVar('module-php-self', XOBJ_DTYPE_OTHER, '', false, 150); + $this->initVar('module-get', XOBJ_DTYPE_ARRAY, array(), false); + $this->initVar('item-author-uid', XOBJ_DTYPE_INT, 0, false); + $this->initVar('item-author-name', XOBJ_DTYPE_TXTBOX, '', false, 64); + $this->initVar('item-category-id', XOBJ_DTYPE_INT, null, false); + $this->initVar('item-title', XOBJ_DTYPE_TXTBOX, '', false, 180); + $this->initVar('item-description', XOBJ_DTYPE_TXTBOX, '', false, 250); + $this->initVar('item-protocol', XOBJ_DTYPE_ENUM, XOOPS_PROT, true, false, false, false, array('https://','http://')); + $this->initVar('item-domain', XOBJ_DTYPE_TXTBOX, parse_url(XOOPS_URL, PHP_URL_HOST), true, 150); + $this->initVar('item-referer-uri', XOBJ_DTYPE_TXTBOX, $_SERVER["REQUEST_URI"], true, 250); + $this->initVar('item-php-self', XOBJ_DTYPE_TXTBOX, str_replace(XOOPS_ROOT_PATH, "", $_SERVER["PHP_SELF"]), true, 250); + $this->initVar('feed-protocol', XOBJ_DTYPE_ENUM, parse_url(str_replace("%xoops_url%", XOOPS_URL, $this->_configs['default_feed_url']), PHP_URL_SCHEME), true, false, false, false, array('https://','http://')); + $this->initVar('feed-domain', XOBJ_DTYPE_TXTBOX, parse_url(str_replace("%xoops_url%", XOOPS_URL, $this->_configs['default_feed_url']), PHP_URL_HOST), true, 150); + $this->initVar('feed-referer-uri', XOBJ_DTYPE_TXTBOX, parse_url(str_replace("%xoops_url%", XOOPS_URL, $this->_configs['default_feed_url']), PHP_URL_PATH) . '/backend.php', true, 250); + $this->initVar('discovery-hook', XOBJ_DTYPE_ENUM, 'unknown', true, false, false, false, array('php','preloader','smarty','combination','unknown')); + $this->initVar('user-session', XOBJ_DTYPE_ENUM, 'unknown', true, false, false, false, array('admin','user','guest','unknown')); + $this->initVar('created', XOBJ_DTYPE_INT, 0, false); + $this->initVar('updated', XOBJ_DTYPE_INT, 0, false); + $this->initVar('offlined', XOBJ_DTYPE_INT, 0, false); + } + + /** + * + * @return string + */ + function getPingXML() + { + $xml = "<?xml version=\"1.0\"?>\n"; + $xml .= "<methodCall>\n"; + $xml .= "\t<methodName>weblogUpdates.extendedPing</methodName>\n"; + $xml .= "\t<params>\n"; + $xml .= "\t\t<param>\n"; + $xml .= "\t\t\t<value>".$this->getVar('item-title')."</value>\n"; + $xml .= "\t\t</param>\n"; + $xml .= "\t\t<param>\n"; + $xml .= "\t\t\t<value>".$this->getVar('item-protocol').$this->getVar('item-domain')."</value>\n"; + $xml .= "\t\t</param>\n"; + $xml .= "\t\t<param>\n"; + $xml .= "\t\t\t<value>".$this->getVar('item-protocol').$this->getVar('item-domain').$this->getVar('item-referer-uri')."</value>\n"; + $xml .= "\t\t</param>\n"; + $xml .= "\t\t<param>\n"; + $xml .= "\t\t\t<value>".$this->getVar('feed-protocol').$this->getVar('feed-domain').$this->getVar('feed-referer-uri')."</value>\n"; + $xml .= "\t\t</param>\n"; + $xml .= "\t</params>\n"; + $xml .= "</methodCall>"; + return $xml; + } +} + +/** + * Class PingtraxItemsHandler + */ +class PingtraxItemsHandler extends XoopsPersistableObjectHandler +{ + + /** + * @param null|object $db + */ + function __construct(&$db) + { + parent::__construct($db, "pingtrax_items", 'PingtraxItems', 'id', 'referer'); + } + + + function insert($object = NULL, $force = true) + { + if ($object->isNew()) + { + $criteria = new Criteria('referer', $object->getVar('referer')); + if ($this->getCount($criteria)==0) + $object->setVar('created', time()); + else + { + $objs = $this->getObjects($criteria, false); + if (isset($objs[0])) + return $objs[0]->getVar('id'); + else + return false; + } + if ($object->getVar('type') == 'local') + { + $sitemapsHandler = xoops_getmodulehandler('sitemaps', 'pingtrax'); + $criteria = new CriteriaCompo(new Criteria('protocol', XOOPS_PROT)); + $criteria->add(new Criteria('domain', parse_url(XOOPS_URL, PHP_URL_HOST))); + $criteria->add(new Criteria('baseurl', parse_url(XOOPS_URL, PHP_URL_PATH))); + if ($sitemapsHandler->getCount($criteria)==0) + { + $sitemap = $sitemapsHandler->create(); + $sitemap->setVar('referer', md5(XOOPS_URL.microtime(true).XOOPS_DB_USER.XOOPS_DB_PASS)); + $sitemap->setVar('protocol', XOOPS_PROT); + $sitemap->setVar('domain', parse_url(XOOPS_URL, PHP_URL_HOST)); + $sitemap->setVar('baseurl', parse_url(XOOPS_URL, PHP_URL_PATH)); + $sitemap->setVar('filename', 'sitemap.'.str_replace("://", "", XOOPS_PROT) . "." . parse_url(XOOPS_URL, PHP_URL_HOST) . '.xml'); + $sitemap = $sitemapsHandler->get($sitemap = $sitemapsHandler->insert($sitemap, true)); + } else { + $obj = $sitemapsHandler->getObjects($criteria, false); + if (is_object($obj[0])) + $sitemap = $obj[0]; + } + $items_sitemapsHandler = xoops_getmodulehandler('items_sitemaps', 'pingtrax'); + $itemsitemap = $items_sitemapsHandler->create(); + $itemsitemap->setVar('map-referer', $sitemap->getVar('referer')); + $itemsitemap->setVar('item-referer', $object->getVar('referer')); + $items_sitemapsHandler->insert($itemsitemap, true); + $items_pingsHandler = xoops_getmodulehandler('items_pings', 'pingtrax'); + $pingsHandler = xoops_getmodulehandler('pings', 'pingtrax'); + $criteria = new CriteriaCompo(new Criteria('`type`', 'XML-RPC')); + $criteria->add(new Criteria('`offlined`', 0)); + foreach($pingsHandler->getObjects($criteria, true) as $id => $ping) + { + $itemping = $items_pingsHandler->create(); + $itemping->setVar('ping-referer', $ping->getVar('referer')); + $itemping->setVar('item-referer', $object->getVar('referer')); + $items_pingsHandler->insert($itemping, true); + } + } + } else { + $object->setVar('updated', time()); + } + switch ($object->getVar('user-session')) + ... [truncated message content] |
From: <wis...@us...> - 2017-05-06 13:15:17
|
Revision: 13240 http://sourceforge.net/p/xoops/svn/13240 Author: wishcraft Date: 2017-05-06 13:15:13 +0000 (Sat, 06 May 2017) Log Message: ----------- Fontier+ 1.03 - No More Bugs - Final First Release = RC Modified Paths: -------------- XoopsModules/fontier+/trunk/README.md XoopsModules/fontier+/trunk/modules/fontier/class/indexes.php XoopsModules/fontier+/trunk/modules/fontier/download.php XoopsModules/fontier+/trunk/modules/fontier/font.php XoopsModules/fontier+/trunk/modules/fontier/glyph.php XoopsModules/fontier+/trunk/modules/fontier/index.php XoopsModules/fontier+/trunk/modules/fontier/language/english/main.php XoopsModules/fontier+/trunk/modules/fontier/language/english/modinfo.php XoopsModules/fontier+/trunk/modules/fontier/naming.php XoopsModules/fontier+/trunk/modules/fontier/preview.php XoopsModules/fontier+/trunk/modules/fontier/templates/fontier_font.html XoopsModules/fontier+/trunk/modules/fontier/templates/fontier_index.html Added Paths: ----------- XoopsModules/fontier+/releases/1.03/ XoopsModules/fontier+/releases/1.03/README.md XoopsModules/fontier+/releases/1.03/modules/ XoopsModules/fontier+/releases/1.03/modules/fontier/ XoopsModules/fontier+/releases/1.03/modules/fontier/.htaccess XoopsModules/fontier+/releases/1.03/modules/fontier/admin/ XoopsModules/fontier+/releases/1.03/modules/fontier/admin/.htaccess XoopsModules/fontier+/releases/1.03/modules/fontier/admin/about.php XoopsModules/fontier+/releases/1.03/modules/fontier/admin/footer.php XoopsModules/fontier+/releases/1.03/modules/fontier/admin/header.php XoopsModules/fontier+/releases/1.03/modules/fontier/admin/identities.php XoopsModules/fontier+/releases/1.03/modules/fontier/admin/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/admin/index.php XoopsModules/fontier+/releases/1.03/modules/fontier/admin/menu.php XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/ XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/fontier_block_tag.php XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/last_downloads_items.php XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/last_viewed_items.php XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/new_items.php XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/popular_downloads_items.php XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/popular_items.php XoopsModules/fontier+/releases/1.03/modules/fontier/class/ XoopsModules/fontier+/releases/1.03/modules/fontier/class/identities.php XoopsModules/fontier+/releases/1.03/modules/fontier/class/identities_indexes.php XoopsModules/fontier+/releases/1.03/modules/fontier/class/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/class/indexes.php XoopsModules/fontier+/releases/1.03/modules/fontier/class/objects.php XoopsModules/fontier+/releases/1.03/modules/fontier/comment_delete.php XoopsModules/fontier+/releases/1.03/modules/fontier/comment_edit.php XoopsModules/fontier+/releases/1.03/modules/fontier/comment_new.php XoopsModules/fontier+/releases/1.03/modules/fontier/comment_post.php XoopsModules/fontier+/releases/1.03/modules/fontier/comment_reply.php XoopsModules/fontier+/releases/1.03/modules/fontier/crons/ XoopsModules/fontier+/releases/1.03/modules/fontier/crons/caching.php XoopsModules/fontier+/releases/1.03/modules/fontier/crons/glyphs.php XoopsModules/fontier+/releases/1.03/modules/fontier/crons/identities.php XoopsModules/fontier+/releases/1.03/modules/fontier/crons/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/crons/polling.php XoopsModules/fontier+/releases/1.03/modules/fontier/download/ XoopsModules/fontier+/releases/1.03/modules/fontier/download/.htaccess XoopsModules/fontier+/releases/1.03/modules/fontier/download/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/download.php XoopsModules/fontier+/releases/1.03/modules/fontier/font/ XoopsModules/fontier+/releases/1.03/modules/fontier/font/.htaccess XoopsModules/fontier+/releases/1.03/modules/fontier/font/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/font.php XoopsModules/fontier+/releases/1.03/modules/fontier/glyph/ XoopsModules/fontier+/releases/1.03/modules/fontier/glyph/.htaccess XoopsModules/fontier+/releases/1.03/modules/fontier/glyph/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/glyph.php XoopsModules/fontier+/releases/1.03/modules/fontier/header.php XoopsModules/fontier+/releases/1.03/modules/fontier/images/ XoopsModules/fontier+/releases/1.03/modules/fontier/images/assets/ XoopsModules/fontier+/releases/1.03/modules/fontier/images/assets/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/images/icons/ XoopsModules/fontier+/releases/1.03/modules/fontier/images/icons/16x16/ XoopsModules/fontier+/releases/1.03/modules/fontier/images/icons/16x16/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/images/icons/24x24/ XoopsModules/fontier+/releases/1.03/modules/fontier/images/icons/24x24/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/images/icons/32x32/ XoopsModules/fontier+/releases/1.03/modules/fontier/images/icons/32x32/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/images/icons/48x48/ XoopsModules/fontier+/releases/1.03/modules/fontier/images/icons/48x48/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/images/icons/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/images/icons/module_fontier+.png XoopsModules/fontier+/releases/1.03/modules/fontier/images/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/include/ XoopsModules/fontier+/releases/1.03/modules/fontier/include/comment_functions.php XoopsModules/fontier+/releases/1.03/modules/fontier/include/functions.php XoopsModules/fontier+/releases/1.03/modules/fontier/include/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/include/notification.inc.php XoopsModules/fontier+/releases/1.03/modules/fontier/index.php XoopsModules/fontier+/releases/1.03/modules/fontier/language/ XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/ XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/admin.php XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/blocks.css XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/blocks.php XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/errors.php XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/mail_template/ XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/mail_template/fontier_newfont_notify.tpl XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/mail_template/fontier_newindex_notify.tpl XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/main.php XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/modinfo.php XoopsModules/fontier+/releases/1.03/modules/fontier/language/english/style.css XoopsModules/fontier+/releases/1.03/modules/fontier/language/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/list.tag.php XoopsModules/fontier+/releases/1.03/modules/fontier/naming/ XoopsModules/fontier+/releases/1.03/modules/fontier/naming/.htaccess XoopsModules/fontier+/releases/1.03/modules/fontier/naming/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/naming.php XoopsModules/fontier+/releases/1.03/modules/fontier/notification_update.php XoopsModules/fontier+/releases/1.03/modules/fontier/preloads/ XoopsModules/fontier+/releases/1.03/modules/fontier/preloads/caching.php XoopsModules/fontier+/releases/1.03/modules/fontier/preloads/glyphs.php XoopsModules/fontier+/releases/1.03/modules/fontier/preloads/identities.php XoopsModules/fontier+/releases/1.03/modules/fontier/preloads/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/preloads/polling.php XoopsModules/fontier+/releases/1.03/modules/fontier/preview/ XoopsModules/fontier+/releases/1.03/modules/fontier/preview/.htaccess XoopsModules/fontier+/releases/1.03/modules/fontier/preview/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/preview.php XoopsModules/fontier+/releases/1.03/modules/fontier/releases.php XoopsModules/fontier+/releases/1.03/modules/fontier/sql/ XoopsModules/fontier+/releases/1.03/modules/fontier/sql/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/sql/mysql.sql XoopsModules/fontier+/releases/1.03/modules/fontier/sql/tables.diz XoopsModules/fontier+/releases/1.03/modules/fontier/templates/ XoopsModules/fontier+/releases/1.03/modules/fontier/templates/admin/ XoopsModules/fontier+/releases/1.03/modules/fontier/templates/admin/fontier_identities.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/admin/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/blocks/ XoopsModules/fontier+/releases/1.03/modules/fontier/templates/blocks/fontier_last_downloads_items.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/blocks/fontier_last_viewed_items.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/blocks/fontier_new_items.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/blocks/fontier_popular_downloads_items.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/blocks/fontier_popular_items.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/blocks/fontier_tag_block_cloud.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/blocks/fontier_tag_block_top.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/blocks/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/fontier_font.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/fontier_index.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/fontier_index_base.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/fontier_releases.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/fontier_uploads.html XoopsModules/fontier+/releases/1.03/modules/fontier/templates/index.html XoopsModules/fontier+/releases/1.03/modules/fontier/uploads.php XoopsModules/fontier+/releases/1.03/modules/fontier/view.tag.php XoopsModules/fontier+/releases/1.03/modules/fontier/xoops_version.php XoopsModules/fontier+/releases/1.03/modules/tag/ XoopsModules/fontier+/releases/1.03/modules/tag/plugin/ XoopsModules/fontier+/releases/1.03/modules/tag/plugin/fontier.php Added: XoopsModules/fontier+/releases/1.03/README.md =================================================================== --- XoopsModules/fontier+/releases/1.03/README.md (rev 0) +++ XoopsModules/fontier+/releases/1.03/README.md 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,35 @@ +# Fontier+ 1.03 +## Client for Chronolabs Cooperative ~ Fonting Repository Services API +### Author: Simon Antony Roberts (Sydney) <wis...@us...> + +This module is a client for the XOOPS Platform which is for the Fonting Repository Services API (ie. http://api.fonts4web.org.uk). This client will download from the repository a list of the supported fonts and set a browsable display for them on the website you are operating on with XOOPS 2.5. + +It uses the XoopsCache to cache preview, naming cards as well as details and stores some information in the browser, it does clean the cache and you have two options to fire the module either with a cronjob or leave it to execute it batch of tasks with the preloaders in XOOPS Framework 2.5 + +## Installation + +Download the resource for this module and install, then point and configure the path for the API in the preferences of the module, that should be all you need to do! + +## Search Engine Friendly URLS (rewrite) + +If you are using .htaccess with apache there is a mod-rewrite function in the preferences the following .htaccess goes in the root of your XOOPS_ROOT_PATH spot as .htaccess the following is to be copied into there:- + + RewriteEngine On + RewriteRule ^fontier/index.html ./modules/fontier/index.php [L,NC,QSA] + RewriteRule ^fontier/([0-9]+)/([0-9]+)/(.*?)/index.html ./modules/fontier/index.php?start=$1&limit=$2&base=$3 [L,NC,QSA] + RewriteRule ^fontier/uploads.html$ ./modules/fontier/uploads.php [L,NC,QSA] + RewriteRule ^fontier/releases.html$ ./modules/fontier/releases.php [L,NC,QSA] + RewriteRule ^fontier/naming/([0-9]+).(png|jpg|gif) ./modules/fontier/naming/$1.$2 [L,NC,QSA] + RewriteRule ^fontier/preview/([0-9]+).(png|jpg|gif) ./modules/fontier/preview/$1.$2 [L,NC,QSA] + RewriteRule ^fontier/download/([0-9]+).(7z|ar|bz2|gz|lzma|lz|lzo|tar|tar.7z|tar.Z|tar.bz2|tar.gz|tar.lz|tar.lzma|tar.lzo|tar.xz|tgz|zip|rar|rar5|exe|zoo|zx) ./modules/fontier/download.php?id=$1&format=$2 [L,NC,QSA] + RewriteRule ^fontier/glyph/([0-9]+)-([0-9]+).(png|jpg|gif) ./modules/fontier/glyph/$1-$2.$3 [L,NC,QSA] + RewriteRule ^fontier/font/([0-9]+)/(.*?).html ./modules/fontier/font.php?id=$1 [L,NC,QSA] + +## Maintenance & Scheduled Actions + +There is two options in this module for the maintanence and scheduled actions, you can either set in the preferences how often they fire with XOOPS Preloaders, or you can use a Linux Cronjob or Windows Scheduled Task, the following crontab is what you would set if you are using cronjobs, you would specify this in the module preferences. + + */25 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/identities.php >/dev/null 2>&1 + */15 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/polling.php >/dev/null 2>&1 + */35 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/glyphs.php >/dev/null 2>&1 + */45 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/caching.php >/dev/null 2>&1 Added: XoopsModules/fontier+/releases/1.03/modules/fontier/.htaccess =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/.htaccess (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/.htaccess 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,47 @@ +############################################################################################################################ +# +# Chronolabs Cooperative Fontier+ +# +# 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 Chronolabs Cooperative http://labs.coop +# @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +# @package fontier+ +# @since 1.0.1 +# @author Simon Roberts <wis...@us...> +# @subpackage fontier+ +# @description XOOPS Client for Fonts REST API - http://fonts.labs.coop +# @link http://fonts.labs.coop +# @link http://sourceforge.net/projects/chronolabs +# @link http://cipher.labs.coop +# +############################################################################################################################ +php_value memory_limit 360M +php_value error_reporting 0 +php_value display_errors 0 + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^bin/(.*?)/(font).ufo/(.*?)$ $2.php?mode=ufo&clause=$1&path=$3 [L,NC,QSA] +RewriteRule ^bin/(.*?)/(font).(.*?)?(.*?)$ $2.php?mode=$3&clause=$1&$4 [L,NC,QSA] +RewriteRule ^bin/(.*?)/(font).(.*?)$ $2.php?mode=$3&clause=$1 [L,NC,QSA] +RewriteRule ^css/(.*?)/(.*?).(css)?(.*?)$ $3.php?clause=$1&$4 [L,NC,QSA] +RewriteRule ^css/(.*?)/(.*?).(css)$ $3.php?clause=$1 [L,NC,QSA] +RewriteRule ^api/(.*?)/(callback).api?(.*?)$ $2.php?mode=$1&$3 [L,NC,QSA] +RewriteRule ^api/(.*?)/(callback).api$ $2.php?mode=$1 [L,NC,QSA] +RewriteRule ^(download)/([0-9]+)$ $1.php?mode=$1&clause=$2 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/upload.html$ index.php?mode=upload&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/surveys.html$ index.php?mode=surveys&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/survey.html$ index.php?mode=survey&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/(.*?)/font.html$ index.php?mode=font&clause=$1&name=$2 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/node.html$ index.php?mode=node&clause=$1 [L,NC,QSA] +RewriteRule ^(keys|fixes|typal)/nodes.html$ index.php?mode=nodes&clause=$1 [L,NC,QSA] +RewriteRule ^index.html$ index.php?mode=index [L,NC,QSA] + Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/.htaccess ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/.htaccess =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/admin/.htaccess (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/admin/.htaccess 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,38 @@ +############################################################################################################################ +# +# Chronolabs Cooperative Fontier+ +# +# 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 Chronolabs Cooperative http://labs.coop +# @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +# @package fontier+ +# @since 1.0.1 +# @author Simon Roberts <wis...@us...> +# @subpackage fontier+ +# @description XOOPS Client for Fonts REST API - http://fonts.labs.coop +# @link http://fonts.labs.coop +# @link http://sourceforge.net/projects/chronolabs +# @link http://cipher.labs.coop +# +############################################################################################################################ +php_value memory_limit 360M +php_value error_reporting 0 +php_value display_errors 0 + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^([0-9a-z]+)/upload.html$ admin.php?op=upload&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/surveys.html$ admin.php?op=surveys&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/survey.html$ admin.php?op=survey&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/(.*?)/font.html$ admin.php?op=font&clause=$1&name=$2 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/node.html$ admin.php?op=node&clause=$1 [L,NC,QSA] +RewriteRule ^(keys|fixes|typal)/nodes.html$ admin.php?op=nodes&clause=$1 [L,NC,QSA] + Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/.htaccess ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/about.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/admin/about.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/admin/about.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,33 @@ +<?php +/** + * Font Converter for fonts2web.org.uk +* +* 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://fonts2web.org.uk +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage convert +* @description Converts fonts to web distributional format in a zip pack stamped +* @version 1.0.1 +* @link http://fonts2web.org.uk +* @link http://fonts.labs.coop +* @link http://internetfounder.wordpress.com +*/ +include_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; +include_once __DIR__ . '/header.php'; +xoops_cp_header(); + +$module_info = $module_handler->get($xoopsModule->getVar('mid')); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation(basename(__FILE__)); +echo $aboutAdmin->renderAbout('XXXXXXXXXXXXX', false); + +include_once __DIR__ . '/footer.php'; Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/about.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/footer.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/admin/footer.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/admin/footer.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,25 @@ +<?php +/** + * Font Converter for fonts2web.org.uk +* +* 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://fonts2web.org.uk +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage convert +* @description Converts fonts to web distributional format in a zip pack stamped +* @version 1.0.1 +* @link http://fonts2web.org.uk +* @link http://fonts.labs.coop +* @link http://internetfounder.wordpress.com +*/ + +echo "<div class='adminfooter'>\n" . " <div style='text-align: center;'>\n" . " <a href='http://au.syd.labs.coop' rel='external'>Chronolabs Cooperative</a>\n" . " </div>\n" . '</div>'; + +xoops_cp_footer(); Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/footer.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/header.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/admin/header.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/admin/header.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,57 @@ +<?php +/** + * Font Converter for fonts2web.org.uk +* +* 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://fonts2web.org.uk +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage convert +* @description Converts fonts to web distributional format in a zip pack stamped +* @version 1.0.1 +* @link http://fonts2web.org.uk +* @link http://fonts.labs.coop +* @link http://internetfounder.wordpress.com +*/ + +$path = dirname(dirname(dirname(__DIR__))); +include_once dirname(__DIR__) . '/header.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +//if functions.php file exist +//require_once dirname(__DIR__) . '/include/functions.php'; + +// 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'); + +$myts = MyTextSanitizer::getInstance(); + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once XOOPS_ROOT_PATH . '/class/template.php'; + $xoopsTpl = new XoopsTpl(); +} + +include_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'); + +xoops_loadLanguage('user'); +if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once $GLOBALS['xoops']->path('/class/template.php'); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); +} Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/header.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/identities.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/admin/identities.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/admin/identities.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,72 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage please + * @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets + * @version 1.0.5 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please + * @link http://internetfounder.wordpress.com + */ + + require_once (__DIR__ . DIRECTORY_SEPARATOR . 'header.php'); + + xoops_loadLanguage('errors', _MD_FONTIER_MODULE_DIRNAME); + + if (isset($_REQUEST['start'])) + $start = intval($_REQUEST['start']); + else + $start = 0; + + if (isset($_REQUEST['limit'])) + $limit = intval($_REQUEST['limit']); + else + $limit = 30; + + $identitiesHandler = xoops_getModuleHandler('identities', _MD_FONTIER_MODULE_DIRNAME); + $criteria = new Criteria('polled',0,">"); + $total = $identitiesHandler->getCount($criteria); + $criteria->setStart($start); + $criteria->setLimit($limit); + $identities = $identitiesHandler->getObjects($criteria); + + if ($start>0 && count($identities)==0 && $total > 0) + { + $start = $start - $limit; + if ($start<0) + $start = 0; + header("Location: " . XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . "/admin/identities.php?start=$start&limit=$limit"); + exit(0); + } + + if ($start == 0 && count($identities) == 0) + { + redirect_header(XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . "/admin/index.php", 4, _ERR_FONTIER_ADMIN_NOFONTS); + exit(0); + } + + xoops_cp_header(); + $identityAdmin = new ModuleAdmin(); + echo $identityAdmin->addNavigation(basename(__FILE__)); + foreach($identities as $identity) + $GLOBALS['xoopsTpl']->append('identities', $identity->getAdminPanelArray()); + xoops_load('XoopsPageNav'); + $nav = new XoopsPageNav($total, $limit, $start, 'start', '&limit='.$limit); + $GLOBALS['xoopsTpl']->assign('pagenav', $nav->renderNav(5)); + echo $GLOBALS['xoopsTpl']->display(dirname(__DIR__) . '/templates/admin/fontier_identities.html'); + xoops_cp_footer(); + exit(0); + +?> \ No newline at end of file Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/identities.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/index.html =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/admin/index.html (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/admin/index.html 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/index.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/admin/index.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/admin/index.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,43 @@ +<?php +/** + * Font Converter for fonts2web.org.uk +* +* 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://fonts2web.org.uk +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage convert +* @description Converts fonts to web distributional format in a zip pack stamped +* @version 1.0.1 +* @link http://fonts2web.org.uk +* @link http://fonts.labs.coop +* @link http://internetfounder.wordpress.com +*/ + +include_once __DIR__ . '/header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); + +$identitiesHandler = xoops_getModuleHandler('identities', _MD_FONTIER_MODULE_DIRNAME); + +$indexAdmin->addInfoBox(_MA_FONTIER_ADMIN_STATISTICS); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_TOTALIDENTITIES. "</infolabel>", $identitiesHandler->getTotalIdentities(), 'Green'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_TOTALPOLLED. "</infolabel>", $identitiesHandler->getTotalPolled(), 'Green'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_TOTALTOPOLL. "</infolabel>", $identitiesHandler->getTotalToPoll(), 'Blue'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_TOTALVIEWS. "</infolabel>", $identitiesHandler->getTotalViews(), 'Purple'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_TOTALDOWNLOADS. "</infolabel>", $identitiesHandler->getTotalDownloads(), 'Purple'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_FILESINCACHE. "</infolabel>", $identitiesHandler->getTotalFilesInCache(), 'Red'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_MBSINCACHE. "</infolabel>", $identitiesHandler->getTotalMbsInCache(), 'Red'); + +echo $indexAdmin->addNavigation(basename(__FILE__)); +echo $indexAdmin->renderIndex(); + +include_once __DIR__ . '/footer.php'; +//xoops_cp_footer(); Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/index.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/menu.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/admin/menu.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/admin/menu.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,52 @@ +<?php +/** + * Font Converter for fonts2web.org.uk +* +* 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://fonts2web.org.uk +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage convert +* @description Converts fonts to web distributional format in a zip pack stamped +* @version 1.0.1 +* @link http://fonts2web.org.uk +* @link http://fonts.labs.coop +* @link http://internetfounder.wordpress.com +*/ + +$path = dirname(dirname(dirname(__DIR__))); +include_once $path . '/mainfile.php'; + +$dirname = basename(dirname(__DIR__)); +$module_handler = xoops_getHandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); +$pathLanguage = $path . $pathModuleAdmin; + +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'modinfo.php')) { + $fileinc = $pathLanguage . '/language/english/modinfo.php'; +} + +include_once $fileinc; + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]['title'] = _MD_FONTIER_ADMINMENU_HOME; +$adminmenu[$i]['link'] = 'admin/index.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/home.png'; +++$i; +$adminmenu[$i]['title'] = _MD_FONTIER_ADMINMENU_FONTS; +$adminmenu[$i]['link'] = 'admin/identities.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/download.png'; +++$i; +$adminmenu[$i]['title'] = _MD_FONTIER_ADMINMENU_ABOUT; +$adminmenu[$i]['link'] = 'admin/about.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/about.png'; Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/admin/menu.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/fontier_block_tag.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/fontier_block_tag.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/fontier_block_tag.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,78 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + + +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + +/** + * + * @param unknown $options + * @return array|string[]|NULL[]|number[][][]|mixed[][][]|unknown[][][] + */ +function fontier_tag_block_cloud_show($options) +{ + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + if (file_exists(XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php")) + return tag_block_cloud_show($options, _MD_FONTIER_MODULE_DIRNAME); + return array(); +} + +/** + * + * @param unknown $options + * @return string + */ +function fontier_tag_block_cloud_edit($options) +{ + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + if (file_exists(XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php")) + return tag_block_cloud_edit($options); + return ''; +} + + +/** + * + * @param unknown $options + * @return array|string[]|NULL[]|unknown[][][] + */ +function fontier_tag_block_top_show($options) +{ + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + if (file_exists(XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php")) + return tag_block_top_show($options, _MD_FONTIER_MODULE_DIRNAME); + return array(); +} + +/** + * + * @param unknown $options + * @return string + */ +function fontier_tag_block_top_edit($options) +{ + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + if (file_exists(XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php")) + return tag_block_top_edit($options); + return ''; +} \ No newline at end of file Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/fontier_block_tag.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/index.html =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/index.html (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/index.html 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/last_downloads_items.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/last_downloads_items.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/last_downloads_items.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,72 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + +function fontier_last_downloads_items_show($options) +{ + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/blocks.css'); + + $block = array('display' => $options[1]); + $identitiesHandler = xoops_getModuleHandler('identities' ,basename(dirname(__DIR__))); + $criteria = new CriteriaCompo(new Criteria('downloaded', '0', '>')); + $criteria->setOrder('DESC'); + $criteria->setSort('downloaded'); + $criteria->setLimit($options[0]); + if ($identities = $identitiesHandler->getObjects($criteria)) + { + $block['items'] = array(); + foreach($identities as $key => $identity) + { + $block['items'][$key]['name'] = $identity->getVar('name'); + $block['items'][$key]['views'] = $identity->getVar('views'); + $block['items'][$key]['downloads'] = $identity->getVar('downloads'); + $block['items'][$key]['naming'] = $identity->getNamingURL(); + $block['items'][$key]['url'] = $identity->getFontURL('id'); + } + return $block; + } + return false; +} + + +function fontier_last_downloads_items_edit($options) +{ + $form = ''; + // Sort order ************************************************************* + // (0=older first, 1=newer first) + $form .= '<b>'._MB_FONTIER_NUMBER."</b> <input type='textbox' name='option[]' size='8', maxlen='4' value='".$options[0]."' /><br/>"; + $form .= '<b>'._MB_FONTIER_DISPLAY."</b> <select name='options[]'>\n"; + $form .= "<option value='naming'"; + if ( $options[1] == 'naming' ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_NAMING."</option>\n"; + $form .= "<option value='text'"; + if($options[1] == 'text'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_TEXT.'</option>'; + $form .= "</select>\n"; + return $form; +} Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/last_downloads_items.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/last_viewed_items.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/last_viewed_items.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/last_viewed_items.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,72 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + +function fontier_last_viewed_items_show($options) +{ + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/blocks.css'); + + $block = array('display' => $options[1]); + $identitiesHandler = xoops_getModuleHandler('identities' ,basename(dirname(__DIR__))); + $criteria = new CriteriaCompo(new Criteria('last', '0', '>')); + $criteria->setOrder('DESC'); + $criteria->setSort('last'); + $criteria->setLimit($options[0]); + if ($identities = $identitiesHandler->getObjects($criteria)) + { + $block['items'] = array(); + foreach($identities as $key => $identity) + { + $block['items'][$key]['name'] = $identity->getVar('name'); + $block['items'][$key]['views'] = $identity->getVar('views'); + $block['items'][$key]['downloads'] = $identity->getVar('downloads'); + $block['items'][$key]['naming'] = $identity->getNamingURL(); + $block['items'][$key]['url'] = $identity->getFontURL('id'); + } + return $block; + } + return false; +} + + +function fontier_last_viewed_items_edit($options) +{ + $form = ''; + // Sort order ************************************************************* + // (0=older first, 1=newer first) + $form .= '<b>'._MB_FONTIER_NUMBER."</b> <input type='textbox' name='option[]' size='8', maxlen='4' value='".$options[0]."' /><br/>"; + $form .= '<b>'._MB_FONTIER_DISPLAY."</b> <select name='options[]'>\n"; + $form .= "<option value='naming'"; + if ( $options[1] == 'naming' ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_NAMING."</option>\n"; + $form .= "<option value='text'"; + if($options[1] == 'text'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_TEXT.'</option>'; + $form .= "</select>\n"; + return $form; +} Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/last_viewed_items.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/new_items.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/new_items.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/new_items.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,72 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + +function fontier_new_items_show($options) +{ + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/blocks.css'); + + $block = array('display' => $options[1]); + $identitiesHandler = xoops_getModuleHandler('identities' ,basename(dirname(__DIR__))); + $criteria = new CriteriaCompo(new Criteria('polling', '0', '>')); + $criteria->setOrder('DESC'); + $criteria->setSort('polled'); + $criteria->setLimit($options[0]); + if ($identities = $identitiesHandler->getObjects($criteria)) + { + $block['items'] = array(); + foreach($identities as $key => $identity) + { + $block['items'][$key]['name'] = $identity->getVar('name'); + $block['items'][$key]['views'] = $identity->getVar('views'); + $block['items'][$key]['downloads'] = $identity->getVar('downloads'); + $block['items'][$key]['naming'] = $identity->getNamingURL(); + $block['items'][$key]['url'] = $identity->getFontURL('id'); + } + return $block; + } + return false; +} + + +function fontier_new_items_edit($options) +{ + $form = ''; + // Sort order ************************************************************* + // (0=older first, 1=newer first) + $form .= '<b>'._MB_FONTIER_NUMBER."</b> <input type='textbox' name='option[]' size='8', maxlen='4' value='".$options[0]."' /><br/>"; + $form .= '<b>'._MB_FONTIER_DISPLAY."</b> <select name='options[]'>\n"; + $form .= "<option value='naming'"; + if ( $options[1] == 'naming' ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_NAMING."</option>\n"; + $form .= "<option value='text'"; + if($options[1] == 'text'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_TEXT.'</option>'; + $form .= "</select>\n"; + return $form; +} Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/new_items.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/popular_downloads_items.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/popular_downloads_items.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/popular_downloads_items.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,72 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + +function fontier_popular_downloads_items_show($options) +{ + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/blocks.css'); + + $block = array('display' => $options[1]); + $identitiesHandler = xoops_getModuleHandler('identities' ,basename(dirname(__DIR__))); + $criteria = new CriteriaCompo(new Criteria('downloads', '0', '>')); + $criteria->setOrder('DESC'); + $criteria->setSort('downloads'); + $criteria->setLimit($options[0]); + if ($identities = $identitiesHandler->getObjects($criteria)) + { + $block['items'] = array(); + foreach($identities as $key => $identity) + { + $block['items'][$key]['name'] = $identity->getVar('name'); + $block['items'][$key]['views'] = $identity->getVar('views'); + $block['items'][$key]['downloads'] = $identity->getVar('downloads'); + $block['items'][$key]['naming'] = $identity->getNamingURL(); + $block['items'][$key]['url'] = $identity->getFontURL('id'); + } + return $block; + } + return false; +} + + +function fontier_popular_downloads_items_edit($options) +{ + $form = ''; + // Sort order ************************************************************* + // (0=older first, 1=newer first) + $form .= '<b>'._MB_FONTIER_NUMBER."</b> <input type='textbox' name='option[]' size='8', maxlen='4' value='".$options[0]."' /><br/>"; + $form .= '<b>'._MB_FONTIER_DISPLAY."</b> <select name='options[]'>\n"; + $form .= "<option value='naming'"; + if ( $options[1] == 'naming' ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_NAMING."</option>\n"; + $form .= "<option value='text'"; + if($options[1] == 'text'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_TEXT.'</option>'; + $form .= "</select>\n"; + return $form; +} Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/popular_downloads_items.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/popular_items.php =================================================================== --- XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/popular_items.php (rev 0) +++ XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/popular_items.php 2017-05-06 13:15:13 UTC (rev 13240) @@ -0,0 +1,72 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + +function fontier_popular_items_show($options) +{ + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/blocks.css'); + + $block = array('display' => $options[1]); + $identitiesHandler = xoops_getModuleHandler('identities' ,basename(dirname(__DIR__))); + $criteria = new CriteriaCompo(new Criteria('views', '0', '>')); + $criteria->setOrder('DESC'); + $criteria->setSort('views'); + $criteria->setLimit($options[0]); + if ($identities = $identitiesHandler->getObjects($criteria)) + { + $block['items'] = array(); + foreach($identities as $key => $identity) + { + $block['items'][$key]['name'] = $identity->getVar('name'); + $block['items'][$key]['views'] = $identity->getVar('views'); + $block['items'][$key]['downloads'] = $identity->getVar('downloads'); + $block['items'][$key]['naming'] = $identity->getNamingURL(); + $block['items'][$key]['url'] = $identity->getFontURL('id'); + } + return $block; + } + return false; +} + + +function fontier_popular_items_edit($options) +{ + $form = ''; + // Sort order ************************************************************* + // (0=older first, 1=newer first) + $form .= '<b>'._MB_FONTIER_NUMBER."</b> <input type='textbox' name='option[]' size='8', maxlen='4' value='".$options[0]."' /><br/>"; + $form .= '<b>'._MB_FONTIER_DISPLAY."</b> <select name='options[]'>\n"; + $form .= "<option value='naming'"; + if ( $options[1] == 'naming' ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_NAMING."</option>\n"; + $form .= "<option value='text'"; + if($options[1] == 'text'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_TEXT.'</option>'; + $form .= "</select>\n"; + return $form; +} Property changes on: XoopsModules/fontier+/releases/1.03/modules/fontier/blocks/popular_items.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newli... [truncated message content] |
From: <wis...@us...> - 2017-05-06 02:20:40
|
Revision: 13239 http://sourceforge.net/p/xoops/svn/13239 Author: wishcraft Date: 2017-05-06 02:20:38 +0000 (Sat, 06 May 2017) Log Message: ----------- final fixes for Fontier+ 1.01 -- url rewrite fix index.html! Modified Paths: -------------- XoopsModules/fontier+/releases/1.01/modules/fontier/class/indexes.php XoopsModules/fontier+/trunk/modules/fontier/class/indexes.php Modified: XoopsModules/fontier+/releases/1.01/modules/fontier/class/indexes.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/class/indexes.php 2017-05-06 01:51:24 UTC (rev 13238) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/class/indexes.php 2017-05-06 02:20:38 UTC (rev 13239) @@ -108,7 +108,7 @@ global $fontierConfigsList; if ($fontierConfigsList['htaccess']) { - return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/index/0/30/' . urlencode($this->getVar('base')) . '.' . $fontierConfigsList['html']; + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/0/30/' . urlencode($this->getVar('base')) . '/index.' . $fontierConfigsList['html']; } return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/?op=index&start=0&limit=30&base=' . urlencode($this->getVar('base')); } @@ -266,7 +266,7 @@ $limit = !isset($_GET['limit'])?30:(integer)$_GET['limit']; if ($fontierConfigsList['htaccess']) { - return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/index/0/'.$limit.'/' . urlencode($base) . '.' . $fontierConfigsList['html']; + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/0/'.$limit.'/' . urlencode($base) . '/index.' . $fontierConfigsList['html']; } return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/?op=index&start=0&limit=30&base=' . urlencode($base); } Modified: XoopsModules/fontier+/trunk/modules/fontier/class/indexes.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/class/indexes.php 2017-05-06 01:51:24 UTC (rev 13238) +++ XoopsModules/fontier+/trunk/modules/fontier/class/indexes.php 2017-05-06 02:20:38 UTC (rev 13239) @@ -108,7 +108,7 @@ global $fontierConfigsList; if ($fontierConfigsList['htaccess']) { - return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/index/0/30/' . urlencode($this->getVar('base')) . '.' . $fontierConfigsList['html']; + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/0/30/' . urlencode($this->getVar('base')) . '/index.' . $fontierConfigsList['html']; } return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/?op=index&start=0&limit=30&base=' . urlencode($this->getVar('base')); } @@ -266,7 +266,7 @@ $limit = !isset($_GET['limit'])?30:(integer)$_GET['limit']; if ($fontierConfigsList['htaccess']) { - return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/index/0/'.$limit.'/' . urlencode($base) . '.' . $fontierConfigsList['html']; + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/0/'.$limit.'/' . urlencode($base) . '/index.' . $fontierConfigsList['html']; } return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/?op=index&start=0&limit=30&base=' . urlencode($base); } |
From: <wis...@us...> - 2017-05-06 01:51:27
|
Revision: 13238 http://sourceforge.net/p/xoops/svn/13238 Author: wishcraft Date: 2017-05-06 01:51:24 +0000 (Sat, 06 May 2017) Log Message: ----------- final fixes for Fontier+ 1.01! Modified Paths: -------------- XoopsModules/fontier+/releases/1.01/README.md XoopsModules/fontier+/releases/1.01/modules/fontier/glyph.php XoopsModules/fontier+/releases/1.01/modules/fontier/naming.php XoopsModules/fontier+/releases/1.01/modules/fontier/preview.php XoopsModules/fontier+/trunk/README.md XoopsModules/fontier+/trunk/modules/fontier/glyph.php XoopsModules/fontier+/trunk/modules/fontier/naming.php XoopsModules/fontier+/trunk/modules/fontier/preview.php Modified: XoopsModules/fontier+/releases/1.01/README.md =================================================================== --- XoopsModules/fontier+/releases/1.01/README.md 2017-05-06 01:07:37 UTC (rev 13237) +++ XoopsModules/fontier+/releases/1.01/README.md 2017-05-06 01:51:24 UTC (rev 13238) @@ -19,7 +19,10 @@ RewriteRule ^fontier/([0-9]+)/([0-9]+)/(.*?)/index.html ./modules/fontier/index.php?start=$1&limit=$2&base=$3 [L,NC,QSA] RewriteRule ^fontier/uploads.html$ ./modules/fontier/uploads.php [L,NC,QSA] RewriteRule ^fontier/releases.html$ ./modules/fontier/releases.php [L,NC,QSA] - RewriteRule ^fontier/(.*?) ./modules/fontier/$1 [L,NC,QSA] + RewriteRule ^fontier/naming/([0-9]+).(png|jpg|gif) ./modules/fontier/naming/$1.$2 [L,NC,QSA] + RewriteRule ^fontier/preview/([0-9]+).(png|jpg|gif) ./modules/fontier/preview/$1.$2 [L,NC,QSA] + RewriteRule ^fontier/glyph/([0-9]+)-([0-9]+).(png|jpg|gif) ./modules/fontier/glyph/$1-$2.$3 [L,NC,QSA] + RewriteRule ^fontier/font/([0-9]+)/(.*?).html ./modules/fontier/font.php?id=$1 [L,NC,QSA] ## Maintenance & Scheduled Actions Modified: XoopsModules/fontier+/releases/1.01/modules/fontier/glyph.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/glyph.php 2017-05-06 01:07:37 UTC (rev 13237) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/glyph.php 2017-05-06 01:51:24 UTC (rev 13238) @@ -57,8 +57,8 @@ } if ($fontierConfigsList['htaccess']) { - if (!strpos($font->getGlyphURL('id', $_GET['char'], $_GET['format']), $_SERVER['REQUEST_URI'])) { - header('Location: ' . $font->getGlyphURL('id', $_GET['char'], $_GET['format'])); + if (!strpos($font->getGlyphURL($_GET['char'], $_GET['format']), $_SERVER['REQUEST_URI'])) { + header('Location: ' . $font->getGlyphURL($_GET['char'], $_GET['format'])); exit(0); } } Modified: XoopsModules/fontier+/releases/1.01/modules/fontier/naming.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/naming.php 2017-05-06 01:07:37 UTC (rev 13237) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/naming.php 2017-05-06 01:51:24 UTC (rev 13238) @@ -49,8 +49,8 @@ } if ($fontierConfigsList['htaccess']) { - if (!strpos($identity->getNamingURL('id', $_GET['format']), $_SERVER['REQUEST_URI'])) { - header('Location: ' . $identity->getNamingURL('id', $_GET['format'])); + if (!strpos($identity->getNamingURL($_GET['format']), $_SERVER['REQUEST_URI'])) { + header('Location: ' . $identity->getNamingURL($_GET['format'])); exit(0); } } Modified: XoopsModules/fontier+/releases/1.01/modules/fontier/preview.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/preview.php 2017-05-06 01:07:37 UTC (rev 13237) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/preview.php 2017-05-06 01:51:24 UTC (rev 13238) @@ -48,8 +48,8 @@ } if ($fontierConfigsList['htaccess']) { - if (!strpos($font->getPreviewURL('id', $_GET['format']), $_SERVER['REQUEST_URI'])) { - header('Location: ' . $font->getPreviewURL('id', $_GET['format'])); + if (!strpos($font->getPreviewURL($_GET['format']), $_SERVER['REQUEST_URI'])) { + header('Location: ' . $font->getPreviewURL($_GET['format'])); exit(0); } } Modified: XoopsModules/fontier+/trunk/README.md =================================================================== --- XoopsModules/fontier+/trunk/README.md 2017-05-06 01:07:37 UTC (rev 13237) +++ XoopsModules/fontier+/trunk/README.md 2017-05-06 01:51:24 UTC (rev 13238) @@ -19,7 +19,10 @@ RewriteRule ^fontier/([0-9]+)/([0-9]+)/(.*?)/index.html ./modules/fontier/index.php?start=$1&limit=$2&base=$3 [L,NC,QSA] RewriteRule ^fontier/uploads.html$ ./modules/fontier/uploads.php [L,NC,QSA] RewriteRule ^fontier/releases.html$ ./modules/fontier/releases.php [L,NC,QSA] - RewriteRule ^fontier/(.*?) ./modules/fontier/$1 [L,NC,QSA] + RewriteRule ^fontier/naming/([0-9]+).(png|jpg|gif) ./modules/fontier/naming/$1.$2 [L,NC,QSA] + RewriteRule ^fontier/preview/([0-9]+).(png|jpg|gif) ./modules/fontier/preview/$1.$2 [L,NC,QSA] + RewriteRule ^fontier/glyph/([0-9]+)-([0-9]+).(png|jpg|gif) ./modules/fontier/glyph/$1-$2.$3 [L,NC,QSA] + RewriteRule ^fontier/font/([0-9]+)/(.*?).html ./modules/fontier/font.php?id=$1 [L,NC,QSA] ## Maintenance & Scheduled Actions Modified: XoopsModules/fontier+/trunk/modules/fontier/glyph.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/glyph.php 2017-05-06 01:07:37 UTC (rev 13237) +++ XoopsModules/fontier+/trunk/modules/fontier/glyph.php 2017-05-06 01:51:24 UTC (rev 13238) @@ -57,8 +57,8 @@ } if ($fontierConfigsList['htaccess']) { - if (!strpos($font->getGlyphURL('id', $_GET['char'], $_GET['format']), $_SERVER['REQUEST_URI'])) { - header('Location: ' . $font->getGlyphURL('id', $_GET['char'], $_GET['format'])); + if (!strpos($font->getGlyphURL($_GET['char'], $_GET['format']), $_SERVER['REQUEST_URI'])) { + header('Location: ' . $font->getGlyphURL($_GET['char'], $_GET['format'])); exit(0); } } Modified: XoopsModules/fontier+/trunk/modules/fontier/naming.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/naming.php 2017-05-06 01:07:37 UTC (rev 13237) +++ XoopsModules/fontier+/trunk/modules/fontier/naming.php 2017-05-06 01:51:24 UTC (rev 13238) @@ -49,8 +49,8 @@ } if ($fontierConfigsList['htaccess']) { - if (!strpos($identity->getNamingURL('id', $_GET['format']), $_SERVER['REQUEST_URI'])) { - header('Location: ' . $identity->getNamingURL('id', $_GET['format'])); + if (!strpos($identity->getNamingURL($_GET['format']), $_SERVER['REQUEST_URI'])) { + header('Location: ' . $identity->getNamingURL($_GET['format'])); exit(0); } } Modified: XoopsModules/fontier+/trunk/modules/fontier/preview.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/preview.php 2017-05-06 01:07:37 UTC (rev 13237) +++ XoopsModules/fontier+/trunk/modules/fontier/preview.php 2017-05-06 01:51:24 UTC (rev 13238) @@ -48,8 +48,8 @@ } if ($fontierConfigsList['htaccess']) { - if (!strpos($font->getPreviewURL('id', $_GET['format']), $_SERVER['REQUEST_URI'])) { - header('Location: ' . $font->getPreviewURL('id', $_GET['format'])); + if (!strpos($font->getPreviewURL($_GET['format']), $_SERVER['REQUEST_URI'])) { + header('Location: ' . $font->getPreviewURL($_GET['format'])); exit(0); } } |
From: <wis...@us...> - 2017-05-06 01:07:39
|
Revision: 13237 http://sourceforge.net/p/xoops/svn/13237 Author: wishcraft Date: 2017-05-06 01:07:37 +0000 (Sat, 06 May 2017) Log Message: ----------- fixing typos in README.md! Modified Paths: -------------- XoopsModules/fontier+/releases/1.01/README.md XoopsModules/fontier+/trunk/README.md Modified: XoopsModules/fontier+/releases/1.01/README.md =================================================================== --- XoopsModules/fontier+/releases/1.01/README.md 2017-05-06 00:36:51 UTC (rev 13236) +++ XoopsModules/fontier+/releases/1.01/README.md 2017-05-06 01:07:37 UTC (rev 13237) @@ -14,18 +14,18 @@ If you are using .htaccess with apache there is a mod-rewrite function in the preferences the following .htaccess goes in the root of your XOOPS_ROOT_PATH spot as .htaccess the following is to be copied into there:- - RewriteEngine On - RewriteRule ^fontier/index.html ./modules/fontier/index.php [L,NC,QSA] - RewriteRule ^fontier/([0-9]+)/([0-9]+)/(.*?)/index.html ./modules/fontier/index.php?start=$1&limit=$2&base=$3 [L,NC,QSA] - RewriteRule ^fontier/uploads.html$ ./modules/convert/uploads.php [L,NC,QSA] - RewriteRule ^fontier/releases.html$ ./modules/convert/releases.php [L,NC,QSA] - RewriteRule ^fontier/(.*?) ./modules/fontier/$1 [L,NC,QSA] + RewriteEngine On + RewriteRule ^fontier/index.html ./modules/fontier/index.php [L,NC,QSA] + RewriteRule ^fontier/([0-9]+)/([0-9]+)/(.*?)/index.html ./modules/fontier/index.php?start=$1&limit=$2&base=$3 [L,NC,QSA] + RewriteRule ^fontier/uploads.html$ ./modules/fontier/uploads.php [L,NC,QSA] + RewriteRule ^fontier/releases.html$ ./modules/fontier/releases.php [L,NC,QSA] + RewriteRule ^fontier/(.*?) ./modules/fontier/$1 [L,NC,QSA] ## Maintenance & Scheduled Actions There is two options in this module for the maintanence and scheduled actions, you can either set in the preferences how often they fire with XOOPS Preloaders, or you can use a Linux Cronjob or Windows Scheduled Task, the following crontab is what you would set if you are using cronjobs, you would specify this in the module preferences. - */25 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/identities.php >/dev/null 2>&1 - */15 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/polling.php >/dev/null 2>&1 - */35 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/glyphs.php >/dev/null 2>&1 - */45 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/caching.php >/dev/null 2>&1 + */25 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/identities.php >/dev/null 2>&1 + */15 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/polling.php >/dev/null 2>&1 + */35 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/glyphs.php >/dev/null 2>&1 + */45 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/caching.php >/dev/null 2>&1 Modified: XoopsModules/fontier+/trunk/README.md =================================================================== --- XoopsModules/fontier+/trunk/README.md 2017-05-06 00:36:51 UTC (rev 13236) +++ XoopsModules/fontier+/trunk/README.md 2017-05-06 01:07:37 UTC (rev 13237) @@ -14,18 +14,18 @@ If you are using .htaccess with apache there is a mod-rewrite function in the preferences the following .htaccess goes in the root of your XOOPS_ROOT_PATH spot as .htaccess the following is to be copied into there:- - RewriteEngine On - RewriteRule ^fontier/index.html ./modules/fontier/index.php [L,NC,QSA] - RewriteRule ^fontier/([0-9]+)/([0-9]+)/(.*?)/index.html ./modules/fontier/index.php?start=$1&limit=$2&base=$3 [L,NC,QSA] - RewriteRule ^fontier/uploads.html$ ./modules/convert/uploads.php [L,NC,QSA] - RewriteRule ^fontier/releases.html$ ./modules/convert/releases.php [L,NC,QSA] - RewriteRule ^fontier/(.*?) ./modules/fontier/$1 [L,NC,QSA] + RewriteEngine On + RewriteRule ^fontier/index.html ./modules/fontier/index.php [L,NC,QSA] + RewriteRule ^fontier/([0-9]+)/([0-9]+)/(.*?)/index.html ./modules/fontier/index.php?start=$1&limit=$2&base=$3 [L,NC,QSA] + RewriteRule ^fontier/uploads.html$ ./modules/fontier/uploads.php [L,NC,QSA] + RewriteRule ^fontier/releases.html$ ./modules/fontier/releases.php [L,NC,QSA] + RewriteRule ^fontier/(.*?) ./modules/fontier/$1 [L,NC,QSA] ## Maintenance & Scheduled Actions There is two options in this module for the maintanence and scheduled actions, you can either set in the preferences how often they fire with XOOPS Preloaders, or you can use a Linux Cronjob or Windows Scheduled Task, the following crontab is what you would set if you are using cronjobs, you would specify this in the module preferences. - */25 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/identities.php >/dev/null 2>&1 - */15 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/polling.php >/dev/null 2>&1 - */35 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/glyphs.php >/dev/null 2>&1 - */45 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/caching.php >/dev/null 2>&1 + */25 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/identities.php >/dev/null 2>&1 + */15 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/polling.php >/dev/null 2>&1 + */35 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/glyphs.php >/dev/null 2>&1 + */45 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/crons/caching.php >/dev/null 2>&1 |
From: <wis...@us...> - 2017-05-06 00:36:56
|
Revision: 13236 http://sourceforge.net/p/xoops/svn/13236 Author: wishcraft Date: 2017-05-06 00:36:51 +0000 (Sat, 06 May 2017) Log Message: ----------- Fontier+ First Release 1.01! Modified Paths: -------------- XoopsModules/fontier+/trunk/modules/fontier/class/identities.php XoopsModules/fontier+/trunk/modules/fontier/class/indexes.php XoopsModules/fontier+/trunk/modules/fontier/class/objects.php XoopsModules/fontier+/trunk/modules/fontier/crons/identities.php XoopsModules/fontier+/trunk/modules/fontier/crons/polling.php XoopsModules/fontier+/trunk/modules/fontier/download.php XoopsModules/fontier+/trunk/modules/fontier/font.php XoopsModules/fontier+/trunk/modules/fontier/glyph.php XoopsModules/fontier+/trunk/modules/fontier/header.php XoopsModules/fontier+/trunk/modules/fontier/include/comment_functions.php XoopsModules/fontier+/trunk/modules/fontier/include/functions.php XoopsModules/fontier+/trunk/modules/fontier/include/notification.inc.php XoopsModules/fontier+/trunk/modules/fontier/index.php XoopsModules/fontier+/trunk/modules/fontier/language/english/admin.php XoopsModules/fontier+/trunk/modules/fontier/language/english/errors.php XoopsModules/fontier+/trunk/modules/fontier/language/english/main.php XoopsModules/fontier+/trunk/modules/fontier/language/english/modinfo.php XoopsModules/fontier+/trunk/modules/fontier/naming.php XoopsModules/fontier+/trunk/modules/fontier/notification_update.php XoopsModules/fontier+/trunk/modules/fontier/preloads/caching.php XoopsModules/fontier+/trunk/modules/fontier/preloads/glyphs.php XoopsModules/fontier+/trunk/modules/fontier/preloads/identities.php XoopsModules/fontier+/trunk/modules/fontier/preloads/polling.php XoopsModules/fontier+/trunk/modules/fontier/preview.php XoopsModules/fontier+/trunk/modules/fontier/releases.php XoopsModules/fontier+/trunk/modules/fontier/sql/mysql.sql XoopsModules/fontier+/trunk/modules/fontier/sql/tables.diz XoopsModules/fontier+/trunk/modules/fontier/uploads.php XoopsModules/fontier+/trunk/modules/fontier/xoops_version.php Added Paths: ----------- XoopsModules/fontier+/releases/ XoopsModules/fontier+/releases/1.01/ XoopsModules/fontier+/releases/1.01/README.md XoopsModules/fontier+/releases/1.01/modules/ XoopsModules/fontier+/releases/1.01/modules/fontier/ XoopsModules/fontier+/releases/1.01/modules/fontier/.htaccess XoopsModules/fontier+/releases/1.01/modules/fontier/admin/ XoopsModules/fontier+/releases/1.01/modules/fontier/admin/.htaccess XoopsModules/fontier+/releases/1.01/modules/fontier/admin/about.php XoopsModules/fontier+/releases/1.01/modules/fontier/admin/footer.php XoopsModules/fontier+/releases/1.01/modules/fontier/admin/header.php XoopsModules/fontier+/releases/1.01/modules/fontier/admin/identities.php XoopsModules/fontier+/releases/1.01/modules/fontier/admin/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/admin/index.php XoopsModules/fontier+/releases/1.01/modules/fontier/admin/menu.php XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/ XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/fontier_block_tag.php XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/last_downloads_items.php XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/last_viewed_items.php XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/new_items.php XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/popular_downloads_items.php XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/popular_items.php XoopsModules/fontier+/releases/1.01/modules/fontier/class/ XoopsModules/fontier+/releases/1.01/modules/fontier/class/identities.php XoopsModules/fontier+/releases/1.01/modules/fontier/class/identities_indexes.php XoopsModules/fontier+/releases/1.01/modules/fontier/class/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/class/indexes.php XoopsModules/fontier+/releases/1.01/modules/fontier/class/objects.php XoopsModules/fontier+/releases/1.01/modules/fontier/comment_delete.php XoopsModules/fontier+/releases/1.01/modules/fontier/comment_edit.php XoopsModules/fontier+/releases/1.01/modules/fontier/comment_new.php XoopsModules/fontier+/releases/1.01/modules/fontier/comment_post.php XoopsModules/fontier+/releases/1.01/modules/fontier/comment_reply.php XoopsModules/fontier+/releases/1.01/modules/fontier/crons/ XoopsModules/fontier+/releases/1.01/modules/fontier/crons/caching.php XoopsModules/fontier+/releases/1.01/modules/fontier/crons/glyphs.php XoopsModules/fontier+/releases/1.01/modules/fontier/crons/identities.php XoopsModules/fontier+/releases/1.01/modules/fontier/crons/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/crons/polling.php XoopsModules/fontier+/releases/1.01/modules/fontier/download/ XoopsModules/fontier+/releases/1.01/modules/fontier/download/.htaccess XoopsModules/fontier+/releases/1.01/modules/fontier/download/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/download.php XoopsModules/fontier+/releases/1.01/modules/fontier/font/ XoopsModules/fontier+/releases/1.01/modules/fontier/font/.htaccess XoopsModules/fontier+/releases/1.01/modules/fontier/font/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/font.php XoopsModules/fontier+/releases/1.01/modules/fontier/glyph/ XoopsModules/fontier+/releases/1.01/modules/fontier/glyph/.htaccess XoopsModules/fontier+/releases/1.01/modules/fontier/glyph/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/glyph.php XoopsModules/fontier+/releases/1.01/modules/fontier/header.php XoopsModules/fontier+/releases/1.01/modules/fontier/images/ XoopsModules/fontier+/releases/1.01/modules/fontier/images/assets/ XoopsModules/fontier+/releases/1.01/modules/fontier/images/assets/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/images/icons/ XoopsModules/fontier+/releases/1.01/modules/fontier/images/icons/16x16/ XoopsModules/fontier+/releases/1.01/modules/fontier/images/icons/16x16/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/images/icons/24x24/ XoopsModules/fontier+/releases/1.01/modules/fontier/images/icons/24x24/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/images/icons/32x32/ XoopsModules/fontier+/releases/1.01/modules/fontier/images/icons/32x32/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/images/icons/48x48/ XoopsModules/fontier+/releases/1.01/modules/fontier/images/icons/48x48/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/images/icons/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/images/icons/module_fontier+.png XoopsModules/fontier+/releases/1.01/modules/fontier/images/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/include/ XoopsModules/fontier+/releases/1.01/modules/fontier/include/comment_functions.php XoopsModules/fontier+/releases/1.01/modules/fontier/include/functions.php XoopsModules/fontier+/releases/1.01/modules/fontier/include/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/include/notification.inc.php XoopsModules/fontier+/releases/1.01/modules/fontier/index.php XoopsModules/fontier+/releases/1.01/modules/fontier/language/ XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/ XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/admin.php XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/blocks.css XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/blocks.php XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/errors.php XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/mail_template/ XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/mail_template/fontier_newfont_notify.tpl XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/mail_template/fontier_newindex_notify.tpl XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/main.php XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/modinfo.php XoopsModules/fontier+/releases/1.01/modules/fontier/language/english/style.css XoopsModules/fontier+/releases/1.01/modules/fontier/language/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/list.tag.php XoopsModules/fontier+/releases/1.01/modules/fontier/naming/ XoopsModules/fontier+/releases/1.01/modules/fontier/naming/.htaccess XoopsModules/fontier+/releases/1.01/modules/fontier/naming/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/naming.php XoopsModules/fontier+/releases/1.01/modules/fontier/notification_update.php XoopsModules/fontier+/releases/1.01/modules/fontier/preloads/ XoopsModules/fontier+/releases/1.01/modules/fontier/preloads/caching.php XoopsModules/fontier+/releases/1.01/modules/fontier/preloads/glyphs.php XoopsModules/fontier+/releases/1.01/modules/fontier/preloads/identities.php XoopsModules/fontier+/releases/1.01/modules/fontier/preloads/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/preloads/polling.php XoopsModules/fontier+/releases/1.01/modules/fontier/preview/ XoopsModules/fontier+/releases/1.01/modules/fontier/preview/.htaccess XoopsModules/fontier+/releases/1.01/modules/fontier/preview/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/preview.php XoopsModules/fontier+/releases/1.01/modules/fontier/releases.php XoopsModules/fontier+/releases/1.01/modules/fontier/sql/ XoopsModules/fontier+/releases/1.01/modules/fontier/sql/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/sql/mysql.sql XoopsModules/fontier+/releases/1.01/modules/fontier/sql/tables.diz XoopsModules/fontier+/releases/1.01/modules/fontier/templates/ XoopsModules/fontier+/releases/1.01/modules/fontier/templates/admin/ XoopsModules/fontier+/releases/1.01/modules/fontier/templates/admin/fontier_identities.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/admin/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/blocks/ XoopsModules/fontier+/releases/1.01/modules/fontier/templates/blocks/fontier_last_downloads_items.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/blocks/fontier_last_viewed_items.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/blocks/fontier_new_items.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/blocks/fontier_popular_downloads_items.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/blocks/fontier_popular_items.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/blocks/fontier_tag_block_cloud.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/blocks/fontier_tag_block_top.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/blocks/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/fontier_font.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/fontier_index.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/fontier_index_base.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/fontier_releases.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/fontier_uploads.html XoopsModules/fontier+/releases/1.01/modules/fontier/templates/index.html XoopsModules/fontier+/releases/1.01/modules/fontier/uploads.php XoopsModules/fontier+/releases/1.01/modules/fontier/view.tag.php XoopsModules/fontier+/releases/1.01/modules/fontier/xoops_version.php XoopsModules/fontier+/releases/1.01/modules/tag/ XoopsModules/fontier+/releases/1.01/modules/tag/plugin/ XoopsModules/fontier+/releases/1.01/modules/tag/plugin/fontier.php XoopsModules/fontier+/trunk/README.md XoopsModules/fontier+/trunk/modules/fontier/admin/about.php XoopsModules/fontier+/trunk/modules/fontier/admin/footer.php XoopsModules/fontier+/trunk/modules/fontier/admin/header.php XoopsModules/fontier+/trunk/modules/fontier/admin/identities.php XoopsModules/fontier+/trunk/modules/fontier/admin/index.php XoopsModules/fontier+/trunk/modules/fontier/admin/menu.php XoopsModules/fontier+/trunk/modules/fontier/blocks/fontier_block_tag.php XoopsModules/fontier+/trunk/modules/fontier/blocks/last_downloads_items.php XoopsModules/fontier+/trunk/modules/fontier/blocks/last_viewed_items.php XoopsModules/fontier+/trunk/modules/fontier/blocks/new_items.php XoopsModules/fontier+/trunk/modules/fontier/blocks/popular_downloads_items.php XoopsModules/fontier+/trunk/modules/fontier/blocks/popular_items.php XoopsModules/fontier+/trunk/modules/fontier/class/identities_indexes.php XoopsModules/fontier+/trunk/modules/fontier/language/english/blocks.css XoopsModules/fontier+/trunk/modules/fontier/language/english/blocks.php XoopsModules/fontier+/trunk/modules/fontier/list.tag.php XoopsModules/fontier+/trunk/modules/fontier/templates/admin/fontier_identities.html XoopsModules/fontier+/trunk/modules/fontier/templates/blocks/fontier_last_downloads_items.html XoopsModules/fontier+/trunk/modules/fontier/templates/blocks/fontier_last_viewed_items.html XoopsModules/fontier+/trunk/modules/fontier/templates/blocks/fontier_new_items.html XoopsModules/fontier+/trunk/modules/fontier/templates/blocks/fontier_popular_downloads_items.html XoopsModules/fontier+/trunk/modules/fontier/templates/blocks/fontier_popular_items.html XoopsModules/fontier+/trunk/modules/fontier/templates/blocks/fontier_tag_block_cloud.html XoopsModules/fontier+/trunk/modules/fontier/templates/blocks/fontier_tag_block_top.html XoopsModules/fontier+/trunk/modules/fontier/templates/fontier_font.html XoopsModules/fontier+/trunk/modules/fontier/templates/fontier_index.html XoopsModules/fontier+/trunk/modules/fontier/templates/fontier_index_base.html XoopsModules/fontier+/trunk/modules/fontier/templates/fontier_releases.html XoopsModules/fontier+/trunk/modules/fontier/templates/fontier_uploads.html XoopsModules/fontier+/trunk/modules/fontier/view.tag.php XoopsModules/fontier+/trunk/modules/tag/ XoopsModules/fontier+/trunk/modules/tag/plugin/ XoopsModules/fontier+/trunk/modules/tag/plugin/fontier.php Added: XoopsModules/fontier+/releases/1.01/README.md =================================================================== --- XoopsModules/fontier+/releases/1.01/README.md (rev 0) +++ XoopsModules/fontier+/releases/1.01/README.md 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,31 @@ +# Fontier+ 1.01 +## Client for Chronolabs Cooperative ~ Fonting Repository Services API +### Author: Simon Antony Roberts (Sydney) <wis...@us...> + +This module is a client for the XOOPS Platform which is for the Fonting Repository Services API (ie. http://api.fonts4web.org.uk). This client will download from the repository a list of the supported fonts and set a browsable display for them on the website you are operating on with XOOPS 2.5. + +It uses the XoopsCache to cache preview, naming cards as well as details and stores some information in the browser, it does clean the cache and you have two options to fire the module either with a cronjob or leave it to execute it batch of tasks with the preloaders in XOOPS Framework 2.5 + +## Installation + +Download the resource for this module and install, then point and configure the path for the API in the preferences of the module, that should be all you need to do! + +## Search Engine Friendly URLS (rewrite) + +If you are using .htaccess with apache there is a mod-rewrite function in the preferences the following .htaccess goes in the root of your XOOPS_ROOT_PATH spot as .htaccess the following is to be copied into there:- + + RewriteEngine On + RewriteRule ^fontier/index.html ./modules/fontier/index.php [L,NC,QSA] + RewriteRule ^fontier/([0-9]+)/([0-9]+)/(.*?)/index.html ./modules/fontier/index.php?start=$1&limit=$2&base=$3 [L,NC,QSA] + RewriteRule ^fontier/uploads.html$ ./modules/convert/uploads.php [L,NC,QSA] + RewriteRule ^fontier/releases.html$ ./modules/convert/releases.php [L,NC,QSA] + RewriteRule ^fontier/(.*?) ./modules/fontier/$1 [L,NC,QSA] + +## Maintenance & Scheduled Actions + +There is two options in this module for the maintanence and scheduled actions, you can either set in the preferences how often they fire with XOOPS Preloaders, or you can use a Linux Cronjob or Windows Scheduled Task, the following crontab is what you would set if you are using cronjobs, you would specify this in the module preferences. + + */25 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/identities.php >/dev/null 2>&1 + */15 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/polling.php >/dev/null 2>&1 + */35 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/glyphs.php >/dev/null 2>&1 + */45 * * * * /usr/bin/php -q /var/www/xoops-site/modules/fontier/caching.php >/dev/null 2>&1 Added: XoopsModules/fontier+/releases/1.01/modules/fontier/.htaccess =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/.htaccess (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/.htaccess 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,47 @@ +############################################################################################################################ +# +# Chronolabs Cooperative Fontier+ +# +# 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 Chronolabs Cooperative http://labs.coop +# @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +# @package fontier+ +# @since 1.0.1 +# @author Simon Roberts <wis...@us...> +# @subpackage fontier+ +# @description XOOPS Client for Fonts REST API - http://fonts.labs.coop +# @link http://fonts.labs.coop +# @link http://sourceforge.net/projects/chronolabs +# @link http://cipher.labs.coop +# +############################################################################################################################ +php_value memory_limit 360M +php_value error_reporting 0 +php_value display_errors 0 + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^bin/(.*?)/(font).ufo/(.*?)$ $2.php?mode=ufo&clause=$1&path=$3 [L,NC,QSA] +RewriteRule ^bin/(.*?)/(font).(.*?)?(.*?)$ $2.php?mode=$3&clause=$1&$4 [L,NC,QSA] +RewriteRule ^bin/(.*?)/(font).(.*?)$ $2.php?mode=$3&clause=$1 [L,NC,QSA] +RewriteRule ^css/(.*?)/(.*?).(css)?(.*?)$ $3.php?clause=$1&$4 [L,NC,QSA] +RewriteRule ^css/(.*?)/(.*?).(css)$ $3.php?clause=$1 [L,NC,QSA] +RewriteRule ^api/(.*?)/(callback).api?(.*?)$ $2.php?mode=$1&$3 [L,NC,QSA] +RewriteRule ^api/(.*?)/(callback).api$ $2.php?mode=$1 [L,NC,QSA] +RewriteRule ^(download)/([0-9]+)$ $1.php?mode=$1&clause=$2 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/upload.html$ index.php?mode=upload&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/surveys.html$ index.php?mode=surveys&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/survey.html$ index.php?mode=survey&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/(.*?)/font.html$ index.php?mode=font&clause=$1&name=$2 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/node.html$ index.php?mode=node&clause=$1 [L,NC,QSA] +RewriteRule ^(keys|fixes|typal)/nodes.html$ index.php?mode=nodes&clause=$1 [L,NC,QSA] +RewriteRule ^index.html$ index.php?mode=index [L,NC,QSA] + Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/.htaccess ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/.htaccess =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/admin/.htaccess (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/admin/.htaccess 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,38 @@ +############################################################################################################################ +# +# Chronolabs Cooperative Fontier+ +# +# 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 Chronolabs Cooperative http://labs.coop +# @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +# @package fontier+ +# @since 1.0.1 +# @author Simon Roberts <wis...@us...> +# @subpackage fontier+ +# @description XOOPS Client for Fonts REST API - http://fonts.labs.coop +# @link http://fonts.labs.coop +# @link http://sourceforge.net/projects/chronolabs +# @link http://cipher.labs.coop +# +############################################################################################################################ +php_value memory_limit 360M +php_value error_reporting 0 +php_value display_errors 0 + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^([0-9a-z]+)/upload.html$ admin.php?op=upload&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/surveys.html$ admin.php?op=surveys&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/survey.html$ admin.php?op=survey&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/(.*?)/font.html$ admin.php?op=font&clause=$1&name=$2 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/node.html$ admin.php?op=node&clause=$1 [L,NC,QSA] +RewriteRule ^(keys|fixes|typal)/nodes.html$ admin.php?op=nodes&clause=$1 [L,NC,QSA] + Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/.htaccess ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/about.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/admin/about.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/admin/about.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,33 @@ +<?php +/** + * Font Converter for fonts2web.org.uk +* +* 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://fonts2web.org.uk +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage convert +* @description Converts fonts to web distributional format in a zip pack stamped +* @version 1.0.1 +* @link http://fonts2web.org.uk +* @link http://fonts.labs.coop +* @link http://internetfounder.wordpress.com +*/ +include_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; +include_once __DIR__ . '/header.php'; +xoops_cp_header(); + +$module_info = $module_handler->get($xoopsModule->getVar('mid')); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation(basename(__FILE__)); +echo $aboutAdmin->renderAbout('XXXXXXXXXXXXX', false); + +include_once __DIR__ . '/footer.php'; Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/about.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/footer.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/admin/footer.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/admin/footer.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,25 @@ +<?php +/** + * Font Converter for fonts2web.org.uk +* +* 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://fonts2web.org.uk +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage convert +* @description Converts fonts to web distributional format in a zip pack stamped +* @version 1.0.1 +* @link http://fonts2web.org.uk +* @link http://fonts.labs.coop +* @link http://internetfounder.wordpress.com +*/ + +echo "<div class='adminfooter'>\n" . " <div style='text-align: center;'>\n" . " <a href='http://au.syd.labs.coop' rel='external'>Chronolabs Cooperative</a>\n" . " </div>\n" . '</div>'; + +xoops_cp_footer(); Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/footer.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/header.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/admin/header.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/admin/header.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,57 @@ +<?php +/** + * Font Converter for fonts2web.org.uk +* +* 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://fonts2web.org.uk +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage convert +* @description Converts fonts to web distributional format in a zip pack stamped +* @version 1.0.1 +* @link http://fonts2web.org.uk +* @link http://fonts.labs.coop +* @link http://internetfounder.wordpress.com +*/ + +$path = dirname(dirname(dirname(__DIR__))); +include_once dirname(__DIR__) . '/header.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +//if functions.php file exist +//require_once dirname(__DIR__) . '/include/functions.php'; + +// 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'); + +$myts = MyTextSanitizer::getInstance(); + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once XOOPS_ROOT_PATH . '/class/template.php'; + $xoopsTpl = new XoopsTpl(); +} + +include_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'); + +xoops_loadLanguage('user'); +if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once $GLOBALS['xoops']->path('/class/template.php'); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); +} Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/header.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/identities.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/admin/identities.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/admin/identities.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,72 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage please + * @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets + * @version 1.0.5 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please + * @link http://internetfounder.wordpress.com + */ + + require_once (__DIR__ . DIRECTORY_SEPARATOR . 'header.php'); + + xoops_loadLanguage('errors', _MD_FONTIER_MODULE_DIRNAME); + + if (isset($_REQUEST['start'])) + $start = intval($_REQUEST['start']); + else + $start = 0; + + if (isset($_REQUEST['limit'])) + $limit = intval($_REQUEST['limit']); + else + $limit = 30; + + $identitiesHandler = xoops_getModuleHandler('identities', _MD_FONTIER_MODULE_DIRNAME); + $criteria = new Criteria('polled',0,">"); + $total = $identitiesHandler->getCount($criteria); + $criteria->setStart($start); + $criteria->setLimit($limit); + $identities = $identitiesHandler->getObjects($criteria); + + if ($start>0 && count($identities)==0 && $total > 0) + { + $start = $start - $limit; + if ($start<0) + $start = 0; + header("Location: " . XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . "/admin/identities.php?start=$start&limit=$limit"); + exit(0); + } + + if ($start == 0 && count($identities) == 0) + { + redirect_header(XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . "/admin/index.php", 4, _ERR_FONTIER_ADMIN_NOFONTS); + exit(0); + } + + xoops_cp_header(); + $identityAdmin = new ModuleAdmin(); + echo $identityAdmin->addNavigation(basename(__FILE__)); + foreach($identities as $identity) + $GLOBALS['xoopsTpl']->append('identities', $identity->getAdminPanelArray()); + xoops_load('XoopsPageNav'); + $nav = new XoopsPageNav($total, $limit, $start, 'start', '&limit='.$limit); + $GLOBALS['xoopsTpl']->assign('pagenav', $nav->renderNav(5)); + echo $GLOBALS['xoopsTpl']->display(dirname(__DIR__) . '/templates/admin/fontier_identities.html'); + xoops_cp_footer(); + exit(0); + +?> \ No newline at end of file Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/identities.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/index.html =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/admin/index.html (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/admin/index.html 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/index.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/admin/index.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/admin/index.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,43 @@ +<?php +/** + * Font Converter for fonts2web.org.uk +* +* 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://fonts2web.org.uk +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage convert +* @description Converts fonts to web distributional format in a zip pack stamped +* @version 1.0.1 +* @link http://fonts2web.org.uk +* @link http://fonts.labs.coop +* @link http://internetfounder.wordpress.com +*/ + +include_once __DIR__ . '/header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); + +$identitiesHandler = xoops_getModuleHandler('identities', _MD_FONTIER_MODULE_DIRNAME); + +$indexAdmin->addInfoBox(_MA_FONTIER_ADMIN_STATISTICS); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_TOTALIDENTITIES. "</infolabel>", $identitiesHandler->getTotalIdentities(), 'Green'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_TOTALPOLLED. "</infolabel>", $identitiesHandler->getTotalPolled(), 'Green'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_TOTALTOPOLL. "</infolabel>", $identitiesHandler->getTotalToPoll(), 'Blue'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_TOTALVIEWS. "</infolabel>", $identitiesHandler->getTotalViews(), 'Purple'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_TOTALDOWNLOADS. "</infolabel>", $identitiesHandler->getTotalDownloads(), 'Purple'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_FILESINCACHE. "</infolabel>", $identitiesHandler->getTotalFilesInCache(), 'Red'); +$indexAdmin->addInfoBoxLine(_MA_FONTIER_ADMIN_STATISTICS, "<infolabel>" ._MA_FONTIER_ADMIN_STATS_MBSINCACHE. "</infolabel>", $identitiesHandler->getTotalMbsInCache(), 'Red'); + +echo $indexAdmin->addNavigation(basename(__FILE__)); +echo $indexAdmin->renderIndex(); + +include_once __DIR__ . '/footer.php'; +//xoops_cp_footer(); Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/index.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/menu.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/admin/menu.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/admin/menu.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,52 @@ +<?php +/** + * Font Converter for fonts2web.org.uk +* +* 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://fonts2web.org.uk +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage convert +* @description Converts fonts to web distributional format in a zip pack stamped +* @version 1.0.1 +* @link http://fonts2web.org.uk +* @link http://fonts.labs.coop +* @link http://internetfounder.wordpress.com +*/ + +$path = dirname(dirname(dirname(__DIR__))); +include_once $path . '/mainfile.php'; + +$dirname = basename(dirname(__DIR__)); +$module_handler = xoops_getHandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); +$pathLanguage = $path . $pathModuleAdmin; + +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'modinfo.php')) { + $fileinc = $pathLanguage . '/language/english/modinfo.php'; +} + +include_once $fileinc; + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]['title'] = _MD_FONTIER_ADMINMENU_HOME; +$adminmenu[$i]['link'] = 'admin/index.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/home.png'; +++$i; +$adminmenu[$i]['title'] = _MD_FONTIER_ADMINMENU_FONTS; +$adminmenu[$i]['link'] = 'admin/identities.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/download.png'; +++$i; +$adminmenu[$i]['title'] = _MD_FONTIER_ADMINMENU_ABOUT; +$adminmenu[$i]['link'] = 'admin/about.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/about.png'; Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/admin/menu.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/fontier_block_tag.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/fontier_block_tag.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/fontier_block_tag.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,78 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + + +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + +/** + * + * @param unknown $options + * @return array|string[]|NULL[]|number[][][]|mixed[][][]|unknown[][][] + */ +function fontier_tag_block_cloud_show($options) +{ + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + if (file_exists(XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php")) + return tag_block_cloud_show($options, _MD_FONTIER_MODULE_DIRNAME); + return array(); +} + +/** + * + * @param unknown $options + * @return string + */ +function fontier_tag_block_cloud_edit($options) +{ + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + if (file_exists(XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php")) + return tag_block_cloud_edit($options); + return ''; +} + + +/** + * + * @param unknown $options + * @return array|string[]|NULL[]|unknown[][][] + */ +function fontier_tag_block_top_show($options) +{ + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + if (file_exists(XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php")) + return tag_block_top_show($options, _MD_FONTIER_MODULE_DIRNAME); + return array(); +} + +/** + * + * @param unknown $options + * @return string + */ +function fontier_tag_block_top_edit($options) +{ + include_once XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php"; + if (file_exists(XOOPS_ROOT_PATH . "/modules/tag/blocks/block.php")) + return tag_block_top_edit($options); + return ''; +} \ No newline at end of file Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/fontier_block_tag.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/index.html =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/index.html (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/index.html 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/last_downloads_items.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/last_downloads_items.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/last_downloads_items.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,72 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + +function fontier_last_downloads_items_show($options) +{ + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/blocks.css'); + + $block = array('display' => $options[1]); + $identitiesHandler = xoops_getModuleHandler('identities' ,basename(dirname(__DIR__))); + $criteria = new CriteriaCompo(new Criteria('downloaded', '0', '>')); + $criteria->setOrder('DESC'); + $criteria->setSort('downloaded'); + $criteria->setLimit($options[0]); + if ($identities = $identitiesHandler->getObjects($criteria)) + { + $block['items'] = array(); + foreach($identities as $key => $identity) + { + $block['items'][$key]['name'] = $identity->getVar('name'); + $block['items'][$key]['views'] = $identity->getVar('views'); + $block['items'][$key]['downloads'] = $identity->getVar('downloads'); + $block['items'][$key]['naming'] = $identity->getNamingURL(); + $block['items'][$key]['url'] = $identity->getFontURL('id'); + } + return $block; + } + return false; +} + + +function fontier_last_downloads_items_edit($options) +{ + $form = ''; + // Sort order ************************************************************* + // (0=older first, 1=newer first) + $form .= '<b>'._MB_FONTIER_NUMBER."</b> <input type='textbox' name='option[]' size='8', maxlen='4' value='".$options[0]."' /><br/>"; + $form .= '<b>'._MB_FONTIER_DISPLAY."</b> <select name='options[]'>\n"; + $form .= "<option value='naming'"; + if ( $options[1] == 'naming' ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_NAMING."</option>\n"; + $form .= "<option value='text'"; + if($options[1] == 'text'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_TEXT.'</option>'; + $form .= "</select>\n"; + return $form; +} Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/last_downloads_items.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/last_viewed_items.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/last_viewed_items.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/last_viewed_items.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,72 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + +function fontier_last_viewed_items_show($options) +{ + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/blocks.css'); + + $block = array('display' => $options[1]); + $identitiesHandler = xoops_getModuleHandler('identities' ,basename(dirname(__DIR__))); + $criteria = new CriteriaCompo(new Criteria('last', '0', '>')); + $criteria->setOrder('DESC'); + $criteria->setSort('last'); + $criteria->setLimit($options[0]); + if ($identities = $identitiesHandler->getObjects($criteria)) + { + $block['items'] = array(); + foreach($identities as $key => $identity) + { + $block['items'][$key]['name'] = $identity->getVar('name'); + $block['items'][$key]['views'] = $identity->getVar('views'); + $block['items'][$key]['downloads'] = $identity->getVar('downloads'); + $block['items'][$key]['naming'] = $identity->getNamingURL(); + $block['items'][$key]['url'] = $identity->getFontURL('id'); + } + return $block; + } + return false; +} + + +function fontier_last_viewed_items_edit($options) +{ + $form = ''; + // Sort order ************************************************************* + // (0=older first, 1=newer first) + $form .= '<b>'._MB_FONTIER_NUMBER."</b> <input type='textbox' name='option[]' size='8', maxlen='4' value='".$options[0]."' /><br/>"; + $form .= '<b>'._MB_FONTIER_DISPLAY."</b> <select name='options[]'>\n"; + $form .= "<option value='naming'"; + if ( $options[1] == 'naming' ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_NAMING."</option>\n"; + $form .= "<option value='text'"; + if($options[1] == 'text'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_TEXT.'</option>'; + $form .= "</select>\n"; + return $form; +} Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/last_viewed_items.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/new_items.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/new_items.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/new_items.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,72 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + +function fontier_new_items_show($options) +{ + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/blocks.css'); + + $block = array('display' => $options[1]); + $identitiesHandler = xoops_getModuleHandler('identities' ,basename(dirname(__DIR__))); + $criteria = new CriteriaCompo(new Criteria('polling', '0', '>')); + $criteria->setOrder('DESC'); + $criteria->setSort('polled'); + $criteria->setLimit($options[0]); + if ($identities = $identitiesHandler->getObjects($criteria)) + { + $block['items'] = array(); + foreach($identities as $key => $identity) + { + $block['items'][$key]['name'] = $identity->getVar('name'); + $block['items'][$key]['views'] = $identity->getVar('views'); + $block['items'][$key]['downloads'] = $identity->getVar('downloads'); + $block['items'][$key]['naming'] = $identity->getNamingURL(); + $block['items'][$key]['url'] = $identity->getFontURL('id'); + } + return $block; + } + return false; +} + + +function fontier_new_items_edit($options) +{ + $form = ''; + // Sort order ************************************************************* + // (0=older first, 1=newer first) + $form .= '<b>'._MB_FONTIER_NUMBER."</b> <input type='textbox' name='option[]' size='8', maxlen='4' value='".$options[0]."' /><br/>"; + $form .= '<b>'._MB_FONTIER_DISPLAY."</b> <select name='options[]'>\n"; + $form .= "<option value='naming'"; + if ( $options[1] == 'naming' ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_NAMING."</option>\n"; + $form .= "<option value='text'"; + if($options[1] == 'text'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_TEXT.'</option>'; + $form .= "</select>\n"; + return $form; +} Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/new_items.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/popular_downloads_items.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/popular_downloads_items.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/popular_downloads_items.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,72 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + +function fontier_popular_downloads_items_show($options) +{ + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . "/modules/" . _MD_FONTIER_MODULE_DIRNAME . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/blocks.css'); + + $block = array('display' => $options[1]); + $identitiesHandler = xoops_getModuleHandler('identities' ,basename(dirname(__DIR__))); + $criteria = new CriteriaCompo(new Criteria('downloads', '0', '>')); + $criteria->setOrder('DESC'); + $criteria->setSort('downloads'); + $criteria->setLimit($options[0]); + if ($identities = $identitiesHandler->getObjects($criteria)) + { + $block['items'] = array(); + foreach($identities as $key => $identity) + { + $block['items'][$key]['name'] = $identity->getVar('name'); + $block['items'][$key]['views'] = $identity->getVar('views'); + $block['items'][$key]['downloads'] = $identity->getVar('downloads'); + $block['items'][$key]['naming'] = $identity->getNamingURL(); + $block['items'][$key]['url'] = $identity->getFontURL('id'); + } + return $block; + } + return false; +} + + +function fontier_popular_downloads_items_edit($options) +{ + $form = ''; + // Sort order ************************************************************* + // (0=older first, 1=newer first) + $form .= '<b>'._MB_FONTIER_NUMBER."</b> <input type='textbox' name='option[]' size='8', maxlen='4' value='".$options[0]."' /><br/>"; + $form .= '<b>'._MB_FONTIER_DISPLAY."</b> <select name='options[]'>\n"; + $form .= "<option value='naming'"; + if ( $options[1] == 'naming' ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_NAMING."</option>\n"; + $form .= "<option value='text'"; + if($options[1] == 'text'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_FONTIER_TEXT.'</option>'; + $form .= "</select>\n"; + return $form; +} Property changes on: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/popular_downloads_items.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/popular_items.php =================================================================== --- XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/popular_items.php (rev 0) +++ XoopsModules/fontier+/releases/1.01/modules/fontier/blocks/popular_items.php 2017-05-06 00:36:51 UTC (rev 13236) @@ -0,0 +1,72 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or a... [truncated message content] |
From: <wis...@us...> - 2017-05-01 19:18:56
|
Revision: 13235 http://sourceforge.net/p/xoops/svn/13235 Author: wishcraft Date: 2017-05-01 19:18:52 +0000 (Mon, 01 May 2017) Log Message: ----------- fontier+ ~ client for Chronolabs Fonting Repository Service API - Alpha2 of 1.01 Added Paths: ----------- XoopsModules/fontier+/trunk/modules/ XoopsModules/fontier+/trunk/modules/fontier/ XoopsModules/fontier+/trunk/modules/fontier/.htaccess XoopsModules/fontier+/trunk/modules/fontier/admin/ XoopsModules/fontier+/trunk/modules/fontier/admin/.htaccess XoopsModules/fontier+/trunk/modules/fontier/admin/index.html XoopsModules/fontier+/trunk/modules/fontier/blocks/ XoopsModules/fontier+/trunk/modules/fontier/blocks/index.html XoopsModules/fontier+/trunk/modules/fontier/class/ XoopsModules/fontier+/trunk/modules/fontier/class/identities.php XoopsModules/fontier+/trunk/modules/fontier/class/index.html XoopsModules/fontier+/trunk/modules/fontier/class/indexes.php XoopsModules/fontier+/trunk/modules/fontier/class/objects.php XoopsModules/fontier+/trunk/modules/fontier/comment_delete.php XoopsModules/fontier+/trunk/modules/fontier/comment_edit.php XoopsModules/fontier+/trunk/modules/fontier/comment_new.php XoopsModules/fontier+/trunk/modules/fontier/comment_post.php XoopsModules/fontier+/trunk/modules/fontier/comment_reply.php XoopsModules/fontier+/trunk/modules/fontier/crons/ XoopsModules/fontier+/trunk/modules/fontier/crons/caching.php XoopsModules/fontier+/trunk/modules/fontier/crons/glyphs.php XoopsModules/fontier+/trunk/modules/fontier/crons/identities.php XoopsModules/fontier+/trunk/modules/fontier/crons/index.html XoopsModules/fontier+/trunk/modules/fontier/crons/polling.php XoopsModules/fontier+/trunk/modules/fontier/download/ XoopsModules/fontier+/trunk/modules/fontier/download/.htaccess XoopsModules/fontier+/trunk/modules/fontier/download/index.html XoopsModules/fontier+/trunk/modules/fontier/download.php XoopsModules/fontier+/trunk/modules/fontier/font/ XoopsModules/fontier+/trunk/modules/fontier/font/.htaccess XoopsModules/fontier+/trunk/modules/fontier/font/index.html XoopsModules/fontier+/trunk/modules/fontier/font.php XoopsModules/fontier+/trunk/modules/fontier/glyph/ XoopsModules/fontier+/trunk/modules/fontier/glyph/.htaccess XoopsModules/fontier+/trunk/modules/fontier/glyph/index.html XoopsModules/fontier+/trunk/modules/fontier/glyph.php XoopsModules/fontier+/trunk/modules/fontier/header.php XoopsModules/fontier+/trunk/modules/fontier/images/ XoopsModules/fontier+/trunk/modules/fontier/images/assets/ XoopsModules/fontier+/trunk/modules/fontier/images/assets/index.html XoopsModules/fontier+/trunk/modules/fontier/images/icons/ XoopsModules/fontier+/trunk/modules/fontier/images/icons/16x16/ XoopsModules/fontier+/trunk/modules/fontier/images/icons/16x16/index.html XoopsModules/fontier+/trunk/modules/fontier/images/icons/24x24/ XoopsModules/fontier+/trunk/modules/fontier/images/icons/24x24/index.html XoopsModules/fontier+/trunk/modules/fontier/images/icons/32x32/ XoopsModules/fontier+/trunk/modules/fontier/images/icons/32x32/index.html XoopsModules/fontier+/trunk/modules/fontier/images/icons/48x48/ XoopsModules/fontier+/trunk/modules/fontier/images/icons/48x48/index.html XoopsModules/fontier+/trunk/modules/fontier/images/icons/index.html XoopsModules/fontier+/trunk/modules/fontier/images/icons/module_fontier+.png XoopsModules/fontier+/trunk/modules/fontier/images/index.html XoopsModules/fontier+/trunk/modules/fontier/include/ XoopsModules/fontier+/trunk/modules/fontier/include/comment_functions.php XoopsModules/fontier+/trunk/modules/fontier/include/functions.php XoopsModules/fontier+/trunk/modules/fontier/include/index.html XoopsModules/fontier+/trunk/modules/fontier/include/notification.inc.php XoopsModules/fontier+/trunk/modules/fontier/index.php XoopsModules/fontier+/trunk/modules/fontier/language/ XoopsModules/fontier+/trunk/modules/fontier/language/english/ XoopsModules/fontier+/trunk/modules/fontier/language/english/admin.php XoopsModules/fontier+/trunk/modules/fontier/language/english/errors.php XoopsModules/fontier+/trunk/modules/fontier/language/english/index.html XoopsModules/fontier+/trunk/modules/fontier/language/english/mail_template/ XoopsModules/fontier+/trunk/modules/fontier/language/english/mail_template/fontier_newfont_notify.tpl XoopsModules/fontier+/trunk/modules/fontier/language/english/mail_template/fontier_newindex_notify.tpl XoopsModules/fontier+/trunk/modules/fontier/language/english/main.php XoopsModules/fontier+/trunk/modules/fontier/language/english/modinfo.php XoopsModules/fontier+/trunk/modules/fontier/language/english/style.css XoopsModules/fontier+/trunk/modules/fontier/language/index.html XoopsModules/fontier+/trunk/modules/fontier/naming/ XoopsModules/fontier+/trunk/modules/fontier/naming/.htaccess XoopsModules/fontier+/trunk/modules/fontier/naming/index.html XoopsModules/fontier+/trunk/modules/fontier/naming.php XoopsModules/fontier+/trunk/modules/fontier/notification_update.php XoopsModules/fontier+/trunk/modules/fontier/preloads/ XoopsModules/fontier+/trunk/modules/fontier/preloads/caching.php XoopsModules/fontier+/trunk/modules/fontier/preloads/glyphs.php XoopsModules/fontier+/trunk/modules/fontier/preloads/identities.php XoopsModules/fontier+/trunk/modules/fontier/preloads/index.html XoopsModules/fontier+/trunk/modules/fontier/preloads/polling.php XoopsModules/fontier+/trunk/modules/fontier/preview/ XoopsModules/fontier+/trunk/modules/fontier/preview/.htaccess XoopsModules/fontier+/trunk/modules/fontier/preview/index.html XoopsModules/fontier+/trunk/modules/fontier/preview.php XoopsModules/fontier+/trunk/modules/fontier/releases.php XoopsModules/fontier+/trunk/modules/fontier/sql/ XoopsModules/fontier+/trunk/modules/fontier/sql/index.html XoopsModules/fontier+/trunk/modules/fontier/sql/mysql.sql XoopsModules/fontier+/trunk/modules/fontier/sql/tables.diz XoopsModules/fontier+/trunk/modules/fontier/templates/ XoopsModules/fontier+/trunk/modules/fontier/templates/admin/ XoopsModules/fontier+/trunk/modules/fontier/templates/admin/index.html XoopsModules/fontier+/trunk/modules/fontier/templates/blocks/ XoopsModules/fontier+/trunk/modules/fontier/templates/blocks/index.html XoopsModules/fontier+/trunk/modules/fontier/templates/index.html XoopsModules/fontier+/trunk/modules/fontier/uploads.php XoopsModules/fontier+/trunk/modules/fontier/xoops_version.php Removed Paths: ------------- XoopsModules/fontier+/trunk/modules/ XoopsModules/fontier+/trunk/xoops_data/ XoopsModules/fontier+/trunk/xoops_lib/ Added: XoopsModules/fontier+/trunk/modules/fontier/.htaccess =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/.htaccess (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/.htaccess 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,47 @@ +############################################################################################################################ +# +# Chronolabs Cooperative Fontier+ +# +# 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 Chronolabs Cooperative http://labs.coop +# @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +# @package fontier+ +# @since 1.0.1 +# @author Simon Roberts <wis...@us...> +# @subpackage fontier+ +# @description XOOPS Client for Fonts REST API - http://fonts.labs.coop +# @link http://fonts.labs.coop +# @link http://sourceforge.net/projects/chronolabs +# @link http://cipher.labs.coop +# +############################################################################################################################ +php_value memory_limit 360M +php_value error_reporting 0 +php_value display_errors 0 + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^bin/(.*?)/(font).ufo/(.*?)$ $2.php?mode=ufo&clause=$1&path=$3 [L,NC,QSA] +RewriteRule ^bin/(.*?)/(font).(.*?)?(.*?)$ $2.php?mode=$3&clause=$1&$4 [L,NC,QSA] +RewriteRule ^bin/(.*?)/(font).(.*?)$ $2.php?mode=$3&clause=$1 [L,NC,QSA] +RewriteRule ^css/(.*?)/(.*?).(css)?(.*?)$ $3.php?clause=$1&$4 [L,NC,QSA] +RewriteRule ^css/(.*?)/(.*?).(css)$ $3.php?clause=$1 [L,NC,QSA] +RewriteRule ^api/(.*?)/(callback).api?(.*?)$ $2.php?mode=$1&$3 [L,NC,QSA] +RewriteRule ^api/(.*?)/(callback).api$ $2.php?mode=$1 [L,NC,QSA] +RewriteRule ^(download)/([0-9]+)$ $1.php?mode=$1&clause=$2 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/upload.html$ index.php?mode=upload&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/surveys.html$ index.php?mode=surveys&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/survey.html$ index.php?mode=survey&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/(.*?)/font.html$ index.php?mode=font&clause=$1&name=$2 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/node.html$ index.php?mode=node&clause=$1 [L,NC,QSA] +RewriteRule ^(keys|fixes|typal)/nodes.html$ index.php?mode=nodes&clause=$1 [L,NC,QSA] +RewriteRule ^index.html$ index.php?mode=index [L,NC,QSA] + Property changes on: XoopsModules/fontier+/trunk/modules/fontier/.htaccess ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/admin/.htaccess =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/admin/.htaccess (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/admin/.htaccess 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,38 @@ +############################################################################################################################ +# +# Chronolabs Cooperative Fontier+ +# +# 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 Chronolabs Cooperative http://labs.coop +# @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +# @package fontier+ +# @since 1.0.1 +# @author Simon Roberts <wis...@us...> +# @subpackage fontier+ +# @description XOOPS Client for Fonts REST API - http://fonts.labs.coop +# @link http://fonts.labs.coop +# @link http://sourceforge.net/projects/chronolabs +# @link http://cipher.labs.coop +# +############################################################################################################################ +php_value memory_limit 360M +php_value error_reporting 0 +php_value display_errors 0 + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^([0-9a-z]+)/upload.html$ admin.php?op=upload&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/surveys.html$ admin.php?op=surveys&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/survey.html$ admin.php?op=survey&clause=$1 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/(.*?)/font.html$ admin.php?op=font&clause=$1&name=$2 [L,NC,QSA] +RewriteRule ^([0-9a-z]+)/node.html$ admin.php?op=node&clause=$1 [L,NC,QSA] +RewriteRule ^(keys|fixes|typal)/nodes.html$ admin.php?op=nodes&clause=$1 [L,NC,QSA] + Property changes on: XoopsModules/fontier+/trunk/modules/fontier/admin/.htaccess ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/admin/index.html =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/admin/index.html (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/admin/index.html 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/fontier+/trunk/modules/fontier/admin/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/blocks/index.html =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/blocks/index.html (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/blocks/index.html 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/fontier+/trunk/modules/fontier/blocks/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/class/identities.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/class/identities.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/class/identities.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,324 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + + +if (!defined('_MD_FONTIER_MODULE_DIRNAME')) { + return false; +} + +//* +require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects.php'); + +/** + * Class for Glyphs in Fonts2Web.org.uk Font Converter + * + * For Table:- + * <code> + * CREATE TABLE `fontier_identities` ( + * `id` mediumint(24) NOT NULL AUTO_INCREMENT, + * `identity` varchar(45) DEFAULT '', + * `base` varchar(1) DEFAULT '', + * `second` varchar(2) DEFAULT '', + * `thirds` varchar(3) DEFAULT '', + * `downloads` int(13) DEFAULT '0', + * `views` int(13) DEFAULT '0', + * `css` tinytext, + * `glyphs` tinytext, + * `name` varchar(255) DEFAULT '', + * `barcode` varchar(32) DEFAULT '', + * `referee` varchar(128) DEFAULT '', + * `polled` int(13) DEFAULT '0', + * `last` int(13) DEFAULT '0', + * `downloaded` int(13) DEFAULT '0', + * `glyphed` int(13) DEFAULT '0', + * `notified` int(13) DEFAULT '0', + * PRIMARY KEY (`id`) + * ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + * </code> + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class fontierIdentities extends fontierXoopsObject +{ + + var $handler = ''; + + function __construct($id = null) + { + + self::initVar('id', XOBJ_DTYPE_INT, 0, false); + self::initVar('identity', XOBJ_DTYPE_TXTBOX, md5(null), false, 45); + self::initVar('base', XOBJ_DTYPE_TXTBOX, '', false, 1); + self::initVar('second', XOBJ_DTYPE_TXTBOX, '', false, 2); + self::initVar('thirds', XOBJ_DTYPE_TXTBOX, '', false, 3); + self::initVar('downloads', XOBJ_DTYPE_INT, 0, false); + self::initVar('views', XOBJ_DTYPE_INT, 0, false); + self::initVar('css', XOBJ_DTYPE_OBJECT, '', false); + self::initVar('glyphs', XOBJ_DTYPE_ARRAY, array(), false); + self::initVar('json', XOBJ_DTYPE_ARRAY, '', false); + self::initVar('diz', XOBJ_DTYPE_OBJECT, '', false); + self::initVar('name', XOBJ_DTYPE_TXTBOX, '', false, 255); + self::initVar('barcode', XOBJ_DTYPE_TXTBOX, '', false, 32); + self::initVar('referee', XOBJ_DTYPE_TXTBOX, '', false, 128); + self::initVar('polled', XOBJ_DTYPE_INT, 0, false); + self::initVar('last', XOBJ_DTYPE_INT, 0, false); + self::initVar('downloaded', XOBJ_DTYPE_INT, 0, false); + self::initVar('glyphed', XOBJ_DTYPE_INT, 0, false); + self::initVar('notified', XOBJ_DTYPE_INT, 0, false); + + $this->handler = __CLASS__ . 'Handler'; + if (!empty($id) && !is_null($id)) + { + $handler = new $this->handler; + self::assignVars($handler->get($id)->getValues(array_keys($this->vars))); + } + + } + + function addViewCount($num = 1) + { + $this->setVar('views', $this->getVar('views') + $num); + $this->setVar('last', time()); + xoops_getModuleHandler('indexes',_MD_FONTIER_MODULE_DIRNAME)->addViewsByBase($this->getVar('base'), $num); + xoops_getModuleHandler('indexes',_MD_FONTIER_MODULE_DIRNAME)->addViewsByBase($this->getVar('second'), $num); + xoops_getModuleHandler('indexes',_MD_FONTIER_MODULE_DIRNAME)->addViewsByBase($this->getVar('thirds'), $num); + } + + + function addDownloadCount($num = 1) + { + $this->setVar('downloads', $this->getVar('downloads') + $num); + $this->setVar('downloaded', time()); + xoops_getModuleHandler('indexes',_MD_FONTIER_MODULE_DIRNAME)->addDownloadsByBase($this->getVar('base'), $num); + xoops_getModuleHandler('indexes',_MD_FONTIER_MODULE_DIRNAME)->addDownloadsByBase($this->getVar('second'), $num); + xoops_getModuleHandler('indexes',_MD_FONTIER_MODULE_DIRNAME)->addDownloadsByBase($this->getVar('thirds'), $num); + } + + /** + * + * @param string $base + * @return boolean|string + */ + function getFontURL($field = 'id') + { + global $fontierConfigsList; + + if ($fontierConfigsList['htaccess']) { + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/font/'.urlencode($this->get($field)) . '/' . sef($this->get('name')) . '.' . $fontierConfigsList['html']; + } + return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/font.php?'.$field.'='.urlencode($this->get($field)); + } + + /** + * + * @param string $base + * @return boolean|string + */ + function getFontBrowseURL() + { + global $fontierConfigsList; + + if ($fontierConfigsList['htaccess']) { + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/font/' . urlencode($this->getVar('id')) . '/' . sef($this->getVar('name')) . '.' . $fontierConfigsList['html']; + } + return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/font.php?id=' . urlencode($this->getVar('id')); + } + + + /** + * + * @param string $base + * @return boolean|string + */ + function getPreviewURL($format = 'png') + { + global $fontierConfigsList; + + if ($fontierConfigsList['htaccess']) { + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/preview/' . urlencode($this->getVar('id')) . '.' . $format; + } + return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/preview.php?id=' . urlencode($this->getVar('id')) . '&format=' . $format; + } + + + /** + * + * @param string $base + * @return boolean|string + */ + function getNamingURL($format = 'png') + { + global $fontierConfigsList; + + if ($fontierConfigsList['htaccess']) { + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/naming/' . urlencode($this->getVar('id')) . '.' . $format; + } + return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/naming.php?id=' . urlencode($this->getVar('id')) . '&format=' . $format; + } + + + /** + * + * @param string $base + * @return boolean|string + */ + function getGlyphURL($char = '', $format = 'png') + { + global $fontierConfigsList; + + if ($fontierConfigsList['htaccess']) { + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/glyph/' . urlencode($this->getVar('id')) . '-' . urlencode($char) . '.' . $format; + } + return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/glyph.php?id=' . urlencode($this->getVar('id')) . '&char=' . $char . '&format=' . $format; + } + + + /** + * + * @param string $base + * @return boolean|string + */ + function getDownloadURL($pack = 'zip') + { + global $fontierConfigsList; + + if ($fontierConfigsList['htaccess']) { + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/download/' . urlencode($this->getVar('id')) . '.' . $pack; + } + return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/download.php?id=' . urlencode($this->getVar('id')) . '&pack=' . $pack; + } + + /** + * + * @return mixed + */ + function getCSSURL() + { + global $fontierConfigsList; + return str_replace("%apipath%", $fontierConfigsList['api_path'], str_replace("%identity%", $this->getVar('identity'), $fontierConfigsList['api_path_css'])); + } + + /** + * + * @param string $format + * @return boolean[]|string[] + */ + function getGlyphsURLArray($format = 'png') + { + $return = array(); + foreach($this->getVar('glyphs') as $key => $value) + { + $return[$value] = $this->getGlyphURL($value, $format); + } + return $return; + } + + /** + * + * @param array $packs + * @param string $filename + * @return boolean[]|string[] + */ + function getDownloadURLsArray($packs = array(), $filename = '') + { + $return = array(); + foreach($packs as $key => $extension) + $return[$filename . '.' . $extension] = $this->getDownloadURL($extension); + return $return; + } +} + + +/** + * Handler Class for Glyphs in Fonts2Web.org.uk Font Converter + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class fontierIdentitiesHandler extends fontierXoopsObjectHandler +{ + + + /** + * Table Name without prefix used + * + * @var string + */ + var $tbl = 'fontier_identities'; + + /** + * Child Object Handling Class + * + * @var string + */ + var $child = 'fontierIdentities'; + + /** + * Child Object Identity Key + * + * @var string + */ + var $identity = 'id'; + + /** + * Child Object Default Envaluing Costs + * + * @var string + */ + var $envalued = 'value'; + + function __construct(&$db) + { + if (!is_object($db)) + $db = $GLOBAL["xoopsDB"]; + parent::__construct($db, $this->tbl, $this->child, $this->identity, $this->envalued); + } + + /** + * + * @param string $base + * @return array|NULL[][]|unknown[][] + */ + function getIndexesListbyBase($base = '') + { + if (strlen($base) == 0) + { + $sql = "SELECT DISTINCT `base` as `index`, count(*) as `num` FROM `" . $GLOBALS['xoopsDB']->prefix($this->tbl) . "` WHERE LENGTH(`base`) = 1 ORDER BY `base` ASC"; + if (strlen($base) == 1) + { + $sql = "SELECT DISTINCT `second` as `index`, count(*) as `num` FROM `" . $GLOBALS['xoopsDB']->prefix($this->tbl) . "` WHERE `base` LIKE '$base' ORDER BY `second` ASC"; + } elseif (strlen($base) == 2) + { + $sql = "SELECT DISTINCT `thirds` as `index`, count(*) as `num` FROM `" . $GLOBALS['xoopsDB']->prefix($this->tbl) . "` WHERE `second` LIKE '$base' ORDER BY `thirds` ASC"; + } elseif (strlen($base) == 3) + { + return array(); + } + + $return = array(); + $result = $GLOBALS['xoopsDB']->queryF($sql); + while($row = $GLOBALS['xoopsDB']->fetchArray($result)) + $return[$row['index']] = array('url'=>xoops_getModuleHandler('indexes',_MD_FONTIER_MODULE_DIRNAME)->getIndexBrowseURL($row['index']), 'count' => $row['num']); + return $return; + } +} +} \ No newline at end of file Property changes on: XoopsModules/fontier+/trunk/modules/fontier/class/identities.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/class/index.html =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/class/index.html (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/class/index.html 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/fontier+/trunk/modules/fontier/class/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/class/indexes.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/class/indexes.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/class/indexes.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,276 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + + +if (!defined('_MD_FONTIER_MODULE_DIRNAME')) { + return false; +} + +require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects.php'); + +/** + * Class for Fonts in Fonts2Web.org.uk Font Converter + * + * For Table:- + * <code> + * CREATE TABLE `fontier_indexes` ( + * `id` mediumint(24) NOT NULL AUTO_INCREMENT, + * `base` varchar(3) DEFAULT '', + * `ids` mediumtext, + * `fonts` int(13) DEFAULT '0', + * `last` int(13) DEFAULT '0', + * `downloads` int(13) DEFAULT '0', + * `views` int(13) DEFAULT '0', + * `notified` int(13) DEFAULT '0', + * PRIMARY KEY (`id`) + * ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + * </code> + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class fontierIndexes extends fontierXoopsObject +{ + + var $handler = ''; + + function __construct($id = null) + { + + self::initVar('id', XOBJ_DTYPE_INT, null, false); + self::initVar('base', XOBJ_DTYPE_TXTBOX, null, false, 3); + self::initVar('ids', XOBJ_DTYPE_ARRAY, array(), false); + self::initVar('fonts', XOBJ_DTYPE_INT, null, false); + self::initVar('last', XOBJ_DTYPE_INT, null, false); + self::initVar('downloads', XOBJ_DTYPE_INT, 0, false); + self::initVar('views', XOBJ_DTYPE_INT, 0, false); + self::initVar('notified', XOBJ_DTYPE_INT, 0, false); + + $this->handler = __CLASS__ . 'Handler'; + if (!empty($id) && !is_null($id)) + { + $handler = new $this->handler; + self::assignVars($handler->get($id)->getValues(array_keys($this->vars))); + } + + } + + /** + * + * @param unknown $id + * @return boolean + */ + function addFontID($id) + { + if (empty($id)) + return false; + + $ids = $this->getVar('ids'); + $ids[] = $id; + sort(array_unique($ids)); + array_unique($ids); + $this->setVar('ids', $ids); + + $this->setVar('fonts', $this->getVar('fonts')+1); + $this->setVar('last', time()); + + return true; + } + + + /** + * + * @param string $base + * @return boolean|string + */ + function getIndexBrowseURL() + { + global $fontierConfigsList; + + if ($fontierConfigsList['htaccess']) { + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/index/0/30/' . urlencode($this->getVar('base')) . '.' . $fontierConfigsList['html']; + } + return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/?op=index&start=0&limit=30&base=' . urlencode($this->getVar('base')); + } +} + +/** + * Handler Class for Fonts in Fonts2Web.org.uk Font Converter + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class fontierIndexesHandler extends fontierXoopsObjectHandler +{ + + + /** + * Table Name without prefix used + * + * @var string + */ + var $tbl = 'fontier_indexes'; + + /** + * Child Object Handling Class + * + * @var string + */ + var $child = 'fontierIndexes'; + + /** + * Child Object Identity Key + * + * @var string + */ + var $identity = 'id'; + + /** + * Child Object Default Envaluing Costs + * + * @var string + */ + var $envalued = 'referee'; + + function __construct(&$db) + { + if (!is_object($db)) + $db = $GLOBAL["xoopsDB"]; + parent::__construct($db, $this->tbl, $this->child, $this->identity, $this->envalued); + } + + /** + * + * @param string $base + * @param number $excludeid + * @param number $start + * @param number $limit + * @return boolean|NULL[][] + */ + function getFontsURLsFromBase($base = '', $excludeid = 0, $start = 0, $limit = 0) + { + if (strlen($base)==1) + $criteria = new CriteriaCompo(new Criteria('base', $base, 'LIKE')); + elseif (strlen($base)==2) + $criteria = new CriteriaCompo(new Criteria('second', $base, 'LIKE')); + elseif (strlen($base)==3) + $criteria = new CriteriaCompo(new Criteria('thirds', $base, 'LIKE')); + else + return false; + if (!empty($excludeid) && $excludeid != 0) + $criteria->add(new Criteria('id', $excludeid, '!=')); + $criteria->order('`name`'); + $criteria->sort('ASC'); + if ($start != 0 || $limit != 0) + { + $criteria->start($start); + $criteria->sort($limit); + } + $fonts = xoops_getModuleHandler('identities',_MD_FONTIER_MODULE_DIRNAME)->getObjects($criteria); + $return = array(); + foreach($fonts as $id => $font) + { + $return[$id] = array('name' => $font->getVar('name'), 'url' => $font->getFontBrowseURL(), 'naming' => $font->getNamingURL()); + } + return $return; + } + /** + * + * @param string $base + * @return boolean|string + */ + function getIndexBrowseURL($base = '') + { + global $fontierConfigsList; + + if (empty($base)) + return false; + + if ($fontierConfigsList['htaccess']) { + return XOOPS_URL . '/' . $fontierConfigsList['base'] . '/index/0/30/' . urlencode($base) . '.' . $fontierConfigsList['html']; + } + return XOOPS_URL . '/modules/' . _MD_FONTIER_MODULE_DIRNAME. '/?op=index&start=0&limit=30&base=' . urlencode($base); + } + + /** + * + * @param string $base + * @return boolean|unknown + */ + function getIndexesArrayByBase($base = '') + { + if (empty($base)) + return false; + return xoops_getModuleHandler('indexes',_MD_FONTIER_MODULE_DIRNAME)->getIndexesListbyBase($base); + } + + /** + * + * @param string $base + * @return boolean|XoopsObject + */ + function getByBase($base = '') + { + if (empty($base)) + return false; + + $sql = "SELECT `id` FROM `" . $GLOBALS['xoopsDB']->prefix($this->tbl) . "` WHERE `base` LIKE '$base'"; + list($id) = $GLOBALS['xoopsDB']->fetchRow($GLOBALS['xoopsDB']->queryF($sql)); + + if (isset($id) && !empty($id)) + return $this->get($id); + + return false; + } + + /** + * + * @param string $base + * @param number $number + * @return boolean|unknown + */ + function addViewsByBase($base = '', $number = 1) + { + if (empty($base) || $number = 0) + return false; + + $sql = "UPDATE `" . $GLOBALS['xoopsDB']->prefix($this->tbl) . "` SET `views` = `views` + '$number' WHERE `base` LIKE '$base'"; + return $GLOBALS['xoopsDB']->queryF($sql); + } + + /** + * + * @param string $base + * @param number $number + * @return boolean|unknown + */ + function addDownloadsByBase($base = '', $number = 1) + { + if (empty($base) || $number = 0) + return false; + + $sql = "UPDATE `" . $GLOBALS['xoopsDB']->prefix($this->tbl) . "` SET `downloads` = `downloads` + '$number' WHERE `base` LIKE '$base'"; + return $GLOBALS['xoopsDB']->queryF($sql); + } +} + + +?> \ No newline at end of file Property changes on: XoopsModules/fontier+/trunk/modules/fontier/class/indexes.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/class/objects.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/class/objects.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/class/objects.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,146 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + + +if (!defined('_MI_PLEASE_MODULE_DIRNAME')) { + return false; +} + +//* +require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects.php'); + + +/** + * Class for Addresses in Please email ticketer + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class fontierXoopsObject extends XoopsObject +{ + /** + * (non-PHPdoc) + * @see XoopsObject::assignVar() + */ + function assignVar($key, $value) + { + if ($this->vars[$key]['data_type'] == XOBJ_DTYPE_OTHER) { + parent::assignVar($key, convertDecompressData($value)); + } elseif (strpos($key, 'pass')||strpos($key, 'password')) { + parent::assignVar($key, convertDecryptPassword($value, PLEASE_SALT . PLEASE_SALT_WHENSET)); + } else + parent::assignVar($key, $value); + } + + /** + * (non-PHPdoc) + * @see XoopsObject::cleanVars() + */ + function cleanVars($object = null) + { + $ret = false; + if (empty($object)||is_null($object)) + $object = self; + if (is_a($object, "XoopsObject")) + if ($ret = parent::cleanVars($object)) + { + foreach(array_keys($object->vars) as $field) + { + if ($object->vars[$field]['data_type'] == XOBJ_DTYPE_OTHER) { + $object->vars[$field]['value'] = convertCompressData($object->vars[$field]['value']); + } elseif (strpos($field, 'pass')||strpos($field, 'password')) { + $object->vars[$field]['value'] = convertEncryptPassword($object->vars[$field]['value'], PLEASE_SALT . PLEASE_SALT_WHENSET); + } + } + } + return $ret; + } + + /** + * Returns MD5 Identify hash for handler getMD5()' + * + * @param string $field + * @return string + */ + function getMD5($field = 'id') + { + return md5(PLEASE_SALT . $this->getVar($field) . PLEASE_SALT); + } +} + +/** + * Handler Modelling Class for Addresses in Please email ticketer + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class fontierXoopsObjectHandler extends XoopsPersistableObjectHandler +{ + + + /** + * Table Name without prefix used + * + * @var string + */ + var $tbl = ''; + + /** + * Child Object Handling Class + * + * @var string + */ + var $child = ''; + + /** + * Child Object Identity Key + * + * @var string + */ + var $identity = ''; + + /** + * Child Object Default Envaluing Costs + * + * @var string + */ + var $envalued = ''; + + /** + * Class Constructor + * @param XoopsDB $db + * @param string $tbl + * @param string $child + * @param string $identity + * @param string $envalued + */ + function __construct($db, $tbl = '', $child = '', $identity = '', $envalued = '') + { + if (!is_object($db)) + $db = $GLOBAL["xoopsDB"]; + $this->tbl = $tbl; + $this->child = $child; + $this->identity = $identity; + $this->envalued = $envalued; + return parent::__construct($db, $this->tbl, $this->child, $this->identity, $this->envalued); + } + +} \ No newline at end of file Property changes on: XoopsModules/fontier+/trunk/modules/fontier/class/objects.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/comment_delete.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/comment_delete.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/comment_delete.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,26 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +include_once 'header.php'; +include_once XOOPS_ROOT_PATH.'/include/comment_delete.php'; +?> \ No newline at end of file Property changes on: XoopsModules/fontier+/trunk/modules/fontier/comment_delete.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/comment_edit.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/comment_edit.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/comment_edit.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,26 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +include_once 'header.php'; +include_once XOOPS_ROOT_PATH.'/include/comment_edit.php'; +?> \ No newline at end of file Property changes on: XoopsModules/fontier+/trunk/modules/fontier/comment_edit.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/comment_new.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/comment_new.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/comment_new.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,57 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +include_once 'header.php'; +include_once NW_MODULE_PATH . '/class/class.newsstory.php'; +include_once NW_MODULE_PATH . '/include/functions.php'; + +// We verify that the user can post comments ********************************** +if(!isset($xoopsModuleConfig)) { + die(); +} + +if($xoopsModuleConfig['com_rule'] == 0) { // Comments are deactivate + die(); +} + +if($xoopsModuleConfig['com_anonpost'] == 0 && !is_object($xoopsUser)) { // Anonymous users can't post + die(); +} +// **************************************************************************** + +$com_itemid = isset($_GET['com_itemid']) ? intval($_GET['com_itemid']) : 0; +if ($com_itemid > 0) { + $article = new nw_NewsStory($com_itemid); + if($article->storyid>0) { + $com_replytext = _POSTEDBY.' <b>'.$article->uname().'</b> '._DATE.' <b>'.formatTimestamp($article->published(),nw_getmoduleoption('dateformat', NW_MODULE_DIR_NAME)).'</b><br /><br />'.$article->hometext(); + $bodytext = $article->bodytext(); + if ($bodytext != '') { + $com_replytext .= '<br /><br />'.$bodytext.''; + } + $com_replytitle = $article->title(); + include_once XOOPS_ROOT_PATH.'/include/comment_new.php'; + } else { + exit; + } +} +?> Property changes on: XoopsModules/fontier+/trunk/modules/fontier/comment_new.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/comment_post.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/comment_post.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/comment_post.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,41 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +// ------------------------------------------------------------------------ // +include_once 'header.php'; + +// We verify that the user can post comments ********************************** +if(!isset($xoopsModuleConfig)) { + die(); +} + +if($xoopsModuleConfig['com_rule'] == 0) { // Comments are deactivate + die(); +} + +if($xoopsModuleConfig['com_anonpost'] == 0 && !is_object($xoopsUser)) { // Anonymous users can't post + die(); +} +// **************************************************************************** +include_once XOOPS_ROOT_PATH.'/include/comment_post.php'; +?> \ No newline at end of file Property changes on: XoopsModules/fontier+/trunk/modules/fontier/comment_post.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/comment_reply.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/comment_reply.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/comment_reply.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,26 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + +include_once 'header.php'; +include_once XOOPS_ROOT_PATH.'/include/comment_reply.php'; +?> \ No newline at end of file Property changes on: XoopsModules/fontier+/trunk/modules/fontier/comment_reply.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/crons/caching.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/crons/caching.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/crons/caching.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,45 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + + + require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + + set_time_limit(8444); + + global $fontierConfigsList; + + xoops_load("XoopsCache"); + + $caches = XoopsCache::read(_MD_FONTIER_MODULE_DIRNAME . "-caches-session"); + if (!is_array($caches)) + $caches = array(); + foreach($caches as $key => $time) + { + if ($time < time()) + { + XoopsCache::delete($key); + unset($caches[$key]); + } + } + XoopsCache::write(_MD_FONTIER_MODULE_DIRNAME . "-caches-session", $caches, 60*60*24*90*128); + \ No newline at end of file Added: XoopsModules/fontier+/trunk/modules/fontier/crons/glyphs.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/crons/glyphs.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/crons/glyphs.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,55 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + + + require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + + set_time_limit(8444); + + global $fontierConfigsList; + + $identitiesHandler= xoops_getModuleHandler('identities',_MD_FONTIER_MODULE_DIRNAME); + + $criteria = new CriteriaCompo(new Criteria('polling', 0, '>')); + $criteria->add(new Criteria('glyphed', time() - $fontierConfigsList['cache_glyphs'], "<=")); + if (!empty($fontierConfigsList['api_path']) && $identitiesHandler->getCount($criteria) > 0) + { + $criteria->order('RAND()'); + if ($fontierConfigsList['num_polled_glyphs'] > 0) + $criteria->setLimit($fontierConfigsList['num_polled_glyphs']); + if ($fonts = $identitiesHandler->getObjects($criteria)) + { + foreach($fonts as $font) + { + $glyphs = array(); + for($utf=31;$utf<128;$utf++) + if ($utf > 31 && $utf< 124) + if (mt_rand(0,3)==2 || mt_rand(0,6)==5) + $glyphs[] = $utf; + $font->setVar('glyphs', $glyphs); + $font->setVar('glyphed', time()); + $identitiesHandler->insert($font, true); + } + } + } + \ No newline at end of file Added: XoopsModules/fontier+/trunk/modules/fontier/crons/identities.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/crons/identities.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/crons/identities.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,47 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage fontier+ + * @description Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * @version 1.0.1 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/fontier + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/fontier + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/fontier + * @link http://internetfounder.wordpress.com + */ + + require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'header.php'; + + set_time_limit(8444); + + global $fontierConfigsList; + + $identitiesHandler= xoops_getModuleHandler('identities',_MD_FONTIER_MODULE_DIRNAME); + + if (!empty($fontierConfigsList['api_path'])) + { + $data = json_decode(getURIData(str_replace("%apipath%", $fontierConfigsList['api_path'], $fontierConfigsList['api_path_json_identities'])), true); + if (!empty($data)) { + foreach($data as $identity) + { + $criteria = new Criteria('identity', $identity, 'LIKE'); + if ($identitiesHandler->getCount($criteria) == 0) + { + $obj = $identitiesHandler->create(); + $obj->setVar('identity', $identity); + $identitiesHandler->insert($obj, true); + } + } + } + } \ No newline at end of file Added: XoopsModules/fontier+/trunk/modules/fontier/crons/index.html =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/crons/index.html (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/crons/index.html 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/fontier+/trunk/modules/fontier/crons/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/fontier+/trunk/modules/fontier/crons/polling.php =================================================================== --- XoopsModules/fontier+/trunk/modules/fontier/crons/polling.php (rev 0) +++ XoopsModules/fontier+/trunk/modules/fontier/crons/polling.php 2017-05-01 19:18:52 UTC (rev 13235) @@ -0,0 +1,102 @@ +<?php +/** + * Font Repository Browser for the Chronolabs Cooperative Fonting Repository Services API + * + * 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 ... [truncated message content] |
From: <wis...@us...> - 2017-01-19 13:15:35
|
Revision: 13231 http://sourceforge.net/p/xoops/svn/13231 Author: wishcraft Date: 2017-01-19 13:15:24 +0000 (Thu, 19 Jan 2017) Log Message: ----------- fonts for emails + interface | Module Name: email ticketer please! Added Paths: ----------- XoopsModules/please/trunk/htdocs/modules/please/css/ XoopsModules/please/trunk/htdocs/modules/please/css/index.html XoopsModules/please/trunk/htdocs/modules/please/fonts/ XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/ XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/ACADEMIC XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/LICENSE XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.afm XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.bin XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.cef XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.cff XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.dfont XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.eot XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.fon XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.gai XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.gsf XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.hqx XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ik XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.mf XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.otf XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.pcf XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.pf3 XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.pfa XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.pfb XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.pmf XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.pt3 XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.sfd XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.svg XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.t42 XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ttd XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ttf XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ttg XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufm XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/ XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/feature.fea XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/fontinfo.plist XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/A_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/A_E_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/A_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/A_circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/A_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/A_grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/A_ring.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/A_tilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/B_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/C_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/C_cedilla.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/D_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/E_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/E_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/E_circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/E_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/E_grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/E_th.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/F_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/G_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/H_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/I_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/I_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/I_circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/I_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/I_grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/J_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/K_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/L_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/L_slash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/M_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/N_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/N_tilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/O_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/O_E_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/O_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/O_circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/O_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/O_grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/O_slash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/O_tilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/P_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/Q_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/R_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/S_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/S_caron.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/T_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/T_horn.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/U_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/U_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/U_circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/U_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/U_grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/V_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/W_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/X_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/Y_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/Y_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/Y_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/Z_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/Z_caron.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/a.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/aacute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/acircumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/adieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ae.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/agrave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ampersand.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/aring.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/asciicircum.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/asciitilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/asterisk.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/at.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/atilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/b.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/backslash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/bar.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/braceleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/braceright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/bracketleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/bracketright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/breve.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/brokenbar.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/bullet.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/c.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/caron.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ccedilla.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/cedilla.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/cent.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/colon.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/comma.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/contents.plist XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/copyright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/currency.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/d.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/dagger.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/daggerdbl.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/degree.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/divide.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/dollar.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/dotaccent.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/dotlessi.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/e.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/eacute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ecircumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/edieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/egrave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/eight.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ellipsis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/emdash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/endash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/equal.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/eth.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/exclam.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/exclamdown.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/f.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/fi.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/five.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/fl.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/florin.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/four.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/fraction.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/g.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/germandbls.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/greater.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/guillemotleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/guillemotright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/guilsinglleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/guilsinglright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/h.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/hungarumlaut.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/hyphen.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/i.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/iacute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/icircumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/idieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/igrave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/j.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/k.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/l.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/less.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/logicalnot.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/lslash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/m.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/macron.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/minus.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/mu.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/multiply.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/n.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/nine.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ntilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/numbersign.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/o.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/oacute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ocircumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/odieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/oe.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ogonek.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ograve.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/one.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/onehalf.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/onequarter.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/onesuperior.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ordfeminine.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ordmasculine.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/oslash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/otilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/p.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/paragraph.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/parenleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/parenright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/percent.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/period.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/periodcentered.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/perthousand.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/plus.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/plusminus.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/q.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/question.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/questiondown.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/quotedbl.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/quotedblbase.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/quotedblleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/quotedblright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/quoteleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/quoteright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/quotesinglbase.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/quotesingle.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/r.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/registered.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ring.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/s.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/scaron.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/section.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/semicolon.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/seven.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/six.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/slash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/space.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/sterling.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/t.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/thorn.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/three.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/threequarters.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/threesuperior.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/tilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/trademark.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/two.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/twosuperior.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/u.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/uacute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ucircumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/udieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ugrave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/underscore.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/v.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/w.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/x.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/y.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/yacute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/ydieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/yen.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/z.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/zcaron.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/glyphs/zero.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/groups.plist XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/kerning.plist XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.ufo/metainfo.plist XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Present.woff XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/Preview for Present.png XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/TCPDF (PHP Extension)/ XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/TCPDF (PHP Extension)/present.php XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/TCPDF (PHP Extension)/present.z XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/code128-barcode-qkaka.jpg XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/code128-referee-11saqgo7ei4go.jpg XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/file.diz XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/font-name-card.png XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/font-resource.json XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/index.html XoopsModules/please/trunk/htdocs/modules/please/fonts/Present/style.css XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/ XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/ACADEMIC XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/LICENSE XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.afm XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.bin XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.cef XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.cff XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.dfont XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.eot XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.fon XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.gai XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.gsf XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.hqx XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ik XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.mf XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.otf XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.pcf XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.pf3 XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.pfa XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.pfb XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.pmf XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.pt3 XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.sfd XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.svg XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.t42 XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ttd XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ttf XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ttg XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufm XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/ XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/feature.fea XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/fontinfo.plist XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/ XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/A_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/A_E_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/A_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/A_circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/A_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/A_grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/A_ring.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/A_tilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/B_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/C_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/C_cedilla.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/D_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/E_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/E_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/E_circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/E_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/E_grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/E_ng.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/E_th.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/F_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/G_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/G_amma.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/H_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/H_bar.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/I_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/I_J_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/I_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/I_circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/I_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/I_grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/J_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/K_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/L_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/L_dot.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/L_slash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/M_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/N_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/N_tilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/O_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/O_E_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/O_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/O_circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/O_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/O_grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/O_mega.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/O_slash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/O_tilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/P_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/P_hi.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/P_ts.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/Q_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/R_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_A_420000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_D_630000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_010000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_020000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_030000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_040000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_050000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_060000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_070000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_080000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_090000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_100000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_110000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_140000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_150000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_160000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_190000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_200000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_210000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_220000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_230000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_240000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_250000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_260000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_270000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_280000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_360000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_370000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_380000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_390000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_400000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_410000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_420000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_430000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_440000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_450000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_460000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_470000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_480000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_490000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_500000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_510000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_520000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_530000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_540000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_570000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_580000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_590000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_600000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_F_610000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_570001.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_590000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_600000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_630000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_680000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_690000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_700000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_750000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_750002.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_760000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_770000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_M_790000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_P_320000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_S_000000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_S_010000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_S_260000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_S_270000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_V_040000.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_caron.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/S_igma.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/T_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/T_bar.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/T_heta.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/T_horn.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/U_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/U_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/U_circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/U_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/U_grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/V_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/W_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/X_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/Y_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/Y_acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/Y_dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/Z_.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/Z_caron.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/a.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/aacute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/acircumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/acute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/adieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/ae.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/agrave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/alpha.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/ampersand.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/apostrophereverse.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/approxequal.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/aring.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/arrowboth.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/arrowdown.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/arrowleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/arrowright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/arrowup.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/asciicircum.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/asciitilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/asterisk.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/at.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/atilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/b.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/backslash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/bar.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/braceleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/braceright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/bracketleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/bracketright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/breve.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/brokenbar.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/bullet.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/c.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/caretinverted.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/caron.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/ccedilla.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/cedilla.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/cent.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/circumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/club.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/colon.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/comma.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/contents.plist XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/copyright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/currency.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/d.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/dagger.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/daggerdbl.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/dbar.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/degree.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/delta.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/deutschmark.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/diamond.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/diamondopen.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/dieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/divide.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/dollar.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/dotaccent.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/dotlessi.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/e.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/eacute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/ecircumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/edieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/egrave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/eight.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/ellipsis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/emdash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/endash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/eng.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/epsilon.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/equal.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/equivalence.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/eth.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/exclam.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/exclamdbl.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/exclamdown.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/f.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/female.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/fi.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/filledbox.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/five.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/fiveeighths.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/fl.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/florin.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/four.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/fraction.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/franc.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/g.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/germandbls.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/grave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/greater.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/greaterequal.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/guillemotleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/guillemotright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/guilsinglleft.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/guilsinglright.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/h.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/hbar.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/heart.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/hungarumlaut.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/hyphen.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/i.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/iacute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/icircumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/idieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/igrave.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/ij.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/infinity.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/intersection.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/j.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/k.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/kgreenlandic.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/l.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/ldot.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/less.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/lessequal.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/logicalnot.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/lslash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/m.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/macron.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/male.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/minus.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/monospacedash.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/mu.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/multiply.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/musicalnote.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/musicalnotedbl.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/n.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/napostrophe.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/nine.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/nsuperior.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/ntilde.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/numbersign.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/o.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/oacute.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/ocircumflex.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/odieresis.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/oe.glif XoopsModules/please/trunk/htdocs/modules/please/fonts/Prestige Elite/PrestigeElite.ufo/glyphs/ogonek.glif XoopsModules/please/trunk/htdocs/modules/ple... [truncated message content] |
From: <wis...@us...> - 2017-01-14 17:57:54
|
Revision: 13230 http://sourceforge.net/p/xoops/svn/13230 Author: wishcraft Date: 2017-01-14 17:57:49 +0000 (Sat, 14 Jan 2017) Log Message: ----------- Email Ticketer Please! Still in intial build! Added Paths: ----------- XoopsModules/please/trunk/htdocs/ XoopsModules/please/trunk/htdocs/modules/ XoopsModules/please/trunk/htdocs/modules/please/ XoopsModules/please/trunk/htdocs/modules/please/admin/ XoopsModules/please/trunk/htdocs/modules/please/admin/about.php XoopsModules/please/trunk/htdocs/modules/please/admin/add-departments.php XoopsModules/please/trunk/htdocs/modules/please/admin/departments.php XoopsModules/please/trunk/htdocs/modules/please/admin/edit-departments.php XoopsModules/please/trunk/htdocs/modules/please/admin/footer.php XoopsModules/please/trunk/htdocs/modules/please/admin/header.php XoopsModules/please/trunk/htdocs/modules/please/admin/index.html XoopsModules/please/trunk/htdocs/modules/please/admin/index.php XoopsModules/please/trunk/htdocs/modules/please/admin/menu.php XoopsModules/please/trunk/htdocs/modules/please/admin/permissions.php XoopsModules/please/trunk/htdocs/modules/please/admin/post.php XoopsModules/please/trunk/htdocs/modules/please/blocks/ XoopsModules/please/trunk/htdocs/modules/please/blocks/index.html XoopsModules/please/trunk/htdocs/modules/please/class/ XoopsModules/please/trunk/htdocs/modules/please/class/addresses.php XoopsModules/please/trunk/htdocs/modules/please/class/bcc.php XoopsModules/please/trunk/htdocs/modules/please/class/cc.php XoopsModules/please/trunk/htdocs/modules/please/class/contents.php XoopsModules/please/trunk/htdocs/modules/please/class/correspondence.php XoopsModules/please/trunk/htdocs/modules/please/class/correspondence_bcc.php XoopsModules/please/trunk/htdocs/modules/please/class/correspondence_cc.php XoopsModules/please/trunk/htdocs/modules/please/class/correspondence_contents.php XoopsModules/please/trunk/htdocs/modules/please/class/correspondence_relayed.php XoopsModules/please/trunk/htdocs/modules/please/class/correspondence_to.php XoopsModules/please/trunk/htdocs/modules/please/class/departments.php XoopsModules/please/trunk/htdocs/modules/please/class/departments_escalations.php XoopsModules/please/trunk/htdocs/modules/please/class/departments_keywords.php XoopsModules/please/trunk/htdocs/modules/please/class/departments_mantis_projects.php XoopsModules/please/trunk/htdocs/modules/please/class/departments_staff.php XoopsModules/please/trunk/htdocs/modules/please/class/departments_staff_keywords.php XoopsModules/please/trunk/htdocs/modules/please/class/departments_staff_mantis_tickets.php XoopsModules/please/trunk/htdocs/modules/please/class/emails.php XoopsModules/please/trunk/htdocs/modules/please/class/emails_files.php XoopsModules/please/trunk/htdocs/modules/please/class/files.php XoopsModules/please/trunk/htdocs/modules/please/class/images.php XoopsModules/please/trunk/htdocs/modules/please/class/index.html XoopsModules/please/trunk/htdocs/modules/please/class/keywords.php XoopsModules/please/trunk/htdocs/modules/please/class/mailboxs/ XoopsModules/please/trunk/htdocs/modules/please/class/mailboxs/api.php XoopsModules/please/trunk/htdocs/modules/please/class/mailboxs/imap.php XoopsModules/please/trunk/htdocs/modules/please/class/mailboxs.php XoopsModules/please/trunk/htdocs/modules/please/class/messages.php XoopsModules/please/trunk/htdocs/modules/please/class/messages_cc.php XoopsModules/please/trunk/htdocs/modules/please/class/messages_files.php XoopsModules/please/trunk/htdocs/modules/please/class/messages_to.php XoopsModules/please/trunk/htdocs/modules/please/class/mimetypes.php XoopsModules/please/trunk/htdocs/modules/please/class/names.php XoopsModules/please/trunk/htdocs/modules/please/class/objects.php XoopsModules/please/trunk/htdocs/modules/please/class/phones.php XoopsModules/please/trunk/htdocs/modules/please/class/relayed.php XoopsModules/please/trunk/htdocs/modules/please/class/spam_addresses.php XoopsModules/please/trunk/htdocs/modules/please/class/spam_keywords.php XoopsModules/please/trunk/htdocs/modules/please/class/subjects.php XoopsModules/please/trunk/htdocs/modules/please/class/tickets.php XoopsModules/please/trunk/htdocs/modules/please/class/tickets_attachments.php XoopsModules/please/trunk/htdocs/modules/please/class/tickets_contents.php XoopsModules/please/trunk/htdocs/modules/please/class/tickets_departments.php XoopsModules/please/trunk/htdocs/modules/please/class/tickets_files.php XoopsModules/please/trunk/htdocs/modules/please/class/tickets_keywords.php XoopsModules/please/trunk/htdocs/modules/please/class/tickets_ownership.php XoopsModules/please/trunk/htdocs/modules/please/class/tickets_referees.php XoopsModules/please/trunk/htdocs/modules/please/class/to.php XoopsModules/please/trunk/htdocs/modules/please/class/wiki.php XoopsModules/please/trunk/htdocs/modules/please/class/wiki_keywords.php XoopsModules/please/trunk/htdocs/modules/please/class/wiki_staff.php XoopsModules/please/trunk/htdocs/modules/please/crons/ XoopsModules/please/trunk/htdocs/modules/please/crons/index.html XoopsModules/please/trunk/htdocs/modules/please/header.php XoopsModules/please/trunk/htdocs/modules/please/images/ XoopsModules/please/trunk/htdocs/modules/please/images/index.html XoopsModules/please/trunk/htdocs/modules/please/images/modicon.png XoopsModules/please/trunk/htdocs/modules/please/include/ XoopsModules/please/trunk/htdocs/modules/please/include/common.php XoopsModules/please/trunk/htdocs/modules/please/include/data/ XoopsModules/please/trunk/htdocs/modules/please/include/data/index.html XoopsModules/please/trunk/htdocs/modules/please/include/data/mimetypes-archives.diz XoopsModules/please/trunk/htdocs/modules/please/include/data/mimetypes-audio.diz XoopsModules/please/trunk/htdocs/modules/please/include/data/mimetypes-general.diz XoopsModules/please/trunk/htdocs/modules/please/include/data/mimetypes-images.diz XoopsModules/please/trunk/htdocs/modules/please/include/data/mimetypes-video.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/ XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/attachments__mailboxs.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/collect__mailboxs.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/images__mailboxs.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/index.html XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/manager_bcc__departments.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/mantis__departments.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/messaging__departments_staff.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/method__correspondence.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/method__mailboxs.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/mode__departments_escalations.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/mode__phones.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/mode__tickets.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/mode__tickets_referees.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/recieved__emails.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/sending__emails.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/signature__mailboxs.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/spam-checking__messages.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/spam-email__messages.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/spam-training__messages.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/ssl__mailboxs.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/state__departments_staff.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/state__keywords.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/state__tickets.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/state__tickets_attachments.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/state__tickets_contents.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/state__tickets_ownership.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/state__wiki.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/storage__files.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/storage__images.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/typal__files.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/typal__messages.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/typal__phones.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/typal__tickets_attachments.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/typal__where.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/wammy-typal__messages.diz XoopsModules/please/trunk/htdocs/modules/please/include/enumerators/wammy__mailboxs.diz XoopsModules/please/trunk/htdocs/modules/please/include/formloader.php XoopsModules/please/trunk/htdocs/modules/please/include/formselectenumerator.php XoopsModules/please/trunk/htdocs/modules/please/include/functions.php XoopsModules/please/trunk/htdocs/modules/please/include/index.html XoopsModules/please/trunk/htdocs/modules/please/include/install.php XoopsModules/please/trunk/htdocs/modules/please/include/onupdate.php XoopsModules/please/trunk/htdocs/modules/please/include/uninstall.php XoopsModules/please/trunk/htdocs/modules/please/index.php XoopsModules/please/trunk/htdocs/modules/please/language/ XoopsModules/please/trunk/htdocs/modules/please/language/english/ XoopsModules/please/trunk/htdocs/modules/please/language/english/admin.php XoopsModules/please/trunk/htdocs/modules/please/language/english/blocks.php XoopsModules/please/trunk/htdocs/modules/please/language/english/errors.php XoopsModules/please/trunk/htdocs/modules/please/language/english/index.html XoopsModules/please/trunk/htdocs/modules/please/language/english/mail_template/ XoopsModules/please/trunk/htdocs/modules/please/language/english/main.php XoopsModules/please/trunk/htdocs/modules/please/language/english/modinfo.php XoopsModules/please/trunk/htdocs/modules/please/language/english/release.nfo XoopsModules/please/trunk/htdocs/modules/please/language/english/release.xcode XoopsModules/please/trunk/htdocs/modules/please/language/index.html XoopsModules/please/trunk/htdocs/modules/please/mantis.php XoopsModules/please/trunk/htdocs/modules/please/preloads/ XoopsModules/please/trunk/htdocs/modules/please/preloads/index.html XoopsModules/please/trunk/htdocs/modules/please/preloads/sef.php XoopsModules/please/trunk/htdocs/modules/please/sql/ XoopsModules/please/trunk/htdocs/modules/please/sql/index.html XoopsModules/please/trunk/htdocs/modules/please/sql/mysqli.sql XoopsModules/please/trunk/htdocs/modules/please/sql/tables.diz XoopsModules/please/trunk/htdocs/modules/please/templates/ XoopsModules/please/trunk/htdocs/modules/please/templates/admin/ XoopsModules/please/trunk/htdocs/modules/please/templates/admin/about.html XoopsModules/please/trunk/htdocs/modules/please/templates/admin/add-departments.html XoopsModules/please/trunk/htdocs/modules/please/templates/admin/departments.html XoopsModules/please/trunk/htdocs/modules/please/templates/admin/edit-departments.html XoopsModules/please/trunk/htdocs/modules/please/templates/admin/index.html XoopsModules/please/trunk/htdocs/modules/please/templates/blocks/ XoopsModules/please/trunk/htdocs/modules/please/templates/blocks/index.html XoopsModules/please/trunk/htdocs/modules/please/templates/groups.php.tpl XoopsModules/please/trunk/htdocs/modules/please/templates/index.html XoopsModules/please/trunk/htdocs/modules/please/xoops_version.php Removed Paths: ------------- XoopsModules/please/trunk/admin/ XoopsModules/please/trunk/blocks/ XoopsModules/please/trunk/class/ XoopsModules/please/trunk/crons/ XoopsModules/please/trunk/header.php XoopsModules/please/trunk/images/ XoopsModules/please/trunk/include/ XoopsModules/please/trunk/index.php XoopsModules/please/trunk/language/ XoopsModules/please/trunk/mantis.php XoopsModules/please/trunk/preloads/ XoopsModules/please/trunk/sql/ XoopsModules/please/trunk/templates/ XoopsModules/please/trunk/xoops_version.php Deleted: XoopsModules/please/trunk/header.php =================================================================== --- XoopsModules/please/trunk/header.php 2017-01-01 01:51:06 UTC (rev 13229) +++ XoopsModules/please/trunk/header.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -1,74 +0,0 @@ -<?php -/** - * Please Email Ticketer of Batch Group & User Emails - * - * 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://sourceforge.net/projects/xoops/ - * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) - * @author Simon Roberts (wishcraft) <wis...@us...> - * @subpackage please - * @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets - * @version 1.0.5 - * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please - * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please - * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please - * @link http://internetfounder.wordpress.com - */ - - include_once (dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'mainfile.php'); - - ini_set('display_errors', true); - ini_set('log_errors', true); - error_reporting(E_ERROR); - - if (!defined('_MI_PLEASE_MODULE_DIRNAME')) - define('_MI_PLEASE_MODULE_DIRNAME', basename(__DIR__)); - if (!defined('PLEASE_UPLOAD_PATH')) - define('PLEASE_UPLOAD_PATH', XOOPS_ROOT_PATH . DIRECTORY_SEPARATOR . 'uploads' . DIRECTORY_SEPARATOR . basename(__DIR__)); - if (!defined('PLEASE_DATA_PATH')) - define('PLEASE_DATA_PATH', XOOPS_VAR_PATH . DIRECTORY_SEPARATOR . basename(__DIR__)); - if (!defined('PLEASE_UPLOAD_URL')) - define('PLEASE_UPLOAD_URL', XOOPS_URL . DIRECTORY_SEPARATOR . 'uploads' . DIRECTORY_SEPARATOR . basename(__DIR__)); - if (!defined('PLEASE_DATA_URL')) - define('PLEASE_DATA_URL', XOOPS_URL . DIRECTORY_SEPARATOR . 'modules' . DIRECTORY_SEPARATOR . basename(__DIR__) . DIRECTORY_SEPARATOR . 'data' ); - if (!is_dir(PLEASE_UPLOAD_PATH)) - mkdir(PLEASE_UPLOAD_PATH, 0777, true); - if (!is_dir(PLEASE_DATA_PATH)) - mkdir(PLEASE_DATA_PATH, 0777, true); - - xoops_loadLanguage('modinfo', _MI_PLEASE_MODULE_DIRNAME); - xoops_loadLanguage('errors', _MI_PLEASE_MODULE_DIRNAME); - - global $pleaseModule, $pleaseConfigsList, $pleaseConfigs, $pleaseConfigsOptions; - - if (empty($pleaseModule)) - { - if (is_a($pleaseModule = xoops_gethandler('module')->getByDirname(_MI_PLEASE_MODULE_DIRNAME), "XoopsModule")) - { - if (empty($pleaseConfigsList)) - { - $pleaseConfigsList = xoops_gethandler('config')->getConfigList($pleaseModule->getVar('mid')); - if (!defined('_MD_CONVERT_DEFAULT_TWITTER')) - define('_MD_CONVERT_DEFAULT_TWITTER',$pleaseConfigsList['username']); - } - if (empty($pleaseConfigs)) - { - $pleaseConfigs = xoops_gethandler('config')->getConfigs(new Criteria('conf_modid', $pleaseModule->getVar('mid'))); - } - if (empty($pleaseConfigsOptions) && !empty($pleaseConfigs)) - { - foreach($pleaseConfigs as $key => $config) - $pleaseConfigsOptions[$config->getVar('conf_name')] = $config->getConfOptions(); - } - } - } - - include_once (__DIR__ . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'functions.php'); - -?> \ No newline at end of file Added: XoopsModules/please/trunk/htdocs/modules/please/admin/about.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/admin/about.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/admin/about.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,39 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +include_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; +include_once __DIR__ . '/header.php'; +xoops_cp_header(); +$module_info = $module_handler->get($xoopsModule->getVar('mid')); +$aboutAdmin = new ModuleAdmin(); +$GLOBALS['xoopsTpl']->assign('nav', $aboutAdmin->addNavigation(basename(__FILE__))); +$about = $aboutAdmin->renderAbout('ZZZXXX7777888', false); +$replace = '<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> + <input type="hidden" name="cmd" value="_s-xclick"> + <input type="hidden" name="hosted_button_id" value="ZZZXXX7777888"> + <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" style="background-color:transparent;"> + <img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1"> + </form>'; +$GLOBALS['xoopsTpl']->assign('about', str_replace($replace, _AM_PLEASE_ADMIN_DONATE, $about)); +include_once __DIR__ . '/footer.php'; Added: XoopsModules/please/trunk/htdocs/modules/please/admin/add-departments.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/admin/add-departments.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/admin/add-departments.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,32 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +global $xoopsModule, $xoopsTpl, $thisModuleDir; +include_once __DIR__ . '/header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation('departments.php')); +$departments_handler = xoops_getModuleHandler('departments', $thisModuleDir); +$GLOBALS['xoopsTpl']->assign('form', $departments_handler->getAddFormAdmin()); +include_once __DIR__ . '/footer.php'; Added: XoopsModules/please/trunk/htdocs/modules/please/admin/departments.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/admin/departments.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/admin/departments.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,70 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +global $xoopsModule, $xoopsTpl, $thisModuleDir; + +include_once __DIR__ . '/header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); +$indexAdmin->addItemButton(_AM_PLEASE_ADMIN_DEPARTMENTS_ADD, 'add-departments.php', 'add', ''); +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation(basename(__FILE__))); +$GLOBALS['xoopsTpl']->assign('buttons',$indexAdmin->renderButton('right', '')); +$departments_handler = xoops_getModuleHandler('departments', $thisModuleDir); +if (!isset($GLOBALS['sort'])||empty($GLOBALS['sort'])) + $GLOBALS['sort'] = $departments_handler->getDefaultSort('admin'); +$criteria = new Criteria(1, 1); +if (isset($GLOBALS['sort']) && !empty($GLOBALS['sort'])) + $criteria->setSort($GLOBALS['sort']); +if (isset($GLOBALS['order']) && !empty($GLOBALS['order'])) + $criteria->setOrder($GLOBALS['order']); +$pagenav = new XoopsPageNav($ttlitems = $departments_handler->count($criteria), $GLOBALS['limit'], $GLOBALS['start'], 'start', 'limit='.$GLOBALS['limit'].(isset($GLOBALS['op'])&&!empty($GLOBALS['op'])?'&op='.$GLOBALS['op']:"").(isset($GLOBALS['sort'])&&!empty($GLOBALS['sort'])?'&sort='.$GLOBALS['sort']:"").(isset($GLOBALS['order'])&&!empty($GLOBALS['order'])?'&order='.$GLOBALS['order']:"")); +$GLOBALS['xoopsTpl']->assign('pagenav',$pagenav->renderNav(_AM_PLEASE_ADMIN_PAGENAV_OFFSET)); +$criteria->setStart($GLOBALS['start']); +$criteria->setLimit($GLOBALS['limit']); +if ($ttlitems==0) +{ + redirect_header(XOOPS_URL . '/modules/' . $thisModuleDir . '/admin/add-department.php', 4, _ERR_PLEASE_ADMIN_NODEPARTMENTS); + exit(0); +} +if ($departments = $departments_handler->getObjects($criteria, true, false)) +{ + $GLOBALS['xoopsTpl']->assign('tableheaders', $departments_handler->getAdminListFormHeader()); + foreach($departments as $id => $department) + { + $GLOBALS['xoopsTpl']->append('departments', $department->getAdminListFormItems()); + } +} else { + if ($GLOBALS['start']>0 && $GLOBALS['start'] > $GLOBALS['limit']) + $GLOBALS['start'] = $GLOBALS['start'] - $GLOBALS['limit']; + else + $GLOBALS['start'] = 0; + redirect_header(XOOPS_URL . '/modules/' . $thisModuleDir . '/admin/'.basename(__FILE__).'?start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].(isset($GLOBALS['op'])&&!empty($GLOBALS['op'])?'&op='.$GLOBALS['op']:"").(isset($GLOBALS['sort'])&&!empty($GLOBALS['sort'])?'&sort='.$GLOBALS['sort']:"").(isset($GLOBALS['order'])&&!empty($GLOBALS['order'])?'&order='.$GLOBALS['order']:""), 4, _ERR_PLEASE_ADMIN_LISTRANGEEXCEEDED); + exit(0); +} +$GLOBALS['xoopsTpl']->assign('start', $GLOBALS['start']); +$GLOBALS['xoopsTpl']->assign('limit', $GLOBALS['limit']); +$GLOBALS['xoopsTpl']->assign('sort', $GLOBALS['sort']); +$GLOBALS['xoopsTpl']->assign('order', $GLOBALS['order']); +include_once __DIR__ . '/footer.php'; Added: XoopsModules/please/trunk/htdocs/modules/please/admin/edit-departments.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/admin/edit-departments.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/admin/edit-departments.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,38 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +global $xoopsModule, $xoopsTpl, $thisModuleDir; +include_once __DIR__ . '/header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation('departments.php')); +$departments_handler = xoops_getModuleHandler('departments', $thisModuleDir); +$department = $departments_handler->getMD5($GLOBALS['id']); +if (is_object($department) && !empty($department)) + $GLOBALS['xoopsTpl']->assign('form', $department->getEditFormAdmin()); +else { + redirect_header(XOOPS_URL . '/modules/' . $thisModuleDir . '/admin/departments.php', 4, _ERR_PLEASE_ADMIN_INVALIDHASH); + exit(0); +} +include_once __DIR__ . '/footer.php'; \ No newline at end of file Added: XoopsModules/please/trunk/htdocs/modules/please/admin/footer.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/admin/footer.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/admin/footer.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,29 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ +if (!empty($GLOBALS['template'])) + $GLOBALS['xoopsTpl']->assign('footer',$footer="<div class='adminfooter'>\n" . " <div style='text-align: center;'>\n" . " <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . " </div>\n" . ' ' . _AM_PLEASE_ADMIN_FOOTER . "\n" . '</div>'); +if (!empty($GLOBALS['template'])) + $GLOBALS['xoopsTpl']->display($GLOBALS['template']); +if (empty($GLOBALS['template'])) + echo $footer; +xoops_cp_footer(); Added: XoopsModules/please/trunk/htdocs/modules/please/admin/header.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/admin/header.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/admin/header.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,94 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$path = dirname(dirname(dirname(__DIR__))); +include_once dirname(__DIR__) . '/header.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +global $xoopsModule, $xoopsTpl, $thisModuleDir; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +//if functions.php file exist +//require_once dirname(__DIR__) . '/include/functions.php'; + +// Load language files +xoops_loadLanguage('errors', $thisModuleDir); +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); +xoops_load('pagenav'); + +$pathIcon16 = '../' . $xoopsModule->getInfo('icons16'); +$pathIcon32 = '../' . $xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +$myts = MyTextSanitizer::getInstance(); + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once XOOPS_ROOT_PATH . '/class/template.php'; + $xoopsTpl = new XoopsTpl(); +} + +include_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'); + +xoops_loadLanguage('user'); +if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once $GLOBALS['xoops']->path('/class/template.php'); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); +} + +if (isset($GLOBALS['xoopsTpl'])) +{ + $GLOBALS['xoopsTpl']->assign('dirname', $thisModuleDir); +} +if (isset($_REQUEST['start'])&&!empty($_REQUEST['start'])) + $GLOBALS['start'] = $_REQUEST['start']; +else + $GLOBALS['start'] = 0; + +if (isset($_REQUEST['limit'])&&!empty($_REQUEST['limit'])) + $GLOBALS['limit'] = $_REQUEST['limit']; +else + $GLOBALS['limit'] = _AM_PLEASE_ADMIN_LIMIT_ITEMS; + +if (isset($_REQUEST['sort'])&&!empty($_REQUEST['sort'])) + $GLOBALS['sort'] = $_REQUEST['sort']; +else + $GLOBALS['sort'] = ''; + +if (isset($_REQUEST['order'])&&!empty($_REQUEST['order'])) + $GLOBALS['order'] = $_REQUEST['order']; +else + $GLOBALS['order'] = 'ASC'; + +if (isset($_REQUEST['op'])&&!empty($_REQUEST['op'])) + $GLOBALS['op'] = $_REQUEST['op']; +else + $GLOBALS['op'] = ''; + +if (isset($_REQUEST['id'])&&!empty($_REQUEST['id'])) + $GLOBALS['id'] = $_REQUEST['id']; +else + $GLOBALS['id'] = ''; Added: XoopsModules/please/trunk/htdocs/modules/please/admin/index.html =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/admin/index.html (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/admin/index.html 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/please/trunk/htdocs/modules/please/admin/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/please/trunk/htdocs/modules/please/admin/index.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/admin/index.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/admin/index.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,48 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); + +include_once __DIR__ . '/header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); +//----------------------- +// $xpPartnerHandler = xoops_getModuleHandler('partners', $xoopsModule->getVar('dirname')); + +// $totalPartners = $xpPartnerHandler->getCount(); +// $totalNonActivePartners = $xpPartnerHandler->getCount(new Criteria('status', 0, '=')); +// $totalActivePartners = $totalPartners - $totalNonActivePartners; + +// $indexAdmin->addInfoBox(_MD_XPARTNERS_DASHBOARD); + +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALACTIVE. "</infolabel>", $totalActivePartners, 'Green'); +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALNONACTIVE. "</infolabel>", $totalNonActivePartners, 'Red'); +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALPARTNERS. "</infolabel><infotext>", $totalPartners."</infotext>"); +//---------------------------- + +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation(basename(__FILE__))); +$GLOBALS['xoopsTpl']->assign('index',$indexAdmin->renderIndex()); + +include_once __DIR__ . '/footer.php'; +//xoops_cp_footer(); Added: XoopsModules/please/trunk/htdocs/modules/please/admin/menu.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/admin/menu.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/admin/menu.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,89 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$path = dirname(dirname(dirname(__DIR__))); +include_once $path . '/mainfile.php'; + +$dirname = basename(dirname(__DIR__)); +$module_handler = xoops_getHandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); +$pathLanguage = $path . $pathModuleAdmin; + +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { + $fileinc = $pathLanguage . '/language/english/main.php'; +} + +include_once $fileinc; + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_HOME; +$adminmenu[$i]['link'] = 'admin/index.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/home.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_DEPARTMENTS; +$adminmenu[$i]['link'] = 'admin/departments.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/users.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_MAILBOXES; +$adminmenu[$i]['link'] = 'admin/mailboxes.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/mail_forward.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_ESCALATION; +$adminmenu[$i]['link'] = 'admin/escalations.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/security.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_USERS; +$adminmenu[$i]['link'] = 'admin/users.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/users.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_FILES; +$adminmenu[$i]['link'] = 'admin/files.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/fileshare.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_MIMETYPES; +$adminmenu[$i]['link'] = 'admin/mimetypes.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/upload.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_TICKETS; +$adminmenu[$i]['link'] = 'admin/tickets.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/event.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_KEYWQRDS; +$adminmenu[$i]['link'] = 'admin/keywords.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/highlight.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_REPORTS; +$adminmenu[$i]['link'] = 'admin/reports.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/newsletter.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_PERMISSIONS; +$adminmenu[$i]['link'] = 'admin/permissions.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/permissions.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_ABOUT; +$adminmenu[$i]['link'] = 'admin/about.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/about.png'; Added: XoopsModules/please/trunk/htdocs/modules/please/admin/permissions.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/admin/permissions.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/admin/permissions.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,112 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +include_once __DIR__ . '/admin_header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +echo $indexAdmin->addNavigation(basename(__FILE__)); + +$op = \Xmf\Request::getCmd('op', 'edit'); + +$perm_desc = ''; +switch ($op) { + case 'visibility': + //redirect_header("visibility.php", 0, _PROFILE_AM_PROF_VISIBLE); + header('Location: visibility.php'); + break; + + case 'edit': + $title_of_form = _PROFILE_AM_PROF_EDITABLE; + $perm_name = 'profile_edit'; + $restriction = 'field_edit'; + $anonymous = false; + break; + + case 'search': + $title_of_form = _PROFILE_AM_PROF_SEARCH; + $perm_name = 'profile_search'; + $restriction = ''; + $anonymous = true; + break; + + case 'access': + $title_of_form = _PROFILE_AM_PROF_ACCESS; + $perm_name = 'profile_access'; + $perm_desc = _PROFILE_AM_PROF_ACCESS_DESC; + $restriction = ''; + $anonymous = true; + break; +} + +include_once $GLOBALS['xoops']->path('/class/xoopsformloader.php'); +$opform = new XoopsSimpleForm('', 'opform', 'permissions.php', 'get'); +$op_select = new XoopsFormSelect('', 'op', $op); +$op_select->setExtra('onchange="document.forms.opform.submit()"'); +$op_select->addOption('visibility', _PROFILE_AM_PROF_VISIBLE); +$op_select->addOption('edit', _PROFILE_AM_PROF_EDITABLE); +$op_select->addOption('search', _PROFILE_AM_PROF_SEARCH); +$op_select->addOption('access', _PROFILE_AM_PROF_ACCESS); +$opform->addElement($op_select); +$opform->display(); + +$module_id = $GLOBALS['xoopsModule']->getVar('mid'); +include_once $GLOBALS['xoops']->path('/class/xoopsform/grouppermform.php'); +$form = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc, 'admin/permissions.php?op=' . $op, $anonymous); +if ($op === 'access') { + $member_handler = xoops_getHandler('member'); + $glist = $member_handler->getGroupList(); + foreach (array_keys($glist) as $i) { + if ($i != XOOPS_GROUP_ANONYMOUS) { + $form->addItem($i, $glist[$i]); + } + } +} else { + $profile_handler = xoops_getModuleHandler('profile'); + $fields = $profile_handler->loadFields(); + + if ($op !== 'search') { + foreach (array_keys($fields) as $i) { + if ($restriction == '' || $fields[$i]->getVar($restriction)) { + $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25)); + } + } + } else { + $searchable_types = array( + 'textbox', + 'select', + 'radio', + 'yesno', + 'date', + 'datetime', + 'timezone', + 'language'); + foreach (array_keys($fields) as $i) { + if (in_array($fields[$i]->getVar('field_type'), $searchable_types)) { + $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25)); + } + } + } +} +$form->display(); +include_once __DIR__ . '/admin_footer.php'; +//xoops_cp_footer(); Added: XoopsModules/please/trunk/htdocs/modules/please/admin/post.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/admin/post.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/admin/post.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,41 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +include_once __DIR__ . '/header.php'; + + switch ($GLOBALS['op']) + { + case "departments": + + break; + case "add-department": + + break; + case "edit-department": + + break; + } + + +include_once __DIR__ . '/footer.php'; + Added: XoopsModules/please/trunk/htdocs/modules/please/blocks/index.html =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/blocks/index.html (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/blocks/index.html 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/please/trunk/htdocs/modules/please/blocks/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/please/trunk/htdocs/modules/please/class/addresses.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/class/addresses.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/class/addresses.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,127 @@ +<?php +/** + * Please Addresses Ticketer of Batch Group & User Addressess + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage please + * @description Addresses Ticking for Support/Faults/Management of Batch Group & User managed emails tickets + * @version 1.0.5 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please + * @link http://internetfounder.wordpress.com + */ + +if (!defined('_MI_PLEASE_MODULE_DIRNAME')) { + return false; +} + +//* +require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects.php'); + +/** + * Class for Addresses in Please email ticketer + * + * For Table:- + * <code> + * CREATE TABLE `please_addresses` ( + * `id` int(14) UNSIGNED NOT NULL AUTO_INCREMENT, + * `address` varchar(198) DEFAULT '', + * `uid` int(11) DEFAULT '0', + * `recieved` int(12) DEFAULT '0', + * `sent` int(12) DEFAULT '0', + * `tickets` int(12) DEFAULT '0', + * `ticket-id` mediumint(30) UNSIGNED DEFAULT '0', + * `created` int(12) DEFAULT '0', + * `action` int(12) DEFAULT '0', + * PRIMARY KEY (`id`), + * KEY `SEARCH` (`address`(18),`uid`) + * ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + * </code> + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseAddresses extends pleaseXoopsObject +{ + + var $handler = ''; + + function __construct($id = null) + { + + self::initVar('id', XOBJ_DTYPE_INT, null, false); + self::initVar('address', XOBJ_DTYPE_TXTBOX, null, false, 198); + self::initVar('uid', XOBJ_DTYPE_INT, null, false); + self::initVar('recieved', XOBJ_DTYPE_INT, null, false); + self::initVar('sent', XOBJ_DTYPE_INT, null, false); + self::initVar('tickets', XOBJ_DTYPE_INT, null, false); + self::initVar('ticket-id', XOBJ_DTYPE_INT, null, false); + self::initVar('created', XOBJ_DTYPE_INT, time(), false); + self::initVar('action', XOBJ_DTYPE_INT, 0, false); + + $this->handler = __CLASS__ . 'Handler'; + if (!empty($id) && !is_null($id)) + { + $handler = new $this->handler; + self::assignVars($handler->get($id)->getValues(array_keys($this->vars))); + } + + } + +} + + +/** + * Handler Class for Addresses in Please email ticketer + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseAddressesHandler extends pleaseXoopsObjectHandler +{ + + + /** + * Table Name without prefix used + * + * @var string + */ + var $tbl = 'please_addresses'; + + /** + * Child Object Handling Class + * + * @var string + */ + var $child = 'pleaseAddresses'; + + /** + * Child Object Identity Key + * + * @var string + */ + var $identity = 'id'; + + /** + * Child Object Default Envaluing Costs + * + * @var string + */ + var $envalued = 'address'; + + function __construct(&$db) + { + if (!object($db)) + $db = $GLOBAL["xoopsDB"]; + parent::__construct($db, self::$tbl, self::$child, self::$identity, self::$envalued); + } +} +?> \ No newline at end of file Property changes on: XoopsModules/please/trunk/htdocs/modules/please/class/addresses.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/please/trunk/htdocs/modules/please/class/bcc.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/class/bcc.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/class/bcc.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,121 @@ +<?php +/** + * Please Bcc Ticketer of Batch Group & User Bccs + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage please + * @description Bcc Ticking for Support/Faults/Management of Batch Group & User managed emails tickets + * @version 1.0.5 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please + * @link http://internetfounder.wordpress.com + */ + +if (!defined('_MI_PLEASE_MODULE_DIRNAME')) { + return false; +} + +//* +require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects.php'); + +/** + * Class for Bcc in Please email ticketer + * + * For Table:- + * <code> + * CREATE TABLE `please_bcc` ( + * `id` mediumint(30) UNSIGNED NOT NULL AUTO_INCREMENT, + * `ticket-id` mediumint(30) UNSIGNED DEFAULT '0', + * `address-id` int(14) UNSIGNED EFAULT '0', + * `name-id` int(14) UNSIGNED DEFAULT '0', + * `email-id` mediumint(30) UNSIGNED DEFAULT '0', + * `created` int(12) DEFAULT '0', + * PRIMARY KEY (`id`), + * KEY `SEARCH` (`address-id`,`name-id`,`email-id`,`ticket-id`) + * ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + * </code> + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseBcc extends pleaseXoopsObject +{ + + var $handler = ''; + + function __construct($id = null) + { + + self::initVar('id', XOBJ_DTYPE_INT, null, false); + self::initVar('ticket-id', XOBJ_DTYPE_INT, null, false); + self::initVar('address-id', XOBJ_DTYPE_INT, null, false); + self::initVar('name-id', XOBJ_DTYPE_INT, null, false); + self::initVar('email-id', XOBJ_DTYPE_INT, null, false); + self::initVar('created', XOBJ_DTYPE_INT, time(), false); + + $this->handler = __CLASS__ . 'Handler'; + if (!empty($id) && !is_null($id)) + { + $handler = new $this->handler; + self::assignVars($handler->get($id)->getValues(array_keys($this->vars))); + } + + } + +} + + +/** + * Handler Class for Bcc in Please email ticketer + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseBccHandler extends pleaseXoopsObjectHandler +{ + + + /** + * Table Name without prefix used + * + * @var string + */ + var $tbl = 'please_bcc'; + + /** + * Child Object Handling Class + * + * @var string + */ + var $child = 'pleaseBcc'; + + /** + * Child Object Identity Key + * + * @var string + */ + var $identity = 'id'; + + /** + * Child Object Default Envaluing Costs + * + * @var string + */ + var $envalued = 'created'; + + function __construct(&$db) + { + if (!object($db)) + $db = $GLOBAL["xoopsDB"]; + parent::__construct($db, self::$tbl, self::$child, self::$identity, self::$envalued); + } +} +?> \ No newline at end of file Added: XoopsModules/please/trunk/htdocs/modules/please/class/cc.php =================================================================== --- XoopsModules/please/trunk/htdocs/modules/please/class/cc.php (rev 0) +++ XoopsModules/please/trunk/htdocs/modules/please/class/cc.php 2017-01-14 17:57:49 UTC (rev 13230) @@ -0,0 +1,121 @@ +<?php +/** + * Please Cc Ticketer of Batch Group & User Ccs + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage please + * @description Cc Ticking for Support/Faults/Management of Batch Group & User managed emails tickets + * @version 1.0.5 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please + * @li... [truncated message content] |
From: <rgr...@us...> - 2017-01-01 01:51:09
|
Revision: 13229 http://sourceforge.net/p/xoops/svn/13229 Author: rgriffith Date: 2017-01-01 01:51:06 +0000 (Sun, 01 Jan 2017) Log Message: ----------- Cumulative update Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.7.3/docs/changelog.250.txt XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/index.html XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/LICENSE XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/class.phpmailer.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/class.pop3.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/class.smtp.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/index.html XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/index.html XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/xoopsmultimailer.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/image.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/include/version.php Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/PHPMailerAutoload.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/VERSION XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/class.phpmaileroauth.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/class.phpmaileroauthgoogle.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/get_oauth_token.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-am.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-ar.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-az.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-be.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-bg.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-ca.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-ch.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-cs.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-da.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-de.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-el.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-eo.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-es.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-et.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-fa.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-fi.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-fo.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-fr.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-gl.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-he.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-hr.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-hu.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-id.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-it.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-ja.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-ka.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-ko.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-lt.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-lv.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-ms.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-nb.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-nl.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-pl.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-pt.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-pt_br.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-ro.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-ru.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-sk.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-sl.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-sr.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-sv.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-tr.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-uk.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-vi.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-zh.php XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-zh_cn.php Removed Paths: ------------- XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/ChangeLog.txt XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/README XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/docs.ini XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php Modified: XoopsCore/branches/2.5.x/2.5.7.3/docs/changelog.250.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.7.3/docs/changelog.250.txt 2017-01-01 01:06:33 UTC (rev 13228) +++ XoopsCore/branches/2.5.x/2.5.7.3/docs/changelog.250.txt 2017-01-01 01:51:06 UTC (rev 13229) @@ -1,6 +1,15 @@ XOOPS 2.5.x Changelog (Language changes: see: /docs/lang_diff.txt) ================================= +2016/12/31: Version 2.5.7.3 Final +================================= + +This patch for XOOPS 2.5.7 corrects security issues including the PHPMailer vulnerabilities. + +All XOOPS 2.5.7.2 users are advised to apply this patch as soon as possible. Any users that are running an older XOOPS version are advised to update to XOOPS 2.5.7.3 now. + + +================================= 2016/02/02: Version 2.5.7.2 Final ================================= Modified: XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/index.html 2017-01-01 01:06:33 UTC (rev 13228) +++ XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/index.html 2017-01-01 01:51:06 UTC (rev 13229) @@ -1 +1 @@ - <script>history.go(-1);</script> \ No newline at end of file +<script>history.go(-1);</script> Deleted: XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/ChangeLog.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/ChangeLog.txt 2017-01-01 01:06:33 UTC (rev 13228) +++ XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/ChangeLog.txt 2017-01-01 01:51:06 UTC (rev 13229) @@ -1,421 +0,0 @@ -ChangeLog - -NOTE: THIS VERSION OF PHPMAILER IS DESIGNED FOR PHP5/PHP6. - IT WILL NOT WORK WITH PHP4. - -Version 5.2.1 (January 16, 2012) -* Closed several bugs -* Performance improvements -* MsgHTML() now returns the message as required. -* New method: GetSentMIMEMessage() (returns full copy of sent message) - -Version 5.2 (July 19, 2011) -* protected MIME body and header -* better DKIM DNS Resource Record support -* better aly handling -* htmlfilter class added to extras -* moved to Apache Extras - -Version 5.1 (October 20, 2009) -* fixed filename issue with AddStringAttachment (thanks to Tony) -* fixed "SingleTo" property, now works with Senmail, Qmail, and SMTP in - addition to PHP mail() -* added DKIM digital signing functionality - New properties: - - DKIM_domain (sets the domain name) - - DKIM_private (holds DKIM private key) - - DKIM_passphrase (holds your DKIM passphrase) - - DKIM_selector (holds the DKIM "selector") - - DKIM_identity (holds the identifying email address) -* added callback function support - - callback function parameters include: - result, to, cc, bcc, subject and body - * see the test/test_callback.php file for usage. -* added "auto" identity functionality - - can automatically add: - - Return-path (if Sender not set) - - Reply-To (if ReplyTo not set) - - can be disabled: - - $mail->SetFrom('you...@yo...','First Last',false); - - or by adding the $mail->Sender and/or $mail->ReplyTo properties - Note: "auto" identity added to help with emails ending up in spam - or junk boxes because of missing headers - -Version 5.0.2 (May 24, 2009) -* Fix for missing attachments when inline graphics are present -* Fix for missing Cc in header when using SMTP (mail was sent, - but not displayed in header -- Cc receiver only saw email To: - line and no Cc line, but did get the email (To receiver - saw same) - -Version 5.0.1 (April 05, 2009) -* Temporary fix for missing attachments - -Version 5.0.0 (April 02, 2009) - -* With the release of this version, we are initiating a new version numbering - system to differentiate from the PHP4 version of PHPMailer. -* Most notable in this release is fully object oriented code. -class.smtp.php: -* Refactored class.smtp.php to support new exception handling - code size reduced from 29.2 Kb to 25.6 Kb -* Removed unnecessary functions from class.smtp.php: - public function Expand($name) { - public function Help($keyword="") { - public function Noop() { - public function Send($from) { - public function SendOrMail($from) { - public function Verify($name) { -class.phpmailer.php: -* Refactored class.phpmailer.php with new exception handling -* Changed processing functionality of Sendmail and Qmail so they cannot be - inadvertently used -* removed getFile() function, just became a simple wrapper for - file_get_contents() -* added check for PHP version (will gracefully exit if not at least PHP 5.0) -class.phpmailer.php enhancements -* enhanced code to check if an attachment source is the same as an embedded or - inline graphic source to eliminate duplicate attachments -New /test_script -* We have written a test script you can use to test the script as part of your - installation. Once you press submit, the test script will send a multi-mime - email with either the message you type in or an HTML email with an inline - graphic. Two attachments are included in the email (one of the attachments - is also the inline graphic so you can see that only one copy of the graphic - is sent in the email). The test script will also display the functional - script that you can copy/paste to your editor to duplicate the functionality. -New examples -* All new examples in both basic and advanced modes. Advanced examples show - Exception handling. -PHPDocumentator (phpdocs) documentation for PHPMailer version 5.0.0 -* all new documentation - -Please note: the website has been updated to reflect the changes in PHPMailer -version 5.0.0. http://phpmailer.codeworxtech.com/ - -Version 2.3 (November 06, 2008) - -* added Arabic language (many thanks to Bahjat Al Mostafa) -* removed English language from language files and made it a default within - class.phpmailer.php - if no language is found, it will default to use - the english language translation -* fixed public/private declarations -* corrected line 1728, $basedir to $directory -* added $sign_cert_file to avoid improper duplicate use of $sign_key_file -* corrected $this->Hello on line 612 to $this->Helo -* changed default of $LE to "\r\n" to comply with RFC 2822. Can be set by the user - if default is not acceptable -* removed trim() from return results in EncodeQP -* /test and three files it contained are removed from version 2.3 -* fixed phpunit.php for compliance with PHP5 -* changed $this->AltBody = $textMsg; to $this->AltBody = html_entity_decode($textMsg); -* We have removed the /phpdoc from the downloads. All documentation is now on - the http://phpmailer.codeworxtech.com website. - -Version 2.2.1 () July 19 2008 - -* fixed line 1092 in class.smtp.php (my apologies, error on my part) - -Version 2.2 () July 15 2008 - -* Fixed redirect issue (display of UTF-8 in thank you redirect) -* fixed error in getResponse function declaration (class.pop3.php) -* PHPMailer now PHP6 compliant -* fixed line 1092 in class.smtp.php (endless loop from missing = sign) - -Version 2.1 (Wed, June 04 2008) - -** NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS. - IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE - APPRECIATED. - -* added S/MIME functionality (ability to digitally sign emails) - BIG THANKS TO "sergiocambra" for posting this patch back in November 2007. - The "Signed Emails" functionality adds the Sign method to pass the private key - filename and the password to read it, and then email will be sent with - content-type multipart/signed and with the digital signature attached. -* fully compatible with E_STRICT error level - - Please note: - In about half the test environments this development version was subjected - to, an error was thrown for the date() functions used (line 1565 and 1569). - This is NOT a PHPMailer error, it is the result of an incorrectly configured - PHP5 installation. The fix is to modify your 'php.ini' file and include the - date.timezone = America/New York - directive, to your own server timezone - - If you do get this error, and are unable to access your php.ini file: - In your PHP script, add - date_default_timezone_set('America/Toronto'); - - do not try to use - $myVar = date_default_timezone_get(); - as a test, it will throw an error. -* added ability to define path (mainly for embedded images) - function MsgHTML($message,$basedir='') ... where: - $basedir is the fully qualified path -* fixed MsgHTML() function: - - Embedded Images where images are specified by <protocol>:// will not be altered or embedded -* fixed the return value of SMTP exit code ( pclose ) -* addressed issue of multibyte characters in subject line and truncating -* added ability to have user specified Message ID - (default is still that PHPMailer create a unique Message ID) -* corrected unidentified message type to 'application/octet-stream' -* fixed chunk_split() multibyte issue (thanks to Colin Brown, et al). -* added check for added attachments -* enhanced conversion of HTML to text in MsgHTML (thanks to "brunny") - -Version 2.1.0beta2 (Sun, Dec 02 2007) -* implemented updated EncodeQP (thanks to coolbru, aka Marcus Bointon) -* finished all testing, all known bugs corrected, enhancements tested -- note: will NOT work with PHP4. - -please note, this is BETA software -** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS -INTENDED STRICTLY FOR TESTING - -Version 2.1.0beta1 -please note, this is BETA software -** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS -INTENDED STRICTLY FOR TESTING - -Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release -* implements new property to control VERP in class.smtp.php - example (requires instantiating class.smtp.php): - $mail->do_verp = true; -* POP-before-SMTP functionality included, thanks to Richard Davey - (see class.pop3.php & pop3_before_smtp_test.php for examples) -* included example showing how to use PHPMailer with GMAIL -* fixed the missing Cc in SendMail() and Mail() - -****************** -A note on sending bulk emails: - -If the email you are sending is not personalized, consider using the -"undisclosed-recipient:;" strategy. That is, put all of your recipients -in the Bcc field and set the To field to "undisclosed-recipients:;". -It's a lot faster (only one send) and saves quite a bit on resources. -Contrary to some opinions, this will not get you listed in spam engines - -it's a legitimate way for you to send emails. - -A partial example for use with PHPMailer: - -$mail->AddAddress("undisclosed-recipients:;"); -$mail->AddBCC("em...@an...,em...@an...,em...@an..."); - -Many email service providers restrict the number of emails that can be sent -in any given time period. Often that is between 50 - 60 emails maximum -per hour or per send session. - -If that's the case, then break up your Bcc lists into chunks that are one -less than your limit, and put a pause in your script. -******************* - -Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release -* dramatically simplified using inline graphics ... it's fully automated and requires no user input -* added automatic document type detection for attachments and pictures -* added MsgHTML() function to replace Body tag for HTML emails -* fixed the SendMail security issues (input validation vulnerability) -* enhanced the AddAddresses functionality so that the "Name" portion is used in the email address -* removed the need to use the AltBody method (set from the HTML, or default text used) -* set the PHP Mail() function as the default (still support SendMail, SMTP Mail) -* removed the need to set the IsHTML property (set automatically) -* added Estonian language file by Indrek Päri -* added header injection patch -* added "set" method to permit users to create their own pseudo-properties like 'X-Headers', etc. - example of use: - $mail->set('X-Priority', '3'); - $mail->set('X-MSMail-Priority', 'Normal'); -* fixed warning message in SMTP get_lines method -* added TLS/SSL SMTP support - example of use: - $mail = new PHPMailer(); - $mail->Mailer = "smtp"; - $mail->Host = "smtp.example.com"; - $mail->SMTPSecure = "tls"; // option - //$mail->SMTPSecure = "ssl"; // option - ... - $mail->Send(); -* PHPMailer has been tested with PHP4 (4.4.7) and PHP5 (5.2.7) -* Works with PHP installed as a module or as CGI-PHP -- NOTE: will NOT work with PHP5 in E_STRICT error mode - -Version 1.73 (Sun, Jun 10 2005) -* Fixed denial of service bug: http://www.cybsec.com/vuln/PHPMailer-DOS.pdf -* Now has a total of 20 translations -* Fixed alt attachments bug: http://tinyurl.com/98u9k - -Version 1.72 (Wed, May 25 2004) -* Added Dutch, Swedish, Czech, Norwegian, and Turkish translations. -* Received: Removed this method because spam filter programs like -SpamAssassin reject this header. -* Fixed error count bug. -* SetLanguage default is now "language/". -* Fixed magic_quotes_runtime bug. - -Version 1.71 (Tue, Jul 28 2003) -* Made several speed enhancements -* Added German and Italian translation files -* Fixed HELO/AUTH bugs on keep-alive connects -* Now provides an error message if language file does not load -* Fixed attachment EOL bug -* Updated some unclear documentation -* Added additional tests and improved others - -Version 1.70 (Mon, Jun 20 2003) -* Added SMTP keep-alive support -* Added IsError method for error detection -* Added error message translation support (SetLanguage) -* Refactored many methods to increase library performance -* Hello now sends the newer EHLO message before HELO as per RFC 2821 -* Removed the boundary class and replaced it with GetBoundary -* Removed queue support methods -* New $Hostname variable -* New Message-ID header -* Received header reformat -* Helo variable default changed to $Hostname -* Removed extra spaces in Content-Type definition (#667182) -* Return-Path should be set to Sender when set -* Adds Q or B encoding to headers when necessary -* quoted-encoding should now encode NULs \000 -* Fixed encoding of body/AltBody (#553370) -* Adds "To: undisclosed-recipients:;" when all recipients are hidden (BCC) -* Multiple bug fixes - -Version 1.65 (Fri, Aug 09 2002) -* Fixed non-visible attachment bug (#585097) for Outlook -* SMTP connections are now closed after each transaction -* Fixed SMTP::Expand return value -* Converted SMTP class documentation to phpDocumentor format - -Version 1.62 (Wed, Jun 26 2002) -* Fixed multi-attach bug -* Set proper word wrapping -* Reduced memory use with attachments -* Added more debugging -* Changed documentation to phpDocumentor format - -Version 1.60 (Sat, Mar 30 2002) -* Sendmail pipe and address patch (Christian Holtje) -* Added embedded image and read confirmation support (A. Ognio) -* Added unit tests -* Added SMTP timeout support (*nix only) -* Added possibly temporary PluginDir variable for SMTP class -* Added LE message line ending variable -* Refactored boundary and attachment code -* Eliminated SMTP class warnings -* Added SendToQueue method for future queuing support - -Version 1.54 (Wed, Dec 19 2001) -* Add some queuing support code -* Fixed a pesky multi/alt bug -* Messages are no longer forced to have "To" addresses - -Version 1.50 (Thu, Nov 08 2001) -* Fix extra lines when not using SMTP mailer -* Set WordWrap variable to int with a zero default - -Version 1.47 (Tue, Oct 16 2001) -* Fixed Received header code format -* Fixed AltBody order error -* Fixed alternate port warning - -Version 1.45 (Tue, Sep 25 2001) -* Added enhanced SMTP debug support -* Added support for multiple ports on SMTP -* Added Received header for tracing -* Fixed AddStringAttachment encoding -* Fixed possible header name quote bug -* Fixed wordwrap() trim bug -* Couple other small bug fixes - -Version 1.41 (Wed, Aug 22 2001) -* Fixed AltBody bug w/o attachments -* Fixed rfc_date() for certain mail servers - -Version 1.40 (Sun, Aug 12 2001) -* Added multipart/alternative support (AltBody) -* Documentation update -* Fixed bug in Mercury MTA - -Version 1.29 (Fri, Aug 03 2001) -* Added AddStringAttachment() method -* Added SMTP authentication support - -Version 1.28 (Mon, Jul 30 2001) -* Fixed a typo in SMTP class -* Fixed header issue with Imail (win32) SMTP server -* Made fopen() calls for attachments use "rb" to fix win32 error - -Version 1.25 (Mon, Jul 02 2001) -* Added RFC 822 date fix (Patrice) -* Added improved error handling by adding a $ErrorInfo variable -* Removed MailerDebug variable (obsolete with new error handler) - -Version 1.20 (Mon, Jun 25 2001) -* Added quoted-printable encoding (Patrice) -* Set Version as public and removed PrintVersion() -* Changed phpdoc to only display public variables and methods - -Version 1.19 (Thu, Jun 21 2001) -* Fixed MS Mail header bug -* Added fix for Bcc problem with mail(). *Does not work on Win32* - (See PHP bug report: http://www.php.net/bugs.php?id=11616) -* mail() no longer passes a fifth parameter when not needed - -Version 1.15 (Fri, Jun 15 2001) -[Note: these changes contributed by Patrice Fournier] -* Changed all remaining \n to \r\n -* Bcc: header no longer writen to message except -when sent directly to sendmail -* Added a small message to non-MIME compliant mail reader -* Added Sender variable to change the Sender email -used in -f for sendmail/mail and in 'MAIL FROM' for smtp mode -* Changed boundary setting to a place it will be set only once -* Removed transfer encoding for whole message when using multipart -* Message body now uses Encoding in multipart messages -* Can set encoding and type to attachments 7bit, 8bit -and binary attachment are sent as is, base64 are encoded -* Can set Encoding to base64 to send 8 bits body -through 7 bits servers - -Version 1.10 (Tue, Jun 12 2001) -* Fixed win32 mail header bug (printed out headers in message body) - -Version 1.09 (Fri, Jun 08 2001) -* Changed date header to work with Netscape mail programs -* Altered phpdoc documentation - -Version 1.08 (Tue, Jun 05 2001) -* Added enhanced error-checking -* Added phpdoc documentation to source - -Version 1.06 (Fri, Jun 01 2001) -* Added optional name for file attachments - -Version 1.05 (Tue, May 29 2001) -* Code cleanup -* Eliminated sendmail header warning message -* Fixed possible SMTP error - -Version 1.03 (Thu, May 24 2001) -* Fixed problem where qmail sends out duplicate messages - -Version 1.02 (Wed, May 23 2001) -* Added multiple recipient and attachment Clear* methods -* Added Sendmail public variable -* Fixed problem with loading SMTP library multiple times - -Version 0.98 (Tue, May 22 2001) -* Fixed problem with redundant mail hosts sending out multiple messages -* Added additional error handler code -* Added AddCustomHeader() function -* Added support for Microsoft mail client headers (affects priority) -* Fixed small bug with Mailer variable -* Added PrintVersion() function - -Version 0.92 (Tue, May 15 2001) -* Changed file names to class.phpmailer.php and class.smtp.php to match - current PHP class trend. -* Fixed problem where body not being printed when a message is attached -* Several small bug fixes - -Version 0.90 (Tue, April 17 2001) -* Intial public release Modified: XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/LICENSE =================================================================== --- XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/LICENSE 2017-01-01 01:06:33 UTC (rev 13228) +++ XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/LICENSE 2017-01-01 01:51:06 UTC (rev 13229) @@ -312,7 +312,7 @@ from a designated place, offer equivalent access to copy the above specified materials from the same place. - e) Verify that the user has already received a copy of these + e) verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Added: XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/PHPMailerAutoload.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/PHPMailerAutoload.php (rev 0) +++ XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/PHPMailerAutoload.php 2017-01-01 01:51:06 UTC (rev 13229) @@ -0,0 +1,49 @@ +<?php +/** + * PHPMailer SPL autoloader. + * PHP Version 5 + * @package PHPMailer + * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project + * @author Marcus Bointon (Synchro/coolbru) <php...@sy...> + * @author Jim Jagielski (jimjag) <ji...@gm...> + * @author Andy Prevost (codeworxtech) <cod...@us...> + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2014 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * PHPMailer SPL autoloader. + * @param string $classname The name of the class to load + */ +function PHPMailerAutoload($classname) +{ + //Can't use __DIR__ as it's only in PHP 5.3+ + $filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php'; + if (is_readable($filename)) { + require $filename; + } +} + +if (version_compare(PHP_VERSION, '5.1.2', '>=')) { + //SPL autoloading was introduced in PHP 5.1.2 + if (version_compare(PHP_VERSION, '5.3.0', '>=')) { + spl_autoload_register('PHPMailerAutoload', true, true); + } else { + spl_autoload_register('PHPMailerAutoload'); + } +} else { + /** + * Fall back to traditional autoload for old PHP versions + * @param string $classname The name of the class to load + */ + function __autoload($classname) + { + PHPMailerAutoload($classname); + } +} Deleted: XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/README =================================================================== --- XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/README 2017-01-01 01:06:33 UTC (rev 13228) +++ XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/README 2017-01-01 01:51:06 UTC (rev 13229) @@ -1,225 +0,0 @@ -/******************************************************************* -* http://code.google.com/a/apache-extras.org/p/phpmailer/ * -********************************************************************/ - -PHPMailer -Full Featured Email Transfer Class for PHP -========================================== - -Version 5.2.1 (January 16, 2012) - -Patch release (see changelog.txt). - -Version 5.2.0 (July 19, 2011) - -With the release of this version, PHPMailer has moved to Apache -Extras: - http://code.google.com/a/apache-extras.org/p/phpmailer/ - -Version 5.0.0 (April 02, 2009) - -With the release of this version, we are initiating a new version numbering -system to differentiate from the PHP4 version of PHPMailer. - -Most notable in this release is fully object oriented code. - -We now have available the PHPDocumentor (phpdocs) documentation. This is -separate from the regular download to keep file sizes down. Please see the -download area of http://phpmailer.codeworxtech.com. - -We also have created a new test script (see /test_script) that you can use -right out of the box. Copy the /test_script folder directly to your server (in -the same structure ... with class.phpmailer.php and class.smtp.php in the -folder above it. Then launch the test script with: -http://www.yourdomain.com/phpmailer/test_script/index.php -from this one script, you can test your server settings for mail(), sendmail (or -qmail), and SMTP. This will email you a sample email (using contents.html for -the email body) and two attachments. One of the attachments is used as an inline -image to demonstrate how PHPMailer will automatically detect if attachments are -the same source as inline graphics and only include one version. Once you click -the Submit button, the results will be displayed including any SMTP debug -information and send status. We will also display a version of the script that -you can cut and paste to include in your projects. Enjoy! - -Version 2.3 (November 08, 2008) - -We have removed the /phpdoc from the downloads. All documentation is now on -the http://phpmailer.codeworxtech.com website. - -The phpunit.php has been updated to support PHP5. - -For all other changes and notes, please see the changelog. - -Donations are accepted at PayPal with our id "pa...@wo...". - -Version 2.2 (July 15 2008) - -- see the changelog. - -Version 2.1 (June 04 2008) - -With this release, we are announcing that the development of PHPMailer for PHP5 -will be our focus from this date on. We have implemented all the enhancements -and fixes from the latest release of PHPMailer for PHP4. - -Far more important, though, is that this release of PHPMailer (v2.1) is -fully tested with E_STRICT error checking enabled. - -** NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS. - IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE - APPRECIATED. - -We have now added S/MIME functionality (ability to digitally sign emails). -BIG THANKS TO "sergiocambra" for posting this patch back in November 2007. -The "Signed Emails" functionality adds the Sign method to pass the private key -filename and the password to read it, and then email will be sent with -content-type multipart/signed and with the digital signature attached. - -A quick note on E_STRICT: - -- In about half the test environments the development version was subjected - to, an error was thrown for the date() functions (used at line 1565 and 1569). - This is NOT a PHPMailer error, it is the result of an incorrectly configured - PHP5 installation. The fix is to modify your 'php.ini' file and include the - date.timezone = America/New York - directive, (for your own server timezone) -- If you do get this error, and are unable to access your php.ini file, there is - a workaround. In your PHP script, add - date_default_timezone_set('America/Toronto'); - - * do NOT try to use - $myVar = date_default_timezone_get(); - as a test, it will throw an error. - -We have also included more example files to show the use of "sendmail", "mail()", -"smtp", and "gmail". - -We are also looking for more programmers to join the volunteer development team. -If you have an interest in this, please let us know. - -Enjoy! - - -Version 2.1.0beta1 & beta2 - -please note, this is BETA software -** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS -INTENDED STRICTLY FOR TESTING - -** NOTE: - -As of November 2007, PHPMailer has a new project team headed by industry -veteran Andy Prevost (codeworxtech). The first release in more than two -years will focus on fixes, adding ease-of-use enhancements, provide -basic compatibility with PHP4 and PHP5 using PHP5 backwards compatibility -features. A new release is planned before year-end 2007 that will provide -full compatiblity with PHP4 and PHP5, as well as more bug fixes. - -We are looking for project developers to assist in restoring PHPMailer to -its leadership position. Our goals are to simplify use of PHPMailer, provide -good documentation and examples, and retain backward compatibility to level -1.7.3 standards. - -If you are interested in helping out, visit http://sourceforge.net/projects/phpmailer -and indicate your interest. - -** - -http://phpmailer.sourceforge.net/ - -This software is licenced under the LGPL. Please read LICENSE for information on the -software availability and distribution. - -Class Features: -- Send emails with multiple TOs, CCs, BCCs and REPLY-TOs -- Redundant SMTP servers -- Multipart/alternative emails for mail clients that do not read HTML email -- Support for 8bit, base64, binary, and quoted-printable encoding -- Uses the same methods as the very popular AspEmail active server (COM) component -- SMTP authentication -- Native language support -- Word wrap, and more! - -Why you might need it: - -Many PHP developers utilize email in their code. The only PHP function -that supports this is the mail() function. However, it does not expose -any of the popular features that many email clients use nowadays like -HTML-based emails and attachments. There are two proprietary -development tools out there that have all the functionality built into -easy to use classes: AspEmail(tm) and AspMail. Both of these -programs are COM components only available on Windows. They are also a -little pricey for smaller projects. - -Since I do Linux development I�ve missed these tools for my PHP coding. -So I built a version myself that implements the same methods (object -calls) that the Windows-based components do. It is open source and the -LGPL license allows you to place the class in your proprietary PHP -projects. - - -Installation: - -Copy class.phpmailer.php into your php.ini include_path. If you are -using the SMTP mailer then place class.smtp.php in your path as well. -In the language directory you will find several files like -phpmailer.lang-en.php. If you look right before the .php extension -that there are two letters. These represent the language type of the -translation file. For instance "en" is the English file and "br" is -the Portuguese file. Chose the file that best fits with your language -and place it in the PHP include path. If your language is English -then you have nothing more to do. If it is a different language then -you must point PHPMailer to the correct translation. To do this, call -the PHPMailer SetLanguage method like so: - -// To load the Portuguese version -$mail->SetLanguage("br", "/optional/path/to/language/directory/"); - -That's it. You should now be ready to use PHPMailer! - - -A Simple Example: - -<?php -require("class.phpmailer.php"); - -$mail = new PHPMailer(); - -$mail->IsSMTP(); // set mailer to use SMTP -$mail->Host = "smtp1.example.com;smtp2.example.com"; // specify main and backup server -$mail->SMTPAuth = true; // turn on SMTP authentication -$mail->Username = "jswan"; // SMTP username -$mail->Password = "secret"; // SMTP password - -$mail->From = "fr...@ex..."; -$mail->FromName = "Mailer"; -$mail->AddAddress("jo...@ex...", "Josh Adams"); -$mail->AddAddress("el...@ex..."); // name is optional -$mail->AddReplyTo("in...@ex...", "Information"); - -$mail->WordWrap = 50; // set word wrap to 50 characters -$mail->AddAttachment("/var/tmp/file.tar.gz"); // add attachments -$mail->AddAttachment("/tmp/image.jpg", "new.jpg"); // optional name -$mail->IsHTML(true); // set email format to HTML - -$mail->Subject = "Here is the subject"; -$mail->Body = "This is the HTML message body <b>in bold!</b>"; -$mail->AltBody = "This is the body in plain text for non-HTML mail clients"; - -if(!$mail->Send()) -{ - echo "Message could not be sent. <p>"; - echo "Mailer Error: " . $mail->ErrorInfo; - exit; -} - -echo "Message has been sent"; -?> - -CHANGELOG - -See ChangeLog.txt - -Download: http://sourceforge.net/project/showfiles.php?group_id=26031 - -Andy Prevost Added: XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/VERSION =================================================================== --- XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/VERSION (rev 0) +++ XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/VERSION 2017-01-01 01:51:06 UTC (rev 13229) @@ -0,0 +1 @@ +5.2.21 Modified: XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/class.phpmailer.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/class.phpmailer.php 2017-01-01 01:06:33 UTC (rev 13228) +++ XoopsCore/branches/2.5.x/2.5.7.3/htdocs/class/mail/phpmailer/class.phpmailer.php 2017-01-01 01:51:06 UTC (rev 13229) @@ -1,2756 +1,4025 @@ <?php -/*~ class.phpmailer.php -.---------------------------------------------------------------------------. -| Software: PHPMailer - PHP email class | -| Version: 5.2.1 | -| Site: https://code.google.com/a/apache-extras.org/p/phpmailer/ | -| ------------------------------------------------------------------------- | -| Admin: Jim Jagielski (project admininistrator) | -| Authors: Andy Prevost (codeworxtech) cod...@us... | -| : Marcus Bointon (coolbru) co...@us... | -| : Jim Jagielski (jimjag) ji...@gm... | -| Founder: Brent R. Matzelle (original founder) | -| Copyright (c) 2010-2012, Jim Jagielski. All Rights Reserved. | -| Copyright (c) 2004-2009, Andy Prevost. All Rights Reserved. | -| Copyright (c) 2001-2003, Brent R. Matzelle | -| ------------------------------------------------------------------------- | -| License: Distributed under the Lesser General Public License (LGPL) | -| http://www.gnu.org/copyleft/lesser.html | -| This program is distributed in the hope that it will be useful - WITHOUT | -| ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | -| FITNESS FOR A PARTICULAR PURPOSE. | -'---------------------------------------------------------------------------' -*/ - /** - * PHPMailer - PHP email transport class - * NOTE: Requires PHP version 5 or later + * PHPMailer - PHP email creation and transport class. + * PHP Version 5 * @package PHPMailer - * @author Andy Prevost - * @author Marcus Bointon - * @author Jim Jagielski + * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project + * @author Marcus Bointon (Synchro/coolbru) <php...@sy...> + * @author Jim Jagielski (jimjag) <ji...@gm...> + * @author Andy Prevost (codeworxtech) <cod...@us...> + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2014 Marcus Bointon * @copyright 2010 - 2012 Jim Jagielski * @copyright 2004 - 2009 Andy Prevost - * @version $Id$ * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. */ -if (version_compare(PHP_VERSION, '5.0.0', '<') ) exit("Sorry, this version of PHPMailer will only run on PHP version 5 or greater!\n"); - /** - * Class PHPMailer + * PHPMailer - PHP email creation and transport class. + * @package PHPMailer + * @author Marcus Bointon (Synchro/coolbru) <php...@sy...> + * @author Jim Jagielski (jimjag) <ji...@gm...> + * @author Andy Prevost (codeworxtech) <cod...@us...> + * @author Brent R. Matzelle (original founder) */ class PHPMailer { - ///////////////////////////////////////////////// - // PROPERTIES, PUBLIC - ///////////////////////////////////////////////// + /** + * The PHPMailer Version number. + * @var string + */ + public $Version = '5.2.21'; - /** - * Email priority (1 = High, 3 = Normal, 5 = low). - * @var int - */ - public $Priority = 3; + /** + * Email priority. + * Options: null (default), 1 = High, 3 = Normal, 5 = low. + * When null, the header is not set at all. + * @var integer + */ + public $Priority = null; - /** - * Sets the CharSet of the message. - * @var string - */ - public $CharSet = 'iso-8859-1'; + /** + * The character set of the message. + * @var string + */ + public $CharSet = 'iso-8859-1'; - /** - * Sets the Content-type of the message. - * @var string - */ - public $ContentType = 'text/plain'; + /** + * The MIME Content-type of the message. + * @var string + */ + public $ContentType = 'text/plain'; - /** - * Sets the Encoding of the message. Options for this are - * "8bit", "7bit", "binary", "base64", and "quoted-printable". - * @var string - */ - public $Encoding = '8bit'; + /** + * The message encoding. + * Options: "8bit", "7bit", "binary", "base64", and "quoted-printable". + * @var string + */ + public $Encoding = '8bit'; - /** - * Holds the most recent mailer error message. - * @var string - */ - public $ErrorInfo = ''; + /** + * Holds the most recent mailer error message. + * @var string + */ + public $ErrorInfo = ''; - /** - * Sets the From email address for the message. - * @var string - */ - public $From = 'root@localhost'; + /** + * The From email address for the message. + * @var string + */ + public $From = 'root@localhost'; - /** - * Sets the From name of the message. - * @var string - */ - public $FromName = 'Root User'; + /** + * The From name of the message. + * @var string + */ + public $FromName = 'Root User'; - /** - * Sets the Sender email (Return-Path) of the message. If not empty, - * will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode. - * @var string - */ - public $Sender = ''; + /** + * The Sender email (Return-Path) of the message. + * If not empty, will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode. + * @var string + */ + public $Sender = ''; - /** - * Sets the Subject of the message. - * @var string - */ - public $Subject = ''; + /** + * The Return-Path of the message. + * If empty, it will be set to either From or Sender. + * @var string + * @deprecated Email senders should never set a return-path header; + * it's the receiver's job (RFC5321 section 4.4), so this no longer does anything. + * @link https://tools.ietf.org/html/rfc5321#section-4.4 RFC5321 reference + */ + public $ReturnPath = ''; - /** - * Sets the Body of the message. This can be either an HTML or text body. - * If HTML then run IsHTML(true). - * @var string - */ - public $Body = ''; + /** + * The Subject of the message. + * @var string + */ + public $Subject = ''; - /** - * Sets the text-only body of the message. This automatically sets the - * email to multipart/alternative. This body can be read by mail - * clients that do not have HTML email capability such as mutt. Clients - * that can read HTML will view the normal Body. - * @var string - */ - public $AltBody = ''; + /** + * An HTML or plain text message body. + * If HTML then call isHTML(true). + * @var string + */ + public $Body = ''; - /** - * Stores the complete compiled MIME message body. - * @var string - * @access protected - */ - protected $MIMEBody = ''; + /** + * The plain-text message body. + * This body can be read by mail clients that do not have HTML email + * capability such as mutt & Eudora. + * Clients that can read HTML will view the normal Body. + * @var string + */ + public $AltBody = ''; - /** - * Stores the complete compiled MIME message headers. - * @var string - * @access protected - */ - protected $MIMEHeader = ''; + /** + * An iCal message part body. + * Only supported in simple alt or alt_inline message types + * To generate iCal events, use the bundled extras/EasyPeasyICS.php class or iCalcreator + * @link http://sprain.ch/blog/downloads/php-class-easypeasyics-create-ical-files-with-php/ + * @link http://kigkonsult.se/iCalcreator/ + * @var string + */ + public $Ical = ''; - /** - * Stores the complete sent MIME message (Body and Headers) - * @var string - * @access protected - */ - protected $SentMIMEMessage = ''; + /** + * The complete compiled MIME message body. + * @access protected + * @var string + */ + protected $MIMEBody = ''; - /** - * Sets word wrapping on the body of the message to a given number of - * characters. - * @var int - */ - public $WordWrap = 0; + /** + * The complete compiled MIME message headers. + * @var string + * @access protected + */ + protected $MIMEHeader = ''; - /** - * Method to send mail: ("mail", "sendmail", or "smtp"). - * @var string - */ - public $Mailer = 'mail'; + /** + * Extra headers that createHeader() doesn't fold in. + * @var string + * @access protected + */ + protected $mailHeader = ''; - /** - * Sets the path of the sendmail program. - * @var string - */ - public $Sendmail = '/usr/sbin/sendmail'; + /** + * Word-wrap the message body to this number of chars. + * Set to 0 to not wrap. A useful value here is 78, for RFC2822 section 2.1.1 compliance. + * @var integer + */ + public $WordWrap = 0; - /** - * Path to PHPMailer plugins. Useful if the SMTP class - * is in a different directory than the PHP include path. - * @var string - */ - public $PluginDir = ''; + /** + * Which method to use to send mail. + * Options: "mail", "sendmail", or "smtp". + * @var string + */ + public $Mailer = 'mail'; - /** - * Sets the email address that a reading confirmation will be sent. - * @var string - */ - public $ConfirmReadingTo = ''; + /** + * The path to the sendmail program. + * @var string + */ + public $Sendmail = '/usr/sbin/sendmail'; - /** - * Sets the hostname to use in Message-Id and Received headers - * and as default HELO string. If empty, the value returned - * by SERVER_NAME is used or 'localhost.localdomain'. - * @var string - */ - public $Hostname = ''; + /** + * Whether mail() uses a fully sendmail-compatible MTA. + * One which supports sendmail's "-oi -f" options. + * @var boolean + */ + public $UseSendmailOptions = true; - /** - * Sets the message ID to be used in the Message-Id header. - * If empty, a unique id will be generated. - * @var string - */ - public $MessageID = ''; + /** + * Path to PHPMailer plugins. + * Useful if the SMTP class is not in the PHP include path. + * @var string + * @deprecated Should not be needed now there is an autoloader. + */ + public $PluginDir = ''; - ///////////////////////////////////////////////// - // PROPERTIES FOR SMTP - ///////////////////////////////////////////////// + /** + * The email address that a reading confirmation should be sent to, also known as read receipt. + * @var string + */ + public $ConfirmReadingTo = ''; - /** - * Sets the SMTP hosts. All hosts must be separated by a - * semicolon. You can also specify a different port - * for each host by using this format: [hostname:port] - * (e.g. "smtp1.example.com:25;smtp2.example.com"). - * Hosts will be tried in order. - * @var string - */ - public $Host = 'localhost'; + /** + * The hostname to use in the Message-ID header and as default HELO string. + * If empty, PHPMailer attempts to find one with, in order, + * $_SERVER['SERVER_NAME'], gethostname(), php_uname('n'), or the value + * 'localhost.localdomain'. + * @var string + */ + public $Hostname = ''; - /** - * Sets the default SMTP server port. - * @var int - */ - public $Port = 25; + /** + * An ID to be used in the Message-ID header. + * If empty, a unique id will be generated. + * You can set your own, but it must be in the format "<id@domain>", + * as defined in RFC5322 section 3.6.4 or it will be ignored. + * @see https://tools.ietf.org/html/rfc5322#section-3.6.4 + * @var string + */ + public $MessageID = ''; - /** - * Sets the SMTP HELO of the message (Default is $Hostname). - * @var string - */ - public $Helo = ''; + /** + * The message Date to be used in the Date header. + * If empty, the current date will be added. + * @var string + */ + public $MessageDate = ''; - /** - * Sets connection prefix. - * Options are "", "ssl" or "tls" - * @var string - */ - public $SMTPSecure = ''; + /** + * SMTP hosts. + * Either a single hostname or multiple semicolon-delimited hostnames. + * You can also specify a different port + * for each host by using this format: [hostname:port] + * (e.g. "smtp1.example.com:25;smtp2.example.com"). + * You can also specify encryption type, for example: + * (e.g. "tls://smtp1.example.com:587;ssl://smtp2.example.com:465"). + * Hosts will be tried in order. + * @var string + */ + public $Host = 'localhost'; - /** - * Sets SMTP authentication. Utilizes the Username and Password variables. - * @var bool - */ - public $SMTPAuth = false; + /** + * The default SMTP server port. + * @var integer + * @TODO Why is this needed when the SMTP class takes care of it? + */ + public $Port = 25; - /** - * Sets SMTP username. - * @var string - */ - public $Username = ''; + /** + * The SMTP HELO of the message. + * Default is $Hostname. If $Hostname is empty, PHPMailer attempts to find + * one with the same method described above for $Hostname. + * @var string + * @see PHPMailer::$Hostname + */ + public $Helo = ''; - /** - * Sets SMTP password. - * @var string - */ - public $Password = ''; + /** + * What kind of encryption to use on the SMTP connection. + * Options: '', 'ssl' or 'tls' + * @var string + */ + public $SMTPSecure = ''; - /** - * Sets the SMTP server timeout in seconds. - * This function will not work with the win32 version. - * @var int - */ - public $Timeout = 10; + /** + * Whether to enable TLS encryption automatically if a server supports it, + * even if `SMTPSecure` is not set to 'tls'. + * Be aware that in PHP >= 5.6 this requires that the server's certificates are valid. + * @var boolean + */ + public $SMTPAutoTLS = true; - /** - * Sets SMTP class debugging on or off. - * @var bool - */ - public $SMTPDebug = false; + /** + * Whether to use SMTP authentication. + * Uses the Username and Password properties. + * @var boolean + * @see PHPMailer::$Username + * @see PHPMailer::$Password + */ + public $SMTPAuth = false; - /** - * Prevents the SMTP connection from being closed after each mail - * sending. If this is set to true then to close the connection - * requires an explicit call to SmtpClose(). - * @var bool - */ - public $SMTPKeepAlive = false; + /** + * Options array passed to stream_context_create when connecting via SMTP. + * @var array + */ + public $SMTPOptions = array(); - /** - * Provides the ability to have the TO field process individual - * emails, instead of sending to entire TO addresses - * @var bool - */ - public $SingleTo = false; + /** + * SMTP username. + * @var string + */ + public $Username = ''; - /** - * If SingleTo is true, this provides the array to hold the email addresses - * @var bool - */ - public $SingleToArray = array(); + /** + * SMTP password. + * @var string + */ + public $Password = ''; - /** - * Provides the ability to change the line ending - * @var string - */ - public $LE = "\n"; + /** + * SMTP auth type. + * Options are CRAM-MD5, LOGIN, PLAIN, NTLM, XOAUTH2, attempted in that order if not specified + * @var string + */ + public $AuthType = ''; - /** - * Used with DKIM DNS Resource Record - * @var string - */ - public $DKIM_selector = 'phpmailer'; + /** + * SMTP realm. + * Used for NTLM auth + * @var string + */ + public $Realm = ''; - /** - * Used with DKIM DNS Resource Record - * optional, in format of email address 'yo...@yo...' - * @var string - */ - public $DKIM_identity = ''; + /** + * SMTP workstation. + * Used for NTLM auth + * @var string + */ + public $Workstation = ''; - /** - * Used with DKIM DNS Resource Record - * @var string - */ - public $DKIM_passphrase = ''; + /** + * The SMTP server timeout in seconds. + * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2 + * @var integer + */ + public $Timeout = 300; - /** - * Used with DKIM DNS Resource Record - * optional, in format of email address 'yo...@yo...' - * @var string - */ - public $DKIM_domain = ''; + /** + * SMTP class debug output mode. + * Debug output level. + * Options: + * * `0` No output + * * `1` Commands + * * `2` Data and commands + * * `3` As 2 plus connection status + * * `4` Low-level data output + * @var integer + * @see SMTP::$do_debug + */ + public $SMTPDebug = 0; - /** - * Used with DKIM DNS Resource Record - * optional, in format of email address 'yo...@yo...' - * @var string - */ - public $DKIM_private = ''; + /** + * How to handle debug output. + * Options: + * * `echo` Output plain-text as-is, appropriate for CLI + * * `html` Output escaped, line breaks converted to `<br>`, appropriate for browser output + * * `error_log` Output to error log as configured in php.ini + * + * Alternatively, you can provide a callable expecting two params: a message string and the debug level: + * <code> + * $mail->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";}; + * </code> + * @var string|callable + * @see SMTP::$Debugoutput + */ + public $Debugoutput = 'echo'; - /** - * Callback Action function name - * the function that handles the result of the send email action. Parameters: - * bool $result result of the send action - * string $to email address of the recipient - * string $cc cc email addresses - * string $bcc bcc email addresses - * string $subject the subject - * string $body the email body - * @var string - */ - public $action_function = ''; //'callbackAction'; + /** + * Whether to keep SMTP connection open after each message. + * If this is set to true then to close the connection + * requires an explicit call to smtpClose(). + * @var boolean + */ + public $SMTPKeepAlive = false; - /** - * Sets the PHPMailer Version number - * @var string - */ - public $Version = '5.2.1'; + /** + * Whether to split multiple to addresses into multiple messages + * or send them all in one message. + * Only supported in `mail` and `sendmail` transports, not in SMTP. + * @var boolean + */ + public $SingleTo = false; - /** - * What to use in the X-Mailer header - * @var string - */ - public $XMailer = ''; + /** + * Storage for addresses when SingleTo is enabled. + * @var array + * @TODO This should really not be public + */ + public $SingleToArray = array(); - ///////////////////////////////////////////////// - // PROPERTIES, PRIVATE AND PROTECTED - ///////////////////////////////////////////////// + /** + * Whether to generate VERP addresses on send. + * Only applicable when sending via SMTP. + * @link https://en.wikipedia.org/wiki/Variable_envelope_return_path + * @link http://www.postfix.org/VERP_README.html Postfix VERP info + * @var boolean + */ + public $do_verp = false; - protected $smtp = NULL; - protected $to = array(); - protected $cc = array(); - protected $bcc = array(); - protected $ReplyTo = array(); - protected $all_recipients = array(); - protected $attachment = array(); - protected $CustomHeader = array(); - protected $message_type = ''; - protected $boundary = array(); - protected $language = array(); - protected $error_count = 0; - protected $sign_cert_file = ''; - protected $sign_key_file = ''; - protected $sign_key_pass = ''; - protected $exceptions = false; + /** + * Whether to allow sending messages with an empty body. + * @var boolean + */ + public $AllowEmpty = false; - ///////////////////////////////////////////////// - // CONSTANTS - ///////////////////////////////////////////////// + /** + * The default line ending. + * @note The default remains "\n". We force CRLF where we know + * it must be used via self::CRLF. + * @var string + */ + public $LE = "\n"; - const STOP_MESSAGE = 0; // message only, continue processing - const STOP_CONTINUE = 1; // message?, likely ok to continue processing - const STOP_CRITICAL = 2; // message, plus full stop, critical error reached + /** + * DKIM selector. + * @var string + */ + public $DKIM_selector = ''; - ///////////////////////////////////////////////// - // METHODS, VARIABLES - ///////////////////////////////////////////////// + /** + * DKIM Identity. + * Usually the email address used as the source of the email. + * @var string + */ + public $DKIM_identity = ''; - /** - * Constructor - * @param boolean $exceptions Should we throw external exceptions? - */ - public function __construct($exceptions = false) - { - $this->e... [truncated message content] |
From: <rgr...@us...> - 2017-01-01 01:06:35
|
Revision: 13228 http://sourceforge.net/p/xoops/svn/13228 Author: rgriffith Date: 2017-01-01 01:06:33 +0000 (Sun, 01 Jan 2017) Log Message: ----------- cumulative patch Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.7.3/ |
From: <wis...@us...> - 2016-12-29 05:47:30
|
Revision: 13227 http://sourceforge.net/p/xoops/svn/13227 Author: wishcraft Date: 2016-12-29 05:47:26 +0000 (Thu, 29 Dec 2016) Log Message: ----------- Module: Email Ticketer Please! still in early alpha! Added Paths: ----------- XoopsModules/please/trunk/admin/ XoopsModules/please/trunk/admin/about.php XoopsModules/please/trunk/admin/add-departments.php XoopsModules/please/trunk/admin/departments.php XoopsModules/please/trunk/admin/edit-departments.php XoopsModules/please/trunk/admin/footer.php XoopsModules/please/trunk/admin/header.php XoopsModules/please/trunk/admin/index.html XoopsModules/please/trunk/admin/index.php XoopsModules/please/trunk/admin/menu.php XoopsModules/please/trunk/admin/permissions.php XoopsModules/please/trunk/admin/post.php XoopsModules/please/trunk/blocks/ XoopsModules/please/trunk/blocks/index.html XoopsModules/please/trunk/class/ XoopsModules/please/trunk/class/addresses.php XoopsModules/please/trunk/class/bcc.php XoopsModules/please/trunk/class/cc.php XoopsModules/please/trunk/class/contents.php XoopsModules/please/trunk/class/correspondence.php XoopsModules/please/trunk/class/correspondence_bcc.php XoopsModules/please/trunk/class/correspondence_cc.php XoopsModules/please/trunk/class/correspondence_contents.php XoopsModules/please/trunk/class/correspondence_relayed.php XoopsModules/please/trunk/class/correspondence_to.php XoopsModules/please/trunk/class/departments.php XoopsModules/please/trunk/class/departments_escalations.php XoopsModules/please/trunk/class/departments_keywords.php XoopsModules/please/trunk/class/departments_mantis_projects.php XoopsModules/please/trunk/class/departments_staff.php XoopsModules/please/trunk/class/departments_staff_keywords.php XoopsModules/please/trunk/class/departments_staff_mantis_tickets.php XoopsModules/please/trunk/class/emails.php XoopsModules/please/trunk/class/emails_files.php XoopsModules/please/trunk/class/files.php XoopsModules/please/trunk/class/images.php XoopsModules/please/trunk/class/index.html XoopsModules/please/trunk/class/keywords.php XoopsModules/please/trunk/class/mailboxs/ XoopsModules/please/trunk/class/mailboxs/api.php XoopsModules/please/trunk/class/mailboxs/imap.php XoopsModules/please/trunk/class/mailboxs.php XoopsModules/please/trunk/class/messages.php XoopsModules/please/trunk/class/messages_cc.php XoopsModules/please/trunk/class/messages_files.php XoopsModules/please/trunk/class/messages_to.php XoopsModules/please/trunk/class/mimetypes.php XoopsModules/please/trunk/class/names.php XoopsModules/please/trunk/class/objects.php XoopsModules/please/trunk/class/phones.php XoopsModules/please/trunk/class/relayed.php XoopsModules/please/trunk/class/spam_addresses.php XoopsModules/please/trunk/class/spam_keywords.php XoopsModules/please/trunk/class/subjects.php XoopsModules/please/trunk/class/tickets.php XoopsModules/please/trunk/class/tickets_attachments.php XoopsModules/please/trunk/class/tickets_contents.php XoopsModules/please/trunk/class/tickets_departments.php XoopsModules/please/trunk/class/tickets_files.php XoopsModules/please/trunk/class/tickets_keywords.php XoopsModules/please/trunk/class/tickets_ownership.php XoopsModules/please/trunk/class/tickets_referees.php XoopsModules/please/trunk/class/to.php XoopsModules/please/trunk/class/wiki.php XoopsModules/please/trunk/class/wiki_keywords.php XoopsModules/please/trunk/class/wiki_staff.php XoopsModules/please/trunk/crons/ XoopsModules/please/trunk/crons/index.html XoopsModules/please/trunk/header.php XoopsModules/please/trunk/images/ XoopsModules/please/trunk/images/index.html XoopsModules/please/trunk/images/modicon.png XoopsModules/please/trunk/include/ XoopsModules/please/trunk/include/common.php XoopsModules/please/trunk/include/enumerators/ XoopsModules/please/trunk/include/enumerators/attachments__mailboxs.diz XoopsModules/please/trunk/include/enumerators/collect__mailboxs.diz XoopsModules/please/trunk/include/enumerators/images__mailboxs.diz XoopsModules/please/trunk/include/enumerators/index.html XoopsModules/please/trunk/include/enumerators/manager_bcc__departments.diz XoopsModules/please/trunk/include/enumerators/mantis__departments.diz XoopsModules/please/trunk/include/enumerators/messaging__departments_staff.diz XoopsModules/please/trunk/include/enumerators/method__correspondence.diz XoopsModules/please/trunk/include/enumerators/method__mailboxs.diz XoopsModules/please/trunk/include/enumerators/mode__departments_escalations.diz XoopsModules/please/trunk/include/enumerators/mode__phones.diz XoopsModules/please/trunk/include/enumerators/mode__tickets.diz XoopsModules/please/trunk/include/enumerators/mode__tickets_referees.diz XoopsModules/please/trunk/include/enumerators/recieved__emails.diz XoopsModules/please/trunk/include/enumerators/sending__emails.diz XoopsModules/please/trunk/include/enumerators/signature__mailboxs.diz XoopsModules/please/trunk/include/enumerators/spam-checking__messages.diz XoopsModules/please/trunk/include/enumerators/spam-email__messages.diz XoopsModules/please/trunk/include/enumerators/spam-training__messages.diz XoopsModules/please/trunk/include/enumerators/ssl__mailboxs.diz XoopsModules/please/trunk/include/enumerators/state__departments_staff.diz XoopsModules/please/trunk/include/enumerators/state__keywords.diz XoopsModules/please/trunk/include/enumerators/state__tickets.diz XoopsModules/please/trunk/include/enumerators/state__tickets_attachments.diz XoopsModules/please/trunk/include/enumerators/state__tickets_contents.diz XoopsModules/please/trunk/include/enumerators/state__tickets_ownership.diz XoopsModules/please/trunk/include/enumerators/state__wiki.diz XoopsModules/please/trunk/include/enumerators/storage__files.diz XoopsModules/please/trunk/include/enumerators/storage__images.diz XoopsModules/please/trunk/include/enumerators/typal__files.diz XoopsModules/please/trunk/include/enumerators/typal__messages.diz XoopsModules/please/trunk/include/enumerators/typal__phones.diz XoopsModules/please/trunk/include/enumerators/typal__tickets_attachments.diz XoopsModules/please/trunk/include/enumerators/typal__where.diz XoopsModules/please/trunk/include/enumerators/wammy__mailboxs.diz XoopsModules/please/trunk/include/formloader.php XoopsModules/please/trunk/include/formselectenumerator.php XoopsModules/please/trunk/include/functions.php XoopsModules/please/trunk/include/index.html XoopsModules/please/trunk/include/install.php XoopsModules/please/trunk/include/onupdate.php XoopsModules/please/trunk/include/uninstall.php XoopsModules/please/trunk/index.php XoopsModules/please/trunk/language/ XoopsModules/please/trunk/language/english/ XoopsModules/please/trunk/language/english/admin.php XoopsModules/please/trunk/language/english/blocks.php XoopsModules/please/trunk/language/english/errors.php XoopsModules/please/trunk/language/english/index.html XoopsModules/please/trunk/language/english/mail_template/ XoopsModules/please/trunk/language/english/main.php XoopsModules/please/trunk/language/english/modinfo.php XoopsModules/please/trunk/language/english/release.nfo XoopsModules/please/trunk/language/english/release.xcode XoopsModules/please/trunk/language/index.html XoopsModules/please/trunk/mantis.php XoopsModules/please/trunk/preloads/ XoopsModules/please/trunk/preloads/index.html XoopsModules/please/trunk/preloads/sef.php XoopsModules/please/trunk/sql/ XoopsModules/please/trunk/sql/index.html XoopsModules/please/trunk/sql/mysqli.sql XoopsModules/please/trunk/sql/tables.diz XoopsModules/please/trunk/templates/ XoopsModules/please/trunk/templates/admin/ XoopsModules/please/trunk/templates/admin/about.html XoopsModules/please/trunk/templates/admin/add-departments.html XoopsModules/please/trunk/templates/admin/departments.html XoopsModules/please/trunk/templates/admin/edit-departments.html XoopsModules/please/trunk/templates/admin/index.html XoopsModules/please/trunk/templates/blocks/ XoopsModules/please/trunk/templates/blocks/index.html XoopsModules/please/trunk/templates/groups.php.tpl XoopsModules/please/trunk/templates/index.html XoopsModules/please/trunk/xoops_version.php Removed Paths: ------------- XoopsModules/please/trunk/admin/ XoopsModules/please/trunk/blocks/ XoopsModules/please/trunk/class/ XoopsModules/please/trunk/crons/ XoopsModules/please/trunk/images/ XoopsModules/please/trunk/include/ XoopsModules/please/trunk/index.php XoopsModules/please/trunk/language/ XoopsModules/please/trunk/mantis.php XoopsModules/please/trunk/preloads/ XoopsModules/please/trunk/sql/ XoopsModules/please/trunk/templates/ XoopsModules/please/trunk/xoops_version.php Added: XoopsModules/please/trunk/admin/about.php =================================================================== --- XoopsModules/please/trunk/admin/about.php (rev 0) +++ XoopsModules/please/trunk/admin/about.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,39 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +include_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; +include_once __DIR__ . '/header.php'; +xoops_cp_header(); +$module_info = $module_handler->get($xoopsModule->getVar('mid')); +$aboutAdmin = new ModuleAdmin(); +$GLOBALS['xoopsTpl']->assign('nav', $aboutAdmin->addNavigation(basename(__FILE__))); +$about = $aboutAdmin->renderAbout('ZZZXXX7777888', false); +$replace = '<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> + <input type="hidden" name="cmd" value="_s-xclick"> + <input type="hidden" name="hosted_button_id" value="ZZZXXX7777888"> + <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" style="background-color:transparent;"> + <img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1"> + </form>'; +$GLOBALS['xoopsTpl']->assign('about', str_replace($replace, _AM_PLEASE_ADMIN_DONATE, $about)); +include_once __DIR__ . '/footer.php'; Added: XoopsModules/please/trunk/admin/add-departments.php =================================================================== --- XoopsModules/please/trunk/admin/add-departments.php (rev 0) +++ XoopsModules/please/trunk/admin/add-departments.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,32 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +global $xoopsModule, $xoopsTpl, $thisModuleDir; +include_once __DIR__ . '/header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation('departments.php')); +$departments_handler = xoops_getModuleHandler('departments', $thisModuleDir); +$GLOBALS['xoopsTpl']->assign('form', $departments_handler->getAddFormAdmin()); +include_once __DIR__ . '/footer.php'; Added: XoopsModules/please/trunk/admin/departments.php =================================================================== --- XoopsModules/please/trunk/admin/departments.php (rev 0) +++ XoopsModules/please/trunk/admin/departments.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,70 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +global $xoopsModule, $xoopsTpl, $thisModuleDir; + +include_once __DIR__ . '/header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); +$indexAdmin->addItemButton(_AM_PLEASE_ADMIN_DEPARTMENTS_ADD, 'add-departments.php', 'add', ''); +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation(basename(__FILE__))); +$GLOBALS['xoopsTpl']->assign('buttons',$indexAdmin->renderButton('right', '')); +$departments_handler = xoops_getModuleHandler('departments', $thisModuleDir); +if (!isset($GLOBALS['sort'])||empty($GLOBALS['sort'])) + $GLOBALS['sort'] = $departments_handler->getDefaultSort('admin'); +$criteria = new Criteria(1, 1); +if (isset($GLOBALS['sort']) && !empty($GLOBALS['sort'])) + $criteria->setSort($GLOBALS['sort']); +if (isset($GLOBALS['order']) && !empty($GLOBALS['order'])) + $criteria->setOrder($GLOBALS['order']); +$pagenav = new XoopsPageNav($ttlitems = $departments_handler->count($criteria), $GLOBALS['limit'], $GLOBALS['start'], 'start', 'limit='.$GLOBALS['limit'].(isset($GLOBALS['op'])&&!empty($GLOBALS['op'])?'&op='.$GLOBALS['op']:"").(isset($GLOBALS['sort'])&&!empty($GLOBALS['sort'])?'&sort='.$GLOBALS['sort']:"").(isset($GLOBALS['order'])&&!empty($GLOBALS['order'])?'&order='.$GLOBALS['order']:"")); +$GLOBALS['xoopsTpl']->assign('pagenav',$pagenav->renderNav(_AM_PLEASE_ADMIN_PAGENAV_OFFSET)); +$criteria->setStart($GLOBALS['start']); +$criteria->setLimit($GLOBALS['limit']); +if ($ttlitems==0) +{ + redirect_header(XOOPS_URL . '/modules/' . $thisModuleDir . '/admin/add-department.php', 4, _ERR_PLEASE_ADMIN_NODEPARTMENTS); + exit(0); +} +if ($departments = $departments_handler->getObjects($criteria, true, false)) +{ + $GLOBALS['xoopsTpl']->assign('tableheaders', $departments_handler->getAdminListFormHeader()); + foreach($departments as $id => $department) + { + $GLOBALS['xoopsTpl']->append('departments', $department->getAdminListFormItems()); + } +} else { + if ($GLOBALS['start']>0 && $GLOBALS['start'] > $GLOBALS['limit']) + $GLOBALS['start'] = $GLOBALS['start'] - $GLOBALS['limit']; + else + $GLOBALS['start'] = 0; + redirect_header(XOOPS_URL . '/modules/' . $thisModuleDir . '/admin/'.basename(__FILE__).'?start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].(isset($GLOBALS['op'])&&!empty($GLOBALS['op'])?'&op='.$GLOBALS['op']:"").(isset($GLOBALS['sort'])&&!empty($GLOBALS['sort'])?'&sort='.$GLOBALS['sort']:"").(isset($GLOBALS['order'])&&!empty($GLOBALS['order'])?'&order='.$GLOBALS['order']:""), 4, _ERR_PLEASE_ADMIN_LISTRANGEEXCEEDED); + exit(0); +} +$GLOBALS['xoopsTpl']->assign('start', $GLOBALS['start']); +$GLOBALS['xoopsTpl']->assign('limit', $GLOBALS['limit']); +$GLOBALS['xoopsTpl']->assign('sort', $GLOBALS['sort']); +$GLOBALS['xoopsTpl']->assign('order', $GLOBALS['order']); +include_once __DIR__ . '/footer.php'; Added: XoopsModules/please/trunk/admin/edit-departments.php =================================================================== --- XoopsModules/please/trunk/admin/edit-departments.php (rev 0) +++ XoopsModules/please/trunk/admin/edit-departments.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,38 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +global $xoopsModule, $xoopsTpl, $thisModuleDir; +include_once __DIR__ . '/header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation('departments.php')); +$departments_handler = xoops_getModuleHandler('departments', $thisModuleDir); +$department = $departments_handler->getMD5($GLOBALS['id']); +if (is_object($department) && !empty($department)) + $GLOBALS['xoopsTpl']->assign('form', $department->getEditFormAdmin()); +else { + redirect_header(XOOPS_URL . '/modules/' . $thisModuleDir . '/admin/departments.php', 4, _ERR_PLEASE_ADMIN_INVALIDHASH); + exit(0); +} +include_once __DIR__ . '/footer.php'; \ No newline at end of file Added: XoopsModules/please/trunk/admin/footer.php =================================================================== --- XoopsModules/please/trunk/admin/footer.php (rev 0) +++ XoopsModules/please/trunk/admin/footer.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,29 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ +if (!empty($GLOBALS['template'])) + $GLOBALS['xoopsTpl']->assign('footer',$footer="<div class='adminfooter'>\n" . " <div style='text-align: center;'>\n" . " <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . " </div>\n" . ' ' . _AM_PLEASE_ADMIN_FOOTER . "\n" . '</div>'); +if (!empty($GLOBALS['template'])) + $GLOBALS['xoopsTpl']->display($GLOBALS['template']); +if (empty($GLOBALS['template'])) + echo $footer; +xoops_cp_footer(); Added: XoopsModules/please/trunk/admin/header.php =================================================================== --- XoopsModules/please/trunk/admin/header.php (rev 0) +++ XoopsModules/please/trunk/admin/header.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,94 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$path = dirname(dirname(dirname(__DIR__))); +include_once dirname(__DIR__) . '/header.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +global $xoopsModule, $xoopsTpl, $thisModuleDir; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +//if functions.php file exist +//require_once dirname(__DIR__) . '/include/functions.php'; + +// Load language files +xoops_loadLanguage('errors', $thisModuleDir); +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); +xoops_load('pagenav'); + +$pathIcon16 = '../' . $xoopsModule->getInfo('icons16'); +$pathIcon32 = '../' . $xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +$myts = MyTextSanitizer::getInstance(); + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once XOOPS_ROOT_PATH . '/class/template.php'; + $xoopsTpl = new XoopsTpl(); +} + +include_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'); + +xoops_loadLanguage('user'); +if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once $GLOBALS['xoops']->path('/class/template.php'); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); +} + +if (isset($GLOBALS['xoopsTpl'])) +{ + $GLOBALS['xoopsTpl']->assign('dirname', $thisModuleDir); +} +if (isset($_REQUEST['start'])&&!empty($_REQUEST['start'])) + $GLOBALS['start'] = $_REQUEST['start']; +else + $GLOBALS['start'] = 0; + +if (isset($_REQUEST['limit'])&&!empty($_REQUEST['limit'])) + $GLOBALS['limit'] = $_REQUEST['limit']; +else + $GLOBALS['limit'] = _AM_PLEASE_ADMIN_LIMIT_ITEMS; + +if (isset($_REQUEST['sort'])&&!empty($_REQUEST['sort'])) + $GLOBALS['sort'] = $_REQUEST['sort']; +else + $GLOBALS['sort'] = ''; + +if (isset($_REQUEST['order'])&&!empty($_REQUEST['order'])) + $GLOBALS['order'] = $_REQUEST['order']; +else + $GLOBALS['order'] = 'ASC'; + +if (isset($_REQUEST['op'])&&!empty($_REQUEST['op'])) + $GLOBALS['op'] = $_REQUEST['op']; +else + $GLOBALS['op'] = ''; + +if (isset($_REQUEST['id'])&&!empty($_REQUEST['id'])) + $GLOBALS['id'] = $_REQUEST['id']; +else + $GLOBALS['id'] = ''; Added: XoopsModules/please/trunk/admin/index.html =================================================================== --- XoopsModules/please/trunk/admin/index.html (rev 0) +++ XoopsModules/please/trunk/admin/index.html 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/please/trunk/admin/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/please/trunk/admin/index.php =================================================================== --- XoopsModules/please/trunk/admin/index.php (rev 0) +++ XoopsModules/please/trunk/admin/index.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,48 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); + +include_once __DIR__ . '/header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); +//----------------------- +// $xpPartnerHandler = xoops_getModuleHandler('partners', $xoopsModule->getVar('dirname')); + +// $totalPartners = $xpPartnerHandler->getCount(); +// $totalNonActivePartners = $xpPartnerHandler->getCount(new Criteria('status', 0, '=')); +// $totalActivePartners = $totalPartners - $totalNonActivePartners; + +// $indexAdmin->addInfoBox(_MD_XPARTNERS_DASHBOARD); + +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALACTIVE. "</infolabel>", $totalActivePartners, 'Green'); +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALNONACTIVE. "</infolabel>", $totalNonActivePartners, 'Red'); +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALPARTNERS. "</infolabel><infotext>", $totalPartners."</infotext>"); +//---------------------------- + +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation(basename(__FILE__))); +$GLOBALS['xoopsTpl']->assign('index',$indexAdmin->renderIndex()); + +include_once __DIR__ . '/footer.php'; +//xoops_cp_footer(); Added: XoopsModules/please/trunk/admin/menu.php =================================================================== --- XoopsModules/please/trunk/admin/menu.php (rev 0) +++ XoopsModules/please/trunk/admin/menu.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,89 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$path = dirname(dirname(dirname(__DIR__))); +include_once $path . '/mainfile.php'; + +$dirname = basename(dirname(__DIR__)); +$module_handler = xoops_getHandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); +$pathLanguage = $path . $pathModuleAdmin; + +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { + $fileinc = $pathLanguage . '/language/english/main.php'; +} + +include_once $fileinc; + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_HOME; +$adminmenu[$i]['link'] = 'admin/index.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/home.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_DEPARTMENTS; +$adminmenu[$i]['link'] = 'admin/departments.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/users.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_MAILBOXES; +$adminmenu[$i]['link'] = 'admin/mailboxes.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/mail_forward.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_ESCALATION; +$adminmenu[$i]['link'] = 'admin/escalations.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/security.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_USERS; +$adminmenu[$i]['link'] = 'admin/users.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/users.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_FILES; +$adminmenu[$i]['link'] = 'admin/files.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/fileshare.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_MIMETYPES; +$adminmenu[$i]['link'] = 'admin/mimetypes.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/upload.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_TICKETS; +$adminmenu[$i]['link'] = 'admin/tickets.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/event.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_KEYWQRDS; +$adminmenu[$i]['link'] = 'admin/keywords.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/highlight.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_REPORTS; +$adminmenu[$i]['link'] = 'admin/reports.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/newsletter.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_PERMISSIONS; +$adminmenu[$i]['link'] = 'admin/permissions.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/permissions.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_ABOUT; +$adminmenu[$i]['link'] = 'admin/about.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/about.png'; Added: XoopsModules/please/trunk/admin/permissions.php =================================================================== --- XoopsModules/please/trunk/admin/permissions.php (rev 0) +++ XoopsModules/please/trunk/admin/permissions.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,112 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +include_once __DIR__ . '/admin_header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +echo $indexAdmin->addNavigation(basename(__FILE__)); + +$op = \Xmf\Request::getCmd('op', 'edit'); + +$perm_desc = ''; +switch ($op) { + case 'visibility': + //redirect_header("visibility.php", 0, _PROFILE_AM_PROF_VISIBLE); + header('Location: visibility.php'); + break; + + case 'edit': + $title_of_form = _PROFILE_AM_PROF_EDITABLE; + $perm_name = 'profile_edit'; + $restriction = 'field_edit'; + $anonymous = false; + break; + + case 'search': + $title_of_form = _PROFILE_AM_PROF_SEARCH; + $perm_name = 'profile_search'; + $restriction = ''; + $anonymous = true; + break; + + case 'access': + $title_of_form = _PROFILE_AM_PROF_ACCESS; + $perm_name = 'profile_access'; + $perm_desc = _PROFILE_AM_PROF_ACCESS_DESC; + $restriction = ''; + $anonymous = true; + break; +} + +include_once $GLOBALS['xoops']->path('/class/xoopsformloader.php'); +$opform = new XoopsSimpleForm('', 'opform', 'permissions.php', 'get'); +$op_select = new XoopsFormSelect('', 'op', $op); +$op_select->setExtra('onchange="document.forms.opform.submit()"'); +$op_select->addOption('visibility', _PROFILE_AM_PROF_VISIBLE); +$op_select->addOption('edit', _PROFILE_AM_PROF_EDITABLE); +$op_select->addOption('search', _PROFILE_AM_PROF_SEARCH); +$op_select->addOption('access', _PROFILE_AM_PROF_ACCESS); +$opform->addElement($op_select); +$opform->display(); + +$module_id = $GLOBALS['xoopsModule']->getVar('mid'); +include_once $GLOBALS['xoops']->path('/class/xoopsform/grouppermform.php'); +$form = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc, 'admin/permissions.php?op=' . $op, $anonymous); +if ($op === 'access') { + $member_handler = xoops_getHandler('member'); + $glist = $member_handler->getGroupList(); + foreach (array_keys($glist) as $i) { + if ($i != XOOPS_GROUP_ANONYMOUS) { + $form->addItem($i, $glist[$i]); + } + } +} else { + $profile_handler = xoops_getModuleHandler('profile'); + $fields = $profile_handler->loadFields(); + + if ($op !== 'search') { + foreach (array_keys($fields) as $i) { + if ($restriction == '' || $fields[$i]->getVar($restriction)) { + $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25)); + } + } + } else { + $searchable_types = array( + 'textbox', + 'select', + 'radio', + 'yesno', + 'date', + 'datetime', + 'timezone', + 'language'); + foreach (array_keys($fields) as $i) { + if (in_array($fields[$i]->getVar('field_type'), $searchable_types)) { + $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25)); + } + } + } +} +$form->display(); +include_once __DIR__ . '/admin_footer.php'; +//xoops_cp_footer(); Added: XoopsModules/please/trunk/admin/post.php =================================================================== --- XoopsModules/please/trunk/admin/post.php (rev 0) +++ XoopsModules/please/trunk/admin/post.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,41 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +include_once __DIR__ . '/header.php'; + + switch ($GLOBALS['op']) + { + case "departments": + + break; + case "add-department": + + break; + case "edit-department": + + break; + } + + +include_once __DIR__ . '/footer.php'; + Added: XoopsModules/please/trunk/blocks/index.html =================================================================== --- XoopsModules/please/trunk/blocks/index.html (rev 0) +++ XoopsModules/please/trunk/blocks/index.html 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/please/trunk/blocks/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/please/trunk/class/addresses.php =================================================================== --- XoopsModules/please/trunk/class/addresses.php (rev 0) +++ XoopsModules/please/trunk/class/addresses.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,127 @@ +<?php +/** + * Please Addresses Ticketer of Batch Group & User Addressess + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage please + * @description Addresses Ticking for Support/Faults/Management of Batch Group & User managed emails tickets + * @version 1.0.5 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please + * @link http://internetfounder.wordpress.com + */ + +if (!defined('_MI_PLEASE_MODULE_DIRNAME')) { + return false; +} + +//* +require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects.php'); + +/** + * Class for Addresses in Please email ticketer + * + * For Table:- + * <code> + * CREATE TABLE `please_addresses` ( + * `id` int(14) UNSIGNED NOT NULL AUTO_INCREMENT, + * `address` varchar(198) DEFAULT '', + * `uid` int(11) DEFAULT '0', + * `recieved` int(12) DEFAULT '0', + * `sent` int(12) DEFAULT '0', + * `tickets` int(12) DEFAULT '0', + * `ticket-id` mediumint(30) UNSIGNED DEFAULT '0', + * `created` int(12) DEFAULT '0', + * `action` int(12) DEFAULT '0', + * PRIMARY KEY (`id`), + * KEY `SEARCH` (`address`(18),`uid`) + * ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + * </code> + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseAddresses extends pleaseXoopsObject +{ + + var $handler = ''; + + function __construct($id = null) + { + + self::initVar('id', XOBJ_DTYPE_INT, null, false); + self::initVar('address', XOBJ_DTYPE_TXTBOX, null, false, 198); + self::initVar('uid', XOBJ_DTYPE_INT, null, false); + self::initVar('recieved', XOBJ_DTYPE_INT, null, false); + self::initVar('sent', XOBJ_DTYPE_INT, null, false); + self::initVar('tickets', XOBJ_DTYPE_INT, null, false); + self::initVar('ticket-id', XOBJ_DTYPE_INT, null, false); + self::initVar('created', XOBJ_DTYPE_INT, time(), false); + self::initVar('action', XOBJ_DTYPE_INT, 0, false); + + $this->handler = __CLASS__ . 'Handler'; + if (!empty($id) && !is_null($id)) + { + $handler = new $this->handler; + self::assignVars($handler->get($id)->getValues(array_keys($this->vars))); + } + + } + +} + + +/** + * Handler Class for Addresses in Please email ticketer + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseAddressesHandler extends pleaseXoopsObjectHandler +{ + + + /** + * Table Name without prefix used + * + * @var string + */ + var $tbl = 'please_addresses'; + + /** + * Child Object Handling Class + * + * @var string + */ + var $child = 'pleaseAddresses'; + + /** + * Child Object Identity Key + * + * @var string + */ + var $identity = 'id'; + + /** + * Child Object Default Envaluing Costs + * + * @var string + */ + var $envalued = 'address'; + + function __construct(&$db) + { + if (!object($db)) + $db = $GLOBAL["xoopsDB"]; + parent::__construct($db, self::$tbl, self::$child, self::$identity, self::$envalued); + } +} +?> \ No newline at end of file Property changes on: XoopsModules/please/trunk/class/addresses.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/please/trunk/class/bcc.php =================================================================== --- XoopsModules/please/trunk/class/bcc.php (rev 0) +++ XoopsModules/please/trunk/class/bcc.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,121 @@ +<?php +/** + * Please Bcc Ticketer of Batch Group & User Bccs + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage please + * @description Bcc Ticking for Support/Faults/Management of Batch Group & User managed emails tickets + * @version 1.0.5 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please + * @link http://internetfounder.wordpress.com + */ + +if (!defined('_MI_PLEASE_MODULE_DIRNAME')) { + return false; +} + +//* +require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects.php'); + +/** + * Class for Bcc in Please email ticketer + * + * For Table:- + * <code> + * CREATE TABLE `please_bcc` ( + * `id` mediumint(30) UNSIGNED NOT NULL AUTO_INCREMENT, + * `ticket-id` mediumint(30) UNSIGNED DEFAULT '0', + * `address-id` int(14) UNSIGNED EFAULT '0', + * `name-id` int(14) UNSIGNED DEFAULT '0', + * `email-id` mediumint(30) UNSIGNED DEFAULT '0', + * `created` int(12) DEFAULT '0', + * PRIMARY KEY (`id`), + * KEY `SEARCH` (`address-id`,`name-id`,`email-id`,`ticket-id`) + * ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + * </code> + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseBcc extends pleaseXoopsObject +{ + + var $handler = ''; + + function __construct($id = null) + { + + self::initVar('id', XOBJ_DTYPE_INT, null, false); + self::initVar('ticket-id', XOBJ_DTYPE_INT, null, false); + self::initVar('address-id', XOBJ_DTYPE_INT, null, false); + self::initVar('name-id', XOBJ_DTYPE_INT, null, false); + self::initVar('email-id', XOBJ_DTYPE_INT, null, false); + self::initVar('created', XOBJ_DTYPE_INT, time(), false); + + $this->handler = __CLASS__ . 'Handler'; + if (!empty($id) && !is_null($id)) + { + $handler = new $this->handler; + self::assignVars($handler->get($id)->getValues(array_keys($this->vars))); + } + + } + +} + + +/** + * Handler Class for Bcc in Please email ticketer + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseBccHandler extends pleaseXoopsObjectHandler +{ + + + /** + * Table Name without prefix used + * + * @var string + */ + var $tbl = 'please_bcc'; + + /** + * Child Object Handling Class + * + * @var string + */ + var $child = 'pleaseBcc'; + + /** + * Child Object Identity Key + * + * @var string + */ + var $identity = 'id'; + + /** + * Child Object Default Envaluing Costs + * + * @var string + */ + var $envalued = 'created'; + + function __construct(&$db) + { + if (!object($db)) + $db = $GLOBAL["xoopsDB"]; + parent::__construct($db, self::$tbl, self::$child, self::$identity, self::$envalued); + } +} +?> \ No newline at end of file Added: XoopsModules/please/trunk/class/cc.php =================================================================== --- XoopsModules/please/trunk/class/cc.php (rev 0) +++ XoopsModules/please/trunk/class/cc.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,121 @@ +<?php +/** + * Please Cc Ticketer of Batch Group & User Ccs + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage please + * @description Cc Ticking for Support/Faults/Management of Batch Group & User managed emails tickets + * @version 1.0.5 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please + * @link http://internetfounder.wordpress.com + */ + +if (!defined('_MI_PLEASE_MODULE_DIRNAME')) { + return false; +} + +//* +require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects.php'); + +/** + * Class for Cc in Please email ticketer + * + * For Table:- + * <code> + * CREATE TABLE `please_cc` ( + * `id` mediumint(30) UNSIGNED NOT NULL AUTO_INCREMENT, + * `ticket-id` mediumint(30) UNSIGNED DEFAULT '0', + * `address-id` int(14) UNSIGNED DEFAULT '0', + * `name-id` int(14) UNSIGNED DEFAULT '0', + * `email-id` mediumint(30) UNSIGNED DEFAULT '0', + * `created` int(12) DEFAULT '0', + * PRIMARY KEY (`id`), + * KEY `SEARCH` (`address-id`,`name-id`,`email-id`,`ticket-id`) + * ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + * </code> + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseCc extends pleaseXoopsObject +{ + + var $handler = ''; + + function __construct($id = null) + { + + self::initVar('id', XOBJ_DTYPE_INT, null, false); + self::initVar('ticket-id', XOBJ_DTYPE_INT, null, false); + self::initVar('address-id', XOBJ_DTYPE_INT, null, false); + self::initVar('name-id', XOBJ_DTYPE_INT, null, false); + self::initVar('email-id', XOBJ_DTYPE_INT, null, false); + self::initVar('created', XOBJ_DTYPE_INT, time(), false); + + $this->handler = __CLASS__ . 'Handler'; + if (!empty($id) && !is_null($id)) + { + $handler = new $this->handler; + self::assignVars($handler->get($id)->getValues(array_keys($this->vars))); + } + + } + +} + + +/** + * Handler Class for Cc in Please email ticketer + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseCcHandler extends pleaseXoopsObjectHandler +{ + + + /** + * Table Name without prefix used + * + * @var string + */ + var $tbl = 'please_cc'; + + /** + * Child Object Handling Class + * + * @var string + */ + var $child = 'pleaseCc'; + + /** + * Child Object Identity Key + * + * @var string + */ + var $identity = 'id'; + + /** + * Child Object Default Envaluing Costs + * + * @var string + */ + var $envalued = 'created'; + + function __construct(&$db) + { + if (!object($db)) + $db = $GLOBAL["xoopsDB"]; + parent::__construct($db, self::$tbl, self::$child, self::$identity, self::$envalued); + } +} +?> \ No newline at end of file Added: XoopsModules/please/trunk/class/contents.php =================================================================== --- XoopsModules/please/trunk/class/contents.php (rev 0) +++ XoopsModules/please/trunk/class/contents.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,133 @@ +<?php +/** + * Please Contents Ticketer of Batch Group & User Contentss + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage please + * @description Contents Ticking for Support/Faults/Management of Batch Group & User managed emails tickets + * @version 1.0.5 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please + * @link http://internetfounder.wordpress.com + */ + +if (!defined('_MI_PLEASE_MODULE_DIRNAME')) { + return false; +} + +//* +require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects.php'); + +/** + * Class for Contents in Please email ticketer + * + * For Table:- + * <code> + * CREATE TABLE `please_contents` ( + * `id` mediumint(30) UNSIGNED NOT NULL AUTO_INCREMENT, + * `key` varchar(44) DEFAULT '', + * `text` longtext, + * `created` int(12) DEFAULT '0', + * PRIMARY KEY (`id`), + * KEY `SEARCH` (`key`(20)) + * ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + * </code> + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseContents extends pleaseXoopsObject +{ + + var $handler = ''; + + function __construct($id = null) + { + + self::initVar('id', XOBJ_DTYPE_INT, 0, false); + self::initVar('key', XOBJ_DTYPE_TXTBOX, sha1(null), true, 44); + self::initVar('text', XOBJ_DTYPE_OTHER, 0, false);; + self::initVar('created', XOBJ_DTYPE_INT, time(), false); + + $this->handler = __CLASS__ . 'Handler'; + if (!empty($id) && !is_null($id)) + { + $handler = new $this->handler; + self::assignVars($handler->get($id)->getValues(array_keys($this->vars))); + } + + } + +} + + +/** + * Handler Class for Contents in Please email ticketer + * @author Simon Roberts (wis...@us...) + * @copyright copyright (c) 2015 labs.coop + */ +class pleaseContentsHandler extends pleaseXoopsObjectHandler +{ + + + /** + * Table Name without prefix used + * + * @var string + */ + var $tbl = 'please_contents'; + + /** + * Child Object Handling Class + * + * @var string + */ + var $child = 'pleaseContents'; + + /** + * Child Object Identity Key + * + * @var string + */ + var $identity = 'id'; + + /** + * Child Object Default Envaluing Costs + * + * @var string + */ + var $envalued = 'text'; + + function __construct(&$db) + { + if (!object($db)) + $db = $GLOBAL["xoopsDB"]; + parent::__construct($db, self::$tbl, self::$child, self::$identity, self::$envalued); + } + + /** + * (non-PHPdoc) + * @see XoopsPersistableObjectHandler::insert() + */ + function insert($object = null, $force = true) + { + if (is_a($object, 'pleaseContents')) + { + if ($object->getVar('key')==sha1(null)) + { + $object->setVar('key', sha1(_PLEASE_SALT_BLOWFISH . md5($object->getVar('text') . _PLEASE_SALT_WHENSET . _PLEASE_SALT_WHERESET))); + } + return parent::insert($obejct, $force); + } + } +} +?> \ No newline at end of file Added: XoopsModules/please/trunk/class/correspondence.php =================================================================== --- XoopsModules/please/trunk/class/correspondence.php (rev 0) +++ XoopsModules/please/trunk/class/correspondence.php 2016-12-29 05:47:26 UTC (rev 13227) @@ -0,0 +1,122 @@ +<?php +/** + * Please Correspondences Ticketer of Batch Group & User Correspondencess + * + * 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://sourceforge.net/projects/xoops/ + * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) + * @author Simon Roberts (wishcraft) <wis...@us...> + * @subpackage please + * @description Correspondences Ticking for Support/Faults/Management of Batch Group & User managed emails tickets + * @version 1.0.5 + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please + * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please + * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please + * @link http://internetfounder.wordpress.com + */ + +if (!defined('_MI_PLEASE_MODULE_DIRNAME')) { + return false; +} + +//* +require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects.php'); + +/** + * Class for Correspondences in Please email ticketer + * + * For Table:- + * <code> + * CREATE TABLE `please_correspondences` ( + * `id` mediumint(38) UNSIGNED NOT NULL AUTO_INCREMENT, + * `method` enum('email','pm','staff','mantis','unknown') DEFAULT 'unknown', + * `ticket-id` mediumint(30) UNSIGNED DEFAULT '0', + * `department-id` mediumint(6) UNSIGNED DEFAULT '0', + * `staff-id` mediumint(1... [truncated message content] |
From: <wis...@us...> - 2016-12-15 08:26:46
|
Revision: 13226 http://sourceforge.net/p/xoops/svn/13226 Author: wishcraft Date: 2016-12-15 08:26:43 +0000 (Thu, 15 Dec 2016) Log Message: ----------- fonts.xoops.org ~ convert 1.06 Modified Paths: -------------- *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/font.php *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/language/english/modinfo.php Modified: *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/font.php =================================================================== --- *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/font.php 2016-12-15 05:09:10 UTC (rev 13225) +++ *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/font.php 2016-12-15 08:26:43 UTC (rev 13226) @@ -62,7 +62,6 @@ if (strlen($font->getVar('identity'))) { - xoops_load("XoopsCache"); if (!$cssdata = XoopsCache::read($cache = "convert_css_".md5($font->getVar('identity')))) { Modified: *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/language/english/modinfo.php =================================================================== --- *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/language/english/modinfo.php 2016-12-15 05:09:10 UTC (rev 13225) +++ *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/language/english/modinfo.php 2016-12-15 08:26:43 UTC (rev 13226) @@ -53,7 +53,7 @@ // Module definition headers for xoops_version.php define('_MD_CONVERT_MODULE_NAME','Font Coverter'); -define('_MD_CONVERT_MODULE_VERSION','1.05'); +define('_MD_CONVERT_MODULE_VERSION','1.06'); define('_MD_CONVERT_MODULE_RELEASEDATE',''); define('_MD_CONVERT_MODULE_STATUS','release'); define('_MD_CONVERT_MODULE_DESCRIPTION','Font convert is a module which converts and packages web fonts!'); |
From: <wis...@us...> - 2016-12-15 05:09:12
|
Revision: 13225 http://sourceforge.net/p/xoops/svn/13225 Author: wishcraft Date: 2016-12-15 05:09:10 +0000 (Thu, 15 Dec 2016) Log Message: ----------- convert version 1.05 -- CSS inclusion Modified Paths: -------------- *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/font.php *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/language/english/modinfo.php *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/templates/convert_fonts.html Modified: *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/font.php =================================================================== --- *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/font.php 2016-12-15 03:38:38 UTC (rev 13224) +++ *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/font.php 2016-12-15 05:09:10 UTC (rev 13225) @@ -60,6 +60,19 @@ $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . "/modules/' . basename(__DIR__) . '/language/" . $GLOBALS['xoopsConfig']['language'] . "/style.css"); $upload = $uploadsHandler->get($font->getVar('uploadid')); + if (strlen($font->getVar('identity'))) + { + + xoops_load("XoopsCache"); + if (!$cssdata = XoopsCache::read($cache = "convert_css_".md5($font->getVar('identity')))) + { + $cssdata = array(); + $cssdata['url']="http://fonts.labs.coop/v2/font/".$font->getVar('identity')."/css.api"; + $cssdata['code'] = getURIData($cssdata['url'], 65, 65); + XoopsCache::write($cache, $cssdata, 3600 * 24 * 7 * 4 * 48); + } + $GLOBALS['xoopsTpl']->assign('cssdata', $cssdata,0); + } $GLOBALS['xoopsTpl']->assign('xoops_meta_description', $keywords = 'Font: '.$font->getVar('name') . ' ~ Licensing Name: ' ._MD_CONVERT_LICENSE_NAME. ' ~ Licensing Code: ' . _MD_CONVERT_LICENSE_CODE . ' ~ Licensed Name: ' . $upload->getVar('name') . ' ~ Licensed Organisation: ' . $upload->getVar('company') . ' ~ Download Size: '.number_format($font->getvar('zip-bytes'),0).' bytes ~ Number of Files: '.number_format($font->getvar('zip-files'),0)); $GLOBALS['xoopsTpl']->assign('xoops_meta_keywords', implode(',',explode('-',sef($keywords)))); $GLOBALS['xoopsTpl']->assign('xoops_pagetitle', 'Font: ' . $font->getVar('name') . ' by ' . $upload->getVar('name') . ' ('.$upload->getVar('company').')'); Modified: *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/language/english/modinfo.php =================================================================== --- *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/language/english/modinfo.php 2016-12-15 03:38:38 UTC (rev 13224) +++ *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/language/english/modinfo.php 2016-12-15 05:09:10 UTC (rev 13225) @@ -32,9 +32,9 @@ define('_MD_CONVERT_RELEASE_TWEET','Zero-day Font: %s (%s Mb) %s via @%s'); // Path information -define('_MD_CONVERT_PATH_UPLOADS',DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'fonts4xoops'); -define('_MD_CONVERT_PATH_CACHE',XOOPS_VAR_PATH . DIRECTORY_SEPARATOR . 'caches' . DIRECTORY_SEPARATOR . 'fonts4xoops'); -define('_MD_CONVERT_PATH_REPOSITORY',XOOPS_VAR_PATH . DIRECTORY_SEPARATOR . 'fonts4xoops' . DIRECTORY_SEPARATOR . 'respository'); +define('_MD_CONVERT_PATH_UPLOADS',DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'fonts4web'); +define('_MD_CONVERT_PATH_CACHE',XOOPS_VAR_PATH . DIRECTORY_SEPARATOR . 'caches' . DIRECTORY_SEPARATOR . 'fonts4web'); +define('_MD_CONVERT_PATH_REPOSITORY',XOOPS_VAR_PATH . DIRECTORY_SEPARATOR . 'fonts4web' . DIRECTORY_SEPARATOR . 'respository'); // Admin Dashboard define('_MD_CONVERT_ADMIN_STATISTICS','Font Conversion Statistics'); @@ -53,7 +53,7 @@ // Module definition headers for xoops_version.php define('_MD_CONVERT_MODULE_NAME','Font Coverter'); -define('_MD_CONVERT_MODULE_VERSION','1.01'); +define('_MD_CONVERT_MODULE_VERSION','1.05'); define('_MD_CONVERT_MODULE_RELEASEDATE',''); define('_MD_CONVERT_MODULE_STATUS','release'); define('_MD_CONVERT_MODULE_DESCRIPTION','Font convert is a module which converts and packages web fonts!'); Modified: *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/templates/convert_fonts.html =================================================================== --- *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/templates/convert_fonts.html 2016-12-15 03:38:38 UTC (rev 13224) +++ *.xoops.org (Subdomain APIs & Sites)/fonts.xoops.org/modules/convert/templates/convert_fonts.html 2016-12-15 05:09:10 UTC (rev 13225) @@ -11,7 +11,24 @@ </p> <div style="clear:both;"> </div> <div style="clear: both; height: auto; margin-top: 7px;"><h2>Preview of font: <{$font.name}></h2><center><img src="<{$preview}>" width="98%" /></center></div> +<{if isset($cssdata)}> <div style="clear:both;"> </div> +<div style="clear: both; height: auto; margin-top: 13px;"><h2>CSS for Fonts API Inclusion</h2> + <h3>Method One with CSS</h3> + <p>You can include the following statement in a css call to pull the font from the API Repository:-<br /> + <pre> + @import url("<{$cssdata.url}>"); + </pre> + </p> + <h3>Method Two with CSS</h3> + <p>You can include the following statement in a css call to pull the font from the API Repository:-<br /> + <pre> + <{$cssdata.code}> + </pre> + </p> +</div> +<{/if}> +<div style="clear:both;"> </div> <div style="clear: both; height: auto; margin-top: 13px;"><h2>Files in pack with <{$font.name}></h2> <table> <thead> |
From: <wis...@us...> - 2016-11-20 14:45:46
|
Revision: 13222 http://sourceforge.net/p/xoops/svn/13222 Author: wishcraft Date: 2016-11-20 14:45:43 +0000 (Sun, 20 Nov 2016) Log Message: ----------- please email ticketer a bit more coded\! Modified Paths: -------------- XoopsModules/please/trunk/class/departments.php XoopsModules/please/trunk/class/objects.php XoopsModules/please/trunk/class/tickets.php XoopsModules/please/trunk/include/install.php XoopsModules/please/trunk/include/uninstall.php XoopsModules/please/trunk/language/english/admin.php XoopsModules/please/trunk/language/english/errors.php XoopsModules/please/trunk/language/english/modinfo.php XoopsModules/please/trunk/language/english/release.nfo XoopsModules/please/trunk/templates/admin/index.html XoopsModules/please/trunk/templates/groups.php.tpl Added Paths: ----------- XoopsModules/please/trunk/admin/about.php XoopsModules/please/trunk/admin/add-departments.php XoopsModules/please/trunk/admin/departments.php XoopsModules/please/trunk/admin/edit-departments.php XoopsModules/please/trunk/admin/footer.php XoopsModules/please/trunk/admin/header.php XoopsModules/please/trunk/admin/index.php XoopsModules/please/trunk/admin/menu.php XoopsModules/please/trunk/admin/permissions.php XoopsModules/please/trunk/include/formloader.php XoopsModules/please/trunk/include/formselectenumerator.php XoopsModules/please/trunk/templates/admin/about.html XoopsModules/please/trunk/templates/admin/add-departments.html XoopsModules/please/trunk/templates/admin/departments.html XoopsModules/please/trunk/templates/admin/edit-departments.html Added: XoopsModules/please/trunk/admin/about.php =================================================================== --- XoopsModules/please/trunk/admin/about.php (rev 0) +++ XoopsModules/please/trunk/admin/about.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -0,0 +1,39 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +include_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; +include_once __DIR__ . '/header.php'; +xoops_cp_header(); +$module_info = $module_handler->get($xoopsModule->getVar('mid')); +$aboutAdmin = new ModuleAdmin(); +$GLOBALS['xoopsTpl']->assign('nav', $aboutAdmin->addNavigation(basename(__FILE__))); +$about = $aboutAdmin->renderAbout('ZZZXXX7777888', false); +$replace = '<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> + <input type="hidden" name="cmd" value="_s-xclick"> + <input type="hidden" name="hosted_button_id" value="ZZZXXX7777888"> + <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" style="background-color:transparent;"> + <img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1"> + </form>'; +$GLOBALS['xoopsTpl']->assign('about', str_replace($replace, _AM_PLEASE_ADMIN_DONATE, $about)); +include_once __DIR__ . '/footer.php'; Added: XoopsModules/please/trunk/admin/add-departments.php =================================================================== --- XoopsModules/please/trunk/admin/add-departments.php (rev 0) +++ XoopsModules/please/trunk/admin/add-departments.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -0,0 +1,32 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +global $xoopsModule, $xoopsTpl, $thisModuleDir; +include_once __DIR__ . '/header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation('departments.php')); +$departments_handler = xoops_getModuleHandler('departments', $thisModuleDir); +$GLOBALS['xoopsTpl']->assign('form', $departments_handler->getAddFormAdmin()); +include_once __DIR__ . '/footer.php'; Added: XoopsModules/please/trunk/admin/departments.php =================================================================== --- XoopsModules/please/trunk/admin/departments.php (rev 0) +++ XoopsModules/please/trunk/admin/departments.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -0,0 +1,66 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +global $xoopsModule, $xoopsTpl, $thisModuleDir; + +include_once __DIR__ . '/header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); +$indexAdmin->addItemButton(_AM_PLEASE_ADMIN_DEPARTMENTS_ADD, 'add-department.php', 'add', ''); +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation(basename(__FILE__))); +$GLOBALS['xoopsTpl']->assign('buttons',$indexAdmin->renderButton('right', '')); +$departments_handler = xoops_getModuleHandler('departments', $thisModuleDir); +if (!isset($GLOBALS['sort'])||empty($GLOBALS['sort'])) + $GLOBALS['sort'] = $departments_handler->getDefaultSort('admin'); +$criteria = new Criteria(1, 1); +if (isset($GLOBALS['sort']) && !empty($GLOBALS['sort'])) + $criteria->setSort($GLOBALS['sort']); +if (isset($GLOBALS['order']) && !empty($GLOBALS['order'])) + $criteria->setOrder($GLOBALS['order']); +$pagenav = new XoopsPageNav($ttlitems = $departments_handler->count($criteria), $GLOBALS['limit'], $GLOBALS['start'], 'start', 'limit='.$GLOBALS['limit'].(isset($GLOBALS['op'])&&!empty($GLOBALS['op'])?'&op='.$GLOBALS['op']:"").(isset($GLOBALS['sort'])&&!empty($GLOBALS['sort'])?'&sort='.$GLOBALS['sort']:"").(isset($GLOBALS['order'])&&!empty($GLOBALS['order'])?'&order='.$GLOBALS['order']:"")); +$GLOBALS['xoopsTpl']->assign('pagenav',$pagenav->renderNav(_AM_PLEASE_ADMIN_PAGENAV_OFFSET)); +$criteria->setStart($GLOBALS['start']); +$criteria->setLimit($GLOBALS['limit']); +if ($ttlitems==0) +{ + redirect_header(XOOPS_URL . '/modules/' . $thisModuleDir . '/admin/add-department.php', 4, _ERR_PLEASE_ADMIN_NODEPARTMENTS); + exit(0); +} +if ($departments = $departments_handler->getObjects($criteria, true, false)) +{ + $GLOBALS['xoopsTpl']->assign('tableheaders', $departments_handler->getAdminListFormHeader()); + foreach($departments as $id => $department) + { + $GLOBALS['xoopsTpl']->append('departments', $department->getAdminListFormItems()); + } +} else { + if ($GLOBALS['start']>0 && $GLOBALS['start'] > $GLOBALS['limit']) + $GLOBALS['start'] = $GLOBALS['start'] - $GLOBALS['limit']; + else + $GLOBALS['start'] = 0; + redirect_header(XOOPS_URL . '/modules/' . $thisModuleDir . '/admin/'.basename(__FILE__).'?start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].(isset($GLOBALS['op'])&&!empty($GLOBALS['op'])?'&op='.$GLOBALS['op']:"").(isset($GLOBALS['sort'])&&!empty($GLOBALS['sort'])?'&sort='.$GLOBALS['sort']:"").(isset($GLOBALS['order'])&&!empty($GLOBALS['order'])?'&order='.$GLOBALS['order']:""), 4, _ERR_PLEASE_ADMIN_LISTRANGEEXCEEDED); + exit(0); +} +include_once __DIR__ . '/footer.php'; Added: XoopsModules/please/trunk/admin/edit-departments.php =================================================================== --- XoopsModules/please/trunk/admin/edit-departments.php (rev 0) +++ XoopsModules/please/trunk/admin/edit-departments.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -0,0 +1,38 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); +global $xoopsModule, $xoopsTpl, $thisModuleDir; +include_once __DIR__ . '/header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation('departments.php')); +$departments_handler = xoops_getModuleHandler('departments', $thisModuleDir); +$department = $departments_handler->getMD5($GLOBALS['id']); +if (is_object($department) && !empty($department)) + $GLOBALS['xoopsTpl']->assign('form', $department->getEditFormAdmin()); +else { + redirect_header(XOOPS_URL . '/modules/' . $thisModuleDir . '/admin/departments.php', 4, _ERR_PLEASE_ADMIN_INVALIDHASH); + exit(0); +} +include_once __DIR__ . '/footer.php'; \ No newline at end of file Added: XoopsModules/please/trunk/admin/footer.php =================================================================== --- XoopsModules/please/trunk/admin/footer.php (rev 0) +++ XoopsModules/please/trunk/admin/footer.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -0,0 +1,29 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ +if (!empty($GLOBALS['template'])) + $GLOBALS['xoopsTpl']->assign('footer',$footer="<div class='adminfooter'>\n" . " <div style='text-align: center;'>\n" . " <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . " </div>\n" . ' ' . _AM_PLEASE_ADMIN_FOOTER . "\n" . '</div>'); +if (!empty($GLOBALS['template'])) + $GLOBALS['xoopsTpl']->display($GLOBALS['template']); +if (empty($GLOBALS['template'])) + echo $footer; +xoops_cp_footer(); Added: XoopsModules/please/trunk/admin/header.php =================================================================== --- XoopsModules/please/trunk/admin/header.php (rev 0) +++ XoopsModules/please/trunk/admin/header.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -0,0 +1,94 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$path = dirname(dirname(dirname(__DIR__))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +global $xoopsModule, $xoopsTpl, $thisModuleDir; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +//if functions.php file exist +//require_once dirname(__DIR__) . '/include/functions.php'; + +// Load language files +xoops_loadLanguage('errors', $thisModuleDir); +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); +xoops_load('pagenav'); + +$pathIcon16 = '../' . $xoopsModule->getInfo('icons16'); +$pathIcon32 = '../' . $xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +$myts = MyTextSanitizer::getInstance(); + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once XOOPS_ROOT_PATH . '/class/template.php'; + $xoopsTpl = new XoopsTpl(); +} + +include_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'); + +xoops_loadLanguage('user'); +if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once $GLOBALS['xoops']->path('/class/template.php'); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); +} + +if (isset($GLOBALS['xoopsTpl'])) +{ + $GLOBALS['xoopsTpl']->assign('dirname', $thisModuleDir); +} +if (isset($_REQUEST['start'])&&!empty($_REQUEST['start'])) + $GLOBALS['start'] = $_REQUEST['start']; +else + $GLOBALS['start'] = 0; + +if (isset($_REQUEST['limit'])&&!empty($_REQUEST['limit'])) + $GLOBALS['limit'] = $_REQUEST['limit']; +else + $GLOBALS['limit'] = _AM_PLEASE_ADMIN_LIMIT_ITEMS; + +if (isset($_REQUEST['sort'])&&!empty($_REQUEST['sort'])) + $GLOBALS['sort'] = $_REQUEST['sort']; +else + $GLOBALS['sort'] = ''; + +if (isset($_REQUEST['order'])&&!empty($_REQUEST['order'])) + $GLOBALS['order'] = $_REQUEST['order']; +else + $GLOBALS['order'] = 'ASC'; + +if (isset($_REQUEST['op'])&&!empty($_REQUEST['op'])) + $GLOBALS['op'] = $_REQUEST['op']; +else + $GLOBALS['op'] = ''; + +if (isset($_REQUEST['id'])&&!empty($_REQUEST['id'])) + $GLOBALS['id'] = $_REQUEST['id']; +else + $GLOBALS['id'] = ''; Added: XoopsModules/please/trunk/admin/index.php =================================================================== --- XoopsModules/please/trunk/admin/index.php (rev 0) +++ XoopsModules/please/trunk/admin/index.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -0,0 +1,48 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$GLOBALS['template'] = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR . str_replace('.php', '.html', basename(__FILE__)); + +include_once __DIR__ . '/header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); +//----------------------- +// $xpPartnerHandler = xoops_getModuleHandler('partners', $xoopsModule->getVar('dirname')); + +// $totalPartners = $xpPartnerHandler->getCount(); +// $totalNonActivePartners = $xpPartnerHandler->getCount(new Criteria('status', 0, '=')); +// $totalActivePartners = $totalPartners - $totalNonActivePartners; + +// $indexAdmin->addInfoBox(_MD_XPARTNERS_DASHBOARD); + +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALACTIVE. "</infolabel>", $totalActivePartners, 'Green'); +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALNONACTIVE. "</infolabel>", $totalNonActivePartners, 'Red'); +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALPARTNERS. "</infolabel><infotext>", $totalPartners."</infotext>"); +//---------------------------- + +$GLOBALS['xoopsTpl']->assign('nav',$indexAdmin->addNavigation(basename(__FILE__))); +$GLOBALS['xoopsTpl']->assign('index',$indexAdmin->renderIndex()); + +include_once __DIR__ . '/footer.php'; +//xoops_cp_footer(); Added: XoopsModules/please/trunk/admin/menu.php =================================================================== --- XoopsModules/please/trunk/admin/menu.php (rev 0) +++ XoopsModules/please/trunk/admin/menu.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -0,0 +1,85 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +$path = dirname(dirname(dirname(__DIR__))); +include_once $path . '/mainfile.php'; + +$dirname = basename(dirname(__DIR__)); +$module_handler = xoops_getHandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); +$pathLanguage = $path . $pathModuleAdmin; + +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { + $fileinc = $pathLanguage . '/language/english/main.php'; +} + +include_once $fileinc; + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_HOME; +$adminmenu[$i]['link'] = 'admin/index.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/home.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_DEPARTMENTS; +$adminmenu[$i]['link'] = 'admin/departments.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/users.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_ESCALATION; +$adminmenu[$i]['link'] = 'admin/escalations.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/security.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_USERS; +$adminmenu[$i]['link'] = 'admin/users.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/users.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_FILES; +$adminmenu[$i]['link'] = 'admin/files.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/fileshare.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_MIMETYPES; +$adminmenu[$i]['link'] = 'admin/mimetypes.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/upload.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_TICKETS; +$adminmenu[$i]['link'] = 'admin/tickets.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/event.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_KEYWQRDS; +$adminmenu[$i]['link'] = 'admin/keywords.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/highlight.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_REPORTS; +$adminmenu[$i]['link'] = 'admin/reports.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/newsletter.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_PERMISSIONS; +$adminmenu[$i]['link'] = 'admin/permissions.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/permissions.png'; +++$i; +$adminmenu[$i]['title'] = _MI_PLEASE_ADMINMENU_ABOUT; +$adminmenu[$i]['link'] = 'admin/about.php'; +$adminmenu[$i]['icon'] = $pathIcon32 . '/about.png'; Added: XoopsModules/please/trunk/admin/permissions.php =================================================================== --- XoopsModules/please/trunk/admin/permissions.php (rev 0) +++ XoopsModules/please/trunk/admin/permissions.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -0,0 +1,112 @@ +<?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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://sourceforge.net/projects/xoops/ +* @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) +* @author Simon Roberts (wishcraft) <wis...@us...> +* @subpackage language +* @description Email Ticking for Support/Faults/Management of Batch Group & User managed emails tickets +* @version 1.0.5 +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please +* @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please +* @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please +* @link http://internetfounder.wordpress.com +*/ + +include_once __DIR__ . '/admin_header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +echo $indexAdmin->addNavigation(basename(__FILE__)); + +$op = \Xmf\Request::getCmd('op', 'edit'); + +$perm_desc = ''; +switch ($op) { + case 'visibility': + //redirect_header("visibility.php", 0, _PROFILE_AM_PROF_VISIBLE); + header('Location: visibility.php'); + break; + + case 'edit': + $title_of_form = _PROFILE_AM_PROF_EDITABLE; + $perm_name = 'profile_edit'; + $restriction = 'field_edit'; + $anonymous = false; + break; + + case 'search': + $title_of_form = _PROFILE_AM_PROF_SEARCH; + $perm_name = 'profile_search'; + $restriction = ''; + $anonymous = true; + break; + + case 'access': + $title_of_form = _PROFILE_AM_PROF_ACCESS; + $perm_name = 'profile_access'; + $perm_desc = _PROFILE_AM_PROF_ACCESS_DESC; + $restriction = ''; + $anonymous = true; + break; +} + +include_once $GLOBALS['xoops']->path('/class/xoopsformloader.php'); +$opform = new XoopsSimpleForm('', 'opform', 'permissions.php', 'get'); +$op_select = new XoopsFormSelect('', 'op', $op); +$op_select->setExtra('onchange="document.forms.opform.submit()"'); +$op_select->addOption('visibility', _PROFILE_AM_PROF_VISIBLE); +$op_select->addOption('edit', _PROFILE_AM_PROF_EDITABLE); +$op_select->addOption('search', _PROFILE_AM_PROF_SEARCH); +$op_select->addOption('access', _PROFILE_AM_PROF_ACCESS); +$opform->addElement($op_select); +$opform->display(); + +$module_id = $GLOBALS['xoopsModule']->getVar('mid'); +include_once $GLOBALS['xoops']->path('/class/xoopsform/grouppermform.php'); +$form = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc, 'admin/permissions.php?op=' . $op, $anonymous); +if ($op === 'access') { + $member_handler = xoops_getHandler('member'); + $glist = $member_handler->getGroupList(); + foreach (array_keys($glist) as $i) { + if ($i != XOOPS_GROUP_ANONYMOUS) { + $form->addItem($i, $glist[$i]); + } + } +} else { + $profile_handler = xoops_getModuleHandler('profile'); + $fields = $profile_handler->loadFields(); + + if ($op !== 'search') { + foreach (array_keys($fields) as $i) { + if ($restriction == '' || $fields[$i]->getVar($restriction)) { + $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25)); + } + } + } else { + $searchable_types = array( + 'textbox', + 'select', + 'radio', + 'yesno', + 'date', + 'datetime', + 'timezone', + 'language'); + foreach (array_keys($fields) as $i) { + if (in_array($fields[$i]->getVar('field_type'), $searchable_types)) { + $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25)); + } + } + } +} +$form->display(); +include_once __DIR__ . '/admin_footer.php'; +//xoops_cp_footer(); Modified: XoopsModules/please/trunk/class/departments.php =================================================================== --- XoopsModules/please/trunk/class/departments.php 2016-11-06 13:54:03 UTC (rev 13221) +++ XoopsModules/please/trunk/class/departments.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -4,21 +4,21 @@ * * 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. + * 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. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license General Public License version 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) - * @author Simon Roberts (wishcraft) <wis...@us...> + * @copyright The XOOPS Project http : //sourceforge . net/projects/xoops/ + * @license General Public License version 3 (http : //labs . coop/briefs/legal/general-public-licence/13,3 . html) + * @author Simon Roberts (wishcraft) <wishcraft@users . sourceforge . net> * @subpackage please * @description Departments Ticking for Support/Faults/Management of Batch Group & User managed emails tickets - * @version 1.0.5 - * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.5/Modules/please - * @link https://sourceforge.net/projects/chronolabs/files/XOOPS%202.6/Modules/please - * @link https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/please - * @link http://internetfounder.wordpress.com + * @version 1 . 0 . 5 + * @link https : //sourceforge . net/projects/chronolabs/files/XOOPS%202 . 5/Modules/please + * @link https : //sourceforge . net/projects/chronolabs/files/XOOPS%202 . 6/Modules/please + * @link https : //sourceforge . net/p/xoops/svn/HEAD/tree/XoopsModules/please + * @link http : //internetfounder . wordpress . com */ if (!defined('_MI_PLEASE_MODULE_DIRNAME')) { @@ -26,12 +26,12 @@ } //* -require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects.php'); +require_once (__DIR__ . DIRECTORY_SEPARATOR . 'objects . php'); /** * Class for Departments in Please email ticketer * - * For Table:- + * For Table : - * <code> * CREATE TABLE `please_departments` ( * `id` int(6) UNSIGNED NOT NULL AUTO_INCREMENT, @@ -59,8 +59,8 @@ * PRIMARY KEY (`id`) * ) ENGINE=InnoDB DEFAULT CHARSET=utf8; * </code> - * @author Simon Roberts (wis...@us...) - * @copyright copyright (c) 2015 labs.coop + * @author Simon Roberts (wishcraft@users . sourceforge . net) + * @copyright copyright (c) 2015 labs . coop */ class pleaseDepartments extends pleaseXoopsObject { @@ -71,7 +71,7 @@ { self::initVar('id', XOBJ_DTYPE_INT, null, false); - self::initVar('code', XOBJ_DTYPE_TXTBOX, 'AAB' + mt_rand(100, 100000), false); + self::initVar('code', XOBJ_DTYPE_TXTBOX, chr(mt_rand(ord("A"), ord("Z"))) . chr(mt_rand(ord("A"), ord("Z"))) . chr(mt_rand(ord("A"), ord("Z"))), false, 3); self::initVar('name', XOBJ_DTYPE_TXTBOX, null, false, 128); self::initVar('description', XOBJ_DTYPE_OTHER, null, false); self::initVar('mantis-uri', XOBJ_DTYPE_TXTBOX, null, false, 350); @@ -79,10 +79,10 @@ self::initVar('mantis-password', XOBJ_DTYPE_TXTBOX, null, false, 198); self::initVar('mantis-project-id', XOBJ_DTYPE_INT, null, false); self::initVar('manager-uid', XOBJ_DTYPE_INT, null, false); - self::initVar('manager-bcc', XOBJ_DTYPE_ENUM, 'none', false, false, false, getEnumeratorValues(basename(__FILE__), 'manager-bcc')); + self::initVar('manager-bcc', XOBJ_DTYPE_ENUM, 'no', false, false, false, getEnumeratorValues(basename(__FILE__), 'manager-bcc')); self::initVar('manager-mantis-username', XOBJ_DTYPE_TXTBOX, null, false, 45); self::initVar('manager-mantis-password', XOBJ_DTYPE_TXTBOX, null, false, 198); - self::initVar('mantis', XOBJ_DTYPE_ENUM, 'none', false, false, false, getEnumeratorValues(basename(__FILE__), 'mantis')); + self::initVar('mantis', XOBJ_DTYPE_ENUM, 'no', false, false, false, getEnumeratorValues(basename(__FILE__), 'mantis')); self::initVar('gid', XOBJ_DTYPE_INT, null, false); self::initVar('tickets', XOBJ_DTYPE_INT, null, false); self::initVar('staff', XOBJ_DTYPE_INT, null, false); @@ -94,12 +94,61 @@ self::initVar('created', XOBJ_DTYPE_INT, time(), false); $this->handler = __CLASS__ . 'Handler'; - if (!empty($id) && !is_null($id)) + if (!empty($id) && !is_null($id)) { $handler = new $this->handler; self::assignVars($handler->get($id)->getValues(array_keys($this->vars))); } + /** + * Gets the drill down items for the form being submitted on the admin + * control panel.. + * + * @return string + */ + function getAdminListFormItems() + { + require_once dirname(__DIR__) . DIRECTORY_SEPERATOR . 'include' . DIRECTORY_SEPERATOR . 'formloader.php'; + + $ret = array(); + $ret['id'] = (string)$this->getVar('id'); + $codetxt = new XoopsFormText('', 'code['.$ret['id'].']', 4, 3, (string)$this->getVar('code')); + $codehide = new XoopsFormHidden('old[code]['.$ret['id'].']', (string)$this->getVar('code')); + $ret['code'] = $codetxt->render() . $codehide->render(); + $nametxt = new XoopsFormText('', 'name['.$ret['id'].']', 26, 128, (string)$this->getVar('name')); + $namehide = new XoopsFormHidden('old[name]['.$ret['id'].']', (string)$this->getVar('name')); + $ret['name'] = $nametxt->render().$namehide->render(); + $mantisenum = new PleaseFormSelectEnumerator('', 'mantis['.$ret['id'].']', basename(__FILE__), 'mantis', (string)$this->getVar('name')); + $mantishide = new XoopsFormHidden('old[mantis]['.$ret['id'].']', (string)$this->getVar('mantis')); + $ret['mantis'] = $nametxt->render().$mantishide->render(); + $ret['tickets'] = (string)$this->getVar('tickets'); + $ret['staff'] = (string)$this->getVar('staff'); + $ret['clients'] = (string)$this->getVar('clients'); + $ret['raised'] = (string)$this->getVar('raised'); + $dirname = basename(dirname(__DIR__)); + $ticket_handler = xoops_getModuleHandler('tickets', $dirname); + if ($this->getVar('latest-id')>0) + { + $ticket = $ticket_handler->get($this->getVar('latest-id')); + $ret['latest'] = "<a href='" . $ticket->getAdminLink() . "' target='_blank'>" . $ticket->getVar('ticket-key') . "</a>"; + } else { + $ret['latest'] = " "; + } + if ($this->getVar('closed-id')>0) + { + $ticket = $ticket_handler->get($this->getVar('closed-id')); + $ret['closed'] = "<a href='" . $ticket->getAdminLink() . "' target='_blank'>" . $ticket->getVar('ticket-key') . "</a>"; + } else { + $ret['closed'] = " "; + } + + $module_handler = xoops_getHandler('module'); + $module = $module_handler->getByDirname($dirname); + $pathIcon16 = $module->getInfo('icons16'); + $ret['actions'] = "<a href='" . XOOPS_URL . "/modules/$dirname/admin/edit-department.php?id=" . $this->getMD5('id') . "' target='_blank'><img src='" . $pathIcon16 . "/edit.png' alt='" . sprintf(_AM_PLEASE_ADMIN_DEPARTMENTS_EDIT, $this->getVar('name')) . "' title='" . sprintf(_AM_PLEASE_ADMIN_DEPARTMENTS_EDIT, $this->getVar('name')) . "'/></a> "; + return $ret; + } + } } @@ -107,8 +156,8 @@ /** * Handler Class for Departments in Please email ticketer - * @author Simon Roberts (wis...@us...) - * @copyright copyright (c) 2015 labs.coop + * @author Simon Roberts (wishcraft@users . sourceforge . net) + * @copyright copyright (c) 2015 labs . coop */ class pleaseDepartmentsHandler extends pleaseXoopsObjectHandler { @@ -148,5 +197,131 @@ $db = $GLOBAL["xoopsDB"]; parent::__construct($db, self::$tbl, self::$child, self::$identity, self::$envalued); } + + /** + * Created the Add new Department form for the Admin Control Panel + * + * @return string + */ + function getAddFormAdmin() + { + $elements = array(); + $dirname = basename(dirname(__DIR__)); + require_once dirname(__DIR__) . DIRECTORY_SEPERATOR . 'include' . DIRECTORY_SEPERATOR . 'formloader.php'; + + $elements['code'] = new XoopsFormText(_AM_PLEASE_ADDFORM_DEPARTMENT_CODE_TITLE, 'code', 4, 3, chr(mt_rand(ord("A"), ord("Z"))) . chr(mt_rand(ord("A"), ord("Z"))) . chr(mt_rand(ord("A"), ord("Z")))); + $elements['code']->setDescription(_AM_PLEASE_ADDFORM_DEPARTMENT_CODE_DESC); + $elements['name'] = new XoopsFormText(_AM_PLEASE_ADDFORM_DEPARTMENT_NAME_TITLE, 'name', 28, 128, ''); + $elements['name']->setDescription(_AM_PLEASE_ADDFORM_DEPARTMENT_NAME_DESC); + $elements['description'] = new XoopsFormTextArea(_AM_PLEASE_ADDFORM_DEPARTMENT_DESCRIPTION_TITLE, 'description', '', 28, 8); + $elements['description']->setDescription(_AM_PLEASE_ADDFORM_DEPARTMENT_DESCRIPTION_DESC); + $elements['mantis'] = new PleaseFormSelectEnumerator(_AM_PLEASE_ADDFORM_DEPARTMENT_MANTIS_TITLE, 'mantis', basename(__FILE__), 'mantis', (string)$this->getVar('name')); + $elements['mantis']->setDescription(_AM_PLEASE_ADDFORM_DEPARTMENT_MANTIS_DESC); + $elements['mantis-uri'] = new XoopsFormText(_AM_PLEASE_ADDFORM_DEPARTMENT_MANTISURI_TITLE, 'mantis-uri', 28, 350, 'http://'); + $elements['mantis-uri']->setDescription(_AM_PLEASE_ADDFORM_DEPARTMENT_MANTISURI_DESC); + $elements['mantis-username'] = new XoopsFormText(_AM_PLEASE_ADDFORM_DEPARTMENT_MANTISUSERNAME_TITLE, 'mantis-username', 28, 45, ''); + $elements['mantis-username']->setDescription(_AM_PLEASE_ADDFORM_DEPARTMENT_MANTISUSERNAME_DESC); + $elements['mantis-password'] = new XoopsFormPassword(_AM_PLEASE_ADDFORM_DEPARTMENT_MANTISPASSWORD_TITLE, 'mantis-password', 28, 198, ''); + $elements['mantis-password']->setDescription(_AM_PLEASE_ADDFORM_DEPARTMENT_MANTISPASSWORD_DESC); + $elements['signature'] = new XoopsFormDhtmlTextArea(_AM_PLEASE_ADDFORM_DEPARTMENT_SIGNATURE_TITLE, 'signature', '', 28, 8); + $elements['signature']->setDescription(_AM_PLEASE_ADDFORM_DEPARTMENT_SIGNATURE_DESC); + $elements['manager-name'] = new XoopsFormText(_AM_PLEASE_ADDFORM_DEPARTMENT_MANAGERNAME_TITLE, 'name', 28, 128, ''); + $elements['manager-name']->setDescription(_AM_PLEASE_ADDFORM_DEPARTMENT_MANAGERNAME_DESC); + $elements['manager-email'] = new XoopsFormText(_AM_PLEASE_ADDFORM_DEPARTMENT_MANAGEREMAIL_TITLE, 'name', 28, 128, ''); + $elements['manager-email']->setDescription(_AM_PLEASE_ADDFORM_DEPARTMENT_MANAGEREMAIL_DESC); + $elements['submit'] = new XoopsFormButton('', 'submit', _SUBMIT); + + $form = new XoopsThemeForm(_AM_PLEASE_ADMIN_DEPARTMENTS_ADDFORM_TITLE, 'add-department', XOOPS_URL . '/modules/' . $dirname . '/admin/post.php?op=add-department', 'post', true); + foreach($elements as $key => $obj) + { + if (in_array($key, array('code', 'name', 'description', 'manager-name', 'manager-email'))) + $form->addElement($elements[$key], true); + else + $form->addElement($elements[$key], false); + } + + return $form->render(); + } + + /** + * Gets the admin header table constants for the admin drilldown items + * + * @return string + */ + function getAdminListFormHeader() + { + $dirname = basename(dirname(__DIR__)); + $ret = array(); + $ret['id']['name'] = _AM_PLEASE_ADMIN_DEPARTMENTS_ID; + $ret['id']['url'] = XOOPS_URL . '/modules/' . $dirname . '/admin/departments.php?start=' . $GLOBALS['start'] . '&limit=' . $GLOBALS['limit'] . (isset($GLOBALS['op']) && !empty($GLOBALS['op']) ? '&op=' . $GLOBALS['op'] : "") . '&sort=id' . (isset($GLOBALS['order']) && !empty($GLOBALS['order'] && $GLOBALS['sort'] == 'id' && $GLOBALS['order'] == 'ASC') ? '&order=DESC' : '&order=ASC'); + $ret['code']['name'] = _AM_PLEASE_ADMIN_DEPARTMENTS_CODE; + $ret['code']['url'] = XOOPS_URL . '/modules/' . $dirname . '/admin/departments.php?start=' . $GLOBALS['start'] . '&limit=' . $GLOBALS['limit'] . (isset($GLOBALS['op']) && !empty($GLOBALS['op']) ? '&op=' . $GLOBALS['op'] : "") . '&sort=code' . (isset($GLOBALS['order']) && !empty($GLOBALS['order'] && $GLOBALS['sort'] == 'code' && $GLOBALS['order'] == 'ASC') ? '&order=DESC' : '&order=ASC'); + $ret['name']['name'] = _AM_PLEASE_ADMIN_DEPARTMENTS_NAME; + $ret['name']['url'] = XOOPS_URL . '/modules/' . $dirname . '/admin/departments.php?start=' . $GLOBALS['start'] . '&limit=' . $GLOBALS['limit'] . (isset($GLOBALS['op']) && !empty($GLOBALS['op']) ? '&op=' . $GLOBALS['op'] : "") . '&sort=name' . (isset($GLOBALS['order']) && !empty($GLOBALS['order'] && $GLOBALS['sort'] == 'name' && $GLOBALS['order'] == 'ASC') ? '&order=DESC' : '&order=ASC'); + $ret['mantis']['name'] = _AM_PLEASE_ADMIN_DEPARTMENTS_MANTIS; + $ret['mantis']['url'] = XOOPS_URL . '/modules/' . $dirname . '/admin/departments.php?start=' . $GLOBALS['start'] . '&limit=' . $GLOBALS['limit'] . (isset($GLOBALS['op']) && !empty($GLOBALS['op']) ? '&op=' . $GLOBALS['op'] : "") . '&sort=mantis' . (isset($GLOBALS['order']) && !empty($GLOBALS['order'] && $GLOBALS['sort'] == 'mantis' && $GLOBALS['order'] == 'ASC') ? '&order=DESC' : '&order=ASC'); + $ret['tickets']['name'] = _AM_PLEASE_ADMIN_DEPARTMENTS_TICKETS; + $ret['tickets']['url'] = XOOPS_URL . '/modules/' . $dirname . '/admin/departments.php?start=' . $GLOBALS['start'] . '&limit=' . $GLOBALS['limit'] . (isset($GLOBALS['op']) && !empty($GLOBALS['op']) ? '&op=' . $GLOBALS['op'] : "") . '&sort=tickets' . (isset($GLOBALS['order']) && !empty($GLOBALS['order'] && $GLOBALS['sort'] == 'tickets' && $GLOBALS['order'] == 'ASC') ? '&order=DESC' : '&order=ASC'); + $ret['staff']['name'] = _AM_PLEASE_ADMIN_DEPARTMENTS_STAFF; + $ret['staff']['url'] = XOOPS_URL . '/modules/' . $dirname . '/admin/departments.php?start=' . $GLOBALS['start'] . '&limit=' . $GLOBALS['limit'] . (isset($GLOBALS['op']) && !empty($GLOBALS['op']) ? '&op=' . $GLOBALS['op'] : "") . '&sort=staff' . (isset($GLOBALS['order']) && !empty($GLOBALS['order'] && $GLOBALS['sort'] == 'staff' && $GLOBALS['order'] == 'ASC') ? '&order=DESC' : '&order=ASC'); + $ret['clients']['name'] = _AM_PLEASE_ADMIN_DEPARTMENTS_CLIENTS; + $ret['clients']['url'] = XOOPS_URL . '/modules/' . $dirname . '/admin/departments.php?start=' . $GLOBALS['start'] . '&limit=' . $GLOBALS['limit'] . (isset($GLOBALS['op']) && !empty($GLOBALS['op']) ? '&op=' . $GLOBALS['op'] : "") . '&sort=clients' . (isset($GLOBALS['order']) && !empty($GLOBALS['order'] && $GLOBALS['sort'] == 'clients' && $GLOBALS['order'] == 'ASC') ? '&order=DESC' : '&order=ASC'); + $ret['raised']['name'] = _AM_PLEASE_ADMIN_DEPARTMENTS_RAISED; + $ret['raised']['url'] = XOOPS_URL . '/modules/' . $dirname . '/admin/departments.php?start=' . $GLOBALS['start'] . '&limit=' . $GLOBALS['limit'] . (isset($GLOBALS['op']) && !empty($GLOBALS['op']) ? '&op=' . $GLOBALS['op'] : "") . '&sort=raised' . (isset($GLOBALS['order']) && !empty($GLOBALS['order'] && $GLOBALS['sort'] == 'raised' && $GLOBALS['order'] == 'ASC') ? '&order=DESC' : '&order=ASC'); + $ret['latest']['name'] = _AM_PLEASE_ADMIN_DEPARTMENTS_LATEST; + $ret['latest']['url'] = XOOPS_URL . '/modules/' . $dirname . '/admin/departments.php?start=' . $GLOBALS['start'] . '&limit=' . $GLOBALS['limit'] . (isset($GLOBALS['op']) && !empty($GLOBALS['op']) ? '&op=' . $GLOBALS['op'] : "") . '&sort=latest-id' . (isset($GLOBALS['order']) && !empty($GLOBALS['order'] && $GLOBALS['sort'] == 'latest-id' && $GLOBALS['order'] == 'ASC') ? '&order=DESC' : '&order=ASC'); + $ret['closed']['name'] = _AM_PLEASE_ADMIN_DEPARTMENTS_CLOSED; + $ret['closed']['url'] = XOOPS_URL . '/modules/' . $dirname . '/admin/departments.php?start=' . $GLOBALS['start'] . '&limit=' . $GLOBALS['limit'] . (isset($GLOBALS['op']) && !empty($GLOBALS['op']) ? '&op=' . $GLOBALS['op'] : "") . '&sort=closed-id' . (isset($GLOBALS['order']) && !empty($GLOBALS['order'] && $GLOBALS['sort'] == 'closed-id' && $GLOBALS['order'] == 'ASC') ? '&order=DESC' : '&order=ASC'); + $ret['actions']['name'] = _AM_PLEASE_ADMIN_DEPARTMENTS_ACTIONS; + $ret['actions']['url'] = ''; + + return $ret; + } + + + /** + * Get the default sort basis for criteria's + * + * @param string $location + * @return string + */ + function getDefaultSort($location = 'admin') + { + switch($location) + { + default: + case "admin": + return 'name'; + break; + case "tickets": + return 'code'; + break; + } + } + + /** + * Inserts Objects in the database + * + * {@inheritDoc} + * @see XoopsPersistableObjectHandler::insert() + */ + function insert($object = null, $force = true) + { + if (is_a($object, "pleaseDepartments")) + { + if ($object->isNew()) + { + $groups_handler =& xoops_gethandler('group'); + $group = $groups_handler->create(); + $group->setVar('name', substr(sprintf(_MI_PLEASE_GROUP_NAME_DEPARTMENT, $object->getVar('name')), 0, 99)); + $group->setVar('description', sprintf(_MI_PLEASE_GROUP_DESC_DEPARTMENT, $object->getVar('description'))); + $group->setVar('group_type', _MI_PLEASE_GROUP_TYPE_DEPARTMENT); + $object->setVar('gid', $groups_handler->insert($group, true)); + $object->setVar('created', time()); + } + return parent::insert($object, $force); + } + return false; + } } ?> \ No newline at end of file Modified: XoopsModules/please/trunk/class/objects.php =================================================================== --- XoopsModules/please/trunk/class/objects.php 2016-11-06 13:54:03 UTC (rev 13221) +++ XoopsModules/please/trunk/class/objects.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -45,7 +45,7 @@ if ($this->vars[$key]['data_type'] == XOBJ_DTYPE_OTHER) { parent::assignVar($key, pleaseDecompressData($value)); } elseif (strpos($key, 'pass')||strpos($key, 'password')) { - parent::assignVar($key, pleaseDecryptPassword($value, _PLEASE_SALT_BLOWFISH . _PLEASE_SALT_WHENSET)); + parent::assignVar($key, pleaseDecryptPassword($value, PLEASE_SALT . PLEASE_SALT_WHENSET)); } else parent::assignVar($key, $value); } @@ -67,12 +67,23 @@ if ($object->vars[$field]['data_type'] == XOBJ_DTYPE_OTHER) { $object->vars[$field]['value'] = pleaseCompressData($object->vars[$field]['value']); } elseif (strpos($field, 'pass')||strpos($field, 'password')) { - $object->vars[$field]['value'] = pleaseEncryptPassword($object->vars[$field]['value'], _PLEASE_SALT_BLOWFISH . _PLEASE_SALT_WHENSET); + $object->vars[$field]['value'] = pleaseEncryptPassword($object->vars[$field]['value'], PLEASE_SALT . PLEASE_SALT_WHENSET); } } } return $ret; } + + /** + * Returns MD5 Identify hash for handler getMD5()' + * + * @param string $field + * @return string + */ + function getMD5($field = 'id') + { + return md5(PLEASE_SALT . $this->getVar($field) . PLEASE_SALT); + } } /** @@ -83,7 +94,36 @@ class pleaseXoopsObjectHandler extends XoopsPersistableObjectHandler { + /** + * Table Name without prefix used + * + * @var string + */ + var $tbl = ''; + + /** + * Child Object Handling Class + * + * @var string + */ + var $child = ''; + + /** + * Child Object Identity Key + * + * @var string + */ + var $identity = ''; + + /** + * Child Object Default Envaluing Costs + * + * @var string + */ + var $envalued = ''; + + /** * Class Constructor * @param XoopsDB $db * @param string $tbl @@ -91,10 +131,37 @@ * @param string $identity * @param string $envalued */ - function __construct(&$db, $tbl = '', $child = '', $identity = '', $envalued = '') + function __construct($db, $tbl = '', $child = '', $identity = '', $envalued = '') { if (!object($db)) - $db = $GLOBAL["xoopsDB"]; - return parent::__construct($db, $tbl, $child, $identity, $envalued); - } + $db = $GLOBAL["xoopsDB"]; + $this->tbl = $tbl; + $this->child = $child; + $this->identity = $identity; + $this->envalued = $envalued; + return parent::__construct($db, $this->tbl, $this->child, $this->identity, $this->envalued); + } + + /** + * Returns either object or identity key based on md5 passed to function + * + * @param string $md5 + * @param string $asObject + * @return XoopsObject|unknown|boolean + */ + function getMD5($md5 = '', $asObject = true) + { + $key = NULL; + $sql = "SELECT `" . $this->identity . "` FROM `" . $this->db->prefix($this->tbl) . "` WHERE MD5(CONCAT(" . $this->db->quote(PLEASE_SALT) . ", `" . $this->identity . "`, " . $this->db->quote(PLEASE_SALT) . ")) LIKE '" . $md5 . "'"; + if ($result = $this->db->queryF($sql)) + { + list($key) = $this->db->fetchRow($result); + } + if (!empty($key) && !is_null($key) && $asObject == true) + return $this->get($key); + if (!empty($key) && !is_null($key) && $asObject == false) + return $key; + return false; + } + } \ No newline at end of file Modified: XoopsModules/please/trunk/class/tickets.php =================================================================== --- XoopsModules/please/trunk/class/tickets.php 2016-11-06 13:54:03 UTC (rev 13221) +++ XoopsModules/please/trunk/class/tickets.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -84,6 +84,11 @@ } + function getAdminLink() + { + $dirname = basename(dirname(__DIR__)); + return XOOPS_URL . '/modules/'.$dirname."/admin/view-ticket.php?id=" . $this->getMD5('id'); + } } Added: XoopsModules/please/trunk/include/formloader.php =================================================================== --- XoopsModules/please/trunk/include/formloader.php (rev 0) +++ XoopsModules/please/trunk/include/formloader.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -0,0 +1,19 @@ +<?php +/** + * XOOPS form class loader + * + * 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 (c) 2000-2016 XOOPS Project (www.xoops.org) + * @license GNU GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html) + * @package kernel + * @since 2.0.0 + */ + +xoops_load('XoopsFormLoader'); +require_once __DIR__ . DIRECTORY_SEPARATOR . 'formselectenumerator.php'; Added: XoopsModules/please/trunk/include/formselectenumerator.php =================================================================== --- XoopsModules/please/trunk/include/formselectenumerator.php (rev 0) +++ XoopsModules/please/trunk/include/formselectenumerator.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -0,0 +1,52 @@ +<?php +/** + * XOOPS form element + * + * 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 (c) 2000-2016 XOOPS Project (www.xoops.org) + * @license GNU GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html) + * @package kernel + * @subpackage form + * @since 2.0.0 + * @author Kazumi Ono (AKA onokazu) http://www.myweb.ne.jp/, http://jp.xoops.org/ + */ + +defined('XOOPS_ROOT_PATH') || exit('Restricted access'); + +xoops_load('XoopsLists'); +xoops_load('XoopsFormSelect'); + +require_once __DIR__ . DIRECTORY_SEPERATOR . 'functions.php'; + +/** + * A select box with available themes + */ +class PleaseFormSelectEnumerator extends XoopsFormSelect +{ + /** + * Constructor + * + * @param string $caption + * @param string $name + * @param mixed $value Pre-selected value (or array of them). + * @param int $size Number or rows. "1" makes a drop-down-list + */ + public function __construct($caption, $name, $classfile = '', $field = '', $value = null, $size = 1) + { + parent::__construct($caption, $name, $value, $size); + if ($values = getEnumeratorValues($classfile, $field)) + { + $ret = array(); + foreach($values as $value) + $ret[$value] = ucwords(strtolower($value)); + $this->addOptionArray($ret); + } + + } +} Modified: XoopsModules/please/trunk/include/install.php =================================================================== --- XoopsModules/please/trunk/include/install.php 2016-11-06 13:54:03 UTC (rev 13221) +++ XoopsModules/please/trunk/include/install.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -110,7 +110,7 @@ if (is_file(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'groups.php')) unlink(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'groups.php'); $php = file_get_contents(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'groups.php.tpl'); - file_put_contents(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'groups.php', str_replace('%client%', $gc, str_replace('%staff%', $gs, str_replace('%manager%, $gm, $php')))); + file_put_contents(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'groups.php', str_replace('%whenset%', date("D, d M Y, H:i:s"), str_replace('%salt%', please_install_generate_salt(), str_replace('%client%', $gc, str_replace('%staff%', $gs, str_replace('%manager%, $gm, $php')))))); return true; } @@ -119,4 +119,32 @@ } +function please_install_generate_salt() +{ + $salt = ''; + mt_srand(mt_rand(-microtime(true), microtime(true))); + mt_srand(mt_rand(-microtime(true), microtime(true))); + mt_srand(mt_rand(-microtime(true), microtime(true))); + mt_srand(mt_rand(-microtime(true), microtime(true))); + while (strlen($salt)<mt_rand(128,512)) + { + mt_srand(mt_rand(-microtime(true), microtime(true))); + switch((string)mt_rand(0,3)) + { + default: + $salt .= chr(mt_rand(ord("-"), ord("|"))); + break; + case "1": + $salt .= chr(mt_rand(ord("A"), ord("Z"))); + break; + case "2": + $salt .= chr(mt_rand(ord("a"), ord("z"))); + break; + case "2": + $salt .= chr(mt_rand(ord("0"), ord("9"))); + break; + } + } + return $salt; +} ?> \ No newline at end of file Modified: XoopsModules/please/trunk/include/uninstall.php =================================================================== --- XoopsModules/please/trunk/include/uninstall.php 2016-11-06 13:54:03 UTC (rev 13221) +++ XoopsModules/please/trunk/include/uninstall.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -24,7 +24,9 @@ function xoops_module_uninstall_please(&$module) { require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'groups.php'; - + $groups_handler = xoops_getHandler('groups'); + $users_handler = xoops_getHandler('users'); + $uids = array(); $sql = array(); $criteria = new Criteria('group_type', 'please%', 'LIKE'); if ($results = $groups_handler->getObjects($criteria)) { @@ -32,8 +34,19 @@ { $sql[] = "DELETE FROM ".$GLOBALS['xoopsDB']->prefix('groups'). " WHERE `groupid` = ". $group->getVar('groupid'); $sql[] = "DELETE FROM ".$GLOBALS['xoopsDB']->prefix('group_permission'). " WHERE `gperm_groupid` = ". $group->getVar('groupid'); + $ucriteria = new Criteria('gperm_groupid', $group->getVar('groupid'), '='); + if ($gresults = $groups_handler->getObjects($ucriteria)) { + foreach($gresults as $groupperm) + { + $user = $users_handler->get($groupperm->getVar('uid')); + if (!in_array(XOOPS_GROUP_ADMIN, $user->getGroups())) + $uids[$groupperm->getVar('uid')] = $groupperm->getVar('uid'); + } + } } } + if (count($uids)) + $sql[] = "DELETE FROM ".$GLOBALS['xoopsDB']->prefix('users'). " WHERE `uid` IN (". implode(", ", $uids) . ")"; foreach($sql as $question) $GLOBALS['xoopsDB']->queryF($question); Modified: XoopsModules/please/trunk/language/english/admin.php =================================================================== --- XoopsModules/please/trunk/language/english/admin.php 2016-11-06 13:54:03 UTC (rev 13221) +++ XoopsModules/please/trunk/language/english/admin.php 2016-11-20 14:45:43 UTC (rev 13222) @@ -1 +1,68 @@ <?php +/** + * Please Email Ticketer of Batch Group & User Emails +* +* 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 ... [truncated message content] |
From: <wis...@us...> - 2016-11-06 13:54:05
|
Revision: 13221 http://sourceforge.net/p/xoops/svn/13221 Author: wishcraft Date: 2016-11-06 13:54:03 +0000 (Sun, 06 Nov 2016) Log Message: ----------- release.nfo layout max fields, xcode file added for XOOPS based xcode article\! Modified Paths: -------------- XoopsModules/please/trunk/language/english/release.nfo Modified: XoopsModules/please/trunk/language/english/release.nfo =================================================================== --- XoopsModules/please/trunk/language/english/release.nfo 2016-11-06 13:52:25 UTC (rev 13220) +++ XoopsModules/please/trunk/language/english/release.nfo 2016-11-06 13:54:03 UTC (rev 13221) @@ -105,7 +105,9 @@ --[ Translation Author ]------------------------------------------------------------ -Languge: English +Language: English +CharSet: UTF8 +LangCode: EN Name: Simon Antony Roberts eMail: si...@st... Skype: antony.cipher |