You can subscribe to this list here.
2012 |
Jan
|
Feb
(214) |
Mar
(139) |
Apr
(198) |
May
(187) |
Jun
(151) |
Jul
(210) |
Aug
(169) |
Sep
(58) |
Oct
(53) |
Nov
(54) |
Dec
(301) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
(348) |
Feb
(178) |
Mar
(219) |
Apr
(154) |
May
(117) |
Jun
(194) |
Jul
(61) |
Aug
(132) |
Sep
(121) |
Oct
(110) |
Nov
(11) |
Dec
(18) |
2014 |
Jan
(34) |
Feb
(50) |
Mar
(82) |
Apr
(98) |
May
(39) |
Jun
(111) |
Jul
(67) |
Aug
(36) |
Sep
(33) |
Oct
(26) |
Nov
(53) |
Dec
(44) |
2015 |
Jan
(29) |
Feb
(47) |
Mar
(25) |
Apr
(19) |
May
(23) |
Jun
(20) |
Jul
(49) |
Aug
(7) |
Sep
(10) |
Oct
(10) |
Nov
(4) |
Dec
(25) |
2016 |
Jan
(8) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(7) |
Dec
(5) |
2017 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(15) |
Jun
|
Jul
(18) |
Aug
(24) |
Sep
|
Oct
(14) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
(22) |
Mar
|
Apr
(11) |
May
(1) |
Jun
(17) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(5) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
From: <be...@us...> - 2012-04-03 04:11:12
|
Revision: 9249 http://xoops.svn.sourceforge.net/xoops/?rev=9249&view=rev Author: beckmi Date: 2012-04-03 04:11:01 +0000 (Tue, 03 Apr 2012) Log Message: ----------- Adding MyMenus 1.3 from Trabis Added Paths: ----------- XoopsModules/mymenus/ XoopsModules/mymenus/branches/ XoopsModules/mymenus/releases/ XoopsModules/mymenus/trunk/ XoopsModules/mymenus/trunk/mymenus/ XoopsModules/mymenus/trunk/mymenus/admin/ XoopsModules/mymenus/trunk/mymenus/admin/admin_about.php XoopsModules/mymenus/trunk/mymenus/admin/admin_header.php XoopsModules/mymenus/trunk/mymenus/admin/admin_menu.php XoopsModules/mymenus/trunk/mymenus/admin/admin_menus.php XoopsModules/mymenus/trunk/mymenus/admin/index.html XoopsModules/mymenus/trunk/mymenus/admin/index.php XoopsModules/mymenus/trunk/mymenus/admin/menu.php XoopsModules/mymenus/trunk/mymenus/blocks/ XoopsModules/mymenus/trunk/mymenus/blocks/index.html XoopsModules/mymenus/trunk/mymenus/blocks/mymenus_block.php XoopsModules/mymenus/trunk/mymenus/changelog.txt XoopsModules/mymenus/trunk/mymenus/class/ XoopsModules/mymenus/trunk/mymenus/class/about.php XoopsModules/mymenus/trunk/mymenus/class/builder.php XoopsModules/mymenus/trunk/mymenus/class/index.html XoopsModules/mymenus/trunk/mymenus/class/menu.php XoopsModules/mymenus/trunk/mymenus/class/menus.php XoopsModules/mymenus/trunk/mymenus/class/plugin.php XoopsModules/mymenus/trunk/mymenus/class/registry.php XoopsModules/mymenus/trunk/mymenus/css/ XoopsModules/mymenus/trunk/mymenus/css/index.html XoopsModules/mymenus/trunk/mymenus/css/superfish-navbar.css XoopsModules/mymenus/trunk/mymenus/css/superfish-vertical.css XoopsModules/mymenus/trunk/mymenus/css/superfish.css XoopsModules/mymenus/trunk/mymenus/docs/ XoopsModules/mymenus/trunk/mymenus/docs/index.html XoopsModules/mymenus/trunk/mymenus/docs/skins.txt XoopsModules/mymenus/trunk/mymenus/docs/usage.txt XoopsModules/mymenus/trunk/mymenus/images/ XoopsModules/mymenus/trunk/mymenus/images/actions/ XoopsModules/mymenus/trunk/mymenus/images/actions/+.gif XoopsModules/mymenus/trunk/mymenus/images/actions/0.png XoopsModules/mymenus/trunk/mymenus/images/actions/1.png XoopsModules/mymenus/trunk/mymenus/images/actions/about_kde.png XoopsModules/mymenus/trunk/mymenus/images/actions/add.png XoopsModules/mymenus/trunk/mymenus/images/actions/add_off.png XoopsModules/mymenus/trunk/mymenus/images/actions/asc.png XoopsModules/mymenus/trunk/mymenus/images/actions/attach.png XoopsModules/mymenus/trunk/mymenus/images/actions/back.png XoopsModules/mymenus/trunk/mymenus/images/actions/back1.png XoopsModules/mymenus/trunk/mymenus/images/actions/back2.png XoopsModules/mymenus/trunk/mymenus/images/actions/bookmark.png XoopsModules/mymenus/trunk/mymenus/images/actions/bookmark_add.png XoopsModules/mymenus/trunk/mymenus/images/actions/button_cancel.png XoopsModules/mymenus/trunk/mymenus/images/actions/button_ok.png XoopsModules/mymenus/trunk/mymenus/images/actions/cd.png XoopsModules/mymenus/trunk/mymenus/images/actions/compfile.png XoopsModules/mymenus/trunk/mymenus/images/actions/configure.png XoopsModules/mymenus/trunk/mymenus/images/actions/contents.png XoopsModules/mymenus/trunk/mymenus/images/actions/decrypted.png XoopsModules/mymenus/trunk/mymenus/images/actions/desc.png XoopsModules/mymenus/trunk/mymenus/images/actions/down.png XoopsModules/mymenus/trunk/mymenus/images/actions/down_off.png XoopsModules/mymenus/trunk/mymenus/images/actions/edit.gif XoopsModules/mymenus/trunk/mymenus/images/actions/edit.png XoopsModules/mymenus/trunk/mymenus/images/actions/editcopy.png XoopsModules/mymenus/trunk/mymenus/images/actions/editcut.png XoopsModules/mymenus/trunk/mymenus/images/actions/editdelete.gif XoopsModules/mymenus/trunk/mymenus/images/actions/editdelete.png XoopsModules/mymenus/trunk/mymenus/images/actions/editpaste.png XoopsModules/mymenus/trunk/mymenus/images/actions/edittrash.png XoopsModules/mymenus/trunk/mymenus/images/actions/encrypted.png XoopsModules/mymenus/trunk/mymenus/images/actions/exit.png XoopsModules/mymenus/trunk/mymenus/images/actions/fileclose.png XoopsModules/mymenus/trunk/mymenus/images/actions/filefind.png XoopsModules/mymenus/trunk/mymenus/images/actions/filenew.png XoopsModules/mymenus/trunk/mymenus/images/actions/filenew2.png XoopsModules/mymenus/trunk/mymenus/images/actions/fileopen.png XoopsModules/mymenus/trunk/mymenus/images/actions/fileprint.gif XoopsModules/mymenus/trunk/mymenus/images/actions/fileprint.png XoopsModules/mymenus/trunk/mymenus/images/actions/filequickprint.png XoopsModules/mymenus/trunk/mymenus/images/actions/filesave.png XoopsModules/mymenus/trunk/mymenus/images/actions/filesave2.png XoopsModules/mymenus/trunk/mymenus/images/actions/filesaveas.png XoopsModules/mymenus/trunk/mymenus/images/actions/filesaveas2.png XoopsModules/mymenus/trunk/mymenus/images/actions/find.png XoopsModules/mymenus/trunk/mymenus/images/actions/folder.png XoopsModules/mymenus/trunk/mymenus/images/actions/folder_new.png XoopsModules/mymenus/trunk/mymenus/images/actions/forward.png XoopsModules/mymenus/trunk/mymenus/images/actions/forward1.png XoopsModules/mymenus/trunk/mymenus/images/actions/forward2.png XoopsModules/mymenus/trunk/mymenus/images/actions/frameprint.png XoopsModules/mymenus/trunk/mymenus/images/actions/gohome.png XoopsModules/mymenus/trunk/mymenus/images/actions/help.png XoopsModules/mymenus/trunk/mymenus/images/actions/index.html XoopsModules/mymenus/trunk/mymenus/images/actions/klipper_dock.png XoopsModules/mymenus/trunk/mymenus/images/actions/klipper_dock2.png XoopsModules/mymenus/trunk/mymenus/images/actions/locationbar_erase.png XoopsModules/mymenus/trunk/mymenus/images/actions/lock.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_delete.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_delete2.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_find.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_find2.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_forward.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_forward2.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_generic.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_generic2.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_get.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_get2.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_new.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_new2.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_new3.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_replay.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_replayall.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_reply.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_reply2.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_replyall.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_replyall2.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_replylist.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_replylist2.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_send.gif XoopsModules/mymenus/trunk/mymenus/images/actions/mail_send.png XoopsModules/mymenus/trunk/mymenus/images/actions/mail_send2.png XoopsModules/mymenus/trunk/mymenus/images/actions/make_kdevelop.png XoopsModules/mymenus/trunk/mymenus/images/actions/message_reply.png XoopsModules/mymenus/trunk/mymenus/images/actions/misc.png XoopsModules/mymenus/trunk/mymenus/images/actions/next.png XoopsModules/mymenus/trunk/mymenus/images/actions/openterm.png XoopsModules/mymenus/trunk/mymenus/images/actions/people.png XoopsModules/mymenus/trunk/mymenus/images/actions/personal.png XoopsModules/mymenus/trunk/mymenus/images/actions/previous.png XoopsModules/mymenus/trunk/mymenus/images/actions/project_open.png XoopsModules/mymenus/trunk/mymenus/images/actions/queue.png XoopsModules/mymenus/trunk/mymenus/images/actions/rebuild.png XoopsModules/mymenus/trunk/mymenus/images/actions/redo.png XoopsModules/mymenus/trunk/mymenus/images/actions/reload.png XoopsModules/mymenus/trunk/mymenus/images/actions/reload3.png XoopsModules/mymenus/trunk/mymenus/images/actions/reload_page.png XoopsModules/mymenus/trunk/mymenus/images/actions/run.png XoopsModules/mymenus/trunk/mymenus/images/actions/show_clips.gif XoopsModules/mymenus/trunk/mymenus/images/actions/signature.png XoopsModules/mymenus/trunk/mymenus/images/actions/stop.png XoopsModules/mymenus/trunk/mymenus/images/actions/thumbnail.png XoopsModules/mymenus/trunk/mymenus/images/actions/toggle_log.png XoopsModules/mymenus/trunk/mymenus/images/actions/undo.png XoopsModules/mymenus/trunk/mymenus/images/actions/unlock.png XoopsModules/mymenus/trunk/mymenus/images/actions/up.png XoopsModules/mymenus/trunk/mymenus/images/actions/up1.png XoopsModules/mymenus/trunk/mymenus/images/actions/up2.png XoopsModules/mymenus/trunk/mymenus/images/actions/up_off.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_bottom.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_choose.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_detailed.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_icon.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_left_right.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_multicolumn.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_remove.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_right.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_sidetree.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_text.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_top_bottom.png XoopsModules/mymenus/trunk/mymenus/images/actions/view_tree.png XoopsModules/mymenus/trunk/mymenus/images/actions/viewmag+.png XoopsModules/mymenus/trunk/mymenus/images/actions/viewmag-.png XoopsModules/mymenus/trunk/mymenus/images/actions/viewmag.png XoopsModules/mymenus/trunk/mymenus/images/actions/viewmag1.png XoopsModules/mymenus/trunk/mymenus/images/actions/viewmagfit.png XoopsModules/mymenus/trunk/mymenus/images/actions/window_fullscreen.png XoopsModules/mymenus/trunk/mymenus/images/actions/window_new.png XoopsModules/mymenus/trunk/mymenus/images/actions/window_nofullscreen.png XoopsModules/mymenus/trunk/mymenus/images/actions/wizard.png XoopsModules/mymenus/trunk/mymenus/images/arrows-ffffff.png XoopsModules/mymenus/trunk/mymenus/images/bg.png XoopsModules/mymenus/trunk/mymenus/images/delete_big.png XoopsModules/mymenus/trunk/mymenus/images/delete_big_off.png XoopsModules/mymenus/trunk/mymenus/images/delete_med.png XoopsModules/mymenus/trunk/mymenus/images/edit_big.png XoopsModules/mymenus/trunk/mymenus/images/edit_big_off.png XoopsModules/mymenus/trunk/mymenus/images/edit_med.png XoopsModules/mymenus/trunk/mymenus/images/index.html XoopsModules/mymenus/trunk/mymenus/images/left_both.png XoopsModules/mymenus/trunk/mymenus/images/mymenus.png XoopsModules/mymenus/trunk/mymenus/images/right_both.png XoopsModules/mymenus/trunk/mymenus/images/shadow.png XoopsModules/mymenus/trunk/mymenus/images/view_big.png XoopsModules/mymenus/trunk/mymenus/images/view_big_off.png XoopsModules/mymenus/trunk/mymenus/include/ XoopsModules/mymenus/trunk/mymenus/include/functions.php XoopsModules/mymenus/trunk/mymenus/include/index.html XoopsModules/mymenus/trunk/mymenus/index.html XoopsModules/mymenus/trunk/mymenus/js/ XoopsModules/mymenus/trunk/mymenus/js/hoverIntent.js XoopsModules/mymenus/trunk/mymenus/js/index.html XoopsModules/mymenus/trunk/mymenus/js/jquery-1.3.2.min.js XoopsModules/mymenus/trunk/mymenus/js/jquery.bgiframe.min.js XoopsModules/mymenus/trunk/mymenus/js/superfish.js XoopsModules/mymenus/trunk/mymenus/js/supersubs.js XoopsModules/mymenus/trunk/mymenus/language/ XoopsModules/mymenus/trunk/mymenus/language/arabic/ XoopsModules/mymenus/trunk/mymenus/language/arabic/about.php XoopsModules/mymenus/trunk/mymenus/language/arabic/admin.php XoopsModules/mymenus/trunk/mymenus/language/arabic/blocks.php XoopsModules/mymenus/trunk/mymenus/language/arabic/index.html XoopsModules/mymenus/trunk/mymenus/language/arabic/modinfo.php XoopsModules/mymenus/trunk/mymenus/language/english/ XoopsModules/mymenus/trunk/mymenus/language/english/about.php XoopsModules/mymenus/trunk/mymenus/language/english/admin.php XoopsModules/mymenus/trunk/mymenus/language/english/blocks.php XoopsModules/mymenus/trunk/mymenus/language/english/index.html XoopsModules/mymenus/trunk/mymenus/language/english/modinfo.php XoopsModules/mymenus/trunk/mymenus/language/french/ XoopsModules/mymenus/trunk/mymenus/language/french/about.php XoopsModules/mymenus/trunk/mymenus/language/french/admin.php XoopsModules/mymenus/trunk/mymenus/language/french/blocks.php XoopsModules/mymenus/trunk/mymenus/language/french/index.html XoopsModules/mymenus/trunk/mymenus/language/french/modinfo.php XoopsModules/mymenus/trunk/mymenus/language/index.html XoopsModules/mymenus/trunk/mymenus/plugins/ XoopsModules/mymenus/trunk/mymenus/plugins/constant/ XoopsModules/mymenus/trunk/mymenus/plugins/constant/constant.php XoopsModules/mymenus/trunk/mymenus/plugins/constant/index.html XoopsModules/mymenus/trunk/mymenus/plugins/dynamic/ XoopsModules/mymenus/trunk/mymenus/plugins/dynamic/dynamic.php XoopsModules/mymenus/trunk/mymenus/plugins/dynamic/index.html XoopsModules/mymenus/trunk/mymenus/plugins/index.html XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/ XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/index.html XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/language/ XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/language/arabic/ XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/language/arabic/index.html XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/language/arabic/mymenus.php XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/language/english/ XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/language/english/index.html XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/language/english/mymenus.php XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/language/french/ XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/language/french/index.html XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/language/french/mymenus.php XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/language/index.html XoopsModules/mymenus/trunk/mymenus/plugins/mymenus/mymenus.php XoopsModules/mymenus/trunk/mymenus/plugins/smarty/ XoopsModules/mymenus/trunk/mymenus/plugins/smarty/index.html XoopsModules/mymenus/trunk/mymenus/plugins/smarty/smarty.php XoopsModules/mymenus/trunk/mymenus/readme.txt XoopsModules/mymenus/trunk/mymenus/skins/ XoopsModules/mymenus/trunk/mymenus/skins/breadcrumb/ XoopsModules/mymenus/trunk/mymenus/skins/breadcrumb/default/ XoopsModules/mymenus/trunk/mymenus/skins/breadcrumb/default/bc_bg.png XoopsModules/mymenus/trunk/mymenus/skins/breadcrumb/default/bc_separator.png XoopsModules/mymenus/trunk/mymenus/skins/breadcrumb/default/bc_separator_end.png XoopsModules/mymenus/trunk/mymenus/skins/breadcrumb/default/home.png XoopsModules/mymenus/trunk/mymenus/skins/breadcrumb/default/index.html XoopsModules/mymenus/trunk/mymenus/skins/breadcrumb/index.html XoopsModules/mymenus/trunk/mymenus/skins/breadcrumb/skin_version.php XoopsModules/mymenus/trunk/mymenus/skins/breadcrumb/style.css XoopsModules/mymenus/trunk/mymenus/skins/breadcrumb/template.html XoopsModules/mymenus/trunk/mymenus/skins/default/ XoopsModules/mymenus/trunk/mymenus/skins/default/arrow.gif XoopsModules/mymenus/trunk/mymenus/skins/default/arrow_down_purple.gif XoopsModules/mymenus/trunk/mymenus/skins/default/arrow_down_white.gif XoopsModules/mymenus/trunk/mymenus/skins/default/arrow_over.gif XoopsModules/mymenus/trunk/mymenus/skins/default/navbar-bg.png XoopsModules/mymenus/trunk/mymenus/skins/default/pro_dropdown_3.css XoopsModules/mymenus/trunk/mymenus/skins/default/skin_version.php XoopsModules/mymenus/trunk/mymenus/skins/default/stuHover.js XoopsModules/mymenus/trunk/mymenus/skins/default/templates/ XoopsModules/mymenus/trunk/mymenus/skins/default/templates/index.html XoopsModules/mymenus/trunk/mymenus/skins/default/templates/template.html XoopsModules/mymenus/trunk/mymenus/skins/index.html XoopsModules/mymenus/trunk/mymenus/skins/mainmenu/ XoopsModules/mymenus/trunk/mymenus/skins/mainmenu/index.html XoopsModules/mymenus/trunk/mymenus/skins/mainmenu/skin_version.php XoopsModules/mymenus/trunk/mymenus/skins/mainmenu/templates/ XoopsModules/mymenus/trunk/mymenus/skins/mainmenu/templates/index.html XoopsModules/mymenus/trunk/mymenus/skins/mainmenu/templates/template.html XoopsModules/mymenus/trunk/mymenus/skins/multiblack/ XoopsModules/mymenus/trunk/mymenus/skins/multiblack/arrow.gif XoopsModules/mymenus/trunk/mymenus/skins/multiblack/arrow_over.gif XoopsModules/mymenus/trunk/mymenus/skins/multiblack/pro_dropdown_3.css XoopsModules/mymenus/trunk/mymenus/skins/multiblack/skin_version.php XoopsModules/mymenus/trunk/mymenus/skins/multiblack/stuHover.js XoopsModules/mymenus/trunk/mymenus/skins/multiblack/templates/ XoopsModules/mymenus/trunk/mymenus/skins/multiblack/templates/index.html XoopsModules/mymenus/trunk/mymenus/skins/multiblack/templates/template.html XoopsModules/mymenus/trunk/mymenus/skins/multiblack/three_0.gif XoopsModules/mymenus/trunk/mymenus/skins/multiblack/three_0a.gif XoopsModules/mymenus/trunk/mymenus/skins/multiblack/three_1.gif XoopsModules/mymenus/trunk/mymenus/skins/multiblack/three_1a.gif XoopsModules/mymenus/trunk/mymenus/skins/superfish/ XoopsModules/mymenus/trunk/mymenus/skins/superfish/css/ XoopsModules/mymenus/trunk/mymenus/skins/superfish/css/index.html XoopsModules/mymenus/trunk/mymenus/skins/superfish/css/superfish-navbar.css XoopsModules/mymenus/trunk/mymenus/skins/superfish/css/superfish-vertical.css XoopsModules/mymenus/trunk/mymenus/skins/superfish/css/superfish.css XoopsModules/mymenus/trunk/mymenus/skins/superfish/images/ XoopsModules/mymenus/trunk/mymenus/skins/superfish/images/arrows-ffffff.png XoopsModules/mymenus/trunk/mymenus/skins/superfish/images/index.html XoopsModules/mymenus/trunk/mymenus/skins/superfish/images/shadow.png XoopsModules/mymenus/trunk/mymenus/skins/superfish/index.html XoopsModules/mymenus/trunk/mymenus/skins/superfish/skin_version.php XoopsModules/mymenus/trunk/mymenus/skins/superfish/templates/ XoopsModules/mymenus/trunk/mymenus/skins/superfish/templates/index.html XoopsModules/mymenus/trunk/mymenus/skins/superfish/templates/template.html XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/ XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/css/ XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/css/index.html XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/css/superfish-navbar.css XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/css/superfish-vertical.css XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/css/superfish.css XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/images/ XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/images/arrows-ffffff.png XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/images/index.html XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/images/shadow.png XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/index.html XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/skin_version.php XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/templates/ XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/templates/index.html XoopsModules/mymenus/trunk/mymenus/skins/superfish_navbar/templates/template.html XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/ XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/images/ XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/images/menu_left.gif XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/images/menu_mid.gif XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/images/menu_right.gif XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/images/nav-bg.png XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/images/split.png XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/images/submenu_bg.png XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/images/submenu_bottom.png XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/images/submenu_top.png XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/skin_version.php XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/templates/ XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/templates/index.html XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/templates/template.html XoopsModules/mymenus/trunk/mymenus/skins/tw_blue/tw_blue.css XoopsModules/mymenus/trunk/mymenus/skins/tw_red/ XoopsModules/mymenus/trunk/mymenus/skins/tw_red/images/ XoopsModules/mymenus/trunk/mymenus/skins/tw_red/images/menu_left.gif XoopsModules/mymenus/trunk/mymenus/skins/tw_red/images/menu_mid.gif XoopsModules/mymenus/trunk/mymenus/skins/tw_red/images/menu_right.gif XoopsModules/mymenus/trunk/mymenus/skins/tw_red/images/nav-bg.png XoopsModules/mymenus/trunk/mymenus/skins/tw_red/images/split.png XoopsModules/mymenus/trunk/mymenus/skins/tw_red/images/submenu_bg.png XoopsModules/mymenus/trunk/mymenus/skins/tw_red/images/submenu_bottom.png XoopsModules/mymenus/trunk/mymenus/skins/tw_red/images/submenu_top.png XoopsModules/mymenus/trunk/mymenus/skins/tw_red/skin_version.php XoopsModules/mymenus/trunk/mymenus/skins/tw_red/templates/ XoopsModules/mymenus/trunk/mymenus/skins/tw_red/templates/index.html XoopsModules/mymenus/trunk/mymenus/skins/tw_red/templates/template.html XoopsModules/mymenus/trunk/mymenus/skins/tw_red/tw_red.css XoopsModules/mymenus/trunk/mymenus/sql/ XoopsModules/mymenus/trunk/mymenus/sql/index.html XoopsModules/mymenus/trunk/mymenus/sql/mysql.sql XoopsModules/mymenus/trunk/mymenus/sql/sql2.sql XoopsModules/mymenus/trunk/mymenus/templates/ XoopsModules/mymenus/trunk/mymenus/templates/blocks/ XoopsModules/mymenus/trunk/mymenus/templates/blocks/index.html XoopsModules/mymenus/trunk/mymenus/templates/blocks/mymenus_block.html XoopsModules/mymenus/trunk/mymenus/templates/index.html XoopsModules/mymenus/trunk/mymenus/templates/static/ XoopsModules/mymenus/trunk/mymenus/templates/static/blocks/ XoopsModules/mymenus/trunk/mymenus/templates/static/blocks/index.html XoopsModules/mymenus/trunk/mymenus/templates/static/blocks/mymenus_block.html XoopsModules/mymenus/trunk/mymenus/templates/static/index.html XoopsModules/mymenus/trunk/mymenus/templates/static/mymenus_admin_about.html XoopsModules/mymenus/trunk/mymenus/templates/static/mymenus_admin_adminmenu.html XoopsModules/mymenus/trunk/mymenus/templates/static/mymenus_admin_menu.html XoopsModules/mymenus/trunk/mymenus/templates/static/mymenus_admin_menus.html XoopsModules/mymenus/trunk/mymenus/xoops_version.php Added: XoopsModules/mymenus/trunk/mymenus/admin/admin_about.php =================================================================== --- XoopsModules/mymenus/trunk/mymenus/admin/admin_about.php (rev 0) +++ XoopsModules/mymenus/trunk/mymenus/admin/admin_about.php 2012-04-03 04:11:01 UTC (rev 9249) @@ -0,0 +1,27 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Mymenus + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: about.php 0 2010-07-21 18:47:04Z trabis $ + */ + +include_once dirname(__FILE__) . '/admin_header.php'; +include_once XOOPS_ROOT_PATH . '/modules/mymenus/class/about.php'; + +$aboutObj = new MymenusAbout(); +$aboutObj->render(); + +?> \ No newline at end of file Added: XoopsModules/mymenus/trunk/mymenus/admin/admin_header.php =================================================================== --- XoopsModules/mymenus/trunk/mymenus/admin/admin_header.php (rev 0) +++ XoopsModules/mymenus/trunk/mymenus/admin/admin_header.php 2012-04-03 04:11:01 UTC (rev 9249) @@ -0,0 +1,33 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Mymenus + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: admin_header.php 0 2010-07-21 18:47:04Z trabis $ + */ + +require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; + +include_once $GLOBALS['xoops']->path('class/template.php'); +include_once $GLOBALS['xoops']->path('modules/mymenus/include/functions.php'); +include_once $GLOBALS['xoops']->path('modules/mymenus/class/registry.php'); +include_once $GLOBALS['xoops']->path('modules/mymenus/class/plugin.php'); + +xoops_load('XoopsFormLoader'); +xoops_loadLanguage('modinfo', 'mymenus'); + +$mymenusTpl = new XoopsTpl(); + +?> \ No newline at end of file Added: XoopsModules/mymenus/trunk/mymenus/admin/admin_menu.php =================================================================== --- XoopsModules/mymenus/trunk/mymenus/admin/admin_menu.php (rev 0) +++ XoopsModules/mymenus/trunk/mymenus/admin/admin_menu.php 2012-04-03 04:11:01 UTC (rev 9249) @@ -0,0 +1,388 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Mymenus + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: admin_menu.php 0 2010-07-21 18:47:04Z trabis $ + */ + +include_once dirname(__FILE__) . '/admin_header.php'; + +$menus_handler =& xoops_getModuleHandler('menus', 'mymenus'); +$criteria = new CriteriaCompo(); +$criteria->setSort('title'); +$criteria->setOrder('ASC'); +$menus_list = $menus_handler->getList($criteria); + +if (empty($menus_list)) { + redirect_header('admin_menus.php', 1, _AM_MYMENUS_MSG_NOMENUS); + exit; +} + +if (isset($_REQUEST['menu_id']) && in_array($_REQUEST['menu_id'], array_keys($menus_list))){ + $menu_id = $_REQUEST['menu_id']; + $menu_title = $menus_list[$menu_id]; +} else { + $keys = array_keys($menus_list); + $menu_id = $keys[0]; + $menu_title = $menus_list[$menu_id]; +} + +$mymenusTpl->assign('menu_id', $menu_id); +$mymenusTpl->assign('menu_title', $menu_title); +$mymenusTpl->assign('menus_list', $menus_list); + + +$op = isset($_GET['op']) ? trim($_GET['op']) : (isset($_POST['op']) ? trim($_POST['op']) : 'list'); + +$id = isset($_GET['id']) ? intval($_GET['id']) : (isset($_POST['id']) ? intval($_POST['id']) : null); +$pid = isset($_GET['pid']) ? intval($_GET['pid']) : (isset($_POST['pid']) ? intval($_POST['pid']) : null); + +$limit = isset($_GET['limit']) ? intval($_GET['limit']) : (isset($_POST['limit']) ? intval($_POST['limit']) : 15); +$start = isset($_GET['start']) ? intval($_GET['start']) : (isset($_POST['start']) ? intval($_POST['start']) : 0); +$redir = isset($_GET['redir']) ? $_GET['redir'] : (isset($_POST['redir']) ? $_POST['redir'] : null); + +$weight = isset($_GET['weight']) ? intval($_GET['weight']) : (isset($_POST['weight']) ? intval($_POST['weight']) : 0); +$visible = isset($_GET['visible']) ? intval($_GET['visible']) : (isset($_POST['visible']) ? intval($_POST['visible']) : 0); + +$mymenus_adminpage = 'admin_menu.php'; + +switch ($op) { + case 'add': + mymenus_admin_add(); + break; + case 'form': + xoops_cp_header(); + mymenus_adminMenu(1, _MI_MYMENUS_MENUMANAGER); + echo mymenus_admin_form(null, $pid); + xoops_cp_footer(); + break; + case 'edit': + xoops_cp_header(); + mymenus_adminMenu(1, _MI_MYMENUS_MENUMANAGER); + echo mymenus_admin_form($id); + xoops_cp_footer(); + break; + case 'editok': + mymenus_admin_edit($id); + break; + case 'del': + mymenus_admin_confirmdel($id, $redir); + break; + case 'delok': + mymenus_admin_del($id, $redir); + break; + case 'delall': + mymenus_admin_confirmdel(null, $redir, 'delallok'); + break; + case 'delallok': + mymenus_admin_delall($redir); + break; + case 'move': + xoops_cp_header(); + mymenus_adminMenu(1, _MI_MYMENUS_MENUMANAGER); + mymenus_admin_move($id, $weight); + echo mymenus_admin_list($start); + xoops_cp_footer(); + break; + case 'toggle': + xoops_cp_header(); + mymenus_adminMenu(1, _MI_MYMENUS_MENUMANAGER); + mymenus_admin_toggle($id, $visible); + echo mymenus_admin_list($start); + xoops_cp_footer(); + break; + case 'list': + default: + xoops_cp_header(); + mymenus_adminMenu(1, _MI_MYMENUS_MENUMANAGER); + echo mymenus_admin_list($start); + xoops_cp_footer(); + break; +} + +function mymenus_admin_list($start = 0) +{ + global $mymenusTpl, $menu_id; + + $this_handler =& xoops_getModuleHandler('menu', 'mymenus'); + + $criteria = new CriteriaCompo(new Criteria('mid', $menu_id)); + //$criteria->add(new Criteria('pid', 0)); + + $count = $this_handler->getCount($criteria); + $mymenusTpl->assign('count', $count); + $criteria->setSort('weight'); + $criteria->setOrder('ASC'); + + $menus = array(); + $menusArray = array(); + if ($count > 0) { + $menus = $this_handler->getObjects($criteria); + foreach ($menus as $menu) { + $array[] = $menu->getValues(); + } + include_once $GLOBALS['xoops']->path('modules/mymenus/class/builder.php'); + $builder = new MymenusBuilder($array); + $menusArray = $builder->render(); + $mymenusTpl->assign('menus', $menusArray); + } + + $mymenusTpl->assign('addform', mymenus_admin_form()); + + return $mymenusTpl->fetch($GLOBALS['xoops']->path('modules/mymenus/templates/static/mymenus_admin_menu.html')); +} + +function mymenus_admin_del($id, $redir = null) +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header($GLOBALS['mymenus_adminpage'], 1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + if ($id <= 0) { + redirect_header($GLOBALS['mymenus_adminpage'], 1); + } + + $this_handler =& xoops_getModuleHandler('menu' , 'mymenus'); + $obj = $this_handler->get($id); + if (!is_object($obj)) { + redirect_header($GLOBALS['mymenus_adminpage'], 1); + } + + if (!$this_handler->delete($obj)) { + xoops_cp_header(); + xoops_error(_AM_MYMENUS_MSG_ERROR, $obj->getVar('id')); + xoops_cp_footer(); + exit(); + } + + redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_MSG_SUCCESS); +} + +function mymenus_admin_delall($redir = null) +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header($GLOBALS['mymenus_adminpage'], 1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + $this_handler =& xoops_getModuleHandler('menu' , 'mymenus'); + + if (!$this_handler->deleteAll()) { + redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_ERROR); + } + + redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_SUCCESS); +} + +function mymenus_admin_confirmdel($id = null, $redir = null, $op = 'delok') +{ + + $arr = array(); + $arr['op'] = $op; + $arr['id'] = $id; + if (!is_null($redir)){ + $arr['redir'] = $redir; + } + + xoops_cp_header(); + xoops_confirm($arr, $GLOBALS['mymenus_adminpage'], _AM_MYMENUS_MSG_AYS); + xoops_cp_footer(); +} + + +function mymenus_admin_add() +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header($GLOBALS['mymenus_adminpage'], 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + $this_handler =& xoops_getModuleHandler('menu','mymenus'); + $criteria = new CriteriaCompo(new Criteria('mid', $_POST['mid'])); + $criteria->setSort('weight'); + $criteria->setOrder('DESC'); + $criteria->setLimit(1); + $menus = $this_handler->getObjects($criteria); + $weight = 1; + if (isset($menus[0]) && is_object($menus[0])) { + $weight = $menus[0]->getVar('weight') + 1; + } + + $obj = $this_handler->create(); + if (!isset($_POST['hooks'])) { + $_POST['hooks'] = array(); + } + $obj->setVars($_POST); + $obj->setVar('weight', $weight); + + if (!$this_handler->insert($obj)){ + $msg = _AM_MYMENUS_MSG_ERROR; + } else { + $this_handler->update_weights($obj); + $msg = _AM_MYMENUS_MSG_SUCCESS; + } + + redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list&menu_id=' . $obj->getVar('mid'), 2, $msg); +} + +function mymenus_admin_edit($id) +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header($GLOBALS['mymenus_adminpage'], 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + $this_handler =& xoops_getModuleHandler('menu','mymenus'); + $obj = $this_handler->get($id); + if (!isset($_POST['hooks'])) { + $_POST['hooks'] = array(); + } + $obj->setVars($_POST); + + if (!$this_handler->insert($obj)){ + $msg = _AM_MYMENUS_MSG_ERROR; + }else{ + $msg = _AM_MYMENUS_MSG_SUCCESS; + } + + redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list', 2, $msg); +} + +function mymenus_admin_form($id = null, $pid = null) +{ + global $menu_id; + + $registry =& MymenusRegistry::getInstance(); + $plugin =& MymenusPlugin::getInstance(); + + $this_handler =& xoops_getModuleHandler('menu','mymenus'); + $objArray = array(); + + if (isset($id)) { + $ftitle = _EDIT; + $obj = $this_handler->get($id); + $objArray = $obj->getValues(); + + } else { + $ftitle = _ADD; + $obj = $this_handler->create(); + $objArray = $obj->getValues(); + if (isset($pid)) { + $objArray['pid'] = $pid; + } + } + + $form = new XoopsThemeForm($ftitle, 'admin_form', $GLOBALS['mymenus_adminpage'], "post", true); + $formtitle = new XoopsFormText(_AM_MYMENUS_MENU_TITLE, 'title', 50, 255, $objArray['title']); + $formalttitle = new XoopsFormText(_AM_MYMENUS_MENU_ALTTITLE, 'alt_title', 50, 255, $objArray['alt_title']); + + $formlink = new XoopsFormText(_AM_MYMENUS_MENU_LINK, 'link', 50, 255, $objArray['link']); + /*$plugin->triggerEvent('FormLinkDescription'); + $formlink->setDescription($registry->getEntry('form_link_description')); */ + $formimage = new XoopsFormText(_AM_MYMENUS_MENU_IMAGE, 'image', 50, 255, $objArray['image']); + + $criteria = new CriteriaCompo(new Criteria('mid', $menu_id)); + $criteria->add(new Criteria('id', $id, '<>')); + // $criteria->add(new Criteria('pid', 0)); + $criteria->setSort('weight'); + $criteria->setOrder('ASC'); + + $results = $this_handler->getAll($criteria, array('title', 'id', 'pid')/*, false, false*/); + include_once $GLOBALS['xoops']->path('class/tree.php'); + $parent_tree = new XoopsObjectTree($results, 'id', 'pid'); + $parent_select = $parent_tree->makeSelBox('pid', 'title', '-- ', $objArray['pid'], true); + $formparent = new XoopsFormLabel(_AM_MYMENUS_MENU_PARENT, $parent_select); + + $formvis = new XoopsFormSelect(_AM_MYMENUS_MENU_VISIBLE, "visible", $objArray['visible']); + $formvis->addOption("0", _NO); + $formvis->addOption("1", _YES); + + $formtarget = new XoopsFormSelect(_AM_MYMENUS_MENU_TARGET, "target", $objArray['target']); + $formtarget->addOption("_self", _AM_MYMENUS_MENU_TARG_SELF); + $formtarget->addOption("_blank", _AM_MYMENUS_MENU_TARG_BLANK); + $formtarget->addOption("_parent", _AM_MYMENUS_MENU_TARG_PARENT); + $formtarget->addOption("_top", _AM_MYMENUS_MENU_TARG_TOP); + + $formgroups = new XoopsFormSelectGroup(_AM_MYMENUS_MENU_GROUPS, "groups", true, $objArray['groups'], 5, true); + $formgroups->setDescription(_AM_MYMENUS_MENU_GROUPS_HELP); + + //$formhooks = new XoopsFormTextArea(_AM_MYMENUS_MENU_HOOKS, "hooks", $objArray['hooks'], 7, 60); + + $formhooks = new XoopsFormSelect(_AM_MYMENUS_MENU_ACCESS_FILTER, "hooks", $objArray['hooks'], 5, true); + $plugin->triggerEvent('AccessFilter'); + $results = $registry->getEntry('access_filter'); + if ($results) { + foreach ($results as $result) { + $formhooks->addOption($result['method'], $result['name']); + } + } + + $formcss = new XoopsFormText(_AM_MYMENUS_MENU_CSS, 'css', 50, 255, $objArray['css']); + + $form->addElement($formtitle, true); + $form->addElement($formalttitle); + $form->addElement($formlink); + $form->addElement($formimage); + $form->addElement($formparent); + $form->addElement($formvis); + $form->addElement($formtarget); + $form->addElement($formgroups); + $form->addElement($formhooks); + $form->addElement($formcss); + //$form->addElement($formhooks2); + + $tray = new XoopsFormElementTray('' ,''); + $tray->addElement(new XoopsFormButton('', 'submit_button', _SUBMIT, 'submit')); + + $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); + + if (isset($id)){ + $btn->setExtra('onclick="document.location.href=\'' . $GLOBALS['mymenus_adminpage'] . '?op=list&menu_id=' . $menu_id . ' \'"'); + }else{ + $btn->setExtra('onclick="document.getElementById(\'addform\').style.display = \'none\'; return false;"'); + } + + $tray->addElement($btn); + $form->addElement($tray); + + if (isset($id)){ + $form->addElement(new XoopsFormHidden('op', 'editok')); + $form->addElement(new XoopsFormHidden('id', $id)); + }else{ + $form->addElement(new XoopsFormHidden('op', 'add')); + } + + $form->addElement(new XoopsFormHidden('mid', $menu_id)); + + return $form->render(); +} + +function mymenus_admin_move($id, $weight) +{ + $this_handler =& xoops_getModuleHandler('menu', 'mymenus'); + $obj = $this_handler->get($id); + $obj->setVar('weight', $weight); + $this_handler->insert($obj); + $this_handler->update_weights($obj); +} + +function mymenus_admin_toggle($id, $visible) +{ + $visible = ($visible == 1) ? 0 : 1; + $this_handler =& xoops_getModuleHandler('menu', 'mymenus'); + $obj = $this_handler->get($id); + $obj->setVar('visible', $visible); + $this_handler->insert($obj); +} + +?> \ No newline at end of file Added: XoopsModules/mymenus/trunk/mymenus/admin/admin_menus.php =================================================================== --- XoopsModules/mymenus/trunk/mymenus/admin/admin_menus.php (rev 0) +++ XoopsModules/mymenus/trunk/mymenus/admin/admin_menus.php 2012-04-03 04:11:01 UTC (rev 9249) @@ -0,0 +1,256 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Mymenus + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: admin_menus.php 0 2010-07-21 18:47:04Z trabis $ + */ + +include_once dirname(__FILE__) . '/admin_header.php'; + +$op = isset($_GET['op']) ? trim($_GET['op']) : (isset($_POST['op']) ? trim($_POST['op']) : 'list'); + +$id = isset($_GET['id']) ? intval($_GET['id']) : (isset($_POST['id']) ? intval($_POST['id']) : null); + +$limit = isset($_GET['limit']) ? intval($_GET['limit']) : (isset($_POST['limit']) ? intval($_POST['limit']) : 15); +$start = isset($_GET['start']) ? intval($_GET['start']) : (isset($_POST['start']) ? intval($_POST['start']) : 0); +$redir = isset($_GET['redir']) ? $_GET['redir'] : (isset($_POST['redir']) ? $_POST['redir'] : null); + +$mymenus_adminpage = 'admin_menus.php'; + +switch ($op) { + case 'add': + mymenus_admin_add(); + break; + case 'edit': + xoops_cp_header(); + mymenus_adminMenu(0, _MI_MYMENUS_MENUSMANAGER); + echo mymenus_admin_form($id); + xoops_cp_footer(); + break; + case 'editok': + mymenus_admin_edit($id); + break; + case 'del': + mymenus_admin_confirmdel($id, $redir); + break; + case 'delok': + mymenus_admin_del($id, $redir); + break; + case 'delall': + mymenus_admin_confirmdel(null, $redir, 'delallok'); + break; + case 'delallok': + mymenus_admin_delall($redir); + break; + case 'list': + default: + xoops_cp_header(); + mymenus_adminMenu(0, _MI_MYMENUS_MENUSMANAGER); + echo mymenus_admin_list($start); + xoops_cp_footer(); + break; +} + +function mymenus_admin_list($start = 0) +{ + global $mymenusTpl, $limit; + $myts =& MyTextSanitizer::getInstance(); + + $this_handler =& xoops_getModuleHandler('menus', 'mymenus'); + + $query = isset($_POST['query']) ? $_POST['query'] : null; + $mymenusTpl->assign('query', $query); + + $criteria = new CriteriaCompo(); + if (!is_null($query)) { + $crit = new CriteriaCompo(new Criteria('title', $myts->addSlashes($query).'%','LIKE')); + $criteria->add($crit); + } + + $count = $this_handler->getCount($criteria); + $mymenusTpl->assign('count', $count); + + $criteria->setStart($start); + $criteria->setLimit($limit); + $criteria->setSort('id'); + $criteria->setOrder('ASC'); + + if ($count > 0) { + if ($count > $limit) { + xoops_load('XoopsPagenav'); + $nav = new XoopsPageNav($count, $limit, $start, 'start', 'op=list'); + $mymenusTpl->assign('pag', '<div style="float:left; padding-top:2px;" align="center">' . $nav->renderNav() . '</div>'); + } else { + $mymenusTpl->assign('pag', ''); + } + + $objs = $this_handler->getObjects($criteria); + foreach ($objs as $obj) { + $objArray = $obj->getValues(); + $mymenusTpl->append('objs', $objArray); + unset($objArray); + } + unset($criteria, $objs); + } else { + $mymenusTpl->assign('pag', ''); + } + + $mymenusTpl->assign('addform', mymenus_admin_form()); + + return $mymenusTpl->fetch($GLOBALS['xoops']->path('modules/mymenus/templates/static/mymenus_admin_menus.html')); +} + +function mymenus_admin_del($id, $redir = null) +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header($GLOBALS['mymenus_adminpage'], 1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + if ($id <= 0) { + redirect_header($GLOBALS['mymenus_adminpage'], 1); + } + + $this_handler =& xoops_getModuleHandler('menus' , 'mymenus'); + $obj = $this_handler->get($id); + if (!is_object($obj)) { + redirect_header($GLOBALS['mymenus_adminpage'], 1); + } + + if (!$this_handler->delete($obj)) { + xoops_cp_header(); + xoops_error(_AM_MYMENUS_MSG_ERROR, $obj->getVar('id')); + xoops_cp_footer(); + exit(); + } + + $this_handler =& xoops_getModuleHandler('menu' , 'mymenus'); + $criteria = new Criteria('mid', $id); + $this_handler->deleteAll($criteria); + unset($criteria); + + redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_MSG_SUCCESS); +} + +function mymenus_admin_delall($redir = null) +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header($GLOBALS['mymenus_adminpage'], 1, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + $this_handler =& xoops_getModuleHandler('menus' , 'mymenus'); + + if (!$this_handler->deleteAll()) { + redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_MSG_ERROR); + } + + redirect_header(!is_null($redir) ? base64_decode($redir) : $GLOBALS['mymenus_adminpage'] , 2, _AM_MYMENUS_MSG_SUCCESS); +} + +function mymenus_admin_confirmdel($id = null, $redir = null, $op = 'delok') +{ + $arr = array(); + $arr['op'] = $op; + $arr['id'] = $id; + if (!is_null($redir)) { + $arr['redir'] = $redir; + } + xoops_cp_header(); + xoops_confirm($arr, $GLOBALS['mymenus_adminpage'], _AM_MYMENUS_MSG_AYS); + xoops_cp_footer(); +} + + +function mymenus_admin_add() +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header($GLOBALS['mymenus_adminpage'], 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + $this_handler =& xoops_getModuleHandler('menus','mymenus'); + $obj = $this_handler->create(); + $obj->setVars($_POST); + + if (!$this_handler->insert($obj)){ + $msg = _AM_MYMENUS_MSG_ERROR; + } else { + $msg = _AM_MYMENUS_MSG_SUCCESS; + } + + redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list', 2, $msg); +} + +function mymenus_admin_edit($id) +{ + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header($GLOBALS['mymenus_adminpage'], 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + $this_handler =& xoops_getmodulehandler('menus','mymenus'); + $obj = $this_handler->get($id); + $obj->setVars($_POST); + + if (!$this_handler->insert($obj)){ + $msg = _AM_MYMENUS_MSG_ERROR; + } else { + $msg = _AM_MYMENUS_MSG_SUCCESS; + } + + redirect_header($GLOBALS['mymenus_adminpage'] . '?op=list', 2, $msg); +} + +function mymenus_admin_form($id = null) +{ + $this_handler =& xoops_getmodulehandler('menus','mymenus'); + $objArray = array(); + + if (isset($id)) { + $ftitle = _EDIT; + $obj = $this_handler->get($id); + $objArray = $obj->getValues(); + + } else { + $ftitle = _ADD; + $obj = $this_handler->create(); + $objArray = $obj->getValues(); + } + + $form = new XoopsThemeForm($ftitle, 'admin_form', $GLOBALS['mymenus_adminpage'], "post", true); + $form->addElement(new XoopsFormText(_AM_MYMENUS_MENU_TITLE, 'title', 50, 255, $objArray['title']), true); + + $tray = new XoopsFormElementTray('' ,''); + $tray->addElement(new XoopsFormButton('', 'submit_button', _SUBMIT, 'submit')); + + $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); + + if (isset($id)){ + $btn->setExtra('onclick="document.location.href=\'' . $GLOBALS['mymenus_adminpage'] . '?op=list\'"'); + }else{ + $btn->setExtra('onclick="document.getElementById(\'addform\').style.display = \'none\'; return false;"'); + } + + $tray->addElement($btn); + $form->addElement($tray); + + if (isset($id)) { + $form->addElement(new XoopsFormHidden('op', 'editok')); + $form->addElement(new XoopsFormHidden('id', $id)); + } else { + $form->addElement(new XoopsFormHidden('op', 'add')); + } + + return $form->render(); +} + +?> \ No newline at end of file Added: XoopsModules/mymenus/trunk/mymenus/admin/index.html =================================================================== --- XoopsModules/mymenus/trunk/mymenus/admin/index.html (rev 0) +++ XoopsModules/mymenus/trunk/mymenus/admin/index.html 2012-04-03 04:11:01 UTC (rev 9249) @@ -0,0 +1 @@ +<script>history.go(-1);</script> Added: XoopsModules/mymenus/trunk/mymenus/admin/index.php =================================================================== --- XoopsModules/mymenus/trunk/mymenus/admin/index.php (rev 0) +++ XoopsModules/mymenus/trunk/mymenus/admin/index.php 2012-04-03 04:11:01 UTC (rev 9249) @@ -0,0 +1,23 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Mymenus + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: index.php 0 2010-07-21 18:47:04Z trabis $ + */ + +include_once dirname(__FILE__) . '/admin_menus.php'; + +?> \ No newline at end of file Added: XoopsModules/mymenus/trunk/mymenus/admin/menu.php =================================================================== --- XoopsModules/mymenus/trunk/mymenus/admin/menu.php (rev 0) +++ XoopsModules/mymenus/trunk/mymenus/admin/menu.php 2012-04-03 04:11:01 UTC (rev 9249) @@ -0,0 +1,49 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Mymenus + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: menu.php 0 2010-07-21 18:47:04Z trabis $ + */ + +$i = -1; +$i++; +$adminmenu[$i]['title'] = _MI_MYMENUS_MENUSMANAGER; +$adminmenu[$i]['link'] = "admin/admin_menus.php"; +$i++; +$adminmenu[$i]['title'] = _MI_MYMENUS_MENUMANAGER; +$adminmenu[$i]['link'] = "admin/admin_menu.php"; +$i++; +$adminmenu[$i]['title'] = _MI_MYMENUS_ABOUT; +$adminmenu[$i]['link'] = "admin/admin_about.php"; + + +$mymenus_adminmenu = $adminmenu; + +global $xoopsModule; +if (isset($xoopsModule) && $xoopsModule->getVar('dirname') == basename(dirname(dirname(__FILE__)))) { + $i = 0; + + $mymenus_headermenu[$i]['title'] = _AM_MYMENUS_BLOCKS; + $mymenus_headermenu[$i]['link'] = $GLOBALS['xoops']->url('modules/system/admin.php?fct=blocksadmin&selvis=-1&selmod=-2&selgrp=-1&selgen=' . $xoopsModule->getVar('mid')); + $i++; + + $mymenus_headermenu[$i]['title'] = _PREFERENCES; + $mymenus_headermenu[$i]['link'] = $GLOBALS['xoops']->url('modules/system/admin.php?fct=preferences&op=showmod&mod=' . $xoopsModule->getVar('mid')); + $i++; + + $mymenus_headermenu[$i]['title'] = _AM_MYMENUS_UPDATE_MODULE; + $mymenus_headermenu[$i]['link'] = $GLOBALS['xoops']->url('modules/system/admin.php?fct=modulesadmin&op=update&module=' . $xoopsModule->getVar('dirname')); +} Added: XoopsModules/mymenus/trunk/mymenus/blocks/index.html =================================================================== --- XoopsModules/mymenus/trunk/mymenus/blocks/index.html (rev 0) +++ XoopsModules/mymenus/trunk/mymenus/blocks/index.html 2012-04-03 04:11:01 UTC (rev 9249) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/mymenus/trunk/mymenus/blocks/mymenus_block.php =================================================================== --- XoopsModules/mymenus/trunk/mymenus/blocks/mymenus_block.php (rev 0) +++ XoopsModules/mymenus/trunk/mymenus/blocks/mymenus_block.php 2012-04-03 04:11:01 UTC (rev 9249) @@ -0,0 +1,216 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Mymenus + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: mymenus_block.php 0 2010-07-21 18:47:04Z trabis $ + */ + +defined('XOOPS_ROOT_PATH') or die("XOOPS root path not defined"); + +function mymenus_block_show($options) +{ + $block = array(); + global $xoopsTpl, $xoTheme, $xoopsUser, $xoopsConfig, $xoopsLogger; + $xoopsLogger->startTime('My Menus Block'); + $myts =& MyTextSanitizer::getInstance(); + + include_once $GLOBALS['xoops']->path('modules/mymenus/include/functions.php'); + include_once $GLOBALS['xoops']->path('modules/mymenus/class/registry.php'); + include_once $GLOBALS['xoops']->path('modules/mymenus/class/plugin.php'); + include_once $GLOBALS['xoops']->path('modules/mymenus/class/builder.php'); + + $registry =& MymenusRegistry::getInstance(); + $plugin =& MymenusPlugin::getInstance(); + $plugin->triggerEvent('Boot'); + + $menu_id = $options[0]; + + $this_handler =& xoops_getModuleHandler('menu', 'mymenus'); + + $criteria = new CriteriaCompo(new Criteria('mid', $menu_id)); + $criteria->setSort('weight'); + $criteria->setOrder('ASC'); + //get menus as an array with ids as keys + $menus = $this_handler->getAll($criteria, null, false, false); + unset($criteria); + + foreach ($menus as $key => $menu) { + $registry->setEntry('menu', $menu); + $registry->setEntry('has_access', 'yes'); + $plugin->triggerEvent('HasAccess'); + if ($registry->getEntry('has_access') == 'no') { + unset($menus[$key]); + } + } + + $count = count($menus); + if ($count == 0) return $block; + + foreach ($menus as $key => $menu) { + $registry->setEntry('link_array', $menu); + $plugin->triggerEvent('TitleDecoration'); + $plugin->triggerEvent('AlttitleDecoration'); + $plugin->triggerEvent('LinkDecoration'); + $plugin->triggerEvent('ImageDecoration'); + $menus[$key] = $registry->getEntry('link_array'); + } + + $registry->setEntry('menus', $menus); + $plugin->triggerEvent('End'); + $menus = $registry->getEntry('menus'); + + $builder = new MymenusBuilder($menus); + $block = $builder->render(); + + /*--------------------------------------------------------------*/ + //default files to load + $css = array(); + $js = array(); + + //get extra files from skins + $skin = $options[1]; + $skin_info = mymenus_getSkinInfo($skin, $options[2]); + + if (isset($skin_info['css'])) { + $css = array_merge($css, $skin_info['css']); + } + + if (isset($skin_info['js'])) { + $js = array_merge($js, $skin_info['js']); + + } + + $config = mymenus_getModuleConfig(); + if ($config['assign_method'] == 'xoopstpl') { + $tpl_vars = ''; + foreach ($css as $file) { + $tpl_vars .= "\n" . '<link rel="stylesheet" type="text/css" media="all" href="'. $file . '" />'; + } + + foreach ($js as $file) { + $tpl_vars .= "\n" . '<script type="text/javascript" src="'. $file . '"></script>'; + } + + if (isset($skin_info['header'])) { + $tpl_vars .= "\n" . $skin_info['header']; + } + + $xoopsTpl->assign('xoops_module_header' , $tpl_vars . @$xoopsTpl->get_template_vars("xoops_module_header")); + } else { + foreach ($css as $file) { + $xoTheme->addStylesheet($file); + } + + foreach ($js as $file) { + $xoTheme->addScript($file); + } + + if (isset($skin_info['header'])) { + $xoopsTpl->assign('xoops_footer' , @$xoopsTpl->get_template_vars("xoops_footer") . "\n" . $skin_info['header']); + } + } + + $blockTpl = new XoopsTpl(); + $blockTpl->assign('block', $block); + $blockTpl->assign('config', $skin_info['config']); + $blockTpl->assign('skinurl', $skin_info['url']); + $blockTpl->assign('skinpath', $skin_info['path']); + + $block['content'] = $blockTpl->fetch($skin_info['template']); + + if ($options[3] == 'template') { + $xoopsTpl->assign('xoops_menu_' . $options[4] , $block['content']); + $block = array(); + } + + $registry->unsetAll(); + unset($registry, $plugin); + $xoopsLogger->stopTime('My Menus Block'); + + return $block; +} + +function mymenus_block_edit($options) +{ + //Unique ID + if (!$options[3] || (isset($_GET['op']) && $_GET['op'] == 'clone')) $options[3] = time(); + + $menus_handler =& xoops_getModuleHandler('menus', 'mymenus'); + xoops_loadLanguage('admin', 'mymenus'); + + $criteria = new CriteriaCompo(); + $criteria->setSort('title'); + $criteria->setOrder('ASC'); + $menus = $menus_handler->getList($criteria); + unset($criteria); + + if (count($menus) == 0) { + $form = "<a href='" . $GLOBALS['xoops']->url('modules/mymenus/admin/admin_menus.php') . "'>" . _AM_MYMENUS_MSG_NOMENUS . "</a>"; + return $form; + } + + xoops_load('XoopsFormLoader'); + + //Menu + $form = "<b>" . _MB_MYMENUS_SELECT_MENU . "</b> "; + $element = new XoopsFormSelect('', 'options[0]', $options[0], 1); + $element->addOptionArray($menus); + $form .= $element->render(); + $form .= "</select>\n <i>" . _MB_MYMENUS_SELECT_MENU_DSC . "</i><br /><br />"; + + //Skin + xoops_load('XoopsLists'); + $temp_skins = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . "/modules/mymenus/skins/", ""); + $skins... [truncated message content] |
From: <be...@us...> - 2012-04-03 03:51:59
|
Revision: 9248 http://xoops.svn.sourceforge.net/xoops/?rev=9248&view=rev Author: beckmi Date: 2012-04-03 03:51:50 +0000 (Tue, 03 Apr 2012) Log Message: ----------- Adding Release 1.2 RC - converted to XOOPS 2.5.x ModuleAdmin Modified Paths: -------------- XoopsModules/mysearch/trunk/mysearch/admin/index.php XoopsModules/mysearch/trunk/mysearch/admin/menu.php XoopsModules/mysearch/trunk/mysearch/class/searches.php XoopsModules/mysearch/trunk/mysearch/language/english/modinfo.php XoopsModules/mysearch/trunk/mysearch/xoops_version.php Added Paths: ----------- XoopsModules/mysearch/trunk/mysearch/admin/about.php XoopsModules/mysearch/trunk/mysearch/admin/admin_footer.php XoopsModules/mysearch/trunk/mysearch/admin/admin_header.php XoopsModules/mysearch/trunk/mysearch/admin/main.php XoopsModules/mysearch/trunk/mysearch/docs/ XoopsModules/mysearch/trunk/mysearch/docs/changelog.txt XoopsModules/mysearch/trunk/mysearch/docs/credits.txt XoopsModules/mysearch/trunk/mysearch/docs/index.html XoopsModules/mysearch/trunk/mysearch/docs/install.txt XoopsModules/mysearch/trunk/mysearch/docs/lang_diff.txt XoopsModules/mysearch/trunk/mysearch/docs/licence.txt XoopsModules/mysearch/trunk/mysearch/docs/readme.txt XoopsModules/mysearch/trunk/mysearch/language/english/help/ XoopsModules/mysearch/trunk/mysearch/language/english/help/help.html XoopsModules/mysearch/trunk/mysearch/language/english/help/index.html Removed Paths: ------------- XoopsModules/mysearch/trunk/mysearch/changelog.txt XoopsModules/mysearch/trunk/mysearch/licence.txt XoopsModules/mysearch/trunk/mysearch/readme.txt Added: XoopsModules/mysearch/trunk/mysearch/admin/about.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/admin/about.php (rev 0) +++ XoopsModules/mysearch/trunk/mysearch/admin/about.php 2012-04-03 03:51:50 UTC (rev 9248) @@ -0,0 +1,31 @@ +<?php +/** + * XOOPS Profile module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project (http://www.xoops.org) + * @license GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html/) + * @package xoopsPoll + * @since 2.5.0 + * @author Mage, Mamba + * @version $Id $ + **/ + +include '../../../include/cp_header.php'; +include 'admin_header.php'; +xoops_cp_header(); + +$module_info =& $module_handler->get($xoopsModule->getVar("mid")); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); + +include 'admin_footer.php'; \ No newline at end of file Added: XoopsModules/mysearch/trunk/mysearch/admin/admin_footer.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/admin/admin_footer.php (rev 0) +++ XoopsModules/mysearch/trunk/mysearch/admin/admin_footer.php 2012-04-03 03:51:50 UTC (rev 9248) @@ -0,0 +1,26 @@ +<?php +/** + * MySearch 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 http://www.fsf.org/copyleft/gpl.html GNU public license + * @package mysearch + * @since 1.2.0 + * @author XOOPS Module Team + * @version $Id $ +**/ +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/mysearch/trunk/mysearch/admin/admin_header.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/admin/admin_header.php (rev 0) +++ XoopsModules/mysearch/trunk/mysearch/admin/admin_header.php 2012-04-03 03:51:50 UTC (rev 9248) @@ -0,0 +1,28 @@ +<?php + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +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'); + +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + }else{ + redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); + } \ No newline at end of file Modified: XoopsModules/mysearch/trunk/mysearch/admin/index.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/admin/index.php 2012-04-03 03:49:37 UTC (rev 9247) +++ XoopsModules/mysearch/trunk/mysearch/admin/index.php 2012-04-03 03:51:50 UTC (rev 9248) @@ -1,9 +1,10 @@ <?php +// $Id: index.php 8066 2011-11-06 05:09:33Z beckmi $ // ------------------------------------------------------------------------ // -// mysearch - MODULE FOR XOOPS 2 // -// Copyright (c) 2005-2006 Instant Zero // -// <http://xoops.instant-zero.com/> // -// ------------------------------------------------------------------------- // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // // This program is free software; you can redistribute it and/or modify // // it under the terms of the GNU General Public License as published by // // the Free Software Foundation; either version 2 of the License, or // @@ -23,698 +24,30 @@ // along with this program; if not, write to the Free Software // // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // +// Author: Raul Recio (AKA UNFOR) // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // -include_once '../../../include/cp_header.php'; -include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; -include_once XOOPS_ROOT_PATH.'/modules/mysearch/admin/functions.php'; -include_once XOOPS_ROOT_PATH.'/modules/mysearch/include/functions.php'; +include_once 'admin_header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +//----------------------- +// $xpPartnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname')); -if (file_exists(XOOPS_ROOT_PATH.'/modules/mysearch/language/' . $xoopsConfig['language'] . '/main.php')) { - include_once XOOPS_ROOT_PATH.'/modules/mysearch/language/' . $xoopsConfig['language'] . '/main.php'; -} else { - include_once XOOPS_ROOT_PATH.'/modules/mysearch/language/english/main.php'; -} +// $totalPartners = $xpPartnerHandler->getCount(); +// $totalNonActivePartners = $xpPartnerHandler->getCount(new Criteria('status', 0, '=')); +// $totalActivePartners = $totalPartners - $totalNonActivePartners; -/** - * Module's parameters - */ -$keywords_count = mysearch_getmoduleoption('admincount'); +// $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>"); +//---------------------------- -// ********************************************************************************************************************************************** -// **** Main -// ********************************************************************************************************************************************** -$op = 'default'; -if(isset($_POST['op'])) { - $op = $_POST['op']; -} elseif(isset($_GET['op'])) { - $op = $_GET['op']; -} -$mysearch_handler =& xoops_getmodulehandler('searches', 'mysearch'); -$myts =& MyTextSanitizer::getInstance(); +echo $indexAdmin->addNavigation('index.php'); +echo $indexAdmin->renderIndex(); -switch ($op) { - /** - * Remove datas by keyword or by date - */ - case 'purge': - include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; - xoops_cp_header(); - mysearch_adminmenu(1); - echo '<br />'; - $sform = new XoopsThemeForm(_AM_MYSEARCH_PRUNE, 'pruneform', XOOPS_URL.'/modules/mysearch/admin/index.php', 'post'); - $sform->addElement(new XoopsFormTextDateSelect(_AM_MYSEARCH_PRUNE_DATE, 'prune_date',15,time()), false); - $sform->addElement(new XoopsFormText(_AM_MYSEARCH_PRUNE_KEYONLY, 'keyword', 50, 255, ''), false); - $sform->addElement(new XoopsFormText(_AM_MYSEARCH_IP, 'ip', 20, 255, ''), false); - $sform->addElement(new XoopsFormHidden('op', 'ConfirmBeforeToPrune'), false); - $button_tray = new XoopsFormElementTray(_AM_MYSEARCH_PRUNE_DESC ,''); - $submit_btn = new XoopsFormButton('', 'post', _SUBMIT, 'submit'); - $button_tray->addElement($submit_btn); - $sform->addElement($button_tray); - $sform->display(); - echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; - break; - - - /** - * Ask a confirmation before to remove keywords - */ - case 'ConfirmBeforeToPrune': - xoops_cp_header(); - mysearch_adminmenu(1); - echo '<br />'; - $criteria = new CriteriaCompo(); - - $date=''; - $timestamp=0; - $keyword=''; - $ip = ''; - - if(isset($_POST['prune_date']) && xoops_trim($_POST['prune_date'])!='') { - $date=$_POST['prune_date']; - $timestamp=mktime(0,0,0,intval(substr($date,5,2)), intval(substr($date,8,2)), intval(substr($date,0,4))); - $date=date('Y-m-d',$timestamp); - $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $date,'<=')); - } - if(isset($_POST['keyword']) && xoops_trim($_POST['keyword'])!='') { - $keyword = $_POST['keyword']; - $criteria->add(new Criteria('keyword', $myts->addSlashes($_POST['keyword']),'=')); - } - if(isset($_POST['ip']) && xoops_trim($_POST['ip'])!='') { - $ip = isset($_POST['ip']) ? $_POST['ip'] : ''; - $criteria->add(new Criteria('ip', $myts->addSlashes($_POST['ip']),'=')); - } - $count=0; - $count=$mysearch_handler->getCount($criteria); - if($count>0) { - $msg=sprintf(_AM_MYSEARCH_PRUNE_CONFIRM,$count); - xoops_confirm(array( 'op' => 'pruneKeywords', 'keyword' => $keyword, 'prune_date' => $timestamp, 'ip' => $ip,'ok' => 1), 'index.php', $msg); - } else { - printf(_AM_MYSEARCH_NOTHING_PRUNE); - } - echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; - break; - - - /** - * Effectively delete keywords - */ - case 'pruneKeywords': - $timestamp = 0; - $keyword = ''; - $ip = ''; - $criteria = new CriteriaCompo(); - - if(isset($_POST['prune_date']) && intval($_POST['prune_date'])!=0) { - $timestamp=$_POST['prune_date']; - $date=date('Y-m-d',$timestamp); - $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $date,'<=')); - } - if(isset($_POST['keyword']) && xoops_trim($_POST['keyword'])!='') { - $keyword = $_POST['keyword']; - $criteria->add(new Criteria('keyword', $myts->addSlashes($_POST['keyword']),'=')); - } - if(isset($_POST['ip']) && xoops_trim($_POST['ip'])!='') { - $ip = isset($_POST['ip']) ? $_POST['ip'] : ''; - $criteria->add(new Criteria('ip', $myts->addSlashes($_POST['ip']),'=')); - } - - if(intval($_POST['ok'])==1) { - xoops_cp_header(); - $mysearch_handler->deleteAll($criteria); - redirect_header('index.php?op=purge', 2, _AM_MYSEARCH_DBUPDATED); - } - break; - - - /** - * Remove a keyword from the database (directly called from the statistics part) - */ - case 'removekeyword': - xoops_cp_header(); - if(intval($_GET['id'])!=0) { - $tmp_search = $mysearch_handler->get(intval($_GET['id'])); - if(is_object($tmp_search)) { - $critere = new Criteria('keyword', $tmp_search->getVar('keyword'),'='); - $mysearch_handler->deleteAll($critere); - } - unset($tmp_search); - } - redirect_header('index.php', 2, _AM_MYSEARCH_DBUPDATED); - break; - - - /** - * Export datas to a pure text file - */ - case 'export': - xoops_cp_header(); - mysearch_adminmenu(2); - echo '<br />'; - include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; - $min=$max=''; - $mint=$maxt=0; - $mysearch_handler->getMinMaxDate($min,$max); - $mint=strtotime($min); - $maxt=strtotime($max); - - $sform = new XoopsThemeForm(_AM_MYSEARCH_EXPORT, 'exportform', XOOPS_URL.'/modules/mysearch/admin/index.php', 'post'); - $dates_tray = new XoopsFormElementTray(_AM_MYSEARCH_EXPORT_BETWEEN); - $date1 = new XoopsFormTextDateSelect('', 'date1',15,$mint); - $date2 = new XoopsFormTextDateSelect(_AM_MYSEARCH_EXPORT_AND, 'date2',15,$maxt); - $dates_tray->addElement($date1); - $dates_tray->addElement($date2); - $sform->addElement($dates_tray,false); - $sform->addElement(new XoopsFormSelectUser(_AM_MYSEARCH_USER,'user',true,'',5,true),false); - $sform->addElement(new XoopsFormText(_AM_MYSEARCH_KEYWORD, 'keyword', 50, 255, ''), false); - $sform->addElement(new XoopsFormText(_AM_MYSEARCH_IP, 'ip', 10, 32, ''), false); - $sform->addElement(new XoopsFormText(_AM_MYSEARCH_DATE_FORMAT, 'dateformat', 15, 255, _SHORTDATESTRING), true); - $sform->addElement(new XoopsFormText(_AM_MYSEARCH_DELIMITER, 'delimiter', 2, 255, ';'), true); - $sform->addElement(new XoopsFormHidden('op', 'SearchExport'), false); - $button_tray = new XoopsFormElementTray('' ,''); - $submit_btn = new XoopsFormButton('', 'post', _SUBMIT, 'submit'); - $button_tray->addElement($submit_btn); - $sform->addElement($button_tray); - $sform->display(); - echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; - break; - - - /** - * Lauch the export - */ - case 'SearchExport': - xoops_cp_header(); - mysearch_adminmenu(2); - $criteria = new CriteriaCompo(); - $dateformat = isset($_POST['dateformat']) ? $_POST['dateformat'] : ''; - $delimiter = isset($_POST['delimiter']) ? $_POST['delimiter'] : ';'; - $searchfile=XOOPS_ROOT_PATH.'/uploads/mysearch_keywords.txt'; - $searchfile2 =XOOPS_URL.'/uploads/mysearch_keywords.txt'; - $tbl=array(); - - if(isset($_POST['date1']) && isset($_POST['date2'])) { - $startdate=date('Y-m-d',strtotime($_POST['date1'])); - $enddate=date('Y-m-d',strtotime($_POST['date2'])); - $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $startdate,'>=')); - $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $enddate,'<=')); - } - if(isset($_POST['user']) && xoops_trim($_POST['user'])!='') { - $criteria->add(new Criteria('uid', '('.implode(',', $_POST['user']).')','IN')); - } - if(isset($_POST['keyword']) && xoops_trim($_POST['keyword'])!='') { - $criteria->add(new Criteria('keyword', $myts->addSlashes($_POST['keyword']),'=')); - } - if(isset($_POST['ip']) && xoops_trim($_POST['ip'])!='') { - $criteria->add(new Criteria('ip', $myts->addSlashes($_POST['ip']),'=')); - } - $criteria->setSort('datesearch'); - $criteria->setOrder('desc'); - - $tbl=$mysearch_handler->getObjects($criteria); - if(count($tbl)>0) { - $fp = fopen($searchfile,'w'); - if(!$fp) { - redirect_header('index.php',4,sprintf(_AM_MYSEARCH_EXPORT_ERROR,$searchfile)); - } - $tmpmysearch = new searches(); - fwrite($fp,'id'.$delimiter.'date'.$delimiter.'keyword'.$delimiter.'uid'.$delimiter.'uname'.$delimiter.'ip'."\r\n"); - foreach($tbl as $onesearch) { - fwrite($fp,$onesearch->getVar('mysearchid').$delimiter.formatTimestamp(strtotime($onesearch->getVar('datesearch'))).$delimiter.$onesearch->getVar('keyword').$delimiter.$onesearch->getVar('uid').$delimiter.$tmpmysearch->uname($onesearch->getVar('uid')).$delimiter.$onesearch->getVar('ip')."\r\n"); - } - fclose($fp); - printf(_AM_MYSEARCH_EXPORT_READY,$searchfile2,XOOPS_URL.'/modules/mysearch/admin/index.php?op=deletefile'); - } else { - echo _AM_MYSEARCH_NOTHING_TO_EXPORT; - } - echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; - break; - - - /** - * Delete the exported file - */ - case 'deletefile': - xoops_cp_header(); - $statfile=XOOPS_ROOT_PATH.'/uploads/mysearch_keywords.txt'; - if(unlink($statfile)) { - redirect_header('index.php', 2, _AM_MYSEARCH_DELETED_OK); - } else { - redirect_header('index.php', 2, _AM_MYSEARCH_DELETED_PB); - } - break; - - - /** - * Blacklist manager - */ - case 'blacklist': - xoops_cp_header(); - mysearch_adminmenu(3); - include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; - include_once XOOPS_ROOT_PATH.'/modules/mysearch/class/blacklist.php'; - echo '<h3>'._AM_MYSEARCH_BLACKLIST.'</h3>'; - $sform = new XoopsThemeForm(_AM_MYSEARCH_BLACKLIST, 'MetagenBlackList', XOOPS_URL.'/modules/mysearch/admin/index.php', 'post'); - $sform->addElement(new XoopsFormHidden('op', 'MetagenBlackList'), false); - - // Remove words - $remove_tray = new XoopsFormElementTray(_AM_MYSEARCH_BLACKLIST); - $remove_tray->setDescription(_AM_MYSEARCH_BLACKLIST_DESC); - $blacklist=new XoopsFormSelect('', 'blacklist','',5,true); - $words=array(); - $metablack = new mysearch_blacklist(); - $words=$metablack->getAllKeywords(); - if(is_array($words) && count($words)>0) { - foreach ($words as $key => $value) { - $blacklist->addOption($key,$value); - } - } - $blacklist->setDescription(_AM_MYSEARCH_BLACKLIST_DESC); - $remove_tray->addElement($blacklist,false); - $remove_btn = new XoopsFormButton('', 'go', _AM_MYSEARCH_DELETE, 'submit'); - $remove_tray->addElement($remove_btn,false); - $sform->addElement($remove_tray); - - // Add some words - $add_tray = new XoopsFormElementTray(_AM_MYSEARCH_BLACKLIST_ADD); - $add_tray->setDescription(_AM_MYSEARCH_BLACKLIST_ADD_DSC); - $add_field = new XoopsFormTextArea('', 'keywords', '', 5, 70); - $add_tray->addElement($add_field,false); - $add_btn = new XoopsFormButton('', 'go', _AM_MYSEARCH_BLACKLIST_ADD, 'submit'); - $add_tray->addElement($add_btn,false); - $sform->addElement($add_tray); - $sform->display(); - echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; - break; - - - /** - * Add a word in the blacklist - */ - case 'addblacklist': - include_once XOOPS_ROOT_PATH.'/modules/mysearch/class/blacklist.php'; - if(intval($_GET['id'])!=0) { - $tmp_search = $mysearch_handler->get(intval($_GET['id'])); - if(is_object($tmp_search)) { - $keyword = $tmp_search->getVar('keyword'); - $blacklist = new mysearch_blacklist(); - $keywords=$blacklist->getAllKeywords(); - $blacklist->addkeywords($keyword); - $blacklist->store(); - } - } - redirect_header('index.php?op=stats', 2, _AM_MYSEARCH_DBUPDATED); - break; - - - /** - * Actions on the blacklist (add or remove keyword(s)) - */ - case 'MetagenBlackList': - include_once XOOPS_ROOT_PATH.'/modules/mysearch/class/blacklist.php'; - $blacklist = new mysearch_blacklist(); - $keywords=$blacklist->getAllKeywords(); - - if(isset($_POST['go']) && $_POST['go']==_AM_MYSEARCH_DELETE) { - foreach($_POST['blacklist'] as $black_id) { - $blacklist->delete($black_id); - } - $blacklist->store(); - } else { - if(isset($_POST['go']) && $_POST['go']==_AM_MYSEARCH_BLACKLIST_ADD) { - $p_keywords = $_POST['keywords']; - $keywords = explode("\n",$p_keywords); - foreach($keywords as $keyword) { - if(xoops_trim($keyword)!='') { - $blacklist->addkeywords(xoops_trim($keyword)); - } - } - $blacklist->store(); - } - } - redirect_header('index.php?op=blacklist', 2, _AM_MYSEARCH_DBUPDATED); - break; - - - /** - * Remove content based on the IP - */ - case 'removeip': - xoops_cp_header(); - if(intval($_GET['id'])!=0) { - $tmp_search = $mysearch_handler->get(intval($_GET['id'])); - if(is_object($tmp_search)) { - $critere = new Criteria('ip', $tmp_search->getVar('ip'),'='); - $mysearch_handler->deleteAll($critere); - } - unset($tmp_search); - } - redirect_header('index.php', 2, _AM_MYSEARCH_DBUPDATED); - break; - - /** - * Show credits - */ - case 'about': - xoops_cp_header(); - mysearch_adminmenu(4); - $module_handler =& xoops_gethandler('module'); - $module=& $module_handler->getByDirname('mysearch'); - - echo "<br style='clear: both;' /> -<img src='".XOOPS_URL."/modules/".$module->getInfo("dirname")."/".$module->getInfo("image")."' alt='Yogurt' style='float: left; margin-right: 10px;'/></a> -<div style='margin-top: 1px; color: #33538e; margin-bottom: 4px; font-size: 18px; line-height: 18px; font-weight: bold;'> - ".$module->getInfo("name")." ".$module->getInfo("version")."</div> - -<div style='line-height: 16px; font-weight: bold;'> - "._AM_MYSEARCH_BY." ".$module->getInfo("author")." -</div> - -<div style = 'line-height: 16px; '> - ".$module->getInfo("license")." - -</div> -<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer' style='margin-top: 15px;'> - <tr> - <td class='bg3'><b>"._AM_MYSEARCH_DESC."</b></td> - </tr> - - <tr> - <td class='even'>".$module->getInfo("description")."</td> - </tr> -</table> - <table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer' style='margin-top: 15px;'> - <tr> - <td class='bg3'><b>"._AM_MYSEARCH_CREDITS."</b></td> - </tr> - - <tr> - <td class='even'>".$module->getInfo("credits")."</td> - - </tr> - </table> - -<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer' style='margin-top: 15px;'> - <tr> - <td colspan='2' class='bg3'> - <b>"._AM_MYSEARCH_CONTRIBUTORS."</b> - </td> - </tr> - - - - <tr> - <td class='head' style='vertical-align: top;' width = '150px'>"._AM_MYSEARCH_DEVELOPERS."</td> - <td class='even'> - <div> - "; - - $people = $module->getInfo("people"); - - $developers = $people['developers']; - foreach ($developers as $developer){ - echo $developer." "; - } - - echo "</div> - </td> - </tr> - - <tr> - - <td class='head' style='vertical-align: top;' width = '150px'>"._AM_MYSEARCH_TESTERS."</td> - <td class='even'> - <div> - "; - - $testers = $people['testers']; - foreach ($testers as $tester){ - echo $tester." "; - } - - echo "</div> - </td> - </tr> - - - - - <tr> - <td class='head' width = '150px'>"._AM_MYSEARCH_TRANSLATIONS."</td> - - <td class='even'> - "; - - $translators = $people['translators']; - foreach ($translators as $translator){ - echo $translator." "; - } - - echo "</td> - </tr> - - <tr> - <td class='head' width = '150px'>"._AM_MYSEARCH_EMAIL."</td> - <td class='even'><a href='mailto:".$module->getInfo("developer_email")."' target='_blank'>".$module->getInfo("developer_email")."</a></td> - </tr> -</table> - -<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer' style='margin-top: 15px;'> - <tr> - <td colspan='2' class='bg3'><b>"._AM_MYSEARCH_MODDEVDET."</b></td> - </tr> - - <tr> - <td class='head' width = '200px'>"._AM_MYSEARCH_RELEASEDATE."</td> - <td class='even'>".$module->getInfo("date")."</td> - - </tr> - - <tr> - <td class='head' width = '200px'>"._AM_MYSEARCH_STATUS."</td> - <td class='even'>".$module->getInfo("status")."</td> - </tr> - - - <tr> - <td class='head' width = '200px'>"._AM_MYSEARCH_OFCSUPORTSITE."</td> - - <td class='even'><a href='".$module->getInfo("support_site_url")."' target='_blank'>".$module->getInfo("support_site_url")."</a></td> - </tr> - - -</table> -"; - break; - - - /** - * Default action, show statistics about keywords, users and many other things - */ - case 'stats': - default: - xoops_cp_header(); - mysearch_adminmenu(0); - - // Last x words (according to the module's option 'admincount') *************************************************************************************** - $start = 0; - $more_parameter = 'op=stats'; - if(isset($_GET['start1'])) { - $start = intval($_GET['start1']); - } elseif(isset($_SESSION['start1'])) { - $start=intval($_SESSION['start1']); - } - $_SESSION['start1']=$start; - $s_keyword = $s_uid = $s_ip = ''; - if(isset($_POST['s_keyword'])) { - $s_keyword = $_POST['s_keyword']; - } elseif(isset($_GET['s_keyword'])) { - $s_keyword = $_GET['s_keyword']; - } - - if(isset($_POST['s_uid'])) { - $s_uid = $_POST['s_uid']; - } elseif(isset($_GET['s_uid'])) { - $s_uid = $_GET['s_uid']; - } - - if(isset($_POST['s_ip'])) { - $s_ip = $_POST['s_ip']; - } elseif(isset($_GET['s_ip'])) { - $s_ip = $_GET['s_ip']; - } - - $critere = new CriteriaCompo(); - if($s_keyword != '') { - $critere->add(new Criteria('keyword', $s_keyword,'LIKE')); - $more_parameter .= '&s_keyword='.$s_keyword; - } - - if($s_uid != '') { - if(!is_numeric($s_uid)) { - $member_handler =& xoops_gethandler('member'); - $crituser = new Criteria('uname', $s_uid,'LIKE'); - $tbl_users = array(); - $tbl_users = $member_handler->getUsers($crituser); - if(count($tbl_users)>0) { - $tbl_users2 = array(); - foreach($tbl_users as $one_user) { - $tbl_users2[] = $one_user->getvar('uid'); - } - } - $users_list = '('.implode(',',$tbl_users2).')'; - $critere->add(new Criteria('uid', $users_list,'IN')); - } else { - $s_uid = intval($s_uid); - $critere->add(new Criteria('uid', $s_uid,'=')); - } - $more_parameter .= '&s_uid='.$s_uid; - } - - if($s_ip != '') { - $critere->add(new Criteria('ip', $s_ip,'LIKE')); - $more_parameter .= '&s_ip='.$s_ip; - } - $critere->setSort('datesearch'); - $critere->setLimit($keywords_count); - $critere->setStart($start); - $critere->setOrder('DESC'); - - // Total count of keywords - $totalcount=$mysearch_handler->getCount($critere); - echo '<h3>'.sprintf(_AM_MYSEARCH_STATS,$totalcount).'</h3>'; - - $pagenav = new XoopsPageNav( $totalcount, $keywords_count, $start, 'start1', $more_parameter); - $elements = $mysearch_handler->getObjects($critere); - mysearch_collapsableBar('keywordscount', 'keywordscounticon'); - echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='keywordscounticon' name='keywordscounticon' src=" . XOOPS_URL . "/modules/mysearch/images/close12.gif alt='' /></a> "._AM_MYSEARCH_KEYWORDS."</h4>"; - echo "<div id='keywordscount'>"; - echo '<br />'; - echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; - echo "<tr><th align='center'>"._AM_MYSEARCH_ID."</th><th align='center'>"._AM_MYSEARCH_KEYWORD."</th><th align='center'>"._AM_MYSEARCH_DATE."</th><th align='center'>"._AM_MYSEARCH_USER."</th><th align='center'>"._AM_MYSEARCH_IP."</th><th align='center'>"._AM_MYSEARCH_ACTION."</th></tr>"; - $class=''; - foreach($elements as $oneelement) { - $class = ($class == 'even') ? 'odd' : 'even'; - $link1 = "<a href='".XOOPS_URL.'/search.php?query='.$oneelement->getVar('keyword')."&action=results' target='_blank'>".$oneelement->getVar('keyword')."</a>"; - $link2 = "<a href='".XOOPS_URL."/userinfo.php?uid=".$oneelement->getVar('uid')."'>".$oneelement->uname()."</a>"; - $action_del = "<a ".mysearch_JavascriptLinkConfirm(_AM_MYSEARCH_AREYOUSURE)." href='index.php?op=removekeyword&id=".$oneelement->getVar('mysearchid')."' title='"._AM_MYSEARCH_DELETE."'><img src='../images/delete.png' border='0' alt='"._AM_MYSEARCH_DELETE."'></a>"; - $action_black = "<a ".mysearch_JavascriptLinkConfirm(_AM_MYSEARCH_AREYOUSURE)." href='index.php?op=addblacklist&id=".$oneelement->getVar('mysearchid')."' title='"._AM_MYSEARCH_BLACKLIST."'><img src='../images/list.png' border='0' alt='"._AM_MYSEARCH_BLACKLIST."'></a>"; - $action_remove_ip = "<a ".mysearch_JavascriptLinkConfirm(_AM_MYSEARCH_AREYOUSURE)." href='index.php?op=removeip&id=".$oneelement->getVar('mysearchid')."' title='"._AM_MYSEARCH_IP."'><img src='../images/ip.png' border='0' alt='"._AM_MYSEARCH_IP."'></a>"; - echo "<tr class='".$class."'><td align='center'>" . $oneelement->getVar('mysearchid')."</td><td align='center'>" . $link1 . "</td><td align='center'>".formatTimestamp(strtotime($oneelement->getVar('datesearch')))."</td><td align='center'>".$link2."</td><td align='center'>".$oneelement->getVar('ip')."</td><td align='center'>".$action_del.' '.$action_black.' '.$action_remove_ip.'</td></tr>'; - } - echo "<tr><form method='post' action='index.php'><th align='center'>"._AM_MYSEARCH_FILTER_BY."</th><th align='center'><input type='text' name='s_keyword' value='".$s_keyword."' size='10' /></th><th align='center'></th><th align='center'><input type='text' name='s_uid' value='".$s_uid."' size='10' /></th><th align='center'><input type='text' name='s_ip' value='".$s_ip."' size='10' /></th><th align='center'><input type='submit' name='btngo_filter' value='"._GO."' /></th></form></tr>"; - echo "</table><div align='right'>".$pagenav->renderNav().'</div></div><br />'; - - - // Most searched words ******************************************************************************************************************************** - $start = 0; - if(isset($_GET['start2'])) { - $start = intval($_GET['start2']); - } elseif(isset($_SESSION['start2'])) { - $start=intval($_SESSION['start2']); - } - $_SESSION['start2']=$start; - - $pagenav = new XoopsPageNav($mysearch_handler->getMostSearchedCount(), $keywords_count, $start, 'start2', 'op=stats'); - $elements = $mysearch_handler->getMostSearched($start,$keywords_count); - mysearch_collapsableBar('mostsearch', 'mostsearchicon'); - echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='mostsearchicon' name='mostsearchicon' src=" . XOOPS_URL . "/modules/mysearch/images/close12.gif alt='' /></a> "._AM_MYSEARCH_MOST_SEARCH."</h4>"; - echo "<div id='mostsearch'>"; - echo '<br />'; - echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; - echo "<tr><th align='center'>"._AM_MYSEARCH_HITS."</th><th align='center'>"._AM_MYSEARCH_KEYWORD."</th><th align='center'>"._AM_MYSEARCH_ACTION."</th></tr>"; - $class=''; - foreach($elements as $onekeyword_id => $onekeyword_datas) { - $onekeyword = $onekeyword_datas['keyword']; - $onekeywordcount = $onekeyword_datas['count']; - $class = ($class == 'even') ? 'odd' : 'even'; - $link1 = "<a href='".XOOPS_URL.'/search.php?query='.$onekeyword."&action=results' target='_blank'>".$onekeyword."</a>"; - $action_del = "<a ".mysearch_JavascriptLinkConfirm(_AM_MYSEARCH_AREYOUSURE)." href='index.php?op=removekeyword&id=".$onekeyword_id."' title='"._AM_MYSEARCH_DELETE."'><img src='../images/delete.png' border='0' alt='"._AM_MYSEARCH_DELETE."' /></a>"; - $action_black = "<a ".mysearch_JavascriptLinkConfirm(_AM_MYSEARCH_AREYOUSURE)." href='index.php?op=addblacklist&id=".$onekeyword_id."' title='"._AM_MYSEARCH_BLACKLIST."'><img src='../images/list.png' border='0' alt='"._AM_MYSEARCH_BLACKLIST."' /></a>"; - echo "<tr class='".$class."'><td align='center'>" . $onekeywordcount."</td><td align='center'>" . $link1 . "</td><td align='center'>".$action_del.' '.$action_black."</td></tr>"; - } - echo "</table><div align='right'>".$pagenav->renderNav().'</div></div><br />'; - - // Biggest users of the search ************************************************************************************************************************ - $tmpmysearch = new searches(); - $start = 0; - if(isset($_GET['start3'])) { - $start = intval($_GET['start3']); - } elseif(isset($_SESSION['start3'])) { - $start=intval($_SESSION['start3']); - } - $_SESSION['start3']=$start; - - $pagenav = new XoopsPageNav($mysearch_handler->getBiggestContributorsCount(), $keywords_count, $start, 'start3', 'op=stats'); - $elements = $mysearch_handler->getBiggestContributors($start,$keywords_count); - mysearch_collapsableBar('bigcontribut', 'bigcontributicon'); - echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='bigcontributicon' name='bigcontributicon' src=" . XOOPS_URL . "/modules/mysearch/images/close12.gif alt='' /></a> "._AM_MYSEARCH_BIGGEST_USERS."</h4>"; - echo "<div id='bigcontribut'>"; - echo '<br />'; - echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; - echo "<tr><th align='center'>"._AM_MYSEARCH_USER."</th><th align='center'>"._AM_MYSEARCH_HITS."</th></tr>"; - $class=''; - foreach($elements as $oneuser => $onecount) { - $class = ($class == 'even') ? 'odd' : 'even'; - $link1 = "<a href='".XOOPS_URL."/userinfo.php?uid=".$oneuser."'>".$tmpmysearch->uname($oneuser)."</a>"; - echo "<tr class='".$class."'><td align='center'>" . $link1."</td><td align='center'>" .$onecount. "</td></tr>"; - } - echo "</table><div align='right'>".$pagenav->renderNav().'</div></div><br />'; - - // daily stats **************************************************************************************************************************************** - $start = 0; - if(isset($_GET['start4'])) { - $start = intval($_GET['start4']); - } elseif(isset($_SESSION['start4'])) { - $start=intval($_SESSION['start4']); - } - $_SESSION['start4']=$start; - $pagenav = new XoopsPageNav($mysearch_handler->getUniqueDaysCount(), $keywords_count, $start, 'start4', 'op=stats'); - $elements = $mysearch_handler->GetCountPerDay($start,$keywords_count); - mysearch_collapsableBar('daystat', 'daystaticon'); - echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='daystaticon' name='daystaticon' src=" . XOOPS_URL . "/modules/mysearch/images/close12.gif alt='' /></a> "._AM_MYSEARCH_DAY_STATS."</h4>"; - echo "<div id='daystat'>"; - echo '<br />'; - echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; - echo "<tr><th align='center'>"._AM_MYSEARCH_DATE."</th><th align='center'>"._AM_MYSEARCH_USE."</th></tr>"; - $class=''; - foreach($elements as $onedate => $onecount) { - $class = ($class == 'even') ? 'odd' : 'even'; - $datefordisplay=formatTimestamp(strtotime($onedate),'s'); - echo "<tr class='".$class."'><td align='center'>" . $datefordisplay."</td><td align='center'>" .$onecount. "</td></tr>"; - } - echo "</table><div align='right'>".$pagenav->renderNav().'</div></div><br />'; - - // IP stats ******************************************************************************************************************************************* - $start = 0; - if(isset($_GET['start4'])) { - $start = intval($_GET['start4']); - } elseif(isset($_SESSION['start4'])) { - $start=intval($_SESSION['start4']); - } - $_SESSION['start4']=$start; - - $pagenav = new XoopsPageNav($mysearch_handler->getIPsCount(), $keywords_count, $start, 'start4', 'op=stats'); - $elements = $mysearch_handler->getIPs($start,$keywords_count); - mysearch_collapsableBar('ipcount', 'ipcounticon'); - echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='ipcounticon' name='ipcounticon' src=" . XOOPS_URL . "/modules/mysearch/images/close12.gif alt='' /></a> "._AM_MYSEARCH_IP."</h4>"; - echo "<div id='ipcount'>"; - echo '<br />'; - echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; - echo "<tr><th align='center'>"._AM_MYSEARCH_IP."</th><th align='center'>"._AM_MYSEARCH_HITS."</th></tr>"; - $class=''; - foreach($elements as $oneip => $onecount) { - $class = ($class == 'even') ? 'odd' : 'even'; - echo "<tr class='".$class."'><td align='center'>" .$oneip."</td><td align='center'>" .$onecount. "</td></tr>"; - } - echo "</table><div align='right'>".$pagenav->renderNav().'</div></div><br />'; - - - - echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; - break; -} -xoops_cp_footer(); -?> - +include 'admin_footer.php'; +//xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/mysearch/trunk/mysearch/admin/main.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/admin/main.php (rev 0) +++ XoopsModules/mysearch/trunk/mysearch/admin/main.php 2012-04-03 03:51:50 UTC (rev 9248) @@ -0,0 +1,583 @@ +<?php +// ------------------------------------------------------------------------ // +// mysearch - MODULE FOR XOOPS 2 // +// Copyright (c) 2005-2006 Instant Zero // +// <http://xoops.instant-zero.com/> // +// ------------------------------------------------------------------------- // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +include_once '../../../include/cp_header.php'; +include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; +include_once XOOPS_ROOT_PATH.'/modules/mysearch/admin/functions.php'; +include_once XOOPS_ROOT_PATH.'/modules/mysearch/include/functions.php'; +include_once 'admin_header.php'; +$indexAdmin = new ModuleAdmin(); + + +if (file_exists(XOOPS_ROOT_PATH.'/modules/mysearch/language/' . $xoopsConfig['language'] . '/main.php')) { + include_once XOOPS_ROOT_PATH.'/modules/mysearch/language/' . $xoopsConfig['language'] . '/main.php'; +} else { + include_once XOOPS_ROOT_PATH.'/modules/mysearch/language/english/main.php'; +} + +/** + * Module's parameters + */ +$keywords_count = mysearch_getmoduleoption('admincount'); + + +// ********************************************************************************************************************************************** +// **** Main +// ********************************************************************************************************************************************** +$op = 'default'; +if(isset($_POST['op'])) { + $op = $_POST['op']; +} elseif(isset($_GET['op'])) { + $op = $_GET['op']; +} +$mysearch_handler =& xoops_getmodulehandler('searches', 'mysearch'); +$myts =& MyTextSanitizer::getInstance(); + +switch ($op) { + /** + * Remove datas by keyword or by date + */ + case 'purge': + include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; + xoops_cp_header(); + echo $indexAdmin->addNavigation('main.php?op=purge'); + //mysearch_adminmenu(1); + echo '<br />'; + $sform = new XoopsThemeForm(_AM_MYSEARCH_PRUNE, 'pruneform', XOOPS_URL.'/modules/mysearch/admin/index.php', 'post'); + $sform->addElement(new XoopsFormTextDateSelect(_AM_MYSEARCH_PRUNE_DATE, 'prune_date',15,time()), false); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_PRUNE_KEYONLY, 'keyword', 50, 255, ''), false); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_IP, 'ip', 20, 255, ''), false); + $sform->addElement(new XoopsFormHidden('op', 'ConfirmBeforeToPrune'), false); + $button_tray = new XoopsFormElementTray(_AM_MYSEARCH_PRUNE_DESC ,''); + $submit_btn = new XoopsFormButton('', 'post', _SUBMIT, 'submit'); + $button_tray->addElement($submit_btn); + $sform->addElement($button_tray); + $sform->display(); + break; + + + /** + * Ask a confirmation before to remove keywords + */ + case 'ConfirmBeforeToPrune': + xoops_cp_header(); + //mysearch_adminmenu(1); + echo '<br />'; + $criteria = new CriteriaCompo(); + + $date=''; + $timestamp=0; + $keyword=''; + $ip = ''; + + if(isset($_POST['prune_date']) && xoops_trim($_POST['prune_date'])!='') { + $date=$_POST['prune_date']; + $timestamp=mktime(0,0,0,intval(substr($date,5,2)), intval(substr($date,8,2)), intval(substr($date,0,4))); + $date=date('Y-m-d',$timestamp); + $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $date,'<=')); + } + if(isset($_POST['keyword']) && xoops_trim($_POST['keyword'])!='') { + $keyword = $_POST['keyword']; + $criteria->add(new Criteria('keyword', $myts->addSlashes($_POST['keyword']),'=')); + } + if(isset($_POST['ip']) && xoops_trim($_POST['ip'])!='') { + $ip = isset($_POST['ip']) ? $_POST['ip'] : ''; + $criteria->add(new Criteria('ip', $myts->addSlashes($_POST['ip']),'=')); + } + $count=0; + $count=$mysearch_handler->getCount($criteria); + if($count>0) { + $msg=sprintf(_AM_MYSEARCH_PRUNE_CONFIRM,$count); + xoops_confirm(array( 'op' => 'pruneKeywords', 'keyword' => $keyword, 'prune_date' => $timestamp, 'ip' => $ip,'ok' => 1), 'index.php', $msg); + } else { + printf(_AM_MYSEARCH_NOTHING_PRUNE); + } + break; + + + /** + * Effectively delete keywords + */ + case 'pruneKeywords': + $timestamp = 0; + $keyword = ''; + $ip = ''; + $criteria = new CriteriaCompo(); + + if(isset($_POST['prune_date']) && intval($_POST['prune_date'])!=0) { + $timestamp=$_POST['prune_date']; + $date=date('Y-m-d',$timestamp); + $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $date,'<=')); + } + if(isset($_POST['keyword']) && xoops_trim($_POST['keyword'])!='') { + $keyword = $_POST['keyword']; + $criteria->add(new Criteria('keyword', $myts->addSlashes($_POST['keyword']),'=')); + } + if(isset($_POST['ip']) && xoops_trim($_POST['ip'])!='') { + $ip = isset($_POST['ip']) ? $_POST['ip'] : ''; + $criteria->add(new Criteria('ip', $myts->addSlashes($_POST['ip']),'=')); + } + + if(intval($_POST['ok'])==1) { + xoops_cp_header(); + $mysearch_handler->deleteAll($criteria); + redirect_header('index.php?op=purge', 2, _AM_MYSEARCH_DBUPDATED); + } + break; + + + /** + * Remove a keyword from the database (directly called from the statistics part) + */ + case 'removekeyword': + xoops_cp_header(); + if(intval($_GET['id'])!=0) { + $tmp_search = $mysearch_handler->get(intval($_GET['id'])); + if(is_object($tmp_search)) { + $critere = new Criteria('keyword', $tmp_search->getVar('keyword'),'='); + $mysearch_handler->deleteAll($critere); + } + unset($tmp_search); + } + redirect_header('index.php', 2, _AM_MYSEARCH_DBUPDATED); + break; + + + /** + * Export datas to a pure text file + */ + case 'export': + xoops_cp_header(); + echo $indexAdmin->addNavigation('main.php?op=export'); + //mysearch_adminmenu(2); + echo '<br />'; + include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; + $min=$max=''; + $mint=$maxt=0; + $mysearch_handler->getMinMaxDate($min,$max); + $mint=strtotime($min); + $maxt=strtotime($max); + + $sform = new XoopsThemeForm(_AM_MYSEARCH_EXPORT, 'exportform', XOOPS_URL.'/modules/mysearch/admin/index.php', 'post'); + $dates_tray = new XoopsFormElementTray(_AM_MYSEARCH_EXPORT_BETWEEN); + $date1 = new XoopsFormTextDateSelect('', 'date1',15,$mint); + $date2 = new XoopsFormTextDateSelect(_AM_MYSEARCH_EXPORT_AND, 'date2',15,$maxt); + $dates_tray->addElement($date1); + $dates_tray->addElement($date2); + $sform->addElement($dates_tray,false); + $sform->addElement(new XoopsFormSelectUser(_AM_MYSEARCH_USER,'user',true,'',5,true),false); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_KEYWORD, 'keyword', 50, 255, ''), false); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_IP, 'ip', 10, 32, ''), false); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_DATE_FORMAT, 'dateformat', 15, 255, _SHORTDATESTRING), true); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_DELIMITER, 'delimiter', 2, 255, ';'), true); + $sform->addElement(new XoopsFormHidden('op', 'SearchExport'), false); + $button_tray = new XoopsFormElementTray('' ,''); + $submit_btn = new XoopsFormButton('', 'post', _SUBMIT, 'submit'); + $button_tray->addElement($submit_btn); + $sform->addElement($button_tray); + $sform->display(); + break; + + + /** + * Lauch the export + */ + case 'SearchExport': + xoops_cp_header(); + //mysearch_adminmenu(2); + $criteria = new CriteriaCompo(); + $dateformat = isset($_POST['dateformat']) ? $_POST['dateformat'] : ''; + $delimiter = isset($_POST['delimiter']) ? $_POST['delimiter'] : ';'; + $searchfile=XOOPS_ROOT_PATH.'/uploads/mysearch_keywords.txt'; + $searchfile2 =XOOPS_URL.'/uploads/mysearch_keywords.txt'; + $tbl=array(); + + if(isset($_POST['date1']) && isset($_POST['date2'])) { + $startdate=date('Y-m-d',strtotime($_POST['date1'])); + $enddate=date('Y-m-d',strtotime($_POST['date2'])); + $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $startdate,'>=')); + $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $enddate,'<=')); + } + if(isset($_POST['user']) && xoops_trim($_POST['user'])!='') { + $criteria->add(new Criteria('uid', '('.implode(',', $_POST['user']).')','IN')); + } + if(isset($_POST['keyword']) && xoops_trim($_POST['keyword'])!='') { + $criteria->add(new Criteria('keyword', $myts->addSlashes($_POST['keyword']),'=')); + } + if(isset($_POST['ip']) && xoops_trim($_POST['ip'])!='') { + $criteria->add(new Criteria('ip', $myts->addSlashes($_POST['ip']),'=')); + } + $criteria->setSort('datesearch'); + $criteria->setOrder('desc'); + + $tbl=$mysearch_handler->getObjects($criteria); + if(count($tbl)>0) { + $fp = fopen($searchfile,'w'); + if(!$fp) { + redirect_header('index.php',4,sprintf(_AM_MYSEARCH_EXPORT_ERROR,$searchfile)); + } + $tmpmysearch = new searches(); + fwrite($fp,'id'.$delimiter.'date'.$delimiter.'keyword'.$delimiter.'uid'.$delimiter.'uname'.$delimiter.'ip'."\r\n"); + foreach($tbl as $onesearch) { + fwrite($fp,$onesearch->getVar('mysearchid').$delimiter.formatTimestamp(strtotime($onesearch->getVar('datesearch'))).$delimiter.$onesearch->getVar('keyword').$delimiter.$onesearch->getVar('uid').$delimiter.$tmpmysearch->uname($onesearch->getVar('uid')).$delimiter.$onesearch->getVar('ip')."\r\n"); + } + fclose($fp); + printf(_AM_MYSEARCH_EXPORT_READY,$searchfile2,XOOPS_URL.'/modules/mysearch/admin/index.php?op=deletefile'); + } else { + echo _AM_MYSEARCH_NOTHING_TO_EXPORT; + } + break; + + + /** + * Delete the exported file + */ + case 'deletefile': + xoops_cp_header(); + $statfile=XOOPS_ROOT_PATH.'/uploads/mysearch_keywords.txt'; + if(unlink($statfile)) { + redirect_header('index.php', 2, _AM_MYSEARCH_DELETED_OK); + } else { + redirect_header('index.php', 2, _AM_MYSEARCH_DELETED_PB); + } + break; + + + /** + * Blacklist manager + */ + case 'blacklist': + xoops_cp_header(); + echo $indexAdmin->addNavigation('main.php?op=blacklist'); + + //mysearch_adminmenu(3); + include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; + include_once XOOPS_ROOT_PATH.'/modules/mysearch/class/blacklist.php'; + echo '<h3>'._AM_MYSEARCH_BLACKLIST.'</h3>'; + $sform = new XoopsThemeForm(_AM_MYSEARCH_BLACKLIST, 'MetagenBlackList', XOOPS_URL.'/modules/mysearch/admin/index.php', 'post'); + $sform->addElement(new XoopsFormHidden('op', 'MetagenBlackList'), false); + + // Remove words + $remove_tray = new XoopsFormElementTray(_AM_MYSEARCH_BLACKLIST); + $remove_tray->setDescription(_AM_MYSEARCH_BLACKLIST_DESC); + $blacklist=new XoopsFormSelect('', 'blacklist','',5,true); + $words=array(); + $metablack = new mysearch_blacklist(); + $words=$metablack->getAllKeywords(); + if(is_array($words) && count($words)>0) { + foreach ($words as $key => $value) { + $blacklist->addOption($key,$value); + } + } + $blacklist->setDescription(_AM_MYSEARCH_BLACKLIST_DESC); + $remove_tray->addElement($blacklist,false); + $remove_btn = new XoopsFormButton('', 'go', _AM_MYSEARCH_DELETE, 'submit'); + $remove_tray->addElement($remove_btn,false); + $sform->addElement($remove_tray); + + // Add some words + $add_tray = new XoopsFormElementTray(_AM_MYSEARCH_BLACKLIST_ADD); + $add_tray->setDescription(_AM_MYSEARCH_BLACKLIST_ADD_DSC); + $add_field = new XoopsFormTextArea('', 'keywords', '', 5, 70); + $add_tray->addElement($add_field,false); + $add_btn = new XoopsFormButton('', 'go', _AM_MYSEARCH_BLACKLIST_ADD, 'submit'); + $add_tray->addElement($add_btn,false); + $sform->addElement($add_tray); + $sform->display(); + break; + + + /** + * Add a word in the blacklist + */ + case 'addblacklist': + include_once XOOPS_ROOT_PATH.'/modules/mysearch/class/blacklist.php'; + if(intval($_GET['id'])!=0) { + $tmp_search = $mysearch_handler->get(intval($_GET['id'])); + if(is_object($tmp_search)) { + $keyword = $tmp_search->getVar('keyword'); + $blacklist = new mysearch_blacklist(); + $keywords=$blacklist->getAllKeywords(); + $blacklist->addkeywords($keyword); + $blacklist->store(); + } + } + redirect_header('index.php?op=stats', 2, _AM_MYSEARCH_DBUPDATED); + break; + + + /** + * Actions on the blacklist (add or remove keyword(s)) + */ + case 'MetagenBlackList': + include_once XOOPS_ROOT_PATH.'/modules/mysearch/class/blacklist.php'; + $blacklist = new mysearch_blacklist(); + $keywords=$blacklist->getAllKeywords(); + + if(isset($_POST['go']) && $_POST['go']==_AM_MYSEARCH_DELETE) { + foreach($_POST['blacklist'] as $black_id) { + $blacklist->delete($black_id); + } + $blacklist->store(); + } else { + if(isset($_POST['go']) && $_POST['go']==_AM_MYSEARCH_BLACKLIST_ADD) { + $p_keywords = $_POST['keywords']; + $keywords = explode("\n",$p_keywords); + foreach($keywords as $keyword) { + if(xoops_trim($keyword)!='') { + $blacklist->addkeywords(xoops_trim($keyword)); + } + } + $blacklist->store(); + } + } + redirect_header('index.php?op=blacklist', 2, _AM_MYSEARCH_DBUPDATED); + break; + + + /** + * Remove content based on the IP + */ + case 'removeip': + xoops_cp_header(); + if(intval($_GET['id'])!=0) { + $tmp_search = $mysearch_handler->get(intval($_GET['id'])); + if(is_object($tmp_search)) { + $critere = new Criteria('ip', $tmp_search->getVar('ip'),'='); + $mysearch_handler->deleteAll($critere); + } + unset($tmp_search); + } + redirect_header('index.php', 2, _AM_MYSEARCH_DBUPDATED); + break; + + + /** + * Default action, show statistics about keywords, users and many other things + */ + case 'stats': + default: + xoops_cp_header(); + echo $indexAdmin->addNavigation('main.php?op=stats'); + //mysearch_adminmenu(0); + + // Last x words (according to the module's option 'admincount') *************************************************************************************** + $start = 0; + $more_parameter = 'op=stats'; + if(isset($_GET['start1'])) { + $start = intval($_GET['start1']); + } elseif(isset($_SESSION['start1'])) { + $start=intval($_SESSION['start1']); + } + $_SESSION['start1']=$start; + $s_keyword = $s_uid = $s_ip = ''; + if(isset($_POST['s_keyword'])) { + $s_keyword = $_POST['s_keyword']; + } elseif(isset($_GET['s_keyword'])) { + $s_keyword = $_GET['s_keyword']; + } + + if(isset($_POST['s_uid'])) { + $s_uid = $_POST['s_uid']; + } elseif(isset($_GET['s_uid'])) { + $s_uid = $_GET['s_uid']; + } + + if(isset($_POST['s_ip'])) { + $s_ip = $_POST['s_ip']; + } elseif(isset($_GET['s_ip'])) { + $s_ip = $_GET['s_ip']; + } + + $critere = new CriteriaCompo(); + if($s_keyword != '') { + $critere->add(new Criteria('keyword', $s_keyword,'LIKE')); + $more_parameter .= '&s_keyword='.$s_keyword; + } + + if($s_uid != '') { + if(!is_numeric($s_uid)) { + $member_handler =& xoops_gethandler('member'); + $crituser = new Criteria('uname', $s_uid,'LIKE'); + $tbl_users = array(); + $tbl_users = $member_handler->getUsers($crituser); + if(count($tbl_users)>0) { + $tbl_users2 = array(); + foreach($tbl_users as $one_user) { + ... [truncated message content] |
From: <be...@us...> - 2012-04-03 03:49:44
|
Revision: 9247 http://xoops.svn.sourceforge.net/xoops/?rev=9247&view=rev Author: beckmi Date: 2012-04-03 03:49:37 +0000 (Tue, 03 Apr 2012) Log Message: ----------- Adding Release 1.1 Added Paths: ----------- XoopsModules/mysearch/releases/1.1/mysearch/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-03 03:49:06
|
Revision: 9246 http://xoops.svn.sourceforge.net/xoops/?rev=9246&view=rev Author: beckmi Date: 2012-04-03 03:49:00 +0000 (Tue, 03 Apr 2012) Log Message: ----------- Adding folder for Release 1.1 Added Paths: ----------- XoopsModules/mysearch/releases/1.1/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-03 03:36:00
|
Revision: 9245 http://xoops.svn.sourceforge.net/xoops/?rev=9245&view=rev Author: beckmi Date: 2012-04-03 03:35:50 +0000 (Tue, 03 Apr 2012) Log Message: ----------- Adding MySearch Modified Paths: -------------- XoopsModules/readme.txt Added Paths: ----------- XoopsModules/mysearch/ XoopsModules/mysearch/branches/ XoopsModules/mysearch/releases/ XoopsModules/mysearch/trunk/ XoopsModules/mysearch/trunk/mysearch/ XoopsModules/mysearch/trunk/mysearch/admin/ XoopsModules/mysearch/trunk/mysearch/admin/functions.php XoopsModules/mysearch/trunk/mysearch/admin/index.php XoopsModules/mysearch/trunk/mysearch/admin/menu.php XoopsModules/mysearch/trunk/mysearch/admin/upgrade.php XoopsModules/mysearch/trunk/mysearch/blocks/ XoopsModules/mysearch/trunk/mysearch/blocks/index.html XoopsModules/mysearch/trunk/mysearch/blocks/mysearch_ajax_search.php XoopsModules/mysearch/trunk/mysearch/blocks/mysearch_biggest_users.php XoopsModules/mysearch/trunk/mysearch/blocks/mysearch_last_search.php XoopsModules/mysearch/trunk/mysearch/blocks/mysearch_search.php XoopsModules/mysearch/trunk/mysearch/blocks/mysearch_stats.php XoopsModules/mysearch/trunk/mysearch/changelog.txt XoopsModules/mysearch/trunk/mysearch/class/ XoopsModules/mysearch/trunk/mysearch/class/blacklist.php XoopsModules/mysearch/trunk/mysearch/class/index.html XoopsModules/mysearch/trunk/mysearch/class/searches.php XoopsModules/mysearch/trunk/mysearch/css/ XoopsModules/mysearch/trunk/mysearch/css/index.html XoopsModules/mysearch/trunk/mysearch/css/style.css XoopsModules/mysearch/trunk/mysearch/images/ XoopsModules/mysearch/trunk/mysearch/images/ajax-loader.gif XoopsModules/mysearch/trunk/mysearch/images/bg.png XoopsModules/mysearch/trunk/mysearch/images/body.left.gif XoopsModules/mysearch/trunk/mysearch/images/body.right.gif XoopsModules/mysearch/trunk/mysearch/images/bodyHeader.background.gif XoopsModules/mysearch/trunk/mysearch/images/bodyHeader.left.gif XoopsModules/mysearch/trunk/mysearch/images/bodyHeader.right.gif XoopsModules/mysearch/trunk/mysearch/images/close12.gif XoopsModules/mysearch/trunk/mysearch/images/delete.png XoopsModules/mysearch/trunk/mysearch/images/footer.background.gif XoopsModules/mysearch/trunk/mysearch/images/footer.left.gif XoopsModules/mysearch/trunk/mysearch/images/footer.right.gif XoopsModules/mysearch/trunk/mysearch/images/header.background.gif XoopsModules/mysearch/trunk/mysearch/images/header.left.gif XoopsModules/mysearch/trunk/mysearch/images/header.right.gif XoopsModules/mysearch/trunk/mysearch/images/header.right.jpg XoopsModules/mysearch/trunk/mysearch/images/herve.jpg XoopsModules/mysearch/trunk/mysearch/images/index.html XoopsModules/mysearch/trunk/mysearch/images/instantzero.gif XoopsModules/mysearch/trunk/mysearch/images/ip.png XoopsModules/mysearch/trunk/mysearch/images/left_both.png XoopsModules/mysearch/trunk/mysearch/images/list.png XoopsModules/mysearch/trunk/mysearch/images/mysearch_logo.png XoopsModules/mysearch/trunk/mysearch/images/open12.gif XoopsModules/mysearch/trunk/mysearch/images/posticon2.gif XoopsModules/mysearch/trunk/mysearch/images/pspbrwse.jbf XoopsModules/mysearch/trunk/mysearch/images/right_both.png XoopsModules/mysearch/trunk/mysearch/images/search.more_results.gif XoopsModules/mysearch/trunk/mysearch/images/search.more_results.png XoopsModules/mysearch/trunk/mysearch/images/search.more_results.pspimage XoopsModules/mysearch/trunk/mysearch/images/selectedEnd.gif XoopsModules/mysearch/trunk/mysearch/images/selectedStart.gif XoopsModules/mysearch/trunk/mysearch/images/separate.background.gif XoopsModules/mysearch/trunk/mysearch/images/separate.left.gif XoopsModules/mysearch/trunk/mysearch/images/separate.right.gif XoopsModules/mysearch/trunk/mysearch/images/unselectedEnd.gif XoopsModules/mysearch/trunk/mysearch/images/unselected_right.gif XoopsModules/mysearch/trunk/mysearch/include/ XoopsModules/mysearch/trunk/mysearch/include/ajax_updater.php XoopsModules/mysearch/trunk/mysearch/include/functions.php XoopsModules/mysearch/trunk/mysearch/include/index.html XoopsModules/mysearch/trunk/mysearch/include/searchform.php XoopsModules/mysearch/trunk/mysearch/index.php XoopsModules/mysearch/trunk/mysearch/js/ XoopsModules/mysearch/trunk/mysearch/js/index.html XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/ XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/CHANGELOG XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/MIT-LICENSE XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/README XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/index.html XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/lib/ XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/lib/index.html XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/lib/prototype.js XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/src/ XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/src/builder.js XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/src/controls.js XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/src/dragdrop.js XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/src/effects.js XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/src/index.html XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/src/scriptaculous.js XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/src/slider.js XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/src/sound.js XoopsModules/mysearch/trunk/mysearch/js/scriptaculous/src/unittest.js XoopsModules/mysearch/trunk/mysearch/language/ XoopsModules/mysearch/trunk/mysearch/language/english/ XoopsModules/mysearch/trunk/mysearch/language/english/admin.php XoopsModules/mysearch/trunk/mysearch/language/english/blocks.php XoopsModules/mysearch/trunk/mysearch/language/english/index.html XoopsModules/mysearch/trunk/mysearch/language/english/main.php XoopsModules/mysearch/trunk/mysearch/language/english/modinfo.php XoopsModules/mysearch/trunk/mysearch/language/index.html XoopsModules/mysearch/trunk/mysearch/language/portuguesebr/ XoopsModules/mysearch/trunk/mysearch/language/portuguesebr/admin.php XoopsModules/mysearch/trunk/mysearch/language/portuguesebr/blocks.php XoopsModules/mysearch/trunk/mysearch/language/portuguesebr/index.html XoopsModules/mysearch/trunk/mysearch/language/portuguesebr/main.php XoopsModules/mysearch/trunk/mysearch/language/portuguesebr/modinfo.php XoopsModules/mysearch/trunk/mysearch/licence.txt XoopsModules/mysearch/trunk/mysearch/readme.txt XoopsModules/mysearch/trunk/mysearch/search.php XoopsModules/mysearch/trunk/mysearch/sql/ XoopsModules/mysearch/trunk/mysearch/sql/index.html XoopsModules/mysearch/trunk/mysearch/sql/mysql.sql XoopsModules/mysearch/trunk/mysearch/templates/ XoopsModules/mysearch/trunk/mysearch/templates/blocks/ XoopsModules/mysearch/trunk/mysearch/templates/blocks/index.html XoopsModules/mysearch/trunk/mysearch/templates/blocks/mysearch_block_ajax_search.html XoopsModules/mysearch/trunk/mysearch/templates/blocks/mysearch_block_big_user.html XoopsModules/mysearch/trunk/mysearch/templates/blocks/mysearch_block_last_search.html XoopsModules/mysearch/trunk/mysearch/templates/blocks/mysearch_block_stats.html XoopsModules/mysearch/trunk/mysearch/templates/index.html XoopsModules/mysearch/trunk/mysearch/templates/mysearch_index.html XoopsModules/mysearch/trunk/mysearch/templates/mysearch_search.html XoopsModules/mysearch/trunk/mysearch/xoops_version.php Added: XoopsModules/mysearch/trunk/mysearch/admin/functions.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/admin/functions.php (rev 0) +++ XoopsModules/mysearch/trunk/mysearch/admin/functions.php 2012-04-03 03:35:50 UTC (rev 9245) @@ -0,0 +1,132 @@ +<?php +// ------------------------------------------------------------------------ // +// mysearch - MODULE FOR XOOPS 2 // +// Copyright (c) 2005-2006 Instant Zero // +// <http://xoops.instant-zero.com/> // +// ------------------------------------------------------------------------- // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die("XOOPS root path not defined"); +} + +function mysearch_adminmenu($currentoption = 0, $breadcrumb = '') +{ + include_once XOOPS_ROOT_PATH.'/modules/mysearch/include/functions.php'; + + /* Nice buttons styles */ + echo " + <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('" . XOOPS_URL . "/modules/mysearch/images/bg.png') 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('" . XOOPS_URL . "/modules/mysearch/images/left_both.png') 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('" . XOOPS_URL . "/modules/mysearch/images/right_both.png') 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> + "; + global $xoopsModule, $xoopsConfig; + + $tblColors = array('','','','',''); + if($currentoption>=0) { + $tblColors[$currentoption] = 'current'; + } + + if (file_exists(XOOPS_ROOT_PATH . '/modules/mysearch/language/' . $xoopsConfig['language'] . '/modinfo.php')) { + include_once XOOPS_ROOT_PATH. '/modules/mysearch/language/' . $xoopsConfig['language'] . '/modinfo.php'; + } else { + include_once XOOPS_ROOT_PATH . '/modules/mysearch/language/english/modinfo.php'; + } + + echo "<div id='buttontop'>"; + echo "<table style=\"width: 100%; padding: 0; \" cellspacing=\"0\"><tr>"; + echo "<td style=\"width: 60%; font-size: 10px; text-align: left; color: #2F5376; padding: 0 6px; line-height: 18px;\"><a class=\"nobutton\" href=\"../../system/admin.php?fct=preferences&op=showmod&mod=".$xoopsModule->getVar('mid')."\">" . _AM_MYSEARCH_GENERALSET . "</a> | <a href=\"../index.php\">" . _AM_MYSEARCH_GOTOMOD . "</a></td>"; + echo "<td style=\"width: 40%; font-size: 10px; text-align: right; color: #2F5376; padding: 0 6px; line-height: 18px;\"><b>" . $xoopsModule->name() . " " . _AM_MYSEARCH_MODULEADMIN . "</b> " . $breadcrumb . "</td>"; + echo "</tr></table>"; + echo "</div>"; + + echo "<div id='buttonbar'>"; + echo "<ul>"; + echo "<li id='" . $tblColors[0] . "'><a href=\"index.php?op=stats\"\"><span>"._MI_MYSEARCH_ADMMENU1 ."</span></a></li>\n"; + echo "<li id='" . $tblColors[1] . "'><a href=\"index.php?op=purge\"\"><span>"._MI_MYSEARCH_ADMMENU2 ."</span></a></li>\n"; + echo "<li id='" . $tblColors[2] . "'><a href=\"index.php?op=export\"><span>" . _MI_MYSEARCH_ADMMENU3 . "</span></a></li>\n"; + echo "<li id='" . $tblColors[3] . "'><a href=\"index.php?op=blacklist\"><span>" . _MI_MYSEARCH_ADMMENU4 . "</span></a></li>\n"; + echo "<li id='" . $tblColors[4] . "'><a href=\"index.php?op=about\"><span>" . _MI_MYSEARCH_ADMMENU5 . "</span></a></li>\n"; + echo "</ul></div>"; + echo "<br /><br /><pre> </pre><pre> </pre><br />"; +} + + + +function mysearch_collapsableBar($tablename = '', $iconname = '') +{ + + ?> +<script type="text/javascript"><!-- + function goto_URL(object) + { + window.location.href = object.options[object.selectedIndex].value; + } + + function toggle(id) + { + if (document.getElementById) { obj = document.getElementById(id); } + if (document.all) { obj = document.all[id]; } + if (document.layers) { obj = document.layers[id]; } + if (obj) { + if (obj.style.display == "none") { + obj.style.display = ""; + } else { + obj.style.display = "none"; + } + } + return false; + } + + var iconClose = new Image(); + iconClose.src = '../images/close12.gif'; + var iconOpen = new Image(); + iconOpen.src = '../images/open12.gif'; + + function toggleIcon ( iconName ) + { + if ( document.images[iconName].src == window.iconOpen.src ) { + document.images[iconName].src = window.iconClose.src; + } else if ( document.images[iconName].src == window.iconClose.src ) { + document.images[iconName].src = window.iconOpen.src; + } + return; + } + + //--> + </script> + <?php + echo "<h4 style=\"color: #2F5376; margin: 6px 0 0 0; \"><a href='#' onClick=\"toggle('" . $tablename . "'); toggleIcon('" . $iconname . "');\">"; +} + +?> Added: XoopsModules/mysearch/trunk/mysearch/admin/index.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/admin/index.php (rev 0) +++ XoopsModules/mysearch/trunk/mysearch/admin/index.php 2012-04-03 03:35:50 UTC (rev 9245) @@ -0,0 +1,720 @@ +<?php +// ------------------------------------------------------------------------ // +// mysearch - MODULE FOR XOOPS 2 // +// Copyright (c) 2005-2006 Instant Zero // +// <http://xoops.instant-zero.com/> // +// ------------------------------------------------------------------------- // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +include_once '../../../include/cp_header.php'; +include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; +include_once XOOPS_ROOT_PATH.'/modules/mysearch/admin/functions.php'; +include_once XOOPS_ROOT_PATH.'/modules/mysearch/include/functions.php'; + + +if (file_exists(XOOPS_ROOT_PATH.'/modules/mysearch/language/' . $xoopsConfig['language'] . '/main.php')) { + include_once XOOPS_ROOT_PATH.'/modules/mysearch/language/' . $xoopsConfig['language'] . '/main.php'; +} else { + include_once XOOPS_ROOT_PATH.'/modules/mysearch/language/english/main.php'; +} + +/** + * Module's parameters + */ +$keywords_count = mysearch_getmoduleoption('admincount'); + + +// ********************************************************************************************************************************************** +// **** Main +// ********************************************************************************************************************************************** +$op = 'default'; +if(isset($_POST['op'])) { + $op = $_POST['op']; +} elseif(isset($_GET['op'])) { + $op = $_GET['op']; +} +$mysearch_handler =& xoops_getmodulehandler('searches', 'mysearch'); +$myts =& MyTextSanitizer::getInstance(); + +switch ($op) { + /** + * Remove datas by keyword or by date + */ + case 'purge': + include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; + xoops_cp_header(); + mysearch_adminmenu(1); + echo '<br />'; + $sform = new XoopsThemeForm(_AM_MYSEARCH_PRUNE, 'pruneform', XOOPS_URL.'/modules/mysearch/admin/index.php', 'post'); + $sform->addElement(new XoopsFormTextDateSelect(_AM_MYSEARCH_PRUNE_DATE, 'prune_date',15,time()), false); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_PRUNE_KEYONLY, 'keyword', 50, 255, ''), false); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_IP, 'ip', 20, 255, ''), false); + $sform->addElement(new XoopsFormHidden('op', 'ConfirmBeforeToPrune'), false); + $button_tray = new XoopsFormElementTray(_AM_MYSEARCH_PRUNE_DESC ,''); + $submit_btn = new XoopsFormButton('', 'post', _SUBMIT, 'submit'); + $button_tray->addElement($submit_btn); + $sform->addElement($button_tray); + $sform->display(); + echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; + break; + + + /** + * Ask a confirmation before to remove keywords + */ + case 'ConfirmBeforeToPrune': + xoops_cp_header(); + mysearch_adminmenu(1); + echo '<br />'; + $criteria = new CriteriaCompo(); + + $date=''; + $timestamp=0; + $keyword=''; + $ip = ''; + + if(isset($_POST['prune_date']) && xoops_trim($_POST['prune_date'])!='') { + $date=$_POST['prune_date']; + $timestamp=mktime(0,0,0,intval(substr($date,5,2)), intval(substr($date,8,2)), intval(substr($date,0,4))); + $date=date('Y-m-d',$timestamp); + $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $date,'<=')); + } + if(isset($_POST['keyword']) && xoops_trim($_POST['keyword'])!='') { + $keyword = $_POST['keyword']; + $criteria->add(new Criteria('keyword', $myts->addSlashes($_POST['keyword']),'=')); + } + if(isset($_POST['ip']) && xoops_trim($_POST['ip'])!='') { + $ip = isset($_POST['ip']) ? $_POST['ip'] : ''; + $criteria->add(new Criteria('ip', $myts->addSlashes($_POST['ip']),'=')); + } + $count=0; + $count=$mysearch_handler->getCount($criteria); + if($count>0) { + $msg=sprintf(_AM_MYSEARCH_PRUNE_CONFIRM,$count); + xoops_confirm(array( 'op' => 'pruneKeywords', 'keyword' => $keyword, 'prune_date' => $timestamp, 'ip' => $ip,'ok' => 1), 'index.php', $msg); + } else { + printf(_AM_MYSEARCH_NOTHING_PRUNE); + } + echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; + break; + + + /** + * Effectively delete keywords + */ + case 'pruneKeywords': + $timestamp = 0; + $keyword = ''; + $ip = ''; + $criteria = new CriteriaCompo(); + + if(isset($_POST['prune_date']) && intval($_POST['prune_date'])!=0) { + $timestamp=$_POST['prune_date']; + $date=date('Y-m-d',$timestamp); + $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $date,'<=')); + } + if(isset($_POST['keyword']) && xoops_trim($_POST['keyword'])!='') { + $keyword = $_POST['keyword']; + $criteria->add(new Criteria('keyword', $myts->addSlashes($_POST['keyword']),'=')); + } + if(isset($_POST['ip']) && xoops_trim($_POST['ip'])!='') { + $ip = isset($_POST['ip']) ? $_POST['ip'] : ''; + $criteria->add(new Criteria('ip', $myts->addSlashes($_POST['ip']),'=')); + } + + if(intval($_POST['ok'])==1) { + xoops_cp_header(); + $mysearch_handler->deleteAll($criteria); + redirect_header('index.php?op=purge', 2, _AM_MYSEARCH_DBUPDATED); + } + break; + + + /** + * Remove a keyword from the database (directly called from the statistics part) + */ + case 'removekeyword': + xoops_cp_header(); + if(intval($_GET['id'])!=0) { + $tmp_search = $mysearch_handler->get(intval($_GET['id'])); + if(is_object($tmp_search)) { + $critere = new Criteria('keyword', $tmp_search->getVar('keyword'),'='); + $mysearch_handler->deleteAll($critere); + } + unset($tmp_search); + } + redirect_header('index.php', 2, _AM_MYSEARCH_DBUPDATED); + break; + + + /** + * Export datas to a pure text file + */ + case 'export': + xoops_cp_header(); + mysearch_adminmenu(2); + echo '<br />'; + include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; + $min=$max=''; + $mint=$maxt=0; + $mysearch_handler->getMinMaxDate($min,$max); + $mint=strtotime($min); + $maxt=strtotime($max); + + $sform = new XoopsThemeForm(_AM_MYSEARCH_EXPORT, 'exportform', XOOPS_URL.'/modules/mysearch/admin/index.php', 'post'); + $dates_tray = new XoopsFormElementTray(_AM_MYSEARCH_EXPORT_BETWEEN); + $date1 = new XoopsFormTextDateSelect('', 'date1',15,$mint); + $date2 = new XoopsFormTextDateSelect(_AM_MYSEARCH_EXPORT_AND, 'date2',15,$maxt); + $dates_tray->addElement($date1); + $dates_tray->addElement($date2); + $sform->addElement($dates_tray,false); + $sform->addElement(new XoopsFormSelectUser(_AM_MYSEARCH_USER,'user',true,'',5,true),false); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_KEYWORD, 'keyword', 50, 255, ''), false); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_IP, 'ip', 10, 32, ''), false); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_DATE_FORMAT, 'dateformat', 15, 255, _SHORTDATESTRING), true); + $sform->addElement(new XoopsFormText(_AM_MYSEARCH_DELIMITER, 'delimiter', 2, 255, ';'), true); + $sform->addElement(new XoopsFormHidden('op', 'SearchExport'), false); + $button_tray = new XoopsFormElementTray('' ,''); + $submit_btn = new XoopsFormButton('', 'post', _SUBMIT, 'submit'); + $button_tray->addElement($submit_btn); + $sform->addElement($button_tray); + $sform->display(); + echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; + break; + + + /** + * Lauch the export + */ + case 'SearchExport': + xoops_cp_header(); + mysearch_adminmenu(2); + $criteria = new CriteriaCompo(); + $dateformat = isset($_POST['dateformat']) ? $_POST['dateformat'] : ''; + $delimiter = isset($_POST['delimiter']) ? $_POST['delimiter'] : ';'; + $searchfile=XOOPS_ROOT_PATH.'/uploads/mysearch_keywords.txt'; + $searchfile2 =XOOPS_URL.'/uploads/mysearch_keywords.txt'; + $tbl=array(); + + if(isset($_POST['date1']) && isset($_POST['date2'])) { + $startdate=date('Y-m-d',strtotime($_POST['date1'])); + $enddate=date('Y-m-d',strtotime($_POST['date2'])); + $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $startdate,'>=')); + $criteria->add(new Criteria("date_format(datesearch,'%X-%m-%d')", $enddate,'<=')); + } + if(isset($_POST['user']) && xoops_trim($_POST['user'])!='') { + $criteria->add(new Criteria('uid', '('.implode(',', $_POST['user']).')','IN')); + } + if(isset($_POST['keyword']) && xoops_trim($_POST['keyword'])!='') { + $criteria->add(new Criteria('keyword', $myts->addSlashes($_POST['keyword']),'=')); + } + if(isset($_POST['ip']) && xoops_trim($_POST['ip'])!='') { + $criteria->add(new Criteria('ip', $myts->addSlashes($_POST['ip']),'=')); + } + $criteria->setSort('datesearch'); + $criteria->setOrder('desc'); + + $tbl=$mysearch_handler->getObjects($criteria); + if(count($tbl)>0) { + $fp = fopen($searchfile,'w'); + if(!$fp) { + redirect_header('index.php',4,sprintf(_AM_MYSEARCH_EXPORT_ERROR,$searchfile)); + } + $tmpmysearch = new searches(); + fwrite($fp,'id'.$delimiter.'date'.$delimiter.'keyword'.$delimiter.'uid'.$delimiter.'uname'.$delimiter.'ip'."\r\n"); + foreach($tbl as $onesearch) { + fwrite($fp,$onesearch->getVar('mysearchid').$delimiter.formatTimestamp(strtotime($onesearch->getVar('datesearch'))).$delimiter.$onesearch->getVar('keyword').$delimiter.$onesearch->getVar('uid').$delimiter.$tmpmysearch->uname($onesearch->getVar('uid')).$delimiter.$onesearch->getVar('ip')."\r\n"); + } + fclose($fp); + printf(_AM_MYSEARCH_EXPORT_READY,$searchfile2,XOOPS_URL.'/modules/mysearch/admin/index.php?op=deletefile'); + } else { + echo _AM_MYSEARCH_NOTHING_TO_EXPORT; + } + echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; + break; + + + /** + * Delete the exported file + */ + case 'deletefile': + xoops_cp_header(); + $statfile=XOOPS_ROOT_PATH.'/uploads/mysearch_keywords.txt'; + if(unlink($statfile)) { + redirect_header('index.php', 2, _AM_MYSEARCH_DELETED_OK); + } else { + redirect_header('index.php', 2, _AM_MYSEARCH_DELETED_PB); + } + break; + + + /** + * Blacklist manager + */ + case 'blacklist': + xoops_cp_header(); + mysearch_adminmenu(3); + include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; + include_once XOOPS_ROOT_PATH.'/modules/mysearch/class/blacklist.php'; + echo '<h3>'._AM_MYSEARCH_BLACKLIST.'</h3>'; + $sform = new XoopsThemeForm(_AM_MYSEARCH_BLACKLIST, 'MetagenBlackList', XOOPS_URL.'/modules/mysearch/admin/index.php', 'post'); + $sform->addElement(new XoopsFormHidden('op', 'MetagenBlackList'), false); + + // Remove words + $remove_tray = new XoopsFormElementTray(_AM_MYSEARCH_BLACKLIST); + $remove_tray->setDescription(_AM_MYSEARCH_BLACKLIST_DESC); + $blacklist=new XoopsFormSelect('', 'blacklist','',5,true); + $words=array(); + $metablack = new mysearch_blacklist(); + $words=$metablack->getAllKeywords(); + if(is_array($words) && count($words)>0) { + foreach ($words as $key => $value) { + $blacklist->addOption($key,$value); + } + } + $blacklist->setDescription(_AM_MYSEARCH_BLACKLIST_DESC); + $remove_tray->addElement($blacklist,false); + $remove_btn = new XoopsFormButton('', 'go', _AM_MYSEARCH_DELETE, 'submit'); + $remove_tray->addElement($remove_btn,false); + $sform->addElement($remove_tray); + + // Add some words + $add_tray = new XoopsFormElementTray(_AM_MYSEARCH_BLACKLIST_ADD); + $add_tray->setDescription(_AM_MYSEARCH_BLACKLIST_ADD_DSC); + $add_field = new XoopsFormTextArea('', 'keywords', '', 5, 70); + $add_tray->addElement($add_field,false); + $add_btn = new XoopsFormButton('', 'go', _AM_MYSEARCH_BLACKLIST_ADD, 'submit'); + $add_tray->addElement($add_btn,false); + $sform->addElement($add_tray); + $sform->display(); + echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; + break; + + + /** + * Add a word in the blacklist + */ + case 'addblacklist': + include_once XOOPS_ROOT_PATH.'/modules/mysearch/class/blacklist.php'; + if(intval($_GET['id'])!=0) { + $tmp_search = $mysearch_handler->get(intval($_GET['id'])); + if(is_object($tmp_search)) { + $keyword = $tmp_search->getVar('keyword'); + $blacklist = new mysearch_blacklist(); + $keywords=$blacklist->getAllKeywords(); + $blacklist->addkeywords($keyword); + $blacklist->store(); + } + } + redirect_header('index.php?op=stats', 2, _AM_MYSEARCH_DBUPDATED); + break; + + + /** + * Actions on the blacklist (add or remove keyword(s)) + */ + case 'MetagenBlackList': + include_once XOOPS_ROOT_PATH.'/modules/mysearch/class/blacklist.php'; + $blacklist = new mysearch_blacklist(); + $keywords=$blacklist->getAllKeywords(); + + if(isset($_POST['go']) && $_POST['go']==_AM_MYSEARCH_DELETE) { + foreach($_POST['blacklist'] as $black_id) { + $blacklist->delete($black_id); + } + $blacklist->store(); + } else { + if(isset($_POST['go']) && $_POST['go']==_AM_MYSEARCH_BLACKLIST_ADD) { + $p_keywords = $_POST['keywords']; + $keywords = explode("\n",$p_keywords); + foreach($keywords as $keyword) { + if(xoops_trim($keyword)!='') { + $blacklist->addkeywords(xoops_trim($keyword)); + } + } + $blacklist->store(); + } + } + redirect_header('index.php?op=blacklist', 2, _AM_MYSEARCH_DBUPDATED); + break; + + + /** + * Remove content based on the IP + */ + case 'removeip': + xoops_cp_header(); + if(intval($_GET['id'])!=0) { + $tmp_search = $mysearch_handler->get(intval($_GET['id'])); + if(is_object($tmp_search)) { + $critere = new Criteria('ip', $tmp_search->getVar('ip'),'='); + $mysearch_handler->deleteAll($critere); + } + unset($tmp_search); + } + redirect_header('index.php', 2, _AM_MYSEARCH_DBUPDATED); + break; + + /** + * Show credits + */ + case 'about': + xoops_cp_header(); + mysearch_adminmenu(4); + $module_handler =& xoops_gethandler('module'); + $module=& $module_handler->getByDirname('mysearch'); + + echo "<br style='clear: both;' /> +<img src='".XOOPS_URL."/modules/".$module->getInfo("dirname")."/".$module->getInfo("image")."' alt='Yogurt' style='float: left; margin-right: 10px;'/></a> +<div style='margin-top: 1px; color: #33538e; margin-bottom: 4px; font-size: 18px; line-height: 18px; font-weight: bold;'> + ".$module->getInfo("name")." ".$module->getInfo("version")."</div> + +<div style='line-height: 16px; font-weight: bold;'> + "._AM_MYSEARCH_BY." ".$module->getInfo("author")." +</div> + +<div style = 'line-height: 16px; '> + ".$module->getInfo("license")." + +</div> +<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer' style='margin-top: 15px;'> + <tr> + <td class='bg3'><b>"._AM_MYSEARCH_DESC."</b></td> + </tr> + + <tr> + <td class='even'>".$module->getInfo("description")."</td> + </tr> +</table> + <table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer' style='margin-top: 15px;'> + <tr> + <td class='bg3'><b>"._AM_MYSEARCH_CREDITS."</b></td> + </tr> + + <tr> + <td class='even'>".$module->getInfo("credits")."</td> + + </tr> + </table> + +<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer' style='margin-top: 15px;'> + <tr> + <td colspan='2' class='bg3'> + <b>"._AM_MYSEARCH_CONTRIBUTORS."</b> + </td> + </tr> + + + + <tr> + <td class='head' style='vertical-align: top;' width = '150px'>"._AM_MYSEARCH_DEVELOPERS."</td> + <td class='even'> + <div> + "; + + $people = $module->getInfo("people"); + + $developers = $people['developers']; + foreach ($developers as $developer){ + echo $developer." "; + } + + echo "</div> + </td> + </tr> + + <tr> + + <td class='head' style='vertical-align: top;' width = '150px'>"._AM_MYSEARCH_TESTERS."</td> + <td class='even'> + <div> + "; + + $testers = $people['testers']; + foreach ($testers as $tester){ + echo $tester." "; + } + + echo "</div> + </td> + </tr> + + + + + <tr> + <td class='head' width = '150px'>"._AM_MYSEARCH_TRANSLATIONS."</td> + + <td class='even'> + "; + + $translators = $people['translators']; + foreach ($translators as $translator){ + echo $translator." "; + } + + echo "</td> + </tr> + + <tr> + <td class='head' width = '150px'>"._AM_MYSEARCH_EMAIL."</td> + <td class='even'><a href='mailto:".$module->getInfo("developer_email")."' target='_blank'>".$module->getInfo("developer_email")."</a></td> + </tr> +</table> + +<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer' style='margin-top: 15px;'> + <tr> + <td colspan='2' class='bg3'><b>"._AM_MYSEARCH_MODDEVDET."</b></td> + </tr> + + <tr> + <td class='head' width = '200px'>"._AM_MYSEARCH_RELEASEDATE."</td> + <td class='even'>".$module->getInfo("date")."</td> + + </tr> + + <tr> + <td class='head' width = '200px'>"._AM_MYSEARCH_STATUS."</td> + <td class='even'>".$module->getInfo("status")."</td> + </tr> + + + <tr> + <td class='head' width = '200px'>"._AM_MYSEARCH_OFCSUPORTSITE."</td> + + <td class='even'><a href='".$module->getInfo("support_site_url")."' target='_blank'>".$module->getInfo("support_site_url")."</a></td> + </tr> + + +</table> +"; + break; + + + /** + * Default action, show statistics about keywords, users and many other things + */ + case 'stats': + default: + xoops_cp_header(); + mysearch_adminmenu(0); + + // Last x words (according to the module's option 'admincount') *************************************************************************************** + $start = 0; + $more_parameter = 'op=stats'; + if(isset($_GET['start1'])) { + $start = intval($_GET['start1']); + } elseif(isset($_SESSION['start1'])) { + $start=intval($_SESSION['start1']); + } + $_SESSION['start1']=$start; + $s_keyword = $s_uid = $s_ip = ''; + if(isset($_POST['s_keyword'])) { + $s_keyword = $_POST['s_keyword']; + } elseif(isset($_GET['s_keyword'])) { + $s_keyword = $_GET['s_keyword']; + } + + if(isset($_POST['s_uid'])) { + $s_uid = $_POST['s_uid']; + } elseif(isset($_GET['s_uid'])) { + $s_uid = $_GET['s_uid']; + } + + if(isset($_POST['s_ip'])) { + $s_ip = $_POST['s_ip']; + } elseif(isset($_GET['s_ip'])) { + $s_ip = $_GET['s_ip']; + } + + $critere = new CriteriaCompo(); + if($s_keyword != '') { + $critere->add(new Criteria('keyword', $s_keyword,'LIKE')); + $more_parameter .= '&s_keyword='.$s_keyword; + } + + if($s_uid != '') { + if(!is_numeric($s_uid)) { + $member_handler =& xoops_gethandler('member'); + $crituser = new Criteria('uname', $s_uid,'LIKE'); + $tbl_users = array(); + $tbl_users = $member_handler->getUsers($crituser); + if(count($tbl_users)>0) { + $tbl_users2 = array(); + foreach($tbl_users as $one_user) { + $tbl_users2[] = $one_user->getvar('uid'); + } + } + $users_list = '('.implode(',',$tbl_users2).')'; + $critere->add(new Criteria('uid', $users_list,'IN')); + } else { + $s_uid = intval($s_uid); + $critere->add(new Criteria('uid', $s_uid,'=')); + } + $more_parameter .= '&s_uid='.$s_uid; + } + + if($s_ip != '') { + $critere->add(new Criteria('ip', $s_ip,'LIKE')); + $more_parameter .= '&s_ip='.$s_ip; + } + $critere->setSort('datesearch'); + $critere->setLimit($keywords_count); + $critere->setStart($start); + $critere->setOrder('DESC'); + + // Total count of keywords + $totalcount=$mysearch_handler->getCount($critere); + echo '<h3>'.sprintf(_AM_MYSEARCH_STATS,$totalcount).'</h3>'; + + $pagenav = new XoopsPageNav( $totalcount, $keywords_count, $start, 'start1', $more_parameter); + $elements = $mysearch_handler->getObjects($critere); + mysearch_collapsableBar('keywordscount', 'keywordscounticon'); + echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='keywordscounticon' name='keywordscounticon' src=" . XOOPS_URL . "/modules/mysearch/images/close12.gif alt='' /></a> "._AM_MYSEARCH_KEYWORDS."</h4>"; + echo "<div id='keywordscount'>"; + echo '<br />'; + echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; + echo "<tr><th align='center'>"._AM_MYSEARCH_ID."</th><th align='center'>"._AM_MYSEARCH_KEYWORD."</th><th align='center'>"._AM_MYSEARCH_DATE."</th><th align='center'>"._AM_MYSEARCH_USER."</th><th align='center'>"._AM_MYSEARCH_IP."</th><th align='center'>"._AM_MYSEARCH_ACTION."</th></tr>"; + $class=''; + foreach($elements as $oneelement) { + $class = ($class == 'even') ? 'odd' : 'even'; + $link1 = "<a href='".XOOPS_URL.'/search.php?query='.$oneelement->getVar('keyword')."&action=results' target='_blank'>".$oneelement->getVar('keyword')."</a>"; + $link2 = "<a href='".XOOPS_URL."/userinfo.php?uid=".$oneelement->getVar('uid')."'>".$oneelement->uname()."</a>"; + $action_del = "<a ".mysearch_JavascriptLinkConfirm(_AM_MYSEARCH_AREYOUSURE)." href='index.php?op=removekeyword&id=".$oneelement->getVar('mysearchid')."' title='"._AM_MYSEARCH_DELETE."'><img src='../images/delete.png' border='0' alt='"._AM_MYSEARCH_DELETE."'></a>"; + $action_black = "<a ".mysearch_JavascriptLinkConfirm(_AM_MYSEARCH_AREYOUSURE)." href='index.php?op=addblacklist&id=".$oneelement->getVar('mysearchid')."' title='"._AM_MYSEARCH_BLACKLIST."'><img src='../images/list.png' border='0' alt='"._AM_MYSEARCH_BLACKLIST."'></a>"; + $action_remove_ip = "<a ".mysearch_JavascriptLinkConfirm(_AM_MYSEARCH_AREYOUSURE)." href='index.php?op=removeip&id=".$oneelement->getVar('mysearchid')."' title='"._AM_MYSEARCH_IP."'><img src='../images/ip.png' border='0' alt='"._AM_MYSEARCH_IP."'></a>"; + echo "<tr class='".$class."'><td align='center'>" . $oneelement->getVar('mysearchid')."</td><td align='center'>" . $link1 . "</td><td align='center'>".formatTimestamp(strtotime($oneelement->getVar('datesearch')))."</td><td align='center'>".$link2."</td><td align='center'>".$oneelement->getVar('ip')."</td><td align='center'>".$action_del.' '.$action_black.' '.$action_remove_ip.'</td></tr>'; + } + echo "<tr><form method='post' action='index.php'><th align='center'>"._AM_MYSEARCH_FILTER_BY."</th><th align='center'><input type='text' name='s_keyword' value='".$s_keyword."' size='10' /></th><th align='center'></th><th align='center'><input type='text' name='s_uid' value='".$s_uid."' size='10' /></th><th align='center'><input type='text' name='s_ip' value='".$s_ip."' size='10' /></th><th align='center'><input type='submit' name='btngo_filter' value='"._GO."' /></th></form></tr>"; + echo "</table><div align='right'>".$pagenav->renderNav().'</div></div><br />'; + + + // Most searched words ******************************************************************************************************************************** + $start = 0; + if(isset($_GET['start2'])) { + $start = intval($_GET['start2']); + } elseif(isset($_SESSION['start2'])) { + $start=intval($_SESSION['start2']); + } + $_SESSION['start2']=$start; + + $pagenav = new XoopsPageNav($mysearch_handler->getMostSearchedCount(), $keywords_count, $start, 'start2', 'op=stats'); + $elements = $mysearch_handler->getMostSearched($start,$keywords_count); + mysearch_collapsableBar('mostsearch', 'mostsearchicon'); + echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='mostsearchicon' name='mostsearchicon' src=" . XOOPS_URL . "/modules/mysearch/images/close12.gif alt='' /></a> "._AM_MYSEARCH_MOST_SEARCH."</h4>"; + echo "<div id='mostsearch'>"; + echo '<br />'; + echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; + echo "<tr><th align='center'>"._AM_MYSEARCH_HITS."</th><th align='center'>"._AM_MYSEARCH_KEYWORD."</th><th align='center'>"._AM_MYSEARCH_ACTION."</th></tr>"; + $class=''; + foreach($elements as $onekeyword_id => $onekeyword_datas) { + $onekeyword = $onekeyword_datas['keyword']; + $onekeywordcount = $onekeyword_datas['count']; + $class = ($class == 'even') ? 'odd' : 'even'; + $link1 = "<a href='".XOOPS_URL.'/search.php?query='.$onekeyword."&action=results' target='_blank'>".$onekeyword."</a>"; + $action_del = "<a ".mysearch_JavascriptLinkConfirm(_AM_MYSEARCH_AREYOUSURE)." href='index.php?op=removekeyword&id=".$onekeyword_id."' title='"._AM_MYSEARCH_DELETE."'><img src='../images/delete.png' border='0' alt='"._AM_MYSEARCH_DELETE."' /></a>"; + $action_black = "<a ".mysearch_JavascriptLinkConfirm(_AM_MYSEARCH_AREYOUSURE)." href='index.php?op=addblacklist&id=".$onekeyword_id."' title='"._AM_MYSEARCH_BLACKLIST."'><img src='../images/list.png' border='0' alt='"._AM_MYSEARCH_BLACKLIST."' /></a>"; + echo "<tr class='".$class."'><td align='center'>" . $onekeywordcount."</td><td align='center'>" . $link1 . "</td><td align='center'>".$action_del.' '.$action_black."</td></tr>"; + } + echo "</table><div align='right'>".$pagenav->renderNav().'</div></div><br />'; + + // Biggest users of the search ************************************************************************************************************************ + $tmpmysearch = new searches(); + $start = 0; + if(isset($_GET['start3'])) { + $start = intval($_GET['start3']); + } elseif(isset($_SESSION['start3'])) { + $start=intval($_SESSION['start3']); + } + $_SESSION['start3']=$start; + + $pagenav = new XoopsPageNav($mysearch_handler->getBiggestContributorsCount(), $keywords_count, $start, 'start3', 'op=stats'); + $elements = $mysearch_handler->getBiggestContributors($start,$keywords_count); + mysearch_collapsableBar('bigcontribut', 'bigcontributicon'); + echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='bigcontributicon' name='bigcontributicon' src=" . XOOPS_URL . "/modules/mysearch/images/close12.gif alt='' /></a> "._AM_MYSEARCH_BIGGEST_USERS."</h4>"; + echo "<div id='bigcontribut'>"; + echo '<br />'; + echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; + echo "<tr><th align='center'>"._AM_MYSEARCH_USER."</th><th align='center'>"._AM_MYSEARCH_HITS."</th></tr>"; + $class=''; + foreach($elements as $oneuser => $onecount) { + $class = ($class == 'even') ? 'odd' : 'even'; + $link1 = "<a href='".XOOPS_URL."/userinfo.php?uid=".$oneuser."'>".$tmpmysearch->uname($oneuser)."</a>"; + echo "<tr class='".$class."'><td align='center'>" . $link1."</td><td align='center'>" .$onecount. "</td></tr>"; + } + echo "</table><div align='right'>".$pagenav->renderNav().'</div></div><br />'; + + // daily stats **************************************************************************************************************************************** + $start = 0; + if(isset($_GET['start4'])) { + $start = intval($_GET['start4']); + } elseif(isset($_SESSION['start4'])) { + $start=intval($_SESSION['start4']); + } + $_SESSION['start4']=$start; + $pagenav = new XoopsPageNav($mysearch_handler->getUniqueDaysCount(), $keywords_count, $start, 'start4', 'op=stats'); + $elements = $mysearch_handler->GetCountPerDay($start,$keywords_count); + mysearch_collapsableBar('daystat', 'daystaticon'); + echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='daystaticon' name='daystaticon' src=" . XOOPS_URL . "/modules/mysearch/images/close12.gif alt='' /></a> "._AM_MYSEARCH_DAY_STATS."</h4>"; + echo "<div id='daystat'>"; + echo '<br />'; + echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; + echo "<tr><th align='center'>"._AM_MYSEARCH_DATE."</th><th align='center'>"._AM_MYSEARCH_USE."</th></tr>"; + $class=''; + foreach($elements as $onedate => $onecount) { + $class = ($class == 'even') ? 'odd' : 'even'; + $datefordisplay=formatTimestamp(strtotime($onedate),'s'); + echo "<tr class='".$class."'><td align='center'>" . $datefordisplay."</td><td align='center'>" .$onecount. "</td></tr>"; + } + echo "</table><div align='right'>".$pagenav->renderNav().'</div></div><br />'; + + // IP stats ******************************************************************************************************************************************* + $start = 0; + if(isset($_GET['start4'])) { + $start = intval($_GET['start4']); + } elseif(isset($_SESSION['start4'])) { + $start=intval($_SESSION['start4']); + } + $_SESSION['start4']=$start; + + $pagenav = new XoopsPageNav($mysearch_handler->getIPsCount(), $keywords_count, $start, 'start4', 'op=stats'); + $elements = $mysearch_handler->getIPs($start,$keywords_count); + mysearch_collapsableBar('ipcount', 'ipcounticon'); + echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='ipcounticon' name='ipcounticon' src=" . XOOPS_URL . "/modules/mysearch/images/close12.gif alt='' /></a> "._AM_MYSEARCH_IP."</h4>"; + echo "<div id='ipcount'>"; + echo '<br />'; + echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; + echo "<tr><th align='center'>"._AM_MYSEARCH_IP."</th><th align='center'>"._AM_MYSEARCH_HITS."</th></tr>"; + $class=''; + foreach($elements as $oneip => $onecount) { + $class = ($class == 'even') ? 'odd' : 'even'; + echo "<tr class='".$class."'><td align='center'>" .$oneip."</td><td align='center'>" .$onecount. "</td></tr>"; + } + echo "</table><div align='right'>".$pagenav->renderNav().'</div></div><br />'; + + + + echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; + break; +} +xoops_cp_footer(); +?> + Added: XoopsModules/mysearch/trunk/mysearch/admin/menu.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/admin/menu.php (rev 0) +++ XoopsModules/mysearch/trunk/mysearch/admin/menu.php 2012-04-03 03:35:50 UTC (rev 9245) @@ -0,0 +1,38 @@ +<?php +// ------------------------------------------------------------------------ // +// mysearch - MODULE FOR XOOPS 2 // +// Copyright (c) 2005-2006 Instant Zero // +// <http://xoops.instant-zero.com/> // +// ------------------------------------------------------------------------- // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +$adminmenu[0]['title'] = _MI_MYSEARCH_ADMMENU1; +$adminmenu[0]['link'] = "admin/index.php?op=stats"; +$adminmenu[1]['title'] = _MI_MYSEARCH_ADMMENU2; +$adminmenu[1]['link'] = "admin/index.php?op=purge"; +$adminmenu[2]['title'] = _MI_MYSEARCH_ADMMENU3; +$adminmenu[2]['link'] = "admin/index.php?op=export"; +$adminmenu[3]['title'] = _MI_MYSEARCH_ADMMENU4; +$adminmenu[3]['link'] = "admin/index.php?op=blacklist"; +$adminmenu[4]['title'] = _MI_MYSEARCH_ADMMENU5; +$adminmenu[4]['link'] = "admin/index.php?op=about"; + +?> Added: XoopsModules/mysearch/trunk/mysearch/admin/upgrade.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/admin/upgrade.php (rev 0) +++ XoopsModules/mysearch/trunk/mysearch/admin/upgrade.php 2012-04-03 03:35:50 UTC (rev 9245) @@ -0,0 +1,42 @@ +<?php +// $Id$ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2005-2006 Instant Zero // +// <http://xoops.instant-zero.com/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +include_once '../../../include/cp_header.php'; +xoops_cp_header(); +include_once XOOPS_ROOT_PATH.'/modules/mysearch/include/functions.php'; + + +if (is_object($xoopsUser) && $xoopsUser->isAdmin($xoopsModule->mid())) { + if (!mysearch_FieldExists('ip',$xoopsDB->prefix('mysearch_searches'))) { + mysearch_AddField("ip varchar(32) NOT NULL default ''",$xoopsDB->prefix('mysearch_searches')); + } + echo "<br>ok"; +} else { + printf("<H2>%s</H2>\n",_ERRORS); +} +xoops_cp_footer(); +?> Added: XoopsModules/mysearch/trunk/mysearch/blocks/index.html =================================================================== --- XoopsModules/mysearch/trunk/mysearch/blocks/index.html (rev 0) +++ XoopsModules/mysearch/trunk/mysearch/blocks/index.html 2012-04-03 03:35:50 UTC (rev 9245) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/mysearch/trunk/mysearch/blocks/mysearch_ajax_search.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/blocks/mysearch_ajax_search.php (rev 0) +++ XoopsModules/mysearch/trunk/mysearch/blocks/mysearch_ajax_search.php 2012-04-03 03:35:50 UTC (rev 9245) @@ -0,0 +1,30 @@ +<?php +// Author: Trabis +// URL: http://www.xuups.com +// E-Mail: lus...@gm... +if (!defined("XOOPS_ROOT_PATH")) { + die("XOOPS root path not defined"); +} + +function b_mysearch_ajaxsearch_show() +{ + global $xoTheme, $xoopsTpl; + + //load scripts + if (!defined('MYSEARCH_INCLUDED')) { + define('MYSEARCH_INCLUDED', '1'); + if (@is_object($xoTheme)) { + $xoTheme->addStylesheet(XOOPS_URL.'/modules/mysearch/css/style.css'); + $xoTheme->addScript(XOOPS_URL.'/modules/mysearch/js/scriptaculous/lib/prototype.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/mysearch/js/scriptaculous/src/scriptaculous.js'); + } else { + $xoopsTpl->assign( 'xoops_module_header' , '<link rel="stylesheet" type="text/css" href="'.XOOPS_URL.'/modules/mysearch/css/style.css" /><script type="text/javascript" src="'.XOOPS_URL.'/modules/mysearch/js/scriptaculous/lib/prototype.js"></script><script type="text/javascript" src="'.XOOPS_URL.'/modules/mysearch/js/scriptaculous/src/scriptaculous.js"></script>'.@$xoopsTpl->get_template_vars("xoops_module_header") ); + } + } + + $block = array(); + $block['lang_search'] = _MB_MYSEARCH_SEARCH; + $block['lang_advsearch'] = _MB_MYSEARCH_ADVS; + return $block; +} +?> Added: XoopsModules/mysearch/trunk/mysearch/blocks/mysearch_biggest_users.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/blocks/mysearch_biggest_users.php (rev 0) +++ XoopsModules/mysearch/trunk/mysearch/blocks/mysearch_biggest_users.php 2012-04-03 03:35:50 UTC (rev 9245) @@ -0,0 +1,48 @@ +<?php +// ------------------------------------------------------------------------ // +// mysearch - MODULE FOR XOOPS 2 // +// Copyright (c) 2005-2006 Instant Zero // +// <http://xoops.instant-zero.com/> // +// ------------------------------------------------------------------------- // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +function b_mysearch_big_user_show() +{ + include_once XOOPS_ROOT_PATH."/modules/mysearch/include/functions.php"; + $mysearch_handler =& xoops_getmodulehandler('searches', 'mysearch'); + $block = array(); + $visiblekeywords = mysearch_getmoduleoption('showindex'); + if($visiblekeywords > 0) { + $tmpmysearch = new searches(); + $keywords_count=mysearch_getmoduleoption('admincount'); + + // Total keywords count + $block['total_keywords']=$mysearch_handler->getCount(); + + // Biggest users + $elements = $mysearch_handl... [truncated message content] |
From: <be...@us...> - 2012-04-03 00:34:40
|
Revision: 9244 http://xoops.svn.sourceforge.net/xoops/?rev=9244&view=rev Author: beckmi Date: 2012-04-03 00:34:31 +0000 (Tue, 03 Apr 2012) Log Message: ----------- Version 1.1 RC2 - XOOPS 2.5.x Admin GUI Modified Paths: -------------- XoopsModules/defacer/trunk/defacer/admin/admin_about.php XoopsModules/defacer/trunk/defacer/admin/admin_header.php XoopsModules/defacer/trunk/defacer/admin/admin_meta.php XoopsModules/defacer/trunk/defacer/admin/admin_page.php XoopsModules/defacer/trunk/defacer/admin/admin_permission.php XoopsModules/defacer/trunk/defacer/admin/admin_theme.php XoopsModules/defacer/trunk/defacer/admin/index.php XoopsModules/defacer/trunk/defacer/admin/menu.php XoopsModules/defacer/trunk/defacer/images/metas_big.png XoopsModules/defacer/trunk/defacer/images/metas_small.png XoopsModules/defacer/trunk/defacer/images/permissions_big.png XoopsModules/defacer/trunk/defacer/images/permissions_small.png XoopsModules/defacer/trunk/defacer/images/themes_big.png XoopsModules/defacer/trunk/defacer/images/themes_small.png XoopsModules/defacer/trunk/defacer/language/english/admin.php XoopsModules/defacer/trunk/defacer/language/english/modinfo.php XoopsModules/defacer/trunk/defacer/templates/defacer_admin_meta.html XoopsModules/defacer/trunk/defacer/templates/defacer_admin_page.html XoopsModules/defacer/trunk/defacer/templates/defacer_admin_permission.html XoopsModules/defacer/trunk/defacer/templates/defacer_admin_theme.html XoopsModules/defacer/trunk/defacer/xoops_version.php Added Paths: ----------- XoopsModules/defacer/trunk/defacer/admin/about.php XoopsModules/defacer/trunk/defacer/admin/admin_footer.php XoopsModules/defacer/trunk/defacer/docs/ XoopsModules/defacer/trunk/defacer/docs/changelog.txt XoopsModules/defacer/trunk/defacer/docs/credits.txt XoopsModules/defacer/trunk/defacer/docs/index.html XoopsModules/defacer/trunk/defacer/docs/install.txt XoopsModules/defacer/trunk/defacer/docs/lang_diff.txt XoopsModules/defacer/trunk/defacer/docs/licence.txt XoopsModules/defacer/trunk/defacer/docs/readme.txt XoopsModules/defacer/trunk/defacer/images/metas_big0.png XoopsModules/defacer/trunk/defacer/images/metas_small0.png XoopsModules/defacer/trunk/defacer/language/english/help/ XoopsModules/defacer/trunk/defacer/language/english/help/help.html XoopsModules/defacer/trunk/defacer/language/english/help/index.html Removed Paths: ------------- XoopsModules/defacer/trunk/defacer/changelog.txt XoopsModules/defacer/trunk/defacer/readme.txt Added: XoopsModules/defacer/trunk/defacer/admin/about.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/about.php (rev 0) +++ XoopsModules/defacer/trunk/defacer/admin/about.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -0,0 +1,12 @@ +<?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 'admin_footer.php'; \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/admin/admin_about.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_about.php 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/admin/admin_about.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -23,5 +23,5 @@ $aboutObj = new DefacerAbout(); $aboutObj->render(); - +include_once 'admin_footer.php'; ?> \ No newline at end of file Added: XoopsModules/defacer/trunk/defacer/admin/admin_footer.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_footer.php (rev 0) +++ XoopsModules/defacer/trunk/defacer/admin/admin_footer.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -0,0 +1,9 @@ +<?php +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/admin/admin_header.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_header.php 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/admin/admin_header.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -18,8 +18,13 @@ * @version $Id: admin_header.php 0 2009-06-11 18:47:04Z trabis $ */ -require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; -require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; +//require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; +//require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; +require_once $path . '/class/xoopsformloader.php'; include_once dirname(dirname(__FILE__)) . '/include/common.php'; include_once dirname(__FILE__) . '/admin_functions.php'; @@ -28,4 +33,25 @@ include_once XOOPS_ROOT_PATH . '/class/template.php'; $xoopsTpl = new XoopsTpl(); } -?> + +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'); + +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + }else{ + redirect_header("../../../admin.php", 5, _AM_DEFACER_MODULEADMIN_MISSING, false); + } \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/admin/admin_meta.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_meta.php 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/admin/admin_meta.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -28,22 +28,25 @@ $start = isset($_REQUEST['start']) ? intval($_REQUEST['start']) : 0; $itemid = isset($_REQUEST['meta_id']) ? intval($_REQUEST['meta_id']) : $itemid; +$indexAdmin = new ModuleAdmin(); switch ($op) { case 'list': xoops_cp_header(); - defacer_adminMenu(2); + echo $indexAdmin->addNavigation('admin_meta.php'); + //defacer_adminMenu(2); echo defacer_index($start, $limit); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; case 'add': defacer_add(); break; case 'edit': xoops_cp_header(); - defacer_adminMenu(2); + echo $indexAdmin->addNavigation('admin_meta.php'); + //defacer_adminMenu(2); echo defacer_form($itemid); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; case 'editok': defacer_edit($itemid); @@ -163,7 +166,7 @@ if (!$defacer->getHandler('meta')->delete($obj)) { xoops_cp_header(); xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('meta_id'))); - xoops_cp_footer(); + include_once 'admin_footer.php'; exit(); } @@ -174,7 +177,7 @@ { xoops_cp_header(); xoops_confirm(array('op' => 'delok', 'itemid' => $itemid), basename(__FILE__), _AM_DEFACER_RUDEL); - xoops_cp_footer(); + include_once 'admin_footer.php'; } function defacer_form($itemid = 0) Modified: XoopsModules/defacer/trunk/defacer/admin/admin_page.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_page.php 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/admin/admin_page.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -28,21 +28,26 @@ $start = isset($_REQUEST['start']) ? intval($_REQUEST['start']) : 0; $query = isset($_REQUEST['query']) ? trim($_REQUEST['query']) : ''; +$indexAdmin = new ModuleAdmin(); + + switch ($op) { case 'list': xoops_cp_header(); - defacer_adminMenu(0); + echo $indexAdmin->addNavigation('admin_page.php'); + //defacer_adminMenu(0); echo defacer_index($start, $limit, $query); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; case 'add': defacer_add(); break; case 'edit': xoops_cp_header(); - defacer_adminMenu(0); + echo $indexAdmin->addNavigation('admin_page.php'); + //defacer_adminMenu(0); echo defacer_form($itemid); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; case 'editok': defacer_edit($itemid); @@ -176,7 +181,7 @@ if (!$defacer->getHandler('page')->delete($obj)) { xoops_cp_header(); xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('page_id'))); - xoops_cp_footer(); + include_once 'admin_footer.php'; exit(); } @@ -184,7 +189,7 @@ if (is_object($obj) && !$defacer->getHandler('theme')->delete($obj)) { xoops_cp_header(); xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('theme_id'))); - xoops_cp_footer(); + include_once 'admin_footer.php'; exit(); } @@ -192,7 +197,7 @@ if (is_object($obj) && !$defacer->getHandler('meta')->delete($obj)) { xoops_cp_header(); xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('meta_id'))); - xoops_cp_footer(); + include_once 'admin_footer.php'; exit(); } @@ -200,7 +205,7 @@ if (is_object($obj) && !$defacer->getHandler('permission')->delete($obj)) { xoops_cp_header(); xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('permission_id'))); - xoops_cp_footer(); + include_once 'admin_footer.php'; exit(); } @@ -211,7 +216,7 @@ { xoops_cp_header(); xoops_confirm(array('op' => 'delok', 'itemid' => $itemid), basename(__FILE__), _AM_DEFACER_RUDEL); - xoops_cp_footer(); + include_once 'admin_footer.php'; } function defacer_changestatus($itemid) @@ -282,7 +287,6 @@ } else { $form->addElement(new XoopsFormHidden('op', 'add')); } - return $form->render(); } ?> \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/admin/admin_permission.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_permission.php 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/admin/admin_permission.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -28,22 +28,25 @@ $start = isset($_REQUEST['start']) ? intval($_REQUEST['start']) : 0; $itemid = isset($_REQUEST['permission_id']) ? intval($_REQUEST['permission_id']) : $itemid; +$indexAdmin = new ModuleAdmin(); switch ($op) { case 'list': xoops_cp_header(); - defacer_adminMenu(1); + echo $indexAdmin->addNavigation('admin_permission.php'); + //defacer_adminMenu(1); echo defacer_index($start, $limit); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; case 'add': defacer_add(); break; case 'edit': xoops_cp_header(); - defacer_adminMenu(1); + echo $indexAdmin->addNavigation('admin_permission.php'); + //defacer_adminMenu(1); echo defacer_form($itemid); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; case 'editok': defacer_edit($itemid); @@ -170,7 +173,7 @@ if (!$defacer->getHandler('permission')->delete($obj)) { xoops_cp_header(); xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('permission_id'))); - xoops_cp_footer(); + include_once 'admin_footer.php'; exit(); } @@ -181,7 +184,7 @@ { xoops_cp_header(); xoops_confirm(array('op' => 'delok', 'itemid' => $itemid), basename(__FILE__), _AM_DEFACER_RUDEL); - xoops_cp_footer(); + include_once 'admin_footer.php'; } function defacer_form($itemid = 0) Modified: XoopsModules/defacer/trunk/defacer/admin/admin_theme.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_theme.php 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/admin/admin_theme.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -29,21 +29,25 @@ $itemid = isset($_REQUEST['theme_id']) ? intval($_REQUEST['theme_id']) : $itemid; +$indexAdmin = new ModuleAdmin(); + switch ($op) { case 'list': xoops_cp_header(); - defacer_adminMenu(1); + echo $indexAdmin->addNavigation('admin_theme.php'); + //defacer_adminMenu(1); echo defacer_index($start, $limit); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; case 'add': defacer_add(); break; case 'edit': xoops_cp_header(); - defacer_adminMenu(1); + echo $indexAdmin->addNavigation('admin_theme.php'); + //defacer_adminMenu(1); echo defacer_form($itemid); - xoops_cp_footer(); + include_once 'admin_footer.php'; break; case 'editok': defacer_edit($itemid); @@ -163,7 +167,7 @@ if (!$defacer->getHandler('theme')->delete($obj)) { xoops_cp_header(); xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('theme_id'))); - xoops_cp_footer(); + include_once 'admin_footer.php'; exit(); } @@ -174,7 +178,7 @@ { xoops_cp_header(); xoops_confirm(array('op' => 'delok', 'itemid' => $itemid), basename(__FILE__), _AM_DEFACER_RUDEL); - xoops_cp_footer(); + include_once 'admin_footer.php'; } function defacer_form($itemid = 0) Modified: XoopsModules/defacer/trunk/defacer/admin/index.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/index.php 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/admin/index.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -18,5 +18,15 @@ * @version $Id: index.php 0 2009-06-11 18:47:04Z trabis $ */ -include dirname(__FILE__) . '/admin_page.php'; -?> \ No newline at end of file + +require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; +include_once dirname(__FILE__) . '/admin_header.php'; + +xoops_cp_header(); + + $indexAdmin = new ModuleAdmin(); + + echo $indexAdmin->addNavigation('index.php'); + echo $indexAdmin->renderIndex(); + +include "admin_footer.php"; \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/admin/menu.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/menu.php 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/admin/menu.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -20,25 +20,44 @@ defined('XOOPS_ROOT_PATH') or die("XOOPS root path not defined"); +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); + +$adminmenu = array(); + $i = -1; $i++; +$adminmenu[$i]['title'] = _MI_DEFACER_HOME; +$adminmenu[$i]['link'] = "admin/index.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/home.png' ; + +$i++; $adminmenu[$i]['title'] = _MI_DEFACER_PAGEMANAGER; $adminmenu[$i]['link'] = "admin/admin_page.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/index.png' ; $i++; $adminmenu[$i]['title'] = _MI_DEFACER_THEMEMANAGER; $adminmenu[$i]['link'] = "admin/admin_theme.php"; - +$adminmenu[$i]['icon'] = $pathIcon32.'/watermark.png' ; $i++; $adminmenu[$i]['title'] = _MI_DEFACER_METAMANAGER; $adminmenu[$i]['link'] = "admin/admin_meta.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/administration.png' ; $i++; $adminmenu[$i]['title'] = _MI_DEFACER_PERMISSIONMANAGER; $adminmenu[$i]['link'] = "admin/admin_permission.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/permissions.png' ; $i++; $adminmenu[$i]['title'] = _MI_DEFACER_ABOUT; -$adminmenu[$i]['link'] = "admin/admin_about.php"; +$adminmenu[$i]['link'] = 'admin/about.php'; +$adminmenu[$i]['icon'] = $pathIcon32.'/about.png'; -?> \ No newline at end of file +//$i++; +//$adminmenu[$i]['title'] = _MI_DEFACER_ABOUT; +//$adminmenu[$i]['link'] = "admin/admin_about.php"; +//$adminmenu[$i]['icon'] = $pathIcon32.'/about.png'; \ No newline at end of file Deleted: XoopsModules/defacer/trunk/defacer/changelog.txt =================================================================== --- XoopsModules/defacer/trunk/defacer/changelog.txt 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/changelog.txt 2012-04-03 00:34:31 UTC (rev 9244) @@ -1,19 +0,0 @@ -<b><u>=> Version 1.0 Final (2009-09-05)</u></b> -Added : jgrowl redirection. -Added : blocks anywhere. - -<b><u>=> Version 1.0 RC (2009-09-01)</u></b> -Improved : Refactored admin area. -Added : Defacer in xoopsLogger Extra. - -<b><u>=> Version 1.0 Alpha (2008-10-27)</u></b> -- First public release of the module. -<b><u>=> Version 1.0 Beta (2008-11-08)</u></b> -Improved : More friendly admin area. -Improved : Less queries needed. -Improved : Less language definitions needed. -Added : Defacer in xoopsLogger. -Added : Settings to disable each Defacer actions. - -<b><u>=> Version 1.0 Alpha (2008-10-27)</u></b> -- First public release of the module. Added: XoopsModules/defacer/trunk/defacer/docs/changelog.txt =================================================================== --- XoopsModules/defacer/trunk/defacer/docs/changelog.txt (rev 0) +++ XoopsModules/defacer/trunk/defacer/docs/changelog.txt 2012-04-03 00:34:31 UTC (rev 9244) @@ -0,0 +1,28 @@ +<b><u>Version 1.1 RC2 (2012-02-22)</u></b> + +- Converted to XOOPS 2.5.x GUI (mamba) +- updated Icons to make them consistent with other modules + +<b><u> Version 1.0 Final (2009-09-05)</u></b> + +- Added : jgrowl redirection. +- Added : blocks anywhere. + +<b><u>Version 1.0 RC (2009-09-01)</u></b> + +- Improved : Refactored admin area. +- Added : Defacer in xoopsLogger Extra. + +<b><u> Version 1.0 Beta (2008-11-08)</u></b> + +- Improved : More friendly admin area. +- Improved : Less queries needed. +- Improved : Less language definitions needed. +- Added : Defacer in xoopsLogger. +- Added : Settings to disable each Defacer actions. + + +<b><u> Version 1.0 Alpha (2008-10-27)</u></b> +- First public release of the module. + + Added: XoopsModules/defacer/trunk/defacer/docs/credits.txt =================================================================== --- XoopsModules/defacer/trunk/defacer/docs/credits.txt (rev 0) +++ XoopsModules/defacer/trunk/defacer/docs/credits.txt 2012-04-03 00:34:31 UTC (rev 9244) @@ -0,0 +1,6 @@ +Credits +=============== + +Originally developed by Herv\xE9 Thouzard (hervet), + +Updated to XOOPS 2.5.0 Standard GUI by Michael Beck (Mamba), with contributions by Gregory Mage (Mage) \ No newline at end of file Added: XoopsModules/defacer/trunk/defacer/docs/index.html =================================================================== --- XoopsModules/defacer/trunk/defacer/docs/index.html (rev 0) +++ XoopsModules/defacer/trunk/defacer/docs/index.html 2012-04-03 00:34:31 UTC (rev 9244) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/defacer/trunk/defacer/docs/install.txt =================================================================== --- XoopsModules/defacer/trunk/defacer/docs/install.txt (rev 0) +++ XoopsModules/defacer/trunk/defacer/docs/install.txt 2012-04-03 00:34:31 UTC (rev 9244) @@ -0,0 +1,6 @@ +INSTALL/UNISTALL +================= + +No special measures necessary, follow the standard installation process \x96 extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. + +Detailed instructions on installing modules are available in the XOOPS Operations Manual: http://goo.gl/adT2i \ No newline at end of file Added: XoopsModules/defacer/trunk/defacer/docs/lang_diff.txt =================================================================== --- XoopsModules/defacer/trunk/defacer/docs/lang_diff.txt (rev 0) +++ XoopsModules/defacer/trunk/defacer/docs/lang_diff.txt 2012-04-03 00:34:31 UTC (rev 9244) @@ -0,0 +1,4 @@ +LANGUAGE DIFFERENCES +===================== + +Below are language differences from a version to next version. \ No newline at end of file Added: XoopsModules/defacer/trunk/defacer/docs/licence.txt =================================================================== --- XoopsModules/defacer/trunk/defacer/docs/licence.txt (rev 0) +++ XoopsModules/defacer/trunk/defacer/docs/licence.txt 2012-04-03 00:34:31 UTC (rev 9244) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + 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. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/defacer/trunk/defacer/docs/readme.txt =================================================================== --- XoopsModules/defacer/trunk/defacer/docs/readme.txt (rev 0) +++ XoopsModules/defacer/trunk/defacer/docs/readme.txt 2012-04-03 00:34:31 UTC (rev 9244) @@ -0,0 +1,86 @@ +What is Defacer Module (v1.0 Final) ? +====================== + +With this Xoops module, your can: +- change themes, metadata and permissions for any given page. +- enable jgrowl redirection system (xoops 2.4+ only) +- use blocks anywhere (xoops 2.4+ only) + + + +Requirements +==================== + +- XOOPS >= 2.5.0 +- PHP version >= 5.2.0 +- ModuleClasses in /Frameworks (download it from here: http://goo.gl/Bmknt) + + +How to install Defacer +==================== + +Copy defacer folder into the /modules directory of your website. +Then log in to your site as administrator, go to System Admin > Modules, look for the defacer +icon in the list of uninstalled modules and click in the install icon. +Follow the directions in the screen. + + +ATENTION, if you are NOT using xoops 2.4 or impressCms 1.1 +you have to add a line in header.php and footer.php at the root of your instalation + +In yoursite/header.php paste the line + +@include_once XOOPS_ROOT_PATH . '/modules/defacer/include/beforeheader.php'; + +right after + +defined("XOOPS_ROOT_PATH") or die( 'XOOPS root path not defined' ); + +In yoursite/footer.php paste the line + +@include_once XOOPS_ROOT_PATH . '/modules/defacer/include/beforefooter.php'; + +right after + +if (!defined("XOOPS_ROOT_PATH")) { + die("XOOPS root path not defined"); +} + + + +Tips +======= +When creating pages you can use '*' symbol in the url field to match any url. + +You should use relative paths +If you select news module your path will be related to yoursite/module/news/ +You should add for example +index.php and not modules/news/index.php + +System module is relative to root +You can select system module and enter this url to cover all userinfo pages: +userinfo.php* + +Tips for blocks anywhere (xoops 2.4 only) +========= +Just prefix your block title with an underscore and you will be able to use it +has a smarty variable inside your theme or template +Example: +-Edit User menu block and rename it to _User Menu +-Take notice of the "bid" in the url, in this case it is '1': + modules/system/admin.php?fct=blocksadmin&op=edit&bid=1 +-Usage on theme/template: +<{$xoops_block_1.title}> --> echos User Menu +<{$xoops_block_1.content}> --> echos the block content + +Limitations +======== + +The block for changing themes is deactivated when using Defacer Theme Changer. + + + +Feedback +======== + +Please use http://www.xuups.com (xoops user utilities) \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/images/metas_big.png =================================================================== (Binary files differ) Added: XoopsModules/defacer/trunk/defacer/images/metas_big0.png =================================================================== (Binary files differ) Property changes on: XoopsModules/defacer/trunk/defacer/images/metas_big0.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsModules/defacer/trunk/defacer/images/metas_small.png =================================================================== (Binary files differ) Added: XoopsModules/defacer/trunk/defacer/images/metas_small0.png =================================================================== (Binary files differ) Property changes on: XoopsModules/defacer/trunk/defacer/images/metas_small0.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsModules/defacer/trunk/defacer/images/permissions_big.png =================================================================== (Binary files differ) Modified: XoopsModules/defacer/trunk/defacer/images/permissions_small.png =================================================================== (Binary files differ) Modified: XoopsModules/defacer/trunk/defacer/images/themes_big.png =================================================================== (Binary files differ) Modified: XoopsModules/defacer/trunk/defacer/images/themes_small.png =================================================================== (Binary files differ) Modified: XoopsModules/defacer/trunk/defacer/language/english/admin.php =================================================================== --- XoopsModules/defacer/trunk/defacer/language/english/admin.php 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/language/english/admin.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -39,4 +39,11 @@ define("_AM_DEFACER_PERMISSIONMAN","Permission Manager"); define("_AM_DEFACER_PERMISSION_GROUPS","Permited Groups"); -?> + +//1.1 + +//ModuleAdmin +define('_AM_DEFACER_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); + +// Text for Admin footer +//define("_AM_DEFACER_FOOTER", "<div class='center smallsmall italic pad5'>Defacer is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); Added: XoopsModules/defacer/trunk/defacer/language/english/help/help.html =================================================================== --- XoopsModules/defacer/trunk/defacer/language/english/help/help.html (rev 0) +++ XoopsModules/defacer/trunk/defacer/language/english/help/help.html 2012-04-03 00:34:31 UTC (rev 9244) @@ -0,0 +1,80 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/defacer/admin/index.php" + title="Back to the administration of Defacer"> Defacer + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Defacer"/> + </a></h1> + + <h4 class="odd">Description</h4> + + <p>Defacer is a new revolutionary XOOPS module that allows you to change themes, metadata and + permissions for any given page on the XOOPS-based Website, thus giving you a level of control and customization + not seen before. </p> + + <p>It also comes with jgrowl redirection system and the ability of using blocks anywhere in your theme and + templates </p><br/> + + <p> + With this Xoops module, your can: + <ul> + <li>change themes, metadata and permissions for any given page.</li> + <li>enable jgrowl redirection system</li> + <li>use blocks anywhere</li> + </ul> + </p> + + <h4 class="odd">Install/uninstall</h4> + + <p class="even">Copy Defacer folder into the /modules directory of your website. + Then log in to your site as administrator, go to System Admin > Modules, look for the defacer + icon in the list of uninstalled modules and click in the install icon. + Follow the directions in the screen.<br/> <br/> + Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a></p> + + + <h4 class="odd">Operating instructions</h4> + + <p class="even"> + When creating pages you can use '*' symbol in the url field to match any url. + + You should use relative paths + If you select news module your path will be related to yoursite/module/news/ + You should add for example + index.php and not modules/news/index.php<br/> <br/> + + System module is relative to root + You can select system module and enter this url to cover all userinfo pages: + userinfo.php*<br/> <br/> + + Tips for blocks anywhere (xoops 2.4 only)<br/> + =========<br/> <br/> + Just prefix your block title with an underscore and you will be able to use it + has a smarty variable inside your theme or template <br/> + Example: <br/> + -Edit User menu block and rename it to _User Menu <br/> + -Take notice of the "bid" in the url, in this case it is '1': + modules/system/admin.php?fct=blocksadmin&op=edit&bid=1 <br/> + -Usage on theme/template: <br/> + < {$xoops_block_1.title} > --> echos User Menu <br/> + < {$xoops_block_1.content} > --> echos the block content + + </p> + + <h4 class="odd">Limitations</h4> + + <p class="even"> + The block for changing themes is deactivated when using Defacer Theme Changer. + + </p> + + <h4 class="odd">Tutorial</h4> + + <p class="even"> + Currently no tutorial is available. + + </p> + + +</div> \ No newline at end of file Added: XoopsModules/defacer/trunk/defacer/language/english/help/index.html =================================================================== --- XoopsModules/defacer/trunk/defacer/language/english/help/index.html (rev 0) +++ XoopsModules/defacer/trunk/defacer/language/english/help/index.html 2012-04-03 00:34:31 UTC (rev 9244) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/language/english/modinfo.php =================================================================== --- XoopsModules/defacer/trunk/defacer/language/english/modinfo.php 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/language/english/modinfo.php 2012-04-03 00:34:31 UTC (rev 9244) @@ -25,4 +25,6 @@ define("_MI_DEFACER_ENABLE_REDIRECT", "Enable jgrowl redirecting system"); define("_MI_DEFACER_ENABLE_REDIRECT_DSC", "Enable this to replace default redirection pages(xoops 2.4 > only)"); -?> \ No newline at end of file + +//1.1 +define("_MI_DEFACER_HOME", "Home"); \ No newline at end of file Deleted: XoopsModules/defacer/trunk/defacer/readme.txt =================================================================== --- XoopsModules/defacer/trunk/defacer/readme.txt 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/readme.txt 2012-04-03 00:34:31 UTC (rev 9244) @@ -1,91 +0,0 @@ -What is Defacer Module (v1.0 Final) ? -====================== - -With this Xoops module, your can: -- change themes, metadata and permissions for any given page. -- enable jgrowl redirection system (xoops 2.4 only) -- use blocks anywhere (xoops 2.4 only) - - - -Requirements -==================== - -Works in 2.4.x, xoops 2.3.x, xoops 2.2.x, xoops 2.0.18 & up, impresscms 1.x - -Others cms versions were not tested. - -Php5 only - - - - -How to install Defacer -==================== - -Copy defacer folder into the /modules directory of your website. -Then log in to your site as administrator, go to System Admin > Modules, look for the defacer -icon in the list of uninstalled modules and click in the install icon. -Follow the directions in the screen. - - -ATENTION, if you are NOT using xoops 2.4 or impressCms 1.1 -you have to add a line in header.php and footer.php at the root of your instalation - -In yoursite/header.php paste the line - -@include_once XOOPS_ROOT_PATH . '/modules/defacer/include/beforeheader.php'; - -right after - -defined("XOOPS_ROOT_PATH") or die( 'XOOPS root path not defined' ); - -In yoursite/footer.php paste the line - -@include_once XOOPS_ROOT_PATH . '/modules/defacer/include/beforefooter.php'; - -right after - -if (!defined("XOOPS_ROOT_PATH")) { - die("XOOPS root path not defined"); -} - - - - -Tips -======= -When creating pages you can use '*' symbol in the url field to match any url. - -You should use relative paths -If you select news module your path will be related to yoursite/module/news/ -You should add for example -index.php and not modules/news/index.php - -System module is relative to root -You can select system module and enter this url to cover all userinfo pages: -userinfo.php* - -Tips for blocks anywhere (xoops 2.4 only) -========= -Just prefix your block title with an underscore and you will be able to use it -has a smarty variable inside your theme or template -Example: --Edit User menu block and rename it to _User Menu --Take notice of the "bid" in the url, in this case it is '1': - modules/system/admin.php?fct=blocksadmin&op=edit&bid=1 --Usage on theme/template: -<{$xoops_block_1.title}> --> echos User Menu -<{$xoops_block_1.content}> --> echos the block content - -Limitations -======== - -The block for changing themes is deactivated when using Defacer Theme Changer. - - - -Feedback -======== - -Please use http://www.xuups.com (xoops user utilities) \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/templates/defacer_admin_meta.html =================================================================== --- XoopsModules/defacer/trunk/defacer/templates/defacer_admin_meta.html 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/templates/defacer_admin_meta.html 2012-04-03 00:34:31 UTC (rev 9244) @@ -11,6 +11,7 @@ document.anchors.item(type+id).scrollIntoView(); } </script> +<!-- <div style="background-image: url(<{$xoops_url}>/modules/defacer/images/pages_big.png); background-repeat: no-repeat; background-position: left top; @@ -24,6 +25,7 @@ <{$smarty.const._AM_DEFACER_METAMAN}> </div> <br /> +--> <br style="clear: right; line-height:1px;" /> <table width="100%" cellspacing="1" cellpadding="0" class="outer"> <tr align="center"> @@ -50,12 +52,12 @@ <td align="left"><{$item.meta_description}></td> <td> <{if $item.meta_vurl != '0'}> - <a href="<{$item.meta_vurl}>" rel="external"><img src="<{$xoops_url}>/modules/defacer/images/view_big.png" title="<{$smarty.const._PREVIEW}>" alt="<{$smarty.const._PREVIEW}>" /></a> + <a href="<{$item.meta_vurl}>" rel="external"><img src="<{xoModuleIcons16 search.png}>" title="<{$smarty.const._PREVIEW}>" alt="<{$smarty.const._PREVIEW}>" /></a> <{else}> <img src="<{$xoops_url}>/modules/defacer/images/view_big_off.png" title="<{$smarty.const._PREVIEW}>" alt="<{$smarty.const._PREVIEW}>" /> <{/if}> - <a href="admin_meta.php?op=edit&itemid=<{$item.meta_id}>"><img src="<{$xoops_url}>/modules/defacer/images/edit_big.png" title="<{$smarty.const._EDIT}>" alt="<{$smarty.const._EDIT}>" /></a> - <a href="admin_meta.php?op=del&itemid=<{$item.meta_id}>"><img src="<{$xoops_url}>/modules/defacer/images/delete_big.png" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>" /></a> + <a href="admin_meta.php?op=edit&itemid=<{$item.meta_id}>"><img src="<{xoModuleIcons16 edit.png}>" title="<{$smarty.const._EDIT}>" alt="<{$smarty.const._EDIT}>" /></a> + <a href="admin_meta.php?op=del&itemid=<{$item.meta_id}>"><img src="<{xoModuleIcons16 delete.png}>" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>" /></a> </td> </tr> <{/foreach}> Modified: XoopsModules/defacer/trunk/defacer/templates/defacer_admin_page.html =================================================================== --- XoopsModules/defacer/trunk/defacer/templates/defacer_admin_page.html 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/templates/defacer_admin_page.html 2012-04-03 00:34:31 UTC (rev 9244) @@ -11,6 +11,7 @@ document.anchors.item(type+id).scrollIntoView(); } </script> +<!-- <div style="background-image: url(<{$xoops_url}>/modules/defacer/images/pages_big.png); background-repeat: no-repeat; background-position: left top; @@ -24,6 +25,7 @@ <{$smarty.const._AM_DEFACER_PAGEMAN}> </div> <br /> +--> <div style="margin-top:0; float: right; width:400px;" align="right"> <form action="admin_page.php?op=list" method="POST"> <input type="text" name="query" id="query" size="30" value="<{$query}>" /> @@ -49,7 +51,7 @@ <td align="left"><{$item.name}></td> <td align="left"><{$item.page_title}></td> <td align="left"><{$item.page_url}></td> - <td><a href="admin_page.php?op=changestatus&itemid=<{$item.page_id}>"><img src="<{$xoops_url}>/modules/defacer/images/<{$item.page_status}>.png" title="<{$smarty.const._AM_DEFACER_CHANGESTATUS}>" alt="<{$smarty.const._AM_DEFACER_CHANGESTATUS}>" /></a></td> + <td><a href="admin_page.php?op=changestatus&itemid=<{$item.page_id}>"><img src="<{xoModuleIcons16 }><{$item.page_status}>.png" title="<{$smarty.const._AM_DEFACER_CHANGESTATUS}>" alt="<{$smarty.const._AM_DEFACER_CHANGESTATUS}>" /></a></td> <td> <a href="admin_theme.php?op=edit&itemid=<{$item.page_id}>"><img src="<{$xoops_url}>/modules/defacer/images/themes_small.png" title="<{$smarty.const._AM_DEFACER_THEMEMAN}>" alt="<{$smarty.const._AM_DEFACER_THEMEMAN}>" /></a> <a href="admin_meta.php?op=edit&itemid=<{$item.page_id}>"><img src="<{$xoops_url}>/modules/defacer/images/metas_small.png" title="<{$smarty.const._AM_DEFACER_METAMAN}>" alt="<{$smarty.const._AM_DEFACER_METAMAN}>" /></a> @@ -57,12 +59,12 @@ </td> <td> <{if $item.page_vurl != '0'}> - <a href="<{$item.page_vurl}>" rel="external"><img src="<{$xoops_url}>/modules/defacer/images/view_big.png" title="<{$smarty.const._PREVIEW}>" alt="<{$smarty.const._PREVIEW}>" /></a> + <a href="<{$item.page_vurl}>" rel="external"><img src="<{xoModuleIcons16 search.png}>" title="<{$smarty.const._PREVIEW}>" alt="<{$smarty.const._PREVIEW}>" /></a> <{else}> <img src="<{$xoops_url}>/modules/defacer/images/view_big_off.png" title="<{$smarty.const._PREVIEW}>" alt="<{$smarty.const._PREVIEW}>" /> <{/if}> - <a href="admin_page.php?op=edit&itemid=<{$item.page_id}>"><img src="<{$xoops_url}>/modules/defacer/images/edit_big.png" title="<{$smarty.const._EDIT}>" alt="<{$smarty.const._EDIT}>" /></a> - <a href="admin_page.php?op=del&itemid=<{$item.page_id}>"><img src="<{$xoops_url}>/modules/defacer/images/delete_big.png" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>" /></a> + <a href="admin_page.php?op=edit&itemid=<{$item.page_id}>"><img src="<{xoModuleIcons16 edit.png}>" title="<{$smarty.const._EDIT}>" alt="<{$smarty.const._EDIT}>" /></a> + <a href="admin_page.php?op=del&itemid=<{$item.page_id}>"><img src="<{xoModuleIcons16 delete.png}>" title="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>" /></a> </td> </tr> <{/foreach}> Modified: XoopsModules/defacer/trunk/defacer/templates/defacer_admin_permission.html =================================================================== --- XoopsModules/defacer/trunk/defacer/templates/defacer_admin_permission.html 2012-04-02 23:24:31 UTC (rev 9243) +++ XoopsModules/defacer/trunk/defacer/templates/defacer_admin_permission.html 2012-04-03 00:34:31 UTC (rev 9244) @@ -11,6 +11,7 @@ document.anchors.item(type+id).scrollIntoView(); } </script> +<!-- <div style="background-image: url(<{$xoops_url}>/modules/defacer/images/pages_big.png); background-repeat: no-repeat; background-position: left top; @@ -24,6 +25,7 @@ <{$smarty.const._AM_DEFACER_PERMISSIONMAN}> </div> <br /> +--> <br style="clear: right; line-height:1px;" /> <table width="100%" cellspacing="1" cellpadding="0" class="outer"> <tr align="center"> @@ -46,12 +48,12 @@ </td> <td> <{if $item.permission_vurl != '0'}> - <a href="<{$item.permission_vurl}>" rel="external"><img src="<{$xoops_url}>/modules/defacer/images/view_big.png" title="<{$smarty.const._PREVIEW}>" alt="<{$smarty.const._PREVIEW}>" /></a> + <a href="<{$item.permission_vurl}>" rel="external"><img src="<{xoModuleIcons16 search.png}>" title="<{$smarty.const._PREVIEW}>" alt="<{$smarty.const._PREVIEW}>" /></a> <{else}> <img src="<{$xoops_url}>/modules/defacer/images/view_big_off.png" title="<{$smarty.const._PREVIEW}>" alt="<{$smarty.const._PREVIEW}>" /> <{/if}> - <a href="admin_permission.php?op=edit&itemid=<{$item.permission_id}>"><img src="<{$xoops_url}>/modules/defacer/images/edit_big.png" title="<{$smarty.const._EDIT}>" alt="<{$smarty.const._EDIT}>" /></a> - <a href="admin_permission.php?op=del&itemid=<{$item.permission_id}>"><img src="<{$xoops_url}>/modules/defacer/images/delete_big.png" title="<... [truncated message content] |
From: <be...@us...> - 2012-04-02 23:24:40
|
Revision: 9243 http://xoops.svn.sourceforge.net/xoops/?rev=9243&view=rev Author: beckmi Date: 2012-04-02 23:24:31 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Updating to 1.72 Modified Paths: -------------- XoopsModules/contact/trunk/contact/images/contact_slogo.png XoopsModules/contact/trunk/contact/language/english/main.php XoopsModules/contact/trunk/contact/language/english/modinfo.php XoopsModules/contact/trunk/contact/templates/contact_contactusform.html Added Paths: ----------- XoopsModules/contact/trunk/contact/admin/ XoopsModules/contact/trunk/contact/admin/about.php XoopsModules/contact/trunk/contact/admin/admin_footer.php XoopsModules/contact/trunk/contact/admin/admin_header.php XoopsModules/contact/trunk/contact/admin/index.html XoopsModules/contact/trunk/contact/admin/index.php XoopsModules/contact/trunk/contact/admin/menu.php XoopsModules/contact/trunk/contact/class/ XoopsModules/contact/trunk/contact/class/contactclass.php XoopsModules/contact/trunk/contact/class/index.html XoopsModules/contact/trunk/contact/docs/ XoopsModules/contact/trunk/contact/docs/changelog.txt XoopsModules/contact/trunk/contact/docs/credits.txt XoopsModules/contact/trunk/contact/docs/index.html XoopsModules/contact/trunk/contact/docs/install.txt XoopsModules/contact/trunk/contact/docs/lang_diff.txt XoopsModules/contact/trunk/contact/docs/licence.txt XoopsModules/contact/trunk/contact/docs/readme.html XoopsModules/contact/trunk/contact/docs/readme.txt XoopsModules/contact/trunk/contact/getgfx.php XoopsModules/contact/trunk/contact/header.php XoopsModules/contact/trunk/contact/images/ XoopsModules/contact/trunk/contact/images/code_bg.jpg XoopsModules/contact/trunk/contact/images/no-spam.jpg XoopsModules/contact/trunk/contact/index.php XoopsModules/contact/trunk/contact/language/ XoopsModules/contact/trunk/contact/language/english/admin.php XoopsModules/contact/trunk/contact/language/english/help/ XoopsModules/contact/trunk/contact/language/english/help/help.html XoopsModules/contact/trunk/contact/language/english/help/index.html XoopsModules/contact/trunk/contact/language/french/ XoopsModules/contact/trunk/contact/language/french/admin.php XoopsModules/contact/trunk/contact/language/french/help/ XoopsModules/contact/trunk/contact/language/french/help/help.html XoopsModules/contact/trunk/contact/language/french/help/index.html XoopsModules/contact/trunk/contact/language/french/index.html XoopsModules/contact/trunk/contact/language/french/main.php XoopsModules/contact/trunk/contact/language/french/modinfo.php XoopsModules/contact/trunk/contact/templates/ XoopsModules/contact/trunk/contact/xoops_version.php Removed Paths: ------------- XoopsModules/contact/trunk/changelog.txt XoopsModules/contact/trunk/config.php XoopsModules/contact/trunk/contactform.php XoopsModules/contact/trunk/header.php XoopsModules/contact/trunk/images/ XoopsModules/contact/trunk/index.php XoopsModules/contact/trunk/language/ XoopsModules/contact/trunk/templates/ XoopsModules/contact/trunk/xoops_version.php Deleted: XoopsModules/contact/trunk/changelog.txt =================================================================== --- XoopsModules/contact/trunk/changelog.txt 2012-04-02 23:20:14 UTC (rev 9242) +++ XoopsModules/contact/trunk/changelog.txt 2012-04-02 23:24:31 UTC (rev 9243) @@ -1,12 +0,0 @@ -Version 1.02 (by Fabrice59 - chitland.com) -Date: 18-07-2010 - -- Added a config file to set another email to receive messages from contact form instead of Webmaster's email -- When validation with a wrong Captcha form was emptied, now all fields are kept. -- Sender's IP is joined to the mail. - - -Version 1.01 -Date April 30th, 2008 - -1 Added CAPTCHA \ No newline at end of file Deleted: XoopsModules/contact/trunk/config.php =================================================================== --- XoopsModules/contact/trunk/config.php 2012-04-02 23:20:14 UTC (rev 9242) +++ XoopsModules/contact/trunk/config.php 2012-04-02 23:24:31 UTC (rev 9243) @@ -1,7 +0,0 @@ -<?php -/* Configuration file for contact */ - -$contact_destination_email = ''; // Leave empty to send mail to Webmaster email - - -?> \ No newline at end of file Added: XoopsModules/contact/trunk/contact/admin/about.php =================================================================== --- XoopsModules/contact/trunk/contact/admin/about.php (rev 0) +++ XoopsModules/contact/trunk/contact/admin/about.php 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,28 @@ +<?php +/** + * Contact module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project (http://www.xoops.org) + * @license GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html/) + * @package Contact + * @since 2.5.0 + * @author Mage, Mamba + * @version $Id $ + **/ + +include_once dirname(__FILE__) . '/admin_header.php'; + +xoops_cp_header(); + +$aboutAdmin = new ModuleAdmin(); +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); + +include 'admin_footer.php'; \ No newline at end of file Added: XoopsModules/contact/trunk/contact/admin/admin_footer.php =================================================================== --- XoopsModules/contact/trunk/contact/admin/admin_footer.php (rev 0) +++ XoopsModules/contact/trunk/contact/admin/admin_footer.php 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,37 @@ +<?php + +/** + * Contact 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 http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Contact + * @since 2.5.0 + * @author Mamba (www.xoops.org) + * @version $Id $ +**/ + +//echo "<div class='adminfooter'>\n" +// ." <div style='text-align: center;'>\n" +// ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" +// ." </div>\n" +// ." " . _AM_ADMIN_FOOTER . "\n" +// ."</div>"; +// +// xoops_cp_footer(); + +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/contact/trunk/contact/admin/admin_header.php =================================================================== --- XoopsModules/contact/trunk/contact/admin/admin_header.php (rev 0) +++ XoopsModules/contact/trunk/contact/admin/admin_header.php 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,50 @@ +<?php +// $Id: admin_header.php 8478 2011-12-13 09:12:46Z beckmi $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +$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'; + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +// Load language files +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); + +$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); +$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + }else{ + redirect_header("../../../admin.php", 5, _AM_CONTACT_MODULEADMIN_MISSING, false); + } \ No newline at end of file Added: XoopsModules/contact/trunk/contact/admin/index.html =================================================================== --- XoopsModules/contact/trunk/contact/admin/index.html (rev 0) +++ XoopsModules/contact/trunk/contact/admin/index.html 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/contact/trunk/contact/admin/index.php =================================================================== --- XoopsModules/contact/trunk/contact/admin/index.php (rev 0) +++ XoopsModules/contact/trunk/contact/admin/index.php 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,38 @@ +<?php +// $Id: index.php 8478 2011-12-13 09:12:46Z beckmi $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; +include_once dirname(__FILE__) . '/admin_header.php'; + +xoops_cp_header(); + + $indexAdmin = new ModuleAdmin(); + + echo $indexAdmin->addNavigation('index.php'); + echo $indexAdmin->renderIndex(); + +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/contact/trunk/contact/admin/menu.php =================================================================== --- XoopsModules/contact/trunk/contact/admin/menu.php (rev 0) +++ XoopsModules/contact/trunk/contact/admin/menu.php 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,48 @@ +<?php +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------- // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); + +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); + +//xoops_loadLanguage('admin', $dirname); + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]["title"] = _MI_CONTACT_MENU_00; +$adminmenu[$i]["link"] = "admin/index.php"; +$adminmenu[$i]["desc"] = _MI_CONTACT_ADMIN_HOME_DESC; +$adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; +$i++; +$adminmenu[$i]["title"] = _MI_CONTACT_ADMIN_ABOUT; +$adminmenu[$i]["link"] = "admin/about.php"; +$adminmenu[$i]["desc"] = _MI_CONTACT_ADMIN_ABOUT_DESC; +$adminmenu[$i]["icon"] = $pathIcon32.'/about.png'; + Added: XoopsModules/contact/trunk/contact/class/contactclass.php =================================================================== --- XoopsModules/contact/trunk/contact/class/contactclass.php (rev 0) +++ XoopsModules/contact/trunk/contact/class/contactclass.php 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,406 @@ +<?php +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------- // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +include_once "header.php"; + +// defines are used to set the errorLevel +define("_CT_ERROR_NONE", 0 ); // 00000000 +define("_CT_ERROR_BADSECVAL", 1 ); // 00000001 +define("_CT_ERROR_BADEMAIL", 2 ); // 00000010 + +class ContactClass +{ + var $config_handler; + var $xoopsUser; + var $xoopsConfig; + var $xoopsContactConfig; + var $username; + var $useremail; + var $userURL; + var $userICQ; + var $userAddress; + var $userCompany; + var $userLocation; + var $userSendConfirm; + var $userComments; + var $departments; // this is an array!!!! + var $selectedDept; // a single department name + var $errorLevel; // this is set if there is a problem with the contact us page, used for redisplay info + var $deepchecktld; + var $userMoreInfo; // this is an array!!! + var $moreInfo; // this is an array!!! + + function ContactClass( $config_handler, $xoopsUser, $xoopsConfig ) + { + $this->xoopsUser = $xoopsUser; + $this->xoopsConfig = $xoopsConfig; + + $this->config_handler = $config_handler; + + $module_handler =& xoops_gethandler('module'); + $xoopsContactModule =& $module_handler->getByDirname('contact'); + $this->xoopsContactConfig =& $this->config_handler->getConfigsByCat(0, $xoopsContactModule->getVar('mid')); + + $this->username = !empty($xoopsUser) ? $xoopsUser->getVar("uname", "E") : ""; + $this->useremail = !empty($xoopsUser) ? $xoopsUser->getVar("email", "E") : ""; + $this->userURL = !empty($xoopsUser) ? $xoopsUser->getVar("url", "E") : ""; + $this->userICQ = !empty($xoopsUser) ? $xoopsUser->getVar("user_icq", "E") : ""; + $this->userLocation = !empty($xoopsUser) ? $xoopsUser->getVar("user_from", "E") : ""; + + $this->departments = $this->xoopsContactConfig['contact_dept']; + if ( ( !is_array( $this->departments ) || count( $this->departments ) == 0 ) || // there is no data, or contact_showdept + $this->xoopsContactConfig['contact_showdept'] == '0') // is turned off...set departments to default + { + $this->departments = array(0 => $this->xoopsConfig['sitename'].",".$this->xoopsConfig['adminmail'] ); + } + + $this->selectedDept = $xoopsConfig['sitename']; + $this->userAddress = ""; + $this->userCompany = ""; + $this->userSendConfirm = '0'; // uncheck box to begin with + $this->userComments = ""; + $this->errorLevel = _CT_ERROR_NONE; // no errors to begin with!!! + $this->deepchecktld = $this->xoopsContactConfig['contact_validatedomain']; + $this->userMoreInfo = array(); + $this->moreInfo = $this->xoopsContactConfig['contact_moreinfo']; + } + + function getContactHead() + { + return $this->xoopsContactConfig['contact_head']; + } + + function getContactIntro() + { + return $this->xoopsContactConfig['contact_intro']; + } + + function getContactIntroHead() + { + return $this->xoopsContactConfig['contact_intro_head']; + } + + function getContactThankYou() + { + return $this->xoopsContactConfig['contact_thankyou']; + } + + function getRedirectTimeout() + { + return intval( $this->xoopsContactConfig['contact_redirecttimeout'] ); + } + + function getUserName() + { + return $this->username; + } + + function setUserName( $name ) + { + $this->username = $name; + } + + function getUserEmail() + { + return $this->useremail; + } + + function setUserEmail( $email ) + { + $this->useremail = $email; + } + + function isValidEmail() + { + $retval = false; + // this validates the structure of the email + if ( preg_match("/^[a-zA-Z0-9_\.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$/i", $this->useremail ) ) + { + $retval = true; + } + return $retval; + } + + + function getEmailtld() + { + $retval = ""; + if ( preg_match("/^[a-zA-Z0-9_\.]+@([a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+)$/i", $this->useremail, $regs ) ) + { + $retval = $regs[1]; + } + + return $retval; + } + + function collectAddress() + { + $retval = false; + if ( $this->xoopsContactConfig['contact_address'] == '1' ) + { + $retval = true; + } + return $retval; + } + + function getAddress() + { + return $this->userAddress; + } + + function setAddress( $addr ) + { + $this->userAddress = $addr; + } + + function collectURL() + { + $retval = false; + if( $this->xoopsContactConfig['contact_url'] == '1' ) + { + $retval = true; + } + return $retval; + } + + function getURL() + { + return $this->userURL; + } + + function setURL( $url ) + { + $this->userURL = $url; + } + + function collectICQ() + { + $retval = false; + if( $this->xoopsContactConfig['contact_icq'] == '1' ) + { + $retval = true; + } + return $retval; + } + + function getICQ() + { + return $this->userICQ; + } + + function setICQ( $icq ) + { + $this->userICQ = $icq; + } + + function collectCompany() + { + $retval = false; + if( $this->xoopsContactConfig['contact_company'] == '1' ) + { + $retval = true; + } + return $retval; + } + + function getCompany() + { + return $this->userCompany; + } + + function setCompany( $comp ) + { + $this->userCompany = $comp; + } + + function collectLocation() + { + $retval = false; + if( $this->xoopsContactConfig['contact_loc'] == '1' ) + { + $retval = true; + } + return $retval; + } + + function getLocation() + { + return $this->userLocation; + } + + function setLocation( $loc ) + { + $this->userLocation = $loc; + } + + function sendConfirm() + { + $retval = false; + if( $this->xoopsContactConfig['contact_allowsendconfirm'] == '1' ) + { + $retval = true; + } + return $retval; + } + + function setSendConfirm( $set ) + { + $this->userSendConfirm = $set; + } + + function getSendConfirm() + { + return $this->userSendConfirm; + } + + function getUserComments() + { + return $this->userComments; + } + + function setUserComments( $comm ) + { + $this->userComments = $comm; + } + + function collectSecurity() + { + $retval = false; + if( $this->xoopsContactConfig['contact_security'] == '1' ) + { + $retval = true; + } + return $retval; + } + + function getSiteKey() + { + return $this->xoopsContactConfig['contact_sitekey']; + } + + function showDepartment() + { + $retval = false; + if ( $this->xoopsContactConfig['contact_showdept'] == '1' ) + { + $retval = true; + } + return $retval; + } + + function getDepartmentTitle() + { + return $this->xoopsContactConfig['contact_depttitle']; + } + + function getDepartments() + { + return $this->departments; + } + + function setSelectedDepartment( $dept ) + { + $this->selectedDept = $dept; + } + + function getSelectedDepartment() + { + return $this->selectedDept; + } + + // set errorLevel by defines at top of file + function setErrorLevel( $err ) + { + $this->errorLevel = $err; + } + + function getErrorLevel() + { + // force to intval + return intval( $this->errorLevel ); + } + + function isDeepCheck() + { + $retval = false; + if ( $this->deepchecktld == '1' ) + { + $retval = true; + } + return $retval; + } + + function deepCheckEmail() + { + $retval = true; + if ( checkdnsrr( $this->getEmailtld() ) ) + { + return $retval; + } + + $fp = fsockopen($this->getEmailtld(), 80, $errno, $errstr, 30); + if (!$fp) + { + $retval = false; + } + else + { + fclose($fp); + } + + return $retval; + } + + function showMoreInfo() + { + $retval = false; + if ( $this->xoopsContactConfig['contact_showmoreinfo'] == "1" ) + { + $retval = true; + } + return $retval; + } + + function getMoreInfoTitle() + { + return $this->xoopsContactConfig['contact_moreinfotitle']; + } + + function getMoreInfo() + { + return $this->moreInfo; + } + + function getUserMoreInfo() + { + return $this->userMoreInfo; + } + + function setUserMoreInfo( $info ) + { + $this->userMoreInfo = $info; + } +} +?> \ No newline at end of file Added: XoopsModules/contact/trunk/contact/class/index.html =================================================================== --- XoopsModules/contact/trunk/contact/class/index.html (rev 0) +++ XoopsModules/contact/trunk/contact/class/index.html 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/contact/trunk/contact/docs/changelog.txt =================================================================== --- XoopsModules/contact/trunk/contact/docs/changelog.txt (rev 0) +++ XoopsModules/contact/trunk/contact/docs/changelog.txt 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,15 @@ +Version 1.72 from 2012-04-02 (Mamba) +================================= +- small code clean-up for consistency + + +Version 1.71 from 2011-12-12 (Mamba) +================================= +- converted to XOOPS Standard Module GUI +- included ModuleAdmin class from Mage + +Version 1.70 from 11-08-2010 (Trabis) +================================= +- added 2.4.x compatibilty +- added php5.3 compatibilty +- added error checking while sending emails \ No newline at end of file Added: XoopsModules/contact/trunk/contact/docs/credits.txt =================================================================== --- XoopsModules/contact/trunk/contact/docs/credits.txt (rev 0) +++ XoopsModules/contact/trunk/contact/docs/credits.txt 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,6 @@ +Credits +=============== + +Originally developed by Kazumi Ono (Onokazu), modified by Ricardo Costa (Trabis) + +Updated to XOOPS 2.5.0 Standard GUI by Michael Beck (Mamba), with contributions by Gregory Mage (Mage) \ No newline at end of file Added: XoopsModules/contact/trunk/contact/docs/index.html =================================================================== --- XoopsModules/contact/trunk/contact/docs/index.html (rev 0) +++ XoopsModules/contact/trunk/contact/docs/index.html 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/contact/trunk/contact/docs/install.txt =================================================================== --- XoopsModules/contact/trunk/contact/docs/install.txt (rev 0) +++ XoopsModules/contact/trunk/contact/docs/install.txt 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,6 @@ +INSTALL/UNISTALL +================= + +No special measures necessary, follow the standard installation process and extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. + +Detailed instructions on installing modules are available in the XOOPS Operations Manual: http://goo.gl/adT2i \ No newline at end of file Added: XoopsModules/contact/trunk/contact/docs/lang_diff.txt =================================================================== --- XoopsModules/contact/trunk/contact/docs/lang_diff.txt (rev 0) +++ XoopsModules/contact/trunk/contact/docs/lang_diff.txt 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,22 @@ +LANGUAGE DIFFERENCES +===================== + +Below are language differences from a version to next version. + + +in file /language/english/admin.php: +//1.71 + +// About.php +define("_AM_CONTACT_ABOUT_RELEASEDATE", "Released: "); +define("_AM_CONTACT_ABOUT_UPDATEDATE", "Updated: "); +define("_AM_CONTACT_ABOUT_AUTHOR", "Author: "); +define("_AM_CONTACT_ABOUT_CREDITS", "Credits: "); +define("_AM_CONTACT_ABOUT_LICENSE", "License: "); +define("_AM_CONTACT_ABOUT_MODULE_STATUS", "Status: "); +define("_AM_CONTACT_ABOUT_WEBSITE", "Website: "); +define("_AM_CONTACT_ABOUT_AUTHOR_NAME", "Author name: "); +define("_AM_CONTACT_ABOUT_CHANGELOG", "Change Log"); +define("_AM_CONTACT_ABOUT_MODULE_INFO", "Module Infos"); +define("_AM_CONTACT_ABOUT_AUTHOR_INFO", "Author Infos"); +define("_AM_CONTACT_ABOUT_DESCRIPTION", "Description: "); \ No newline at end of file Added: XoopsModules/contact/trunk/contact/docs/licence.txt =================================================================== --- XoopsModules/contact/trunk/contact/docs/licence.txt (rev 0) +++ XoopsModules/contact/trunk/contact/docs/licence.txt 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + 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. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/contact/trunk/contact/docs/readme.html =================================================================== --- XoopsModules/contact/trunk/contact/docs/readme.html (rev 0) +++ XoopsModules/contact/trunk/contact/docs/readme.html 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,70 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<title>Contact v1.6 for XOOPS 2.0.13x</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<body> +<h1>Contact - Not just another <u>Contact Us</u> page!</h1> +<p>The first question that always comes to mind when someone see's a module like this is - <i>Why?</i><br /><br /> +For starters, there are many other versions of a Contact Us module out there - but guess what, none of them +did what I needed, or the client I wrote this for. As with any module <a href="http://xoops.ibdeeming.com" target="_blank">XOOPS</a>@<a href="http://www.ibdeeming.com" target="_blank">IBDeeming!</a> +puts out, I always find more options and configs that can be added. I think I have stretched this one out, and +really expect it will meet most any need out there! Whew - now check this out...</p> +<h2>Contact v1.6 - Updates to email deep check and From addressee</h2> +<p>For the most part, this module is the same as v1.5. The upgrade path is very simple. The changes made are +<ul><li>New deep check validation on submitted return email addresses<ul><li>The problem was with the socket command. Added routine to verify +MX records first. This sped up the overall check routine.</li></ul></li><li>Added AAINC (XOOPS@IBDeeming! User) suggestion for Fomr email who</li></ul> +</p> +<p>Upgrading from V1.5 - V1.6 is very easy! Just copy the files, log-in as admin, go to Modules control, and Update the Contact-Us module. +If you are successful, you should see version 1.6.</p> +<h2>Contact V1.5 - Based on the original by Skalpa - but nothing like it anymore!</h2> +<p><u>Contact v1.5</u> has many new features, so many that it doesn't really look like the original. First off, there are +<b>Settings</b> and <b>General</b> configs that can be applied to the <u>Contact</u> module. +<ul> + <li>Settings + <ul> + <li>Send Confirmation Switch - Basically allows the user to copy themselves on correspondence to you of your department (more on that).</li> + <li>Collect ICQ - on or off</li> + <li>Collect URL - on or off</li> + <li>Collect Company - on or off</li> + <li>Collect Location - on or off</li> + <li>Collect Address - on or off</li> + <li>Add Security Check - Security graphic - know why? It's really easy to SPAM your site with <u>Contact</u> emails, this will help deter + <ul> + <li>Sitekey definition - allows you to seed granularity</li> + </ul> + </li> + <li>Redirect Timeout - Allows you to set how long the redirect page is shown to the user</li> + <li>Validate Domain - Allows you to actually "deep-scan" the domain and tld for validity</li> + </ul> + </li> + <li>General + <ul> + <li>Intorduction - You can turn it on, set the heading, and the text displayed. This is great for businesses that want to show off their SNAIL address and phone numbers</li> + <li>Contact heading - What is your form called?</li> + <li>Thank You message - what your user sees</li> + <li>Department Definition - this is cool! Basically you can set up departments and have them assigned to dirfferent email addresses than just the site admin.</li> + <li>More Info - Have you ever seen those commercial contact pages where you can select from various topics to get more info? Now you can do it too!</li> + </ul> + </li> +</ul> +</p> +<h2>So, How do I install <u>Contact?</u></h2> +<p>It's really simple! + <ol> + <li>Deactivate your current Contact module</li> + <li>Uninstall the current Contact module</li> + <li>Copy <u>Contact v1.5</u> top your modules directory, overwrite all files!</li> + <li>Install <u>Contact v1.5</u></li> + <li>Verify your <u>Setting</u> and <u>General</u> sections of Contact from the Admin screen</li> + <li>Done!</li> + </ol> +</p> +<h2><a href="http://xoops.ibdeeming.com" target="_blank">XOOPS</a>@<a href="http://www.ibdeeming.com" target="_blank">IBDeeming!</a> Thanks You!</h2> +<p>I appreciate you taking the time to download and use the modules created by us. If you have nay questions, you are encouraged +to stop by and post them on our site.<br /><br />If you find our modules are worthwhile, and feel +the need to somehow donate back to our time spent, feel free to visit the site and select the donation icon! We appreciate your support!</p> +</body> +</html> Added: XoopsModules/contact/trunk/contact/docs/readme.txt =================================================================== --- XoopsModules/contact/trunk/contact/docs/readme.txt (rev 0) +++ XoopsModules/contact/trunk/contact/docs/readme.txt 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,35 @@ +Read Me First +============= + 1. License + _____________________________________________________________________ + + This source code is released under the GPL. + A copy of the license in provided in this package in the file + named LICENSE.txt + +2. What is CONTACT? + _____________________________________________________________________ + + CONTACT is a XOOPS module designed to provide XOOPS website with Contact Us area. + This module provides Contact Information Area which can be configurated by adminstrator panel. + + 3. Requirements + _____________________________________________________________________ + + - PHP version >= 5.2.0 + - ModuleClasses in /Frameworks (download it from here: http://goo.gl/Bmknt) + + + 4. Installation + _____________________________________________________________________ + + Simply upload these module folder to a directory of your xoops modules folder, + and install it via xoops modules administration panel. You can configure + it through Contact module control panel. + Detailed instructions on installing modules are available in the + XOOPS Operations Manual (http://goo.gl/adT2i) + + 5. Tutorial +_____________________________________________________________________ + + You can find a more detailed Tutorial here: http://goo.gl/bz94i Added: XoopsModules/contact/trunk/contact/getgfx.php =================================================================== --- XoopsModules/contact/trunk/contact/getgfx.php (rev 0) +++ XoopsModules/contact/trunk/contact/getgfx.php 2012-04-02 23:24:31 UTC (rev 9243) @@ -0,0 +1,47 @@ +<?php +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------- // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +include "header.php"; + +global $config_handler; + +$module_handler =& xoops_gethandler('module'); +$xoopsContactModule =& $module_handler->getByDirname('contact'); +$xoopsContactConfig =& $config_handler->getConfigsByCat(0, $xoopsContactModule->getVar('mid')); + +$site_key = $xoopsContactConfig['contact_sitekey']; +$random_num = $_GET['random_num']; +$datekey = date("F j"); +$rcode = hexdec(md5($_SERVER['HTTP_USER_AGENT'].$random_num.$site_key.$datekey)); +$code = substr($rcode, 2, 6); +$image = ImageCreateFromJPEG("images/code_bg.jpg"); +$text_color = ImageColorAllocate($image, 80, 80, 80); +Header("Content-type: image/jpeg"); +ImageString ($image, 5, 12, 2, $code, $text_color); +ImageJPEG($image, '', 75); +ImageDestroy($image); +die(); +?> \ No newline at end of file Copied: XoopsModules/contact/trunk/contact/header.php (from rev 9241, XoopsModules/contact/trunk/header.php) =================================================================== --- XoopsModules/contact/trunk/contact/header.php (rev 0) +++ XoopsModules/contact/trunk/contact/header.php 2012-04-02 2... [truncated message content] |
From: <be...@us...> - 2012-04-02 23:20:20
|
Revision: 9242 http://xoops.svn.sourceforge.net/xoops/?rev=9242&view=rev Author: beckmi Date: 2012-04-02 23:20:14 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Changing folder structure Added Paths: ----------- XoopsModules/contact/trunk/contact/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-02 23:03:03
|
Revision: 9241 http://xoops.svn.sourceforge.net/xoops/?rev=9241&view=rev Author: beckmi Date: 2012-04-02 23:02:56 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Version 1.71 RC2 - XOOPS 2.5.x Admin GUI Modified Paths: -------------- XoopsModules/boox/trunk/boox/admin/admin_footer.php XoopsModules/boox/trunk/boox/admin/admin_header.php XoopsModules/boox/trunk/boox/admin/main.php XoopsModules/boox/trunk/boox/admin/menu.php XoopsModules/boox/trunk/boox/docs/README.TXT XoopsModules/boox/trunk/boox/docs/changelog.txt XoopsModules/boox/trunk/boox/language/english/admin.php XoopsModules/boox/trunk/boox/language/englishUTF8/admin.php XoopsModules/boox/trunk/boox/language/french/admin.php XoopsModules/boox/trunk/boox/language/frenchUTF8/admin.php XoopsModules/boox/trunk/boox/language/portuguesebr/admin.php XoopsModules/boox/trunk/boox/xoops_version.php Modified: XoopsModules/boox/trunk/boox/admin/admin_footer.php =================================================================== --- XoopsModules/boox/trunk/boox/admin/admin_footer.php 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/admin/admin_footer.php 2012-04-02 23:02:56 UTC (rev 9241) @@ -2,7 +2,7 @@ /** * **************************************************************************** * boox - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * Copyright (c) Herv� Thouzard (http://www.herve-thouzard.com) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @copyright Herv� Thouzard (http://www.herve-thouzard.com) * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License * @package boox - * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @author Herv� Thouzard (http://www.herve-thouzard.com) * * Version : $Id: * **************************************************************************** @@ -26,7 +26,7 @@ ." <div style='text-align: center;'>\n" ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" ." </div>\n" - ." " . _AM_BOOX_FOOTER . "\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" ."</div>"; xoops_cp_footer(); \ No newline at end of file Modified: XoopsModules/boox/trunk/boox/admin/admin_header.php =================================================================== --- XoopsModules/boox/trunk/boox/admin/admin_header.php 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/admin/admin_header.php 2012-04-02 23:02:56 UTC (rev 9241) @@ -2,7 +2,7 @@ /** * **************************************************************************** * boox - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * Copyright (c) Herv� Thouzard (http://www.herve-thouzard.com) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @copyright Herv� Thouzard (http://www.herve-thouzard.com) * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License * @package boox - * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @author Herv� Thouzard (http://www.herve-thouzard.com) * * Version : $Id: * **************************************************************************** @@ -43,6 +43,6 @@ if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); }else{ - redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); + redirect_header("../../../admin.php", 5, _AM_BOOX_MODULEADMIN_MISSING, false); } Modified: XoopsModules/boox/trunk/boox/admin/main.php =================================================================== --- XoopsModules/boox/trunk/boox/admin/main.php 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/admin/main.php 2012-04-02 23:02:56 UTC (rev 9241) @@ -2,7 +2,7 @@ /** * **************************************************************************** * boox - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * Copyright (c) Herv� Thouzard (http://www.herve-thouzard.com) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @copyright Herv� Thouzard (http://www.herve-thouzard.com) * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License * @package boox - * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @author Herv� Thouzard (http://www.herve-thouzard.com) * * Version : $Id: * **************************************************************************** @@ -140,7 +140,10 @@ } xoops_cp_header(); echo $indexAdmin->addNavigation('main.php'); - echo '<h4>'._AM_BOOX_FILES.'</h4>'; + $indexAdmin->addItemButton(_ADD, 'main.php?op=addfile', 'add', ''); + echo $indexAdmin->renderButton('right', ''); + + echo '<h4>'._AM_BOOX_FILES.'</h4>'; $files = array(); $files = $storage->getAllFiles(); echo '<table border="0" align="center" width="95%">'; @@ -152,18 +155,18 @@ $class=''; foreach($files as $file) { $class = ($class == 'even') ? 'odd' : 'even'; - $action_delete = '<a '.boox_JavascriptLinkConfirm(_AM_BOOX_CONFIRM).' title="'._DELETE.'" href="main.php?op=delete&filename='.urlencode($file).'"><img border="0" src="../images/delete.gif" /></a>'; - $action_edit = '<a title="'._EDIT.'" href="main.php?op=edit&filename='.urlencode($file).'"><img border="0" src="../images/edit.gif" /></a>'; + $action_edit = '<a title="'._EDIT.'" href="main.php?op=edit&filename='.urlencode($file).'"><img border="0" src="../images/edit.gif" /></a>'; + $action_delete = '<a '.boox_JavascriptLinkConfirm(_AM_BOOX_CONFIRM).' title="'._DELETE.'" href="main.php?op=delete&filename='.urlencode($file).'"><img border="0" src="../images/delete.gif" /></a>'; $command = "<{php}>include_once '".$folder_storage.$file."';<{/php}>"; echo "<tr class='".$class."'>"; echo '<td>'.$file.'</td>'; echo '<td>'.$command.'</td>'; - echo "<td align='center'>".$action_delete.' '.$action_edit.'</td>'; + echo "<td align='center'>".$action_edit.' '.$action_delete.'</td>'; echo "</tr>"; } $class = ($class == 'even') ? 'odd' : 'even'; - echo "<tr class='".$class."'><td colspan='3' align='center'><br /><form method='post' name='fadd' id='fadd' action='main.php'><input type='hidden' name='op' value='addfile' /><input type='submit' name='btngo' value='"._AM_BOOX_ADD."' /></form><br /></td></tr>"; - echo '</table>'; + //echo "<tr class='".$class."'><td colspan='3' align='center'><br /><form method='post' name='fadd' id='fadd' action='main.php'><input type='hidden' name='op' value='addfile' /><input type='submit' name='btngo' value='"._AM_BOOX_ADD."' /></form><br /></td></tr>"; + echo '</table><br/>'; //echo "<br /><div align='center'><a href='http://xoops.instant-zero.com' target='_blank'><img src='../images/instantzero.gif'></a></div>"; break; Modified: XoopsModules/boox/trunk/boox/admin/menu.php =================================================================== --- XoopsModules/boox/trunk/boox/admin/menu.php 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/admin/menu.php 2012-04-02 23:02:56 UTC (rev 9241) @@ -2,7 +2,7 @@ /** * **************************************************************************** * boox - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * Copyright (c) Herv� Thouzard (http://www.herve-thouzard.com) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @copyright Herv� Thouzard (http://www.herve-thouzard.com) * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License * @package boox - * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @author Herv� Thouzard (http://www.herve-thouzard.com) * * Version : $Id: * **************************************************************************** @@ -22,18 +22,14 @@ defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); -//$dirname = basename(dirname(dirname(__FILE__))); -//$module_handler = xoops_gethandler('module'); -//$module = $module_handler->getByDirname($dirname); -//$pathIcon32 = $module->getInfo('icons32'); -$pathIcon32 = '../../Frameworks/moduleclasses/icons/32'; +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +xoops_loadLanguage('admin', $dirname); -//xoops_loadLanguage('admin', $dirname); - -$adminmenu = array(); - -$i = 1; +$i = 0; $adminmenu[$i]["title"] = _MI_BOOX_MENU_00; $adminmenu[$i]["link"] = 'admin/index.php'; $adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; Modified: XoopsModules/boox/trunk/boox/docs/README.TXT =================================================================== --- XoopsModules/boox/trunk/boox/docs/README.TXT 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/docs/README.TXT 2012-04-02 23:02:56 UTC (rev 9241) @@ -1,8 +1,8 @@ BOOX -Boox (Blocks Out Of Xoops) is a module which is to help you to manage content that Xoops can't access but which is part of your site. +Boox (Blocks Out Of Xoops) is a module which is to help you to manage content that XOOPS can't access but which is part of your site. -Typically, this content is created on the form of blocks which are not parts of a Xoops module and that's also a content which is, in general, placed in the theme. +Typically, this content is created on the form of blocks which are not parts of a XOOPS module and that's also a content which is, in general, placed in the theme. With the module, you can create as many "virtual blocks" as you want, they are saved in files (the module does not use database) and you just need to call them in your theme with the following line of code : @@ -10,4 +10,4 @@ So it's possible to create a content you can modify without putting your hands in the theme (except the first time to write the include commands) -The module is running with all the Editors you can use in Xoops : Spaw, Fck editor, Htmlarea, Tinyeditor et Kiovi \ No newline at end of file +The module is running with all the Editors you can use in XOOPS : Spaw, Fck editor, Htmlarea, Tinyeditor et Kiovi \ No newline at end of file Modified: XoopsModules/boox/trunk/boox/docs/changelog.txt =================================================================== --- XoopsModules/boox/trunk/boox/docs/changelog.txt 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/docs/changelog.txt 2012-04-02 23:02:56 UTC (rev 9241) @@ -1,5 +1,5 @@ ============================ -Version 1.71 2011/12/12: +Version 1.71 2011/04/02: ============================ - Conversion to XOOPS 2.5.0 GUI (mamba) Modified: XoopsModules/boox/trunk/boox/language/english/admin.php =================================================================== --- XoopsModules/boox/trunk/boox/language/english/admin.php 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/language/english/admin.php 2012-04-02 23:02:56 UTC (rev 9241) @@ -2,7 +2,7 @@ /** * **************************************************************************** * boox - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * Copyright (c) Herv� Thouzard (http://www.herve-thouzard.com) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @copyright Herv� Thouzard (http://www.herve-thouzard.com) * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License * @package boox - * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @author Herv� Thouzard (http://www.herve-thouzard.com) * * Version : $Id: * **************************************************************************** @@ -37,5 +37,5 @@ define('_AM_BOOX_ERROR3',"Error, unable to read the file %s"); define('_AM_BOOX_CONTENT',"Content"); -// Text for Admin footer -define("_AM_BOOX_FOOTER", "<div class='center smallsmall italic pad5'>Boox is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_BOOX_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); \ No newline at end of file Modified: XoopsModules/boox/trunk/boox/language/englishUTF8/admin.php =================================================================== --- XoopsModules/boox/trunk/boox/language/englishUTF8/admin.php 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/language/englishUTF8/admin.php 2012-04-02 23:02:56 UTC (rev 9241) @@ -37,5 +37,5 @@ define("_AM_BOOX_ERROR3","Error, unable to read the file %s"); define("_AM_BOOX_CONTENT","Content"); -// Text for Admin footer -define("_AM_BOOX_FOOTER", "<div class='center smallsmall italic pad5'>Boox is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); +//ModuleAdmin +define('_AM_BOOX_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); \ No newline at end of file Modified: XoopsModules/boox/trunk/boox/language/french/admin.php =================================================================== --- XoopsModules/boox/trunk/boox/language/french/admin.php 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/language/french/admin.php 2012-04-02 23:02:56 UTC (rev 9241) @@ -2,7 +2,7 @@ /** * **************************************************************************** * boox - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * Copyright (c) Herv� Thouzard (http://www.herve-thouzard.com) * * 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 @@ -11,16 +11,16 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @copyright Herv� Thouzard (http://www.herve-thouzard.com) * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License * @package boox - * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @author Herv� Thouzard (http://www.herve-thouzard.com) * * Version : $Id: * **************************************************************************** */ -define("_AM_BOOX_DBUPDATED","Base de donn\xE9es mise \xE0 jour avec succ\xE8s"); +define("_AM_BOOX_DBUPDATED","Base de donn�es mise � jour avec succ�s"); define("_AM_BOOX_GENERALSET", "Options du module" ); define("_AM_BOOX_MODULEADMIN","Administration"); define("_AM_BOOX_EDIT","Editer"); @@ -31,11 +31,11 @@ define("_AM_BOOX_FILE","Fichier"); define("_AM_BOOX_FILENAME","Nom de fichier"); define("_AM_BOOX_ACTION","Action"); -define("_AM_BOOX_COMMAND","Commande \xE0 inclure dans votre th\xE8me"); -define("_AM_BOOX_ERROR1","Veuillez sp\xE9cifier un nom de fichier"); +define("_AM_BOOX_COMMAND","Commande � inclure dans votre th�me"); +define("_AM_BOOX_ERROR1","Veuillez sp�cifier un nom de fichier"); define("_AM_BOOX_ERROR2","Erreur, impossible de sauvegarder le fichier %s"); define("_AM_BOOX_ERROR3","Erreur, impossible de lire le fichier %s"); define("_AM_BOOX_CONTENT","Contenu"); -// Text for Admin footer -define("_AM_BOOX_FOOTER", "<div class='center smallsmall italic pad5'>Boox is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_BOOX_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); \ No newline at end of file Modified: XoopsModules/boox/trunk/boox/language/frenchUTF8/admin.php =================================================================== --- XoopsModules/boox/trunk/boox/language/frenchUTF8/admin.php 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/language/frenchUTF8/admin.php 2012-04-02 23:02:56 UTC (rev 9241) @@ -37,5 +37,5 @@ define("_AM_BOOX_ERROR3","Erreur, impossible de lire le fichier %s"); define("_AM_BOOX_CONTENT","Contenu"); -// Text for Admin footer -define("_AM_BOOX_FOOTER", "<div class='center smallsmall italic pad5'>Boox is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); +//ModuleAdmin +define('_AM_BOOX_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); \ No newline at end of file Modified: XoopsModules/boox/trunk/boox/language/portuguesebr/admin.php =================================================================== --- XoopsModules/boox/trunk/boox/language/portuguesebr/admin.php 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/language/portuguesebr/admin.php 2012-04-02 23:02:56 UTC (rev 9241) @@ -2,26 +2,26 @@ /** * **************************************************************************** * BOOX - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * Copyright (c) Herv� Thouzard (http://www.herve-thouzard.com) * **************************************************************************** */ define("_AM_BOOX_DBUPDATED","Banco de dados atualizado"); -define("_AM_BOOX_GENERALSET", "Op\xE7\xF5es do m\xF3dulo" ); -define("_AM_BOOX_MODULEADMIN","Administra\xE7\xE3o"); +define("_AM_BOOX_GENERALSET", "Op��es do m�dulo" ); +define("_AM_BOOX_MODULEADMIN","Administra��o"); define("_AM_BOOX_EDIT","Editar"); define("_AM_BOOX_DELETE","Deletar"); define("_AM_BOOX_ADD","Incluir"); -define("_AM_BOOX_CONFIRM","Voc\xEA tem certeza ?"); +define("_AM_BOOX_CONFIRM","Voc� tem certeza ?"); define("_AM_BOOX_FILES","Arquivos"); define("_AM_BOOX_FILE","Arquivo"); define("_AM_BOOX_FILENAME","Nome do arquivo"); -define("_AM_BOOX_ACTION","A\xE7\xE3o"); +define("_AM_BOOX_ACTION","A��o"); define("_AM_BOOX_COMMAND","Script para incluir no seu tema"); define("_AM_BOOX_ERROR1","Por favor especifique um nome de arquivo"); -define("_AM_BOOX_ERROR2","Erro, imposs\xEDvel salvar arquivo %s"); -define("_AM_BOOX_ERROR3","Erro, imposs\xEDvel ler arquivo %s"); -define("_AM_BOOX_CONTENT","Conte\xFAdo"); +define("_AM_BOOX_ERROR2","Erro, imposs�vel salvar arquivo %s"); +define("_AM_BOOX_ERROR3","Erro, imposs�vel ler arquivo %s"); +define("_AM_BOOX_CONTENT","Conte�do"); -// Text for Admin footer -define("_AM_BOOX_FOOTER", "<div class='center smallsmall italic pad5'>Boox is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_BOOX_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); \ No newline at end of file Modified: XoopsModules/boox/trunk/boox/xoops_version.php =================================================================== --- XoopsModules/boox/trunk/boox/xoops_version.php 2012-04-02 22:19:24 UTC (rev 9240) +++ XoopsModules/boox/trunk/boox/xoops_version.php 2012-04-02 23:02:56 UTC (rev 9241) @@ -47,8 +47,8 @@ $modversion["module_website_url"] = 'http://xoops.org'; $modversion["module_website_name"] = 'XOOPS'; $modversion["release"] = '0'; -$modversion["module_status"] = 'RC'; -$modversion['release_date'] = '2011/12/12'; +$modversion["module_status"] = 'RC2'; +$modversion['release_date'] = '2012/04/02'; $modversion['min_php'] = '5.2'; $modversion['min_xoops'] = '2.5.0'; $modversion['min_admin']='1.1'; @@ -99,8 +99,10 @@ $modversion['config'][$i]['valuetype'] = 'text'; $modversion['config'][$i]['default'] = 'dhtml'; xoops_load('xoopseditorhandler'); -$modversion['config'][$i]['options'] = array_flip(xoopsEditorHandler::getList()); +$editor_handler = XoopsEditorHandler::getInstance(); +$modversion['config'][$i]['options'] = array_flip($editor_handler->getList()); + /** * Trim file's content before to save it ? */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-02 22:19:32
|
Revision: 9240 http://xoops.svn.sourceforge.net/xoops/?rev=9240&view=rev Author: beckmi Date: 2012-04-02 22:19:24 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Version 0.22 RC2 - XOOPS 2.5.x Admin GUI Modified Paths: -------------- XoopsModules/avaman/trunk/avaman/admin/about.php XoopsModules/avaman/trunk/avaman/admin/admin_footer.php XoopsModules/avaman/trunk/avaman/admin/admin_header.php XoopsModules/avaman/trunk/avaman/admin/menu.php XoopsModules/avaman/trunk/avaman/docs/install.txt XoopsModules/avaman/trunk/avaman/docs/lang_diff.txt XoopsModules/avaman/trunk/avaman/language/english/admin.php XoopsModules/avaman/trunk/avaman/language/english/modinfo.php XoopsModules/avaman/trunk/avaman/language/italian/admin.php XoopsModules/avaman/trunk/avaman/language/italian/modinfo.php XoopsModules/avaman/trunk/avaman/language/japanese/admin.php XoopsModules/avaman/trunk/avaman/language/japanese/modinfo.php XoopsModules/avaman/trunk/avaman/language/persian/admin.php XoopsModules/avaman/trunk/avaman/language/persian/modinfo.php XoopsModules/avaman/trunk/avaman/language/polish/admin.php XoopsModules/avaman/trunk/avaman/language/polish/modinfo.php XoopsModules/avaman/trunk/avaman/language/spanish/admin.php XoopsModules/avaman/trunk/avaman/language/spanish/modinfo.php XoopsModules/avaman/trunk/avaman/xoops_version.php Modified: XoopsModules/avaman/trunk/avaman/admin/about.php =================================================================== --- XoopsModules/avaman/trunk/avaman/admin/about.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/admin/about.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -20,8 +20,8 @@ * @version $Id $ */ -include_once dirname(__FILE__) . '/admin_header.php'; - +//include_once dirname(__FILE__) . '/admin_header.php'; +include 'admin_header.php'; xoops_cp_header(); $aboutAdmin = new ModuleAdmin(); @@ -29,4 +29,4 @@ echo $aboutAdmin->addNavigation('about.php'); echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); -include 'admin_footer.php'; \ No newline at end of file +include_once 'admin_footer.php'; \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/admin/admin_footer.php =================================================================== --- XoopsModules/avaman/trunk/avaman/admin/admin_footer.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/admin/admin_footer.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -24,7 +24,7 @@ ." <div style='text-align: center;'>\n" ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" ." </div>\n" - ." " . _AM_ADMIN_FOOTER . "\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" ."</div>"; xoops_cp_footer(); \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/admin/admin_header.php =================================================================== --- XoopsModules/avaman/trunk/avaman/admin/admin_header.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/admin/admin_header.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -33,6 +33,7 @@ xoops_loadLanguage('admin', $thisModuleDir); xoops_loadLanguage('modinfo', $thisModuleDir); xoops_loadLanguage('main', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); $pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); $pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); @@ -41,5 +42,5 @@ if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); }else{ - redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); + redirect_header("../../../admin.php", 5, _AM_AVAMAN_MODULEADMIN_MISSING, false); } \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/admin/menu.php =================================================================== --- XoopsModules/avaman/trunk/avaman/admin/menu.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/admin/menu.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -9,7 +9,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ -/** +/* * Avaman module * * @copyright The XOOPS Project (http://www.xoops.org) @@ -20,53 +20,45 @@ * @version $Id $ */ -/** -$adminmenu = array( - array( - 'title' => _MI_AVAMAN_HOME , - 'link' => 'admin/index.php' , - ) , - array( - 'title' => _MI_AVAMAN_AVATARMANAGER , - 'link' => 'admin/avatars.php' , - ) , - array( - 'title' => _MI_AVAMAN_SMILIESMANAGER , - 'link' => 'admin/smilies.php' , - ) , -) ; -*/ defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); -$dirname = basename(dirname(dirname(__FILE__))); -$module_handler = xoops_gethandler('module'); -$module = $module_handler->getByDirname($dirname); -$pathIcon32 = $module->getInfo('icons32'); +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; -xoops_loadLanguage('admin', $dirname); +$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_AVAMAN_HOME; -$adminmenu[$i]["link"] = 'admin/index.php'; -$adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; +$i= 1; +$adminmenu[$i]["title"] = _AM_MODULEADMIN_HOME; +$adminmenu[$i]["link"] = 'admin/index.php'; +$adminmenu[$i]["icon"] = $pathIcon32 . '/home.png'; + $i++; $adminmenu[$i]["title"] = _MI_AVAMAN_AVATARMANAGER; -$adminmenu[$i]["link"] = 'admin/avatars.php'; -$adminmenu[$i]["icon"] = $pathIcon32.'/penguin.png'; +$adminmenu[$i]["link"] = 'admin/avatars.php'; +$adminmenu[$i]["icon"] = $pathIcon32.'/penguin.png'; $i++; $adminmenu[$i]["title"] = _MI_AVAMAN_SMILIESMANAGER; -$adminmenu[$i]["link"] = 'admin/smilies.php'; -$adminmenu[$i]["icon"] = $pathIcon32.'/face-smile.png'; +$adminmenu[$i]["link"] = 'admin/smilies.php'; +$adminmenu[$i]["icon"] = $pathIcon32.'/face-smile.png'; $i++; -$adminmenu[$i]["title"] = _MI_AVAMAN_ADMIN_ABOUT; -$adminmenu[$i]["link"] = 'admin/about.php'; -$adminmenu[$i]["icon"] = $pathIcon32.'/about.png'; - - -?> \ No newline at end of file +$adminmenu[$i]['title'] = _AM_MODULEADMIN_ABOUT; +$adminmenu[$i]["link"] = 'admin/about.php'; +$adminmenu[$i]["icon"] = $pathIcon32 . '/about.png'; \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/docs/install.txt =================================================================== --- XoopsModules/avaman/trunk/avaman/docs/install.txt 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/docs/install.txt 2012-04-02 22:19:24 UTC (rev 9240) @@ -1,6 +1,6 @@ INSTALL/UNISTALL ================= -No special measures necessary, follow the standard installation process \x96 extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. +No special measures necessary, follow the standard installation process and extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. Detailed instructions on installing modules are available in the XOOPS Operations Manual: http://goo.gl/adT2i \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/docs/lang_diff.txt =================================================================== --- XoopsModules/avaman/trunk/avaman/docs/lang_diff.txt 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/docs/lang_diff.txt 2012-04-02 22:19:24 UTC (rev 9240) @@ -3,11 +3,6 @@ Below are language differences from a version to next version. -in file /language/english/modinfo.php: - -define( '_MI_AVAMAN_HOME' , 'Home' ) ; -define( '_MI_AVAMAN_ADMIN_ABOUT' , 'About' ) ; - in file /language/english/admin.php: -// Text for Admin footer -define("_AM_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Avaman is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_AVAMAN_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); Modified: XoopsModules/avaman/trunk/avaman/language/english/admin.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/english/admin.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/english/admin.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -40,5 +40,5 @@ define('_AM_AVAMAN_TH_EMOTION' , 'Emotion' ) ; define('_AM_AVAMAN_TH_SMILEDISPLAY' , 'Show under textarea' ) ; -// Text for Admin footer -define("_AM_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Avaman is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_AVAMAN_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/language/english/modinfo.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/english/modinfo.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/english/modinfo.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -24,10 +24,4 @@ define( '_MI_AVAMAN_MODULEDESC' , 'Managing system avatars and smilies' ) ; define( '_MI_AVAMAN_AVATARMANAGER' , 'Avatar Manager' ) ; -define( '_MI_AVAMAN_SMILIESMANAGER' , 'Smilies Manager' ) ; - -define( '_MI_AVAMAN_HOME' , 'Home' ) ; -define( '_MI_AVAMAN_ADMIN_ABOUT' , 'About' ) ; - - -?> \ No newline at end of file +define( '_MI_AVAMAN_SMILIESMANAGER' , 'Smilies Manager' ) ; \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/language/italian/admin.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/italian/admin.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/italian/admin.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -4,8 +4,8 @@ define( "_AM_AVAMAN_DBUPDATED" , "Aggiornato correttamente" ) ; define( "_AM_AVAMAN_FILEUPLOADED" , "%s file sono stati registrati correttamente" ) ; -define( "_AM_AVAMAN_UPLOAD" , "Invia immagini (E' anche possibile inviare pi\xF9 file contemporaneamente contenuti in un archivio zip o tar.gz)" ) ; -define( "_AM_AVAMAN_ERR_INVALIDARCHIVE" , "Archivio non valido. L'archivio non pu\xF2 essere aperto" ) ; +define( "_AM_AVAMAN_UPLOAD" , "Invia immagini (E' anche possibile inviare pi� file contemporaneamente contenuti in un archivio zip o tar.gz)" ) ; +define( "_AM_AVAMAN_ERR_INVALIDARCHIVE" , "Archivio non valido. L'archivio non pu� essere aperto" ) ; define( "_AM_AVAMAN_INVALIDEXT" , "Tipo file non valido" ) ; define( "_AM_AVAMAN_TH_ID" , "id" ) ; @@ -21,6 +21,5 @@ define( "_AM_AVAMAN_TH_CODE" , "codice" ) ; define( "_AM_AVAMAN_TH_EMOTION" , "emozione" ) ; define( "_AM_AVAMAN_TH_SMILEDISPLAY" , "Mostra sotto la textarea" ) ; - -// Text for Admin footer -define("_AM_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Avaman is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_AVAMAN_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/language/italian/modinfo.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/italian/modinfo.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/italian/modinfo.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -6,7 +6,4 @@ define( '_MI_AVAMAN_MODULEDESC' , 'Sistema di gestione avatar semplificata' ) ; define( '_MI_AVAMAN_AVATARMANAGER' , 'Gestione Avatar' ) ; -define( '_MI_AVAMAN_SMILIESMANAGER' , 'Gestione Smilies' ) ; - -define( '_MI_AVAMAN_HOME' , 'Home' ) ; -define( '_MI_AVAMAN_ADMIN_ABOUT' , 'About' ) ; \ No newline at end of file +define( '_MI_AVAMAN_SMILIESMANAGER' , 'Gestione Smilies' ) ; \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/language/japanese/admin.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/japanese/admin.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/japanese/admin.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -1,24 +1,24 @@ <?php -define( "_AM_AVAMAN_DBUPDATED" , "\xB9\xB9\xBF\xB7\xA4\xB7\xA4ޤ\xB7\xA4\xBF" ) ; -define( "_AM_AVAMAN_FILEUPLOADED" , "%s \xB8ĤΥե\xA1\xA5\xA4\xA5\xEB\xA4\xF2\xC5\xD0Ͽ\xA4\xB7\xA4ޤ\xB7\xA4\xBF" ) ; -define( "_AM_AVAMAN_UPLOAD" , "\xB2\xE8\xC1\xFC\xA5ե\xA1\xA5\xA4\xA5\xEB\xA4åץ\x{D87C}\xA5\xC9(\xA5\xA2\xA1\xBC\xA5\xAB\xA5\xA4\xA5֤ξ\xEC\xB9\xE7\xA4ϡ\xA2zip\xA4ޤ\xBF\xA4\xCFtar.gz\xB7\xC1\xBC\xB0)" ) ; -define( "_AM_AVAMAN_ERR_INVALIDARCHIVE" , "\xA4\xB3\xA4Υ\xA2\xA1\xBC\xA5\xAB\xA5\xA4\xA5֤ϲ\xF2\xC5\xE0\xA4Ǥ\xAD\xA4ޤ\xBB\xA4\xF3" ) ; -define( "_AM_AVAMAN_INVALIDEXT" , "\xA4\xB3\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4ϰ\xB7\xA4\xA8\xA4ޤ\xBB\xA4\xF3" ) ; +define( "_AM_AVAMAN_DBUPDATED" , "�������ޤ���" ) ; +define( "_AM_AVAMAN_FILEUPLOADED" , "%s �ĤΥե��������Ͽ���ޤ���" ) ; +define( "_AM_AVAMAN_UPLOAD" , "����ե�����åץ?��(���������֤ξ��ϡ�zip�ޤ���tar.gz����)" ) ; +define( "_AM_AVAMAN_ERR_INVALIDARCHIVE" , "���Υ��������֤ϲ���Ǥ��ޤ���" ) ; +define( "_AM_AVAMAN_INVALIDEXT" , "���Υե�����ϰ����ޤ���" ) ; define( "_AM_AVAMAN_TH_ID" , "ID" ) ; -define( "_AM_AVAMAN_TH_FILE" , "\xA5ե\xA1\xA5\xA4\xA5\xEB" ) ; -define( "_AM_AVAMAN_TH_AVATARNAME" , "\xA5\xA2\xA5Х\xBF\xA1\xBC̾" ) ; -define( "_AM_AVAMAN_TH_CREATED" , "\xBA\xEE\xC0\xAE\xC6\xFC\xBB\xFE" ) ; -define( "_AM_AVAMAN_TH_DISPLAY" , "ɽ\xBC\xA8" ) ; -define( "_AM_AVAMAN_TH_WEIGHT" , "\xCA¤ӽ\xE7" ) ; -define( "_AM_AVAMAN_TH_USERS" , "\xCD\xF8\xCDѼԿ\xF4" ) ; -define( "_AM_AVAMAN_TH_DELETE" , "\xBA\xEF\xBD\xFC" ) ; -define( "_AM_AVAMAN_CB_SELECTALL" , "\xC1\xB4\xC1\xAA\xC2\xF2/\xC1\xB4\xB2\xF2\xBD\xFC" ) ; +define( "_AM_AVAMAN_TH_FILE" , "�ե�����" ) ; +define( "_AM_AVAMAN_TH_AVATARNAME" , "���Х���̾" ) ; +define( "_AM_AVAMAN_TH_CREATED" , "�������" ) ; +define( "_AM_AVAMAN_TH_DISPLAY" , "ɽ��" ) ; +define( "_AM_AVAMAN_TH_WEIGHT" , "�¤ӽ�" ) ; +define( "_AM_AVAMAN_TH_USERS" , "���ѼԿ�" ) ; +define( "_AM_AVAMAN_TH_DELETE" , "���" ) ; +define( "_AM_AVAMAN_CB_SELECTALL" , "������/�����" ) ; -define( "_AM_AVAMAN_TH_CODE" , "ɽ\xBC\xA8\xA5\xB3\xA1\xBC\xA5\xC9" ) ; -define( "_AM_AVAMAN_TH_EMOTION" , "\xB0\xD5̣" ) ; -define( "_AM_AVAMAN_TH_SMILEDISPLAY" , "\xA5ƥ\xAD\xA5\xB9\xA5ȥ\xA8\xA5ꥢľ\xB2\xBC\xA4\xCEɽ\xBC\xA8" ) ; +define( "_AM_AVAMAN_TH_CODE" , "ɽ��������" ) ; +define( "_AM_AVAMAN_TH_EMOTION" , "��̣" ) ; +define( "_AM_AVAMAN_TH_SMILEDISPLAY" , "�ƥ����ȥ��ꥢľ����ɽ��" ) ; -// Text for Admin footer -define("_AM_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Avaman is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_AVAMAN_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/language/japanese/modinfo.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/japanese/modinfo.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/japanese/modinfo.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -1,10 +1,7 @@ <?php define( '_MI_AVAMAN_MODULENAME' , 'AVAMAN' ) ; -define( '_MI_AVAMAN_MODULEDESC' , '\xA4\xE2\xA4äȻȤ\xA4\xA4䤹\xA4\xA4\xA5\xA2\xA5Х\xBF\xA1\xBC\xB4\xC9\xCD\xFD\xA4\xF2\xA1\xAA' ) ; +define( '_MI_AVAMAN_MODULEDESC' , '��äȻȤ��䤹�����Х��������' ) ; -define( '_MI_AVAMAN_AVATARMANAGER' , '\xA5\xA2\xA5Х\xBF\xA1\xBC\xA5ޥ͡\xBC\xA5\xB8\xA5\xE3' ) ; -define( '_MI_AVAMAN_SMILIESMANAGER' , '\xB4饢\xA5\xA4\xA5\xB3\xA5\xF3\xA5ޥ͡\xBC\xA5\xB8\xA5\xE3' ) ; - -define( '_MI_AVAMAN_HOME' , 'Home' ) ; -define( '_MI_AVAMAN_ADMIN_ABOUT' , 'About' ) ; \ No newline at end of file +define( '_MI_AVAMAN_AVATARMANAGER' , '���Х����ޥ͡�����' ) ; +define( '_MI_AVAMAN_SMILIESMANAGER' , '�饢������ޥ͡�����' ) ; \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/language/persian/admin.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/persian/admin.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/persian/admin.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -20,5 +20,5 @@ define( "_AM_AVAMAN_TH_EMOTION" , "توضیح" ) ; define( "_AM_AVAMAN_TH_SMILEDISPLAY" , "در صفحه اصلی متن نویسی نشان داده شود؟" ) ; -// Text for Admin footer -define("_AM_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Avaman is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_AVAMAN_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/language/persian/modinfo.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/persian/modinfo.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/persian/modinfo.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -4,7 +4,4 @@ define( '_MI_AVAMAN_MODULEDESC' , 'مدیریت آسان لبخندکها و شکلکهای سیستم' ) ; define( '_MI_AVAMAN_AVATARMANAGER' , 'مدیریت شکلکها' ) ; -define( '_MI_AVAMAN_SMILIESMANAGER' , 'مدیریت لبخندکها' ) ; - -define( '_MI_AVAMAN_HOME' , 'Home' ) ; -define( '_MI_AVAMAN_ADMIN_ABOUT' , 'About' ) ; \ No newline at end of file +define( '_MI_AVAMAN_SMILIESMANAGER' , 'مدیریت لبخندکها' ) ; \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/language/polish/admin.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/polish/admin.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/polish/admin.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -1,24 +1,24 @@ <?php -define( "_AM_AVAMAN_DBUPDATED" , "Uaktualniono pomy\x9Clnie" ) ; -define( "_AM_AVAMAN_FILEUPLOADED" , "%s plik\xF3w dodano do bazy" ) ; -define( "_AM_AVAMAN_UPLOAD" , "Upload obrazk\xF3w (Mo\xBFesz tak\xBFe uplaodowa\xE6 w formacie zip lub tar.gz)" ) ; -define( "_AM_AVAMAN_ERR_INVALIDARCHIVE" , "Nie mo\xBFna rozpakowa\xE6 archiwum" ) ; -define( "_AM_AVAMAN_INVALIDEXT" , "Nieprawid\xB3owy typ pliku" ) ; +define( "_AM_AVAMAN_DBUPDATED" , "Uaktualniono pomy�lnie" ) ; +define( "_AM_AVAMAN_FILEUPLOADED" , "%s plik�w dodano do bazy" ) ; +define( "_AM_AVAMAN_UPLOAD" , "Upload obrazk�w (Mo�esz tak�e uplaodowa� w formacie zip lub tar.gz)" ) ; +define( "_AM_AVAMAN_ERR_INVALIDARCHIVE" , "Nie mo�na rozpakowa� archiwum" ) ; +define( "_AM_AVAMAN_INVALIDEXT" , "Nieprawid�owy typ pliku" ) ; define( "_AM_AVAMAN_TH_ID" , "id" ) ; define( "_AM_AVAMAN_TH_FILE" , "plik" ) ; define( "_AM_AVAMAN_TH_AVATARNAME" , "nazwa" ) ; define( "_AM_AVAMAN_TH_CREATED" , "utworzony" ) ; -define( "_AM_AVAMAN_TH_DISPLAY" , "wy\x9Cwietl" ) ; +define( "_AM_AVAMAN_TH_DISPLAY" , "wy�wietl" ) ; define( "_AM_AVAMAN_TH_WEIGHT" , "waga" ) ; -define( "_AM_AVAMAN_TH_USERS" , "u\xBFyte" ) ; -define( "_AM_AVAMAN_TH_DELETE" , "usu\xF1" ) ; +define( "_AM_AVAMAN_TH_USERS" , "u�yte" ) ; +define( "_AM_AVAMAN_TH_DELETE" , "usu�" ) ; define( "_AM_AVAMAN_CB_SELECTALL" , "zaznacz/odznacz wszystkie" ) ; define( "_AM_AVAMAN_TH_CODE" , "kod" ) ; define( "_AM_AVAMAN_TH_EMOTION" , "emotion" ) ; -define( "_AM_AVAMAN_TH_SMILEDISPLAY" , "Wy\x9Cwietl w formularzach na stronie" ) ; +define( "_AM_AVAMAN_TH_SMILEDISPLAY" , "Wy�wietl w formularzach na stronie" ) ; -// Text for Admin footer -define("_AM_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Avaman is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_AVAMAN_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/language/polish/modinfo.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/polish/modinfo.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/polish/modinfo.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -4,7 +4,4 @@ define( '_MI_AVAMAN_MODULEDESC' , 'Managing system avatar easily' ) ; define( '_MI_AVAMAN_AVATARMANAGER' , 'Avatar Manager' ) ; -define( '_MI_AVAMAN_SMILIESMANAGER' , 'Smilies Manager' ) ; - -define( '_MI_AVAMAN_HOME' , 'Home' ) ; -define( '_MI_AVAMAN_ADMIN_ABOUT' , 'About' ) ; \ No newline at end of file +define( '_MI_AVAMAN_SMILIESMANAGER' , 'Smilies Manager' ) ; \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/language/spanish/admin.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/spanish/admin.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/spanish/admin.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -1,10 +1,10 @@ <?php -//Traducci\xF3n de Debianus para http://es.impresscms.org -define( "_AM_AVAMAN_DBUPDATED" , "Base de datos actualizada con \xE9xito" ) ; -define( "_AM_AVAMAN_FILEUPLOADED" , "%s archivos fueron registrados con \xE9xito" ) ; -define( "_AM_AVAMAN_UPLOAD" , "Archivos de imagen que ser\xE1n subidos al servidor (puede tambi\xE9n subir varios archivos a la vez comprimidos en un archivo zip o tar.gz)" ) ; +//Traducci�n de Debianus para http://es.impresscms.org +define( "_AM_AVAMAN_DBUPDATED" , "Base de datos actualizada con �xito" ) ; +define( "_AM_AVAMAN_FILEUPLOADED" , "%s archivos fueron registrados con �xito" ) ; +define( "_AM_AVAMAN_UPLOAD" , "Archivos de imagen que ser�n subidos al servidor (puede tambi�n subir varios archivos a la vez comprimidos en un archivo zip o tar.gz)" ) ; define( "_AM_AVAMAN_ERR_INVALIDARCHIVE" , "El archivo no puede ser descomprimido" ) ; -define( "_AM_AVAMAN_INVALIDEXT" , "Tipo de archivo no v\xE1lido" ) ; +define( "_AM_AVAMAN_INVALIDEXT" , "Tipo de archivo no v�lido" ) ; define( "_AM_AVAMAN_TH_ID" , "Id" ) ; define( "_AM_AVAMAN_TH_FILE" , "Archivo" ) ; @@ -16,9 +16,9 @@ define( "_AM_AVAMAN_TH_DELETE" , "Eliminar" ) ; define( "_AM_AVAMAN_CB_SELECTALL" , "Seleccionar/No seleccionar todos" ) ; -define( "_AM_AVAMAN_TH_CODE" , "C\xF3digo" ) ; -define( "_AM_AVAMAN_TH_EMOTION" , "Emoci\xF3n" ) ; -define( "_AM_AVAMAN_TH_SMILEDISPLAY" , "Mostrar bajo el \xE1rea de texto" ) ; +define( "_AM_AVAMAN_TH_CODE" , "C�digo" ) ; +define( "_AM_AVAMAN_TH_EMOTION" , "Emoci�n" ) ; +define( "_AM_AVAMAN_TH_SMILEDISPLAY" , "Mostrar bajo el �rea de texto" ) ; -// Text for Admin footer -define("_AM_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Avaman is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_AVAMAN_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/language/spanish/modinfo.php =================================================================== --- XoopsModules/avaman/trunk/avaman/language/spanish/modinfo.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/language/spanish/modinfo.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -1,10 +1,7 @@ <?php define( '_MI_AVAMAN_MODULENAME' , 'AVAMAN' ) ; -define( '_MI_AVAMAN_MODULEDESC' , 'Sistema para gestionar f\xE1cilmente los avatares' ) ; +define( '_MI_AVAMAN_MODULEDESC' , 'Sistema para gestionar f�cilmente los avatares' ) ; -define( '_MI_AVAMAN_AVATARMANAGER' , 'Gesti\xF3n de Avatares' ) ; -define( '_MI_AVAMAN_SMILIESMANAGER' , 'Gesti\xF3n de Caritas (Smilies"' ) ; - -define( '_MI_AVAMAN_HOME' , 'Home' ) ; -define( '_MI_AVAMAN_ADMIN_ABOUT' , 'About' ) ; \ No newline at end of file +define( '_MI_AVAMAN_AVATARMANAGER' , 'Gesti�n de Avatares' ) ; +define( '_MI_AVAMAN_SMILIESMANAGER' , 'Gesti�n de Caritas (Smilies"' ) ; \ No newline at end of file Modified: XoopsModules/avaman/trunk/avaman/xoops_version.php =================================================================== --- XoopsModules/avaman/trunk/avaman/xoops_version.php 2012-04-02 22:07:19 UTC (rev 9239) +++ XoopsModules/avaman/trunk/avaman/xoops_version.php 2012-04-02 22:19:24 UTC (rev 9240) @@ -42,7 +42,7 @@ $modversion['module_website_url'] = "http://xoops.org"; $modversion['module_website_name'] = "XOOPS"; $modversion['release_date'] = "2011/12/04"; -$modversion['module_status'] = "RC"; +$modversion['module_status'] = "RC2"; $modversion["author_website_url"] = "http://www.peak.ne.jp"; $modversion["author_website_name"] = "GIJOE"; $modversion['min_php']='5.2'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-02 22:07:26
|
Revision: 9239 http://xoops.svn.sourceforge.net/xoops/?rev=9239&view=rev Author: beckmi Date: 2012-04-02 22:07:19 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Adding Help files Modified Paths: -------------- XoopsModules/birthday/trunk/birthday/language/english/help/help.html Added Paths: ----------- XoopsModules/birthday/trunk/birthday/language/arabic/help/ XoopsModules/birthday/trunk/birthday/language/arabic/help/help.html XoopsModules/birthday/trunk/birthday/language/arabic/help/index.html XoopsModules/birthday/trunk/birthday/language/french/help/ XoopsModules/birthday/trunk/birthday/language/french/help/help.html XoopsModules/birthday/trunk/birthday/language/french/help/index.html XoopsModules/birthday/trunk/birthday/language/persian/help/ XoopsModules/birthday/trunk/birthday/language/persian/help/help.html XoopsModules/birthday/trunk/birthday/language/persian/help/index.html XoopsModules/birthday/trunk/birthday/language/spanish/help/ XoopsModules/birthday/trunk/birthday/language/spanish/help/help.html XoopsModules/birthday/trunk/birthday/language/spanish/help/index.html Added: XoopsModules/birthday/trunk/birthday/language/arabic/help/help.html =================================================================== --- XoopsModules/birthday/trunk/birthday/language/arabic/help/help.html (rev 0) +++ XoopsModules/birthday/trunk/birthday/language/arabic/help/help.html 2012-04-02 22:07:19 UTC (rev 9239) @@ -0,0 +1,36 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/birthday/admin/index.php" + title="Back to the administration of Birthday"> Birthday + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Birthday"/> + </a></h1> + + <h4 class="odd">Description</h4> + + <p class="even">Birthday is a module to keep track of your members' Birthdays.<br /> <br /> + + It can be also used to remember fallen soldiers, by showing the date of their passing. + + You can use a WYSIWYG editor to make it even more attractive</p> + + <h4 class="odd">Install/uninstall</h4> + + <p class="even">No special measures necessary, follow the standard installation process – + extract the /birthday folder into the ../modules directory. Install the + module through Admin -> System Module -> Modules.<br /> <br /> + Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a> </p> + + + <h4 class="odd">Operating instructions</h4> + + This module and its operations are very simple.<br /> <br /> + Detailed instructions on configuring the access rights for user groups are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br /> <br /> + + <h4 class="odd">Tutorial</h4> + + <p class="even">There is no tutorial available at the moment.</p> + +</div> \ No newline at end of file Added: XoopsModules/birthday/trunk/birthday/language/arabic/help/index.html =================================================================== --- XoopsModules/birthday/trunk/birthday/language/arabic/help/index.html (rev 0) +++ XoopsModules/birthday/trunk/birthday/language/arabic/help/index.html 2012-04-02 22:07:19 UTC (rev 9239) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Modified: XoopsModules/birthday/trunk/birthday/language/english/help/help.html =================================================================== --- XoopsModules/birthday/trunk/birthday/language/english/help/help.html 2012-04-02 22:02:27 UTC (rev 9238) +++ XoopsModules/birthday/trunk/birthday/language/english/help/help.html 2012-04-02 22:07:19 UTC (rev 9239) @@ -12,7 +12,7 @@ It can be also used to remember fallen soldiers, by showing the date of their passing. - You can use a WYSIWYG editor to make your even more attractive</p> + You can use a WYSIWYG editor to make it even more attractive</p> <h4 class="odd">Install/uninstall</h4> Added: XoopsModules/birthday/trunk/birthday/language/french/help/help.html =================================================================== --- XoopsModules/birthday/trunk/birthday/language/french/help/help.html (rev 0) +++ XoopsModules/birthday/trunk/birthday/language/french/help/help.html 2012-04-02 22:07:19 UTC (rev 9239) @@ -0,0 +1,36 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/birthday/admin/index.php" + title="Back to the administration of Birthday"> Birthday + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Birthday"/> + </a></h1> + + <h4 class="odd">Description</h4> + + <p class="even">Birthday is a module to keep track of your members' Birthdays.<br /> <br /> + + It can be also used to remember fallen soldiers, by showing the date of their passing. + + You can use a WYSIWYG editor to make it even more attractive</p> + + <h4 class="odd">Install/uninstall</h4> + + <p class="even">No special measures necessary, follow the standard installation process – + extract the /birthday folder into the ../modules directory. Install the + module through Admin -> System Module -> Modules.<br /> <br /> + Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a> </p> + + + <h4 class="odd">Operating instructions</h4> + + This module and its operations are very simple.<br /> <br /> + Detailed instructions on configuring the access rights for user groups are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br /> <br /> + + <h4 class="odd">Tutorial</h4> + + <p class="even">There is no tutorial available at the moment.</p> + +</div> \ No newline at end of file Added: XoopsModules/birthday/trunk/birthday/language/french/help/index.html =================================================================== --- XoopsModules/birthday/trunk/birthday/language/french/help/index.html (rev 0) +++ XoopsModules/birthday/trunk/birthday/language/french/help/index.html 2012-04-02 22:07:19 UTC (rev 9239) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/birthday/trunk/birthday/language/persian/help/help.html =================================================================== --- XoopsModules/birthday/trunk/birthday/language/persian/help/help.html (rev 0) +++ XoopsModules/birthday/trunk/birthday/language/persian/help/help.html 2012-04-02 22:07:19 UTC (rev 9239) @@ -0,0 +1,36 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/birthday/admin/index.php" + title="Back to the administration of Birthday"> Birthday + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Birthday"/> + </a></h1> + + <h4 class="odd">Description</h4> + + <p class="even">Birthday is a module to keep track of your members' Birthdays.<br /> <br /> + + It can be also used to remember fallen soldiers, by showing the date of their passing. + + You can use a WYSIWYG editor to make it even more attractive</p> + + <h4 class="odd">Install/uninstall</h4> + + <p class="even">No special measures necessary, follow the standard installation process – + extract the /birthday folder into the ../modules directory. Install the + module through Admin -> System Module -> Modules.<br /> <br /> + Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a> </p> + + + <h4 class="odd">Operating instructions</h4> + + This module and its operations are very simple.<br /> <br /> + Detailed instructions on configuring the access rights for user groups are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br /> <br /> + + <h4 class="odd">Tutorial</h4> + + <p class="even">There is no tutorial available at the moment.</p> + +</div> \ No newline at end of file Added: XoopsModules/birthday/trunk/birthday/language/persian/help/index.html =================================================================== --- XoopsModules/birthday/trunk/birthday/language/persian/help/index.html (rev 0) +++ XoopsModules/birthday/trunk/birthday/language/persian/help/index.html 2012-04-02 22:07:19 UTC (rev 9239) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/birthday/trunk/birthday/language/spanish/help/help.html =================================================================== --- XoopsModules/birthday/trunk/birthday/language/spanish/help/help.html (rev 0) +++ XoopsModules/birthday/trunk/birthday/language/spanish/help/help.html 2012-04-02 22:07:19 UTC (rev 9239) @@ -0,0 +1,36 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/birthday/admin/index.php" + title="Back to the administration of Birthday"> Birthday + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Birthday"/> + </a></h1> + + <h4 class="odd">Description</h4> + + <p class="even">Birthday is a module to keep track of your members' Birthdays.<br /> <br /> + + It can be also used to remember fallen soldiers, by showing the date of their passing. + + You can use a WYSIWYG editor to make it even more attractive</p> + + <h4 class="odd">Install/uninstall</h4> + + <p class="even">No special measures necessary, follow the standard installation process – + extract the /birthday folder into the ../modules directory. Install the + module through Admin -> System Module -> Modules.<br /> <br /> + Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a> </p> + + + <h4 class="odd">Operating instructions</h4> + + This module and its operations are very simple.<br /> <br /> + Detailed instructions on configuring the access rights for user groups are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br /> <br /> + + <h4 class="odd">Tutorial</h4> + + <p class="even">There is no tutorial available at the moment.</p> + +</div> \ No newline at end of file Added: XoopsModules/birthday/trunk/birthday/language/spanish/help/index.html =================================================================== --- XoopsModules/birthday/trunk/birthday/language/spanish/help/index.html (rev 0) +++ XoopsModules/birthday/trunk/birthday/language/spanish/help/index.html 2012-04-02 22:07:19 UTC (rev 9239) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-02 22:02:35
|
Revision: 9238 http://xoops.svn.sourceforge.net/xoops/?rev=9238&view=rev Author: beckmi Date: 2012-04-02 22:02:27 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Version 2.3 RC2 - XOOPS 2.5.x Admin GUI Modified Paths: -------------- XoopsModules/birthday/trunk/birthday/admin/about.php XoopsModules/birthday/trunk/birthday/admin/admin_footer.php XoopsModules/birthday/trunk/birthday/admin/admin_header.php XoopsModules/birthday/trunk/birthday/admin/index.php XoopsModules/birthday/trunk/birthday/admin/main.php XoopsModules/birthday/trunk/birthday/class/PEAR.php XoopsModules/birthday/trunk/birthday/class/users_birthday.php XoopsModules/birthday/trunk/birthday/docs/changelog.txt XoopsModules/birthday/trunk/birthday/docs/install.txt XoopsModules/birthday/trunk/birthday/docs/lang_diff.txt XoopsModules/birthday/trunk/birthday/docs/readme.txt XoopsModules/birthday/trunk/birthday/include/common.php XoopsModules/birthday/trunk/birthday/language/english/admin.php XoopsModules/birthday/trunk/birthday/language/english/help/help.html XoopsModules/birthday/trunk/birthday/xoops_version.php Modified: XoopsModules/birthday/trunk/birthday/admin/about.php =================================================================== --- XoopsModules/birthday/trunk/birthday/admin/about.php 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/admin/about.php 2012-04-02 22:02:27 UTC (rev 9238) @@ -10,7 +10,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * @copyright The XOOPS Project (http://www.xoops.org) - * @license GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html/) + * @license {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} * @package birthday * @since 2.5.0 * @author XOOPS Module Team Modified: XoopsModules/birthday/trunk/birthday/admin/admin_footer.php =================================================================== --- XoopsModules/birthday/trunk/birthday/admin/admin_footer.php 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/admin/admin_footer.php 2012-04-02 22:02:27 UTC (rev 9238) @@ -10,7 +10,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License * @package birthday * @since 2.5.0 * @author XOOPS Module Team @@ -21,7 +21,7 @@ ." <div style='text-align: center;'>\n" ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" ." </div>\n" - ." " . _AM_BIRTHDAY_FOOTER . "\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" ."</div>"; xoops_cp_footer(); \ No newline at end of file Modified: XoopsModules/birthday/trunk/birthday/admin/admin_header.php =================================================================== --- XoopsModules/birthday/trunk/birthday/admin/admin_header.php 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/admin/admin_header.php 2012-04-02 22:02:27 UTC (rev 9238) @@ -10,7 +10,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License * @package birthday * @since 2.5.0 * @author XOOPS Module Team @@ -41,5 +41,5 @@ if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); }else{ - redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); + redirect_header("../../../admin.php", 5, _AM_BIRTHDAY_MODULEADMIN_MISSING, false); } \ No newline at end of file Modified: XoopsModules/birthday/trunk/birthday/admin/index.php =================================================================== --- XoopsModules/birthday/trunk/birthday/admin/index.php 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/admin/index.php 2012-04-02 22:02:27 UTC (rev 9238) @@ -12,7 +12,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com) - * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License * @package birthday * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com) * Modified: XoopsModules/birthday/trunk/birthday/admin/main.php =================================================================== --- XoopsModules/birthday/trunk/birthday/admin/main.php 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/admin/main.php 2012-04-02 22:02:27 UTC (rev 9238) @@ -2,7 +2,7 @@ /** * **************************************************************************** * birthday - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv� Thouzard of Instant Zero (http://www.instant-zero.com) * Created on 10 juil. 08 at 11:38:52 * Version : $Id: * **************************************************************************** @@ -22,8 +22,8 @@ $op = $_GET['op']; } -// Lecture de certains param\xE8tres de l'application ******************************************************************** -$limit = birthday_utils::getModuleOption('perpage'); // Nombre maximum d'\xE9l\xE9ments \xE0 afficher +// Lecture de certains param�tres de l'application ******************************************************************** +$limit = birthday_utils::getModuleOption('perpage'); // Nombre maximum d'�l�ments � afficher $baseurl = BIRTHDAY_URL.'admin/'.basename(__FILE__); // URL de ce script $conf_msg = birthday_utils::javascriptLinkConfirm(_AM_BIRTHDAY_CONF_DELITEM); $images_width = birthday_utils::getModuleOption('images_width'); @@ -60,7 +60,7 @@ $class = ''; $items = $hBdUsersBirthday->getItems($start, $limit, 'birthday_lastname'); echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; - echo "<tr><th align='center'>"._BIRTHDAY_DATE."</th><th align='center'>"._BIRTHDAY_USERNAME."</th><th align='center'>"._BIRTHDAY_LASTNAME.'<br />'._BIRTHDAY_FIRSTNAME."</th><th align='center'>"._AM_BIRTHDAY_ACTION."</th></tr>"; + echo "<tr><th align='center'>"._BIRTHDAY_DATE."</th><th align='center'>"._BIRTHDAY_USERNAME."</th><th align='center'>"._BIRTHDAY_LASTNAME.', '._BIRTHDAY_FIRSTNAME."</th><th align='center'>"._AM_BIRTHDAY_ACTION."</th></tr>"; foreach ($items as $item) { $class = ($class == 'even') ? 'odd' : 'even'; $id = $item->getVar('birthday_id'); @@ -76,7 +76,7 @@ echo "<tr class='".$class."'>\n"; echo "<td align='center'>".birthday_utils::SQLDateToHuman($item->getVar('birthday_date'))."</td>"; echo "<td align='center'>".$uname.'</td>'; - echo "<td align='left'>".$item->getFullName().'</td>'; + echo "<td align='center'>".$item->getFullName().'</td>'; echo "<td align='center'>".$action_edit.' '.$action_delete.'</td>'; echo "</tr>\n"; } Modified: XoopsModules/birthday/trunk/birthday/class/PEAR.php =================================================================== --- XoopsModules/birthday/trunk/birthday/class/PEAR.php 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/class/PEAR.php 2012-04-02 22:02:27 UTC (rev 9238) @@ -78,7 +78,7 @@ * @author Greg Beaver <ce...@ph...> * @copyright 1997-2006 The PHP Group * @license http://opensource.org/licenses/bsd-license.php New BSD License - * @version Release: 1.9.2 + * @version Release: 1.9.4 * @link http://pear.php.net/package/PEAR * @see PEAR_Error * @since Class available since PHP 4.0.2 @@ -729,7 +729,7 @@ if (PEAR_ZE2) { include_once 'PEAR5.php'; } - +if (!function_exists("_PEAR_call_destructors()")){ function _PEAR_call_destructors() { global $_PEAR_destructor_object_list; @@ -775,6 +775,7 @@ } } } +} /** * Standard PEAR error class for PHP 4 @@ -788,7 +789,7 @@ * @author Gregory Beaver <ce...@ph...> * @copyright 1997-2006 The PHP Group * @license http://opensource.org/licenses/bsd-license.php New BSD License - * @version Release: 1.9.2 + * @version Release: 1.9.4 * @link http://pear.php.net/manual/en/core.pear.pear-error.php * @see PEAR::raiseError(), PEAR::throwError() * @since Class available since PHP 4.0.2 Modified: XoopsModules/birthday/trunk/birthday/class/users_birthday.php =================================================================== --- XoopsModules/birthday/trunk/birthday/class/users_birthday.php 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/class/users_birthday.php 2012-04-02 22:02:27 UTC (rev 9238) @@ -235,7 +235,7 @@ $birthday_description = new XoopsFormEditor('', $xoopsModuleConfig['form_options'], $options, $nohtml = false, $onfailure = 'textarea'); $options_tray->addElement($birthday_description); } else { - $birthday_description = new XoopsFormDhtmlTextArea('', 'contents_contents', $item->getVar('contents_contents', 'e'), '100%', '100%'); + $birthday_description = new XoopsFormDhtmlTextArea('', 'birthday_description', $item->getVar('birthday_description', 'e'), '100%', '100%'); $options_tray->addElement($birthday_description); } $sform->addElement($options_tray); Modified: XoopsModules/birthday/trunk/birthday/docs/changelog.txt =================================================================== --- XoopsModules/birthday/trunk/birthday/docs/changelog.txt 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/docs/changelog.txt 2012-04-02 22:02:27 UTC (rev 9238) @@ -6,9 +6,8 @@ - Converted to XOOPS 2.5.x GUI - Updated Cache Lite - Update PEAR.php -- Correction of a bug in the comments - made "Editor List" dynamic based on available editors -- update module Logo to "Blue Move" +- updated module Logo to "Blue Move" - replaced BD_XoopsFormTextDateSelect back to XoopsFormTextDateSelect in users_birthday.php ******* Modified: XoopsModules/birthday/trunk/birthday/docs/install.txt =================================================================== --- XoopsModules/birthday/trunk/birthday/docs/install.txt 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/docs/install.txt 2012-04-02 22:02:27 UTC (rev 9238) @@ -1,6 +1,6 @@ INSTALL/UNISTALL ================= -No special measures necessary, follow the standard installation process \x96 extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. +No special measures necessary, follow the standard installation process and extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. Detailed instructions on installing modules are available in the XOOPS Operations Manual: http://goo.gl/adT2i \ No newline at end of file Modified: XoopsModules/birthday/trunk/birthday/docs/lang_diff.txt =================================================================== --- XoopsModules/birthday/trunk/birthday/docs/lang_diff.txt 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/docs/lang_diff.txt 2012-04-02 22:02:27 UTC (rev 9238) @@ -14,8 +14,8 @@ admin.php ------------------- -+ define('_AM_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); -+ define("_AM_BIRTHDAY_FOOTER", "<div class='center smallsmall italic pad5'>Module Birthday is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); ++ define('_AM_BIRTHDAY_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); +- removed("_AM_BIRTHDAY_FOOTER", "<div class='center smallsmall italic pad5'>Module Birthday is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); modinfo.php ------------------- Modified: XoopsModules/birthday/trunk/birthday/docs/readme.txt =================================================================== --- XoopsModules/birthday/trunk/birthday/docs/readme.txt 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/docs/readme.txt 2012-04-02 22:02:27 UTC (rev 9238) @@ -3,12 +3,12 @@ # Module Birthday 1.0.1 # # by Sultan El Turrah (www.theclubbing.com) # # # -# bas\xE9 sur le travail de # +# bas� sur le travail de # # XtremDj (www.clubxtrem.net) # # Lmaix (www.bahut.com) # # Solo (www.wolfpackclan.com) # # # -# Copyright \xA9 2005 # +# Copyright � 2005 # # # # # ######################################################### @@ -16,12 +16,12 @@ Ce module permet d'afficher et de souhaiter les anniversaires des membres. -Si vous souhaitez afficher le lien dans le menu utilisateur, \xE9ditez le fichier 'system_block_user.html' fourni avec le module et remplacez le texte "My birthday" par "Mon anniversaire". - /!\ N'oubliez pas de mettre \xE0 jour le module 'system'. +Si vous souhaitez afficher le lien dans le menu utilisateur, �ditez le fichier 'system_block_user.html' fourni avec le module et remplacez le texte "My birthday" par "Mon anniversaire". + /!\ N'oubliez pas de mettre � jour le module 'system'. ----------------------- -This module allows you to show and wish your members birthday. +This module allows you to show and wish your members Happy Birthday. If you want to show a link in the user menu, replace the the original 'system_block_user.html' file by the one included. /!\ Don't forget to update the 'system' module. Modified: XoopsModules/birthday/trunk/birthday/include/common.php =================================================================== --- XoopsModules/birthday/trunk/birthday/include/common.php 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/include/common.php 2012-04-02 22:02:27 UTC (rev 9238) @@ -2,47 +2,49 @@ /** * **************************************************************************** * birthday - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv� Thouzard of Instant Zero (http://www.instant-zero.com) * Created on 10 juil. 08 at 13:35:06 * Version : $Id: * **************************************************************************** */ - if (!defined("XOOPS_ROOT_PATH")) { - die("XOOPS root path not defined"); +if (!defined("XOOPS_ROOT_PATH")) { + die("XOOPS root path not defined"); } -if( !defined("BIRTHDAY_DIRNAME") ) { - define("BIRTHDAY_DIRNAME", 'birthday'); - define("BIRTHDAY_URL", XOOPS_URL.'/modules/'.BIRTHDAY_DIRNAME.'/'); - define("BIRTHDAY_PATH", XOOPS_ROOT_PATH.'/modules/'.BIRTHDAY_DIRNAME.'/'); - define("BIRTHDAY_CACHE_PATH", XOOPS_UPLOAD_PATH.'/'.BIRTHDAY_DIRNAME.'/'); +if (!defined("BIRTHDAY_DIRNAME")) { + define("BIRTHDAY_DIRNAME", 'birthday'); + define("BIRTHDAY_URL", XOOPS_URL . '/modules/' . BIRTHDAY_DIRNAME . '/'); + define("BIRTHDAY_PATH", XOOPS_ROOT_PATH . '/modules/' . BIRTHDAY_DIRNAME . '/'); + define("BIRTHDAY_CACHE_PATH", XOOPS_UPLOAD_PATH . '/' . BIRTHDAY_DIRNAME . '/'); - define("BIRTHDAY_IMAGES_URL", BIRTHDAY_URL.'images/'); - define("BIRTHDAY_IMAGES_PATH", BIRTHDAY_PATH.'images/'); - define("BIRTHDAY_THUMB", 'thumb_'); + define("BIRTHDAY_IMAGES_URL", BIRTHDAY_URL . 'images/'); + define("BIRTHDAY_IMAGES_PATH", BIRTHDAY_PATH . 'images/'); + define("BIRTHDAY_THUMB", 'thumb_'); } $myts = &MyTextSanitizer::getInstance(); // Chargement des handler et des autres classes -require_once BIRTHDAY_PATH.'class/birthday_utils.php'; -require_once BIRTHDAY_PATH.'class/PEAR.php'; +require_once BIRTHDAY_PATH . 'class/birthday_utils.php'; +if (!class_exists('PEAR')) { + require_once BIRTHDAY_PATH . 'class/PEAR.php'; +} $hBdUsersBirthday = xoops_getmodulehandler('users_birthday', BIRTHDAY_DIRNAME); -// D\xE9finition des images -if( !defined("_BIRTHDAY_EDIT")) { - if(!isset($xoopsConfig)) { - global $xoopsConfig; - } - if (isset($xoopsConfig) && file_exists(BIRTHDAY_PATH.'language/'.$xoopsConfig['language'].'/main.php')) { - require_once BIRTHDAY_PATH.'language/'.$xoopsConfig['language'].'/main.php'; - } else { - require_once BIRTHDAY_PATH.'language/english/main.php'; - } +// D�finition des images +if (!defined("_BIRTHDAY_EDIT")) { + if (!isset($xoopsConfig)) { + global $xoopsConfig; + } + if (isset($xoopsConfig) && file_exists(BIRTHDAY_PATH . 'language/' . $xoopsConfig['language'] . '/main.php')) { + require_once BIRTHDAY_PATH . 'language/' . $xoopsConfig['language'] . '/main.php'; + } else { + require_once BIRTHDAY_PATH . 'language/english/main.php'; + } - $birdthday_icones = array( - 'edit' => "<img src='". BIRTHDAY_IMAGES_URL ."edit.png' alt='" . _BIRTHDAY_EDIT . "' align='middle' />", - 'delete' => "<img src='". BIRTHDAY_IMAGES_URL ."delete.png' alt='" . _BIRTHDAY_DELETE . "' align='middle' />" - ); + $birdthday_icones = array( + 'edit' => "<img src='" . BIRTHDAY_IMAGES_URL . "edit.png' alt='" . _BIRTHDAY_EDIT . "' align='middle' />", + 'delete' => "<img src='" . BIRTHDAY_IMAGES_URL . "delete.png' alt='" . _BIRTHDAY_DELETE . "' align='middle' />" + ); } ?> \ No newline at end of file Modified: XoopsModules/birthday/trunk/birthday/language/english/admin.php =================================================================== --- XoopsModules/birthday/trunk/birthday/language/english/admin.php 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/language/english/admin.php 2012-04-02 22:02:27 UTC (rev 9238) @@ -2,7 +2,7 @@ /** * **************************************************************************** * birthday - MODULE FOR XOOPS - * Script made by Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Script made by Herv\xE9 Thouzard (http://www.herve-thouzard.com) * Created on 10 juil. 08 at 11:37:48 * Version : $Id: * **************************************************************************** @@ -20,7 +20,6 @@ //2.3 //ModuleAdmin -define('_AM_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); +define('_AM_BIRTHDAY_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); // Text for Admin footer -define("_AM_BIRTHDAY_FOOTER", "<div class='center smallsmall italic pad5'>Module Birthday is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); - +//define("_AM_BIRTHDAY_FOOTER", "<div class='center smallsmall italic pad5'>Module Birthday is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsModules/birthday/trunk/birthday/language/english/help/help.html =================================================================== --- XoopsModules/birthday/trunk/birthday/language/english/help/help.html 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/language/english/help/help.html 2012-04-02 22:02:27 UTC (rev 9238) @@ -17,7 +17,7 @@ <h4 class="odd">Install/uninstall</h4> <p class="even">No special measures necessary, follow the standard installation process – - extract the /marquee folder into the ../modules directory. Install the + extract the /birthday folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.<br /> <br /> Detailed instructions on installing modules are available in the <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a> </p> @@ -25,23 +25,12 @@ <h4 class="odd">Operating instructions</h4> - This module and its operations are very simple:<br /> <br /> - <ul> - <li> Configure your preferences (e.g. select the text editor </li> - <li>Add a Marquee </li> - <li>Select a block you want this Marquee to be visible and set desired - options </li> - <li>Check that you have given your user groups the necessary module and - block access rights to use this module. Group permissions are set through - the Administration Menu -> System -> Groups. </li> - </ul> - Detailed instructions - on configuring the access rights for user groups are available in the + This module and its operations are very simple.<br /> <br /> + Detailed instructions on configuring the access rights for user groups are available in the <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br /> <br /> <h4 class="odd">Tutorial</h4> - <p class="even">You can find a more detailed Tutorial - <a href="http://goo.gl/YBQQ0">here</a></p> + <p class="even">There is no tutorial available at the moment.</p> </div> \ No newline at end of file Modified: XoopsModules/birthday/trunk/birthday/xoops_version.php =================================================================== --- XoopsModules/birthday/trunk/birthday/xoops_version.php 2012-04-02 21:50:49 UTC (rev 9237) +++ XoopsModules/birthday/trunk/birthday/xoops_version.php 2012-04-02 22:02:27 UTC (rev 9238) @@ -25,7 +25,7 @@ $modversion['release_date'] = '2011/12/21'; $modversion["module_website_url"] = "http://www.xoops.org/"; $modversion["module_website_name"] = "XOOPS"; -$modversion["module_status"] = "RC"; +$modversion["module_status"] = "RC2"; $modversion['min_php'] = '5.2'; $modversion['min_xoops'] = "2.5"; $modversion['min_admin'] = '1.1'; @@ -203,6 +203,7 @@ // ); // $modversion['config'][$cpto]['default'] = 'dhtml'; +$cpto++; xoops_load('XoopsEditorHandler'); $editor_handler = XoopsEditorHandler::getInstance(); $editorList = array_flip($editor_handler->getList()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-02 21:50:56
|
Revision: 9237 http://xoops.svn.sourceforge.net/xoops/?rev=9237&view=rev Author: beckmi Date: 2012-04-02 21:50:49 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Updating to version in XOOPS 2.5.5 RC Modified Paths: -------------- XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/english/main.php XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/french/main.php XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/german/main.php XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/russian/main.php XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/moduleadmin.php Added Paths: ----------- XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/0.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/1.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/add.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/add_off.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/back.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/down_off.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/forward.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/mail_notread.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/mail_read.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/up.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/up_off.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/button_ok.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/categoryadd.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/digest.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/face-smile.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/folder1_html.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/forums.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/groupmod.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/penguin.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/search.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/translations.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/type.png XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/wizard.png Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/0.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/0.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/1.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/1.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/add.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/add.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/add_off.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/add_off.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/back.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/back.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/down_off.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/down_off.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/forward.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/forward.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/mail_notread.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/mail_notread.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/mail_read.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/mail_read.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/up.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/up.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/up_off.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/16/up_off.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/button_ok.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/button_ok.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/categoryadd.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/categoryadd.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/digest.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/digest.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/face-smile.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/face-smile.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/folder1_html.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/folder1_html.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/forums.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/forums.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/groupmod.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/groupmod.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/penguin.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/penguin.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/search.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/search.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/translations.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/translations.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/type.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/type.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/wizard.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/icons/32/wizard.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/english/main.php =================================================================== --- XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2012-04-02 21:38:08 UTC (rev 9236) +++ XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2012-04-02 21:50:49 UTC (rev 9237) @@ -1,34 +1,49 @@ -<?php -/** - * Frameworks Module 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 Grégory Mage (Aka Mage) - * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) - * @author Grégory Mage (Aka Mage) - */ - -// Info -define('_AM_MODULEADMIN_CONFIG','Configuration Check'); -define('_AM_MODULEADMIN_CONFIG_CHMOD',"The folder '%s' must be with a chmod '%s' (it's now set on %s).'"); -define('_AM_MODULEADMIN_CONFIG_FOLDERKO',"The folder '%s' does not exist"); -define('_AM_MODULEADMIN_CONFIG_FOLDEROK',"The folder '%s' exists"); -define('_AM_MODULEADMIN_CONFIG_PHP','Minimum PHP required: %s (your version is %s)'); -define('_AM_MODULEADMIN_CONFIG_XOOPS','Minimum XOOPS required: %s (your version is %s)'); - - -// About -define('_AM_MODULEADMIN_ABOUT_CHANGELOG','Change log'); -define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Description'); -define('_AM_MODULEADMIN_ABOUT_MODULEINFO','Module Info'); -define('_AM_MODULEADMIN_ABOUT_MODULESTATUS','Status:'); -define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Update date:'); -define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Website:"); - -?> \ No newline at end of file +<?php +/** + * Frameworks Module 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 Grégory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Grégory Mage (Aka Mage) + */ + +// Info +define('_AM_MODULEADMIN_CONFIG','Configuration Check'); +define('_AM_MODULEADMIN_CONFIG_CHMOD',"The folder '%s' must be with a chmod '%s' (it's now set on %s).'"); +define('_AM_MODULEADMIN_CONFIG_FOLDERKO',"The folder '%s' does not exist"); +define('_AM_MODULEADMIN_CONFIG_FOLDEROK',"The folder '%s' exists"); +define('_AM_MODULEADMIN_CONFIG_PHP','Minimum PHP required: %s (your version is %s)'); +define('_AM_MODULEADMIN_CONFIG_XOOPS','Minimum XOOPS required: %s (your version is %s)'); + +define('_AM_MODULEADMIN_CONFIG_DB','minimum version required: %s (your version is %s)'); +define('_AM_MODULEADMIN_CONFIG_ADMIN','Minimum ModuleAdmin required: %s (your version is %s)'); + +// About +define('_AM_MODULEADMIN_ABOUT_CHANGELOG','Change log'); +define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Description'); +define('_AM_MODULEADMIN_ABOUT_MODULEINFO','Module Info'); +define('_AM_MODULEADMIN_ABOUT_MODULESTATUS','Status:'); +define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Updated:'); +define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Website:"); + +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/french/main.php =================================================================== --- XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/french/main.php 2012-04-02 21:38:08 UTC (rev 9236) +++ XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/french/main.php 2012-04-02 21:50:49 UTC (rev 9237) @@ -33,4 +33,17 @@ define("_AM_MODULEADMIN_ABOUT_UPDATEDATE","Date de dernière mise à jour:"); define("_AM_MODULEADMIN_ABOUT_WEBSITE","Site:"); -?> \ No newline at end of file +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/german/main.php =================================================================== --- XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/german/main.php 2012-04-02 21:38:08 UTC (rev 9236) +++ XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/german/main.php 2012-04-02 21:50:49 UTC (rev 9237) @@ -33,4 +33,17 @@ define("_AM_MODULEADMIN_ABOUT_UPDATEDATE","Update-Datum:"); define("_AM_MODULEADMIN_ABOUT_WEBSITE","Website:"); -?> \ No newline at end of file +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/russian/main.php =================================================================== --- XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/russian/main.php 2012-04-02 21:38:08 UTC (rev 9236) +++ XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/language/russian/main.php 2012-04-02 21:50:49 UTC (rev 9237) @@ -34,4 +34,17 @@ define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Веб-сайт:"); define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Описание'); -?> \ No newline at end of file +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/moduleadmin.php =================================================================== --- XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2012-04-02 21:38:08 UTC (rev 9236) +++ XoopsModules/moduleclasses/trunk/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2012-04-02 21:50:49 UTC (rev 9237) @@ -249,6 +249,7 @@ $ret .= "<fieldset><legend class=\"label\">"; $ret .= _AM_MODULEADMIN_CONFIG; $ret .= "</legend>\n"; + // php version $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/16/"; if ($this->_obj->getInfo('min_php')){ @@ -259,6 +260,49 @@ } $ret .= "<br />"; } + + // Database version + $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/16/"; + $dbarray=$this->_obj->getInfo('min_db'); + if ($dbarray[XOOPS_DB_TYPE]) { + switch (XOOPS_DB_TYPE) { + case "mysql": + $dbCurrentVersion= mysql_get_server_info(); + break; + case "mysqli": + $dbCurrentVersion = mysqli_get_server_info(); + break; + case "pdo": + global $xoopsDB; + $dbCurrentVersion = $xoopsDB->getAttribute(PDO::ATTR_SERVER_VERSION); + break; + default: + $dbCurrentVersion = '0'; + break; + } + $currentVerParts = explode('.', (string)$dbCurrentVersion); + $iCurrentVerParts = array_map('intval', $currentVerParts); + $dbRequiredVersion = $dbarray[XOOPS_DB_TYPE]; + $reqVerParts = explode('.', (string)$dbRequiredVersion); + $iReqVerParts = array_map('intval', $reqVerParts); + $icount = $j = count($iReqVerParts); + $reqVer = $curVer = 0; + for ($i=0; $i<$icount; $i++) { + $j--; + $reqVer += $iReqVerParts[$i] * pow(10, $j); + if (isset($iCurrentVerParts[$i])) { + $curVer += $iCurrentVerParts[$i] * pow(10, $j); + } else { + $curVer = $curVer * pow(10, $j); + } + } + if ($reqVer > $curVer) { + $ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "off.png' >" . sprintf(XOOPS_DB_TYPE.' '._AM_MODULEADMIN_CONFIG_DB, $dbRequiredVersion, $dbCurrentVersion) . "</span><br />\n"; + } else { + $ret .= "<span style='color : green;'><img src='" . $path . "on.png' >" . sprintf(strtoupper(XOOPS_DB_TYPE).' '._AM_MODULEADMIN_CONFIG_DB, $dbRequiredVersion, $dbCurrentVersion) . "</span><br />\n"; + } + } + // xoops version if ($this->_obj->getInfo('min_xoops')){ if (substr(XOOPS_VERSION, 6, strlen(XOOPS_VERSION)-6) < $this->_obj->getInfo('min_xoops')){ @@ -268,12 +312,22 @@ } $ret .= "<br />"; } + + // ModuleAdmin version + if ($this->_obj->getInfo('min_admin')){ + if ($this->getVersion() < $this->_obj->getInfo('min_admin')){ + $ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "off.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_ADMIN, $this->_obj->getInfo('min_admin'), $this->getVersion()) . "</span>\n"; + }else{ + $ret .= "<span style='color : green;'><img src='" . $path . "on.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_ADMIN, $this->_obj->getInfo('min_admin'), $this->getVersion()) . "</span>\n"; + } + $ret .= "<br />"; + } if (!empty($this -> _itemConfigBoxLine)){ foreach (array_keys( $this -> _itemConfigBoxLine) as $i) { $ret .= $this -> _itemConfigBoxLine[$i]; $ret .= "<br />"; } - } + } $ret .= "</fieldset>\n"; $ret .= "</td>\n"; $ret .= "</tr>\n"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-02 21:38:17
|
Revision: 9236 http://xoops.svn.sourceforge.net/xoops/?rev=9236&view=rev Author: beckmi Date: 2012-04-02 21:38:08 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Version 2.3 - XOOPS 2.5.x Admin GUI Modified Paths: -------------- XoopsModules/obituaries/trunk/obituaries/admin/index.php XoopsModules/obituaries/trunk/obituaries/admin/menu.php XoopsModules/obituaries/trunk/obituaries/class/PEAR.php XoopsModules/obituaries/trunk/obituaries/class/lite.php XoopsModules/obituaries/trunk/obituaries/class/users_obituaries.php XoopsModules/obituaries/trunk/obituaries/include/common.php XoopsModules/obituaries/trunk/obituaries/index.php XoopsModules/obituaries/trunk/obituaries/language/arabic/blocks.php XoopsModules/obituaries/trunk/obituaries/language/arabic/main.php XoopsModules/obituaries/trunk/obituaries/language/arabic/modinfo.php XoopsModules/obituaries/trunk/obituaries/language/english/admin.php XoopsModules/obituaries/trunk/obituaries/language/english/blocks.php XoopsModules/obituaries/trunk/obituaries/language/english/main.php XoopsModules/obituaries/trunk/obituaries/language/english/modinfo.php XoopsModules/obituaries/trunk/obituaries/language/french/blocks.php XoopsModules/obituaries/trunk/obituaries/language/french/main.php XoopsModules/obituaries/trunk/obituaries/language/french/modinfo.php XoopsModules/obituaries/trunk/obituaries/language/italiano/blocks.php XoopsModules/obituaries/trunk/obituaries/language/italiano/main.php XoopsModules/obituaries/trunk/obituaries/language/italiano/modinfo.php XoopsModules/obituaries/trunk/obituaries/templates/obituaries_user.html XoopsModules/obituaries/trunk/obituaries/xoops_version.php Added Paths: ----------- XoopsModules/obituaries/trunk/obituaries/admin/about.php XoopsModules/obituaries/trunk/obituaries/admin/admin_footer.php XoopsModules/obituaries/trunk/obituaries/admin/admin_header.php XoopsModules/obituaries/trunk/obituaries/admin/main.php XoopsModules/obituaries/trunk/obituaries/class/PEAR5.php XoopsModules/obituaries/trunk/obituaries/docs/ XoopsModules/obituaries/trunk/obituaries/docs/changelog.txt XoopsModules/obituaries/trunk/obituaries/docs/gpl.txt XoopsModules/obituaries/trunk/obituaries/docs/readme.txt XoopsModules/obituaries/trunk/obituaries/docs/readme_arabic.txt XoopsModules/obituaries/trunk/obituaries/images/maintenance.png XoopsModules/obituaries/trunk/obituaries/images/obituary.png XoopsModules/obituaries/trunk/obituaries/language/arabic/help/ XoopsModules/obituaries/trunk/obituaries/language/arabic/help/help.html XoopsModules/obituaries/trunk/obituaries/language/arabic/help/index.html XoopsModules/obituaries/trunk/obituaries/language/english/help/ XoopsModules/obituaries/trunk/obituaries/language/english/help/help.html XoopsModules/obituaries/trunk/obituaries/language/english/help/index.html XoopsModules/obituaries/trunk/obituaries/language/french/help/ XoopsModules/obituaries/trunk/obituaries/language/french/help/help.html XoopsModules/obituaries/trunk/obituaries/language/french/help/index.html XoopsModules/obituaries/trunk/obituaries/language/italiano/help/ XoopsModules/obituaries/trunk/obituaries/language/italiano/help/help.html XoopsModules/obituaries/trunk/obituaries/language/italiano/help/index.html Added: XoopsModules/obituaries/trunk/obituaries/admin/about.php =================================================================== --- XoopsModules/obituaries/trunk/obituaries/admin/about.php (rev 0) +++ XoopsModules/obituaries/trunk/obituaries/admin/about.php 2012-04-02 21:38:08 UTC (rev 9236) @@ -0,0 +1,31 @@ +<?php +/** + * XOOPS Profile module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project (http://www.xoops.org) + * @license GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html/) + * @package xoopsPoll + * @since 2.5.0 + * @author Mage, Mamba + * @version $Id $ + **/ + +include '../../../include/cp_header.php'; +include 'admin_header.php'; +xoops_cp_header(); + +$module_info =& $module_handler->get($xoopsModule->getVar("mid")); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); + +include 'admin_footer.php'; \ No newline at end of file Added: XoopsModules/obituaries/trunk/obituaries/admin/admin_footer.php =================================================================== --- XoopsModules/obituaries/trunk/obituaries/admin/admin_footer.php (rev 0) +++ XoopsModules/obituaries/trunk/obituaries/admin/admin_footer.php 2012-04-02 21:38:08 UTC (rev 9236) @@ -0,0 +1,27 @@ +<?php +/** + * Obituaries 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 http://www.gnu.org/licenses/gpl-2.0.html GNU Public License + * @package obituaris + * @since 2.3.0 + * @author XOOPS Module Team + * @version $Id $ +**/ + +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/obituaries/trunk/obituaries/admin/admin_header.php =================================================================== --- XoopsModules/obituaries/trunk/obituaries/admin/admin_header.php (rev 0) +++ XoopsModules/obituaries/trunk/obituaries/admin/admin_header.php 2012-04-02 21:38:08 UTC (rev 9236) @@ -0,0 +1,45 @@ +<?php +/** + * Birthday 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 http://www.gnu.org/licenses/gpl-2.0.html GNU Public License + * @package birthday + * @since 2.5.0 + * @author XOOPS Module Team + * @version $Id $ +**/ + +$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'; + +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'); + +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + }else{ + redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); + } \ No newline at end of file Modified: XoopsModules/obituaries/trunk/obituaries/admin/index.php =================================================================== --- XoopsModules/obituaries/trunk/obituaries/admin/index.php 2012-04-02 19:08:32 UTC (rev 9235) +++ XoopsModules/obituaries/trunk/obituaries/admin/index.php 2012-04-02 21:38:08 UTC (rev 9236) @@ -1,164 +1,34 @@ <?php /** * **************************************************************************** - * Obituaries - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) - * Created on 10 juil. 08 at 11:38:52 + * Birthday - MODULE FOR XOOPS + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * + * 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 Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License + * @package birthday + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * * Version : $Id: * **************************************************************************** */ -require_once '../../../include/cp_header.php'; -require_once '../include/common.php'; -require_once XOOPS_ROOT_PATH.'/class/pagenav.php'; -require_once 'functions.php'; -require_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; -$op = 'default'; -if (isset($_POST['op'])) { - $op = $_POST['op']; -} elseif ( isset($_GET['op'])) { - $op = $_GET['op']; -} -// Lecture de certains param\xE8tres de l'application ******************************************************************** -$limit = obituaries_utils::getModuleOption('perpage'); // Nombre maximum d'\xE9l\xE9ments \xE0 afficher -$baseurl = OBITUARIES_URL.'admin/'.basename(__FILE__); // URL de ce script -$conf_msg = obituaries_utils::javascriptLinkConfirm(_AM_OBITUARIES_CONF_DELITEM); -$images_width = obituaries_utils::getModuleOption('images_width'); -$images_height = obituaries_utils::getModuleOption('images_height'); -$destname = ''; +require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; +include_once dirname(__FILE__) . '/admin_header.php'; -$cacheFolder = XOOPS_UPLOAD_PATH.'/'.OBITUARIES_DIRNAME; -if(!is_dir($cacheFolder)) { - mkdir($cacheFolder, 0777); - file_put_contents($cacheFolder.'/index.html', '<script>history.go(-1);</script>'); -} +xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); -switch($op) -{ - // **************************************************************************************************************** - case 'default': // List obituariess and show form to add a someone - // **************************************************************************************************************** - xoops_cp_header(); - obituaries_adminMenu(0); - echo '<h1>'.obituaries_utils::getModuleName().'</h1>'; - $start = isset($_GET['start']) ? intval($_GET['start']) : 0; - $itemsCount = $hBdUsersObituaries->getCount(); - if($itemsCount > $limit) { - $pagenav = new XoopsPageNav($itemsCount, $limit, $start, 'start'); - } - if(isset($pagenav) && is_object($pagenav)) { - echo "<div align='right'>".$pagenav->renderNav()."</div>"; - } - if($itemsCount > 0) { - $class = ''; - $items = $hBdUsersObituaries->getItems($start, $limit, 'obituaries_lastname'); - echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; - echo "<tr><th align='center'>"._OBITUARIES_DATE."</th><th align='center'>"._OBITUARIES_USERNAME."</th><th align='center'>"._OBITUARIES_LASTNAME.'<br />'._OBITUARIES_FIRSTNAME."</th><th align='center'>"._AM_OBITUARIES_ACTION."</th></tr>"; - foreach ($items as $item) { - $class = ($class == 'even') ? 'odd' : 'even'; - $id = $item->getVar('obituaries_id'); - $user = null; - $user = $item->getXoopsUser(); - $uname = ''; - if(is_object($user)) { - $uname = $user->getVar('uname'); - } - $action_edit = "<a href='$baseurl?op=edit&id=".$id."' title='"._EDIT."'>".$birdthday_icones['edit'].'</a>'; - $action_delete = "<a href='$baseurl?op=delete&id=".$id."' title='"._DELETE."'".$conf_msg.">".$birdthday_icones['delete'].'</a>'; + echo $indexAdmin->addNavigation('index.php'); + echo $indexAdmin->renderIndex(); - echo "<tr class='".$class."'>\n"; - echo "<td align='center'>".obituaries_utils::SQLDateToHuman($item->getVar('obituaries_date'))."</td>"; - echo "<td align='center'>".$uname.'</td>'; - echo "<td align='left'>".$item->getFullName().'</td>'; - echo "<td align='center'>".$action_edit.' '.$action_delete.'</td>'; - echo "</tr>\n"; - } - echo "</table>\n"; - if(isset($pagenav) && is_object($pagenav)) { - echo "<div align='left'>".$pagenav->renderNav()."</div>"; - } - echo "<br /><br />\n"; - } - $item = $hBdUsersObituaries->create(true); - $form = $hBdUsersObituaries->getForm($item, $baseurl); - $form->display(); - break; - - // **************************************************************************************************************** - case 'maintain': // Maintenance des tables et du cache - // **************************************************************************************************************** - xoops_cp_header(); - obituaries_adminMenu(); - require_once '../xoops_version.php'; - $tables = array(); - foreach ($modversion['tables'] as $table) { - $tables[] = $xoopsDB->prefix($table); - } - if(count($tables) > 0) { - $list = implode(',', $tables); - $xoopsDB->queryF('CHECK TABLE '.$list); - $xoopsDB->queryF('ANALYZE TABLE '.$list); - $xoopsDB->queryF('OPTIMIZE TABLE '.$list); - } - obituaries_utils::updateCache(); - $hBdUsersObituaries->forceCacheClean(); - obituaries_utils::redirect(_AM_OBITUARIES_SAVE_OK, $baseurl, 2); - break; - - // **************************************************************************************************************** - case 'edit': // Edition d'un utilisateur existant - // **************************************************************************************************************** - xoops_cp_header(); - obituaries_adminMenu(); - $id = isset($_GET['id']) ? intval($_GET['id']) : 0; - if(empty($id)) { - obituaries_utils::redirect(_AM_OBITUARIES_ERROR_1, $baseurl, 5); - } - // Item exits ? - $item = null; - $item = $hBdUsersObituaries->get($id); - if(!is_object($item)) { - obituaries_utils::redirect(_AM_OBITUARIES_NOT_FOUND, $baseurl, 5); - } - $form = $hBdUsersObituaries->getForm($item, $baseurl); - $form->display(); - break; - - // **************************************************************************************************************** - case 'saveedit': // Enregistrement des modifications - // **************************************************************************************************************** - xoops_cp_header(); - obituaries_adminMenu(); - $result = $hBdUsersObituaries->saveUser(); - if($result) { - obituaries_utils::redirect(_AM_OBITUARIES_SAVE_OK, $baseurl, 1); - } else { - obituaries_utils::redirect(_AM_OBITUARIES_SAVE_PB, $baseurl, 3); - } - break; - - // **************************************************************************************************************** - case 'delete': // Suppression d'un utilisateur - // **************************************************************************************************************** - $id = isset($_GET['id']) ? intval($_GET['id']) : 0; - if(empty($id)) { - obituaries_utils::redirect(_AM_OBITUARIES_ERROR_1, $baseurl, 5); - } - // Item exits ? - $item = null; - $item = $hBdUsersObituaries->get($id); - if(!is_object($item)) { - obituaries_utils::redirect(_AM_OBITUARIES_NOT_FOUND, $baseurl, 5); - } - $result = $hBdUsersObituaries->deleteUser($item); - if($result) { - obituaries_utils::redirect(_AM_OBITUARIES_SAVE_OK, $baseurl, 1); - } else { - obituaries_utils::redirect(_AM_OBITUARIES_SAVE_PB, $baseurl, 3); - } - -} -xoops_cp_footer(); -?> \ No newline at end of file +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/obituaries/trunk/obituaries/admin/main.php =================================================================== --- XoopsModules/obituaries/trunk/obituaries/admin/main.php (rev 0) +++ XoopsModules/obituaries/trunk/obituaries/admin/main.php 2012-04-02 21:38:08 UTC (rev 9236) @@ -0,0 +1,166 @@ +<?php +/** + * **************************************************************************** + * Obituaries - MODULE FOR XOOPS + * Copyright (c) Herv� Thouzard of Instant Zero (http://www.instant-zero.com) + * Created on 10 juil. 08 at 11:38:52 + * Version : $Id: + * **************************************************************************** + */ +require_once '../../../include/cp_header.php'; +require_once '../include/common.php'; +require_once XOOPS_ROOT_PATH.'/class/pagenav.php'; +require_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; +include_once 'admin_header.php'; + +$indexAdmin = new ModuleAdmin(); + +$op = 'default'; +if (isset($_POST['op'])) { + $op = $_POST['op']; +} elseif ( isset($_GET['op'])) { + $op = $_GET['op']; +} + +// Lecture de certains param�tres de l'application ******************************************************************** +$limit = obituaries_utils::getModuleOption('perpage'); // Nombre maximum d'�l�ments � afficher +$baseurl = OBITUARIES_URL.'admin/'.basename(__FILE__); // URL de ce script +$conf_msg = obituaries_utils::javascriptLinkConfirm(_AM_OBITUARIES_CONF_DELITEM); +$images_width = obituaries_utils::getModuleOption('images_width'); +$images_height = obituaries_utils::getModuleOption('images_height'); +$destname = ''; + +$cacheFolder = XOOPS_UPLOAD_PATH.'/'.OBITUARIES_DIRNAME; +if(!is_dir($cacheFolder)) { + mkdir($cacheFolder, 0777); + file_put_contents($cacheFolder.'/index.html', '<script>history.go(-1);</script>'); +} + + +switch($op) +{ + // **************************************************************************************************************** + case 'default': // List obituariess and show form to add a someone + // **************************************************************************************************************** + xoops_cp_header(); + // echo '<h1>'.obituaries_utils::getModuleName().'</h1>'; + echo $indexAdmin->addNavigation('main.php'); + $start = isset($_GET['start']) ? intval($_GET['start']) : 0; + $itemsCount = $hBdUsersObituaries->getCount(); + if($itemsCount > $limit) { + $pagenav = new XoopsPageNav($itemsCount, $limit, $start, 'start'); + } + if(isset($pagenav) && is_object($pagenav)) { + echo "<div align='right'>".$pagenav->renderNav()."</div>"; + } + if($itemsCount > 0) { + $class = ''; + $items = $hBdUsersObituaries->getItems($start, $limit, 'obituaries_lastname'); + echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; + echo "<tr><th align='center'>"._AM_OBITUARIES_DATE."</th><th align='center'>"._AM_OBITUARIES_USERNAME."</th><th align='center'>"._AM_OBITUARIES_LASTNAME.', '._AM_OBITUARIES_FIRSTNAME."</th><th align='center'>"._AM_OBITUARIES_ACTION."</th></tr>"; + foreach ($items as $item) { + $class = ($class == 'even') ? 'odd' : 'even'; + $id = $item->getVar('obituaries_id'); + $user = null; + $user = $item->getXoopsUser(); + $uname = ''; + if(is_object($user)) { + $uname = $user->getVar('uname'); + } + $action_edit = "<a href='$baseurl?op=edit&id=".$id."' title='"._EDIT."'>".$birdthday_icones['edit'].'</a>'; + $action_delete = "<a href='$baseurl?op=delete&id=".$id."' title='"._DELETE."'".$conf_msg.">".$birdthday_icones['delete'].'</a>'; + + echo "<tr class='".$class."'>\n"; + echo "<td align='center'>".obituaries_utils::SQLDateToHuman($item->getVar('obituaries_date'))."</td>"; + echo "<td align='center'>".$uname.'</td>'; + echo "<td align='center'>".$item->getFullName().'</td>'; + echo "<td align='center'>".$action_edit.' '.$action_delete.'</td>'; + echo "</tr>\n"; + } + echo "</table>\n"; + if(isset($pagenav) && is_object($pagenav)) { + echo "<div align='left'>".$pagenav->renderNav()."</div>"; + } + echo "<br /><br />\n"; + } + $item = $hBdUsersObituaries->create(true); + $form = $hBdUsersObituaries->getForm($item, $baseurl); + $form->display(); + break; + + // **************************************************************************************************************** + case 'maintain': // Maintenance des tables et du cache + // **************************************************************************************************************** + xoops_cp_header(); + echo $indexAdmin->addNavigation('main.php'); + require_once '../xoops_version.php'; + $tables = array(); + foreach ($modversion['tables'] as $table) { + $tables[] = $xoopsDB->prefix($table); + } + if(count($tables) > 0) { + $list = implode(',', $tables); + $xoopsDB->queryF('CHECK TABLE '.$list); + $xoopsDB->queryF('ANALYZE TABLE '.$list); + $xoopsDB->queryF('OPTIMIZE TABLE '.$list); + } + obituaries_utils::updateCache(); + $hBdUsersObituaries->forceCacheClean(); + obituaries_utils::redirect(_AM_OBITUARIES_SAVE_OK, $baseurl, 2); + break; + + // **************************************************************************************************************** + case 'edit': // Edition d'un utilisateur existant + // **************************************************************************************************************** + xoops_cp_header(); + echo $indexAdmin->addNavigation('main.php'); + $id = isset($_GET['id']) ? intval($_GET['id']) : 0; + if(empty($id)) { + obituaries_utils::redirect(_AM_OBITUARIES_ERROR_1, $baseurl, 5); + } + // Item exits ? + $item = null; + $item = $hBdUsersObituaries->get($id); + if(!is_object($item)) { + obituaries_utils::redirect(_AM_OBITUARIES_NOT_FOUND, $baseurl, 5); + } + $form = $hBdUsersObituaries->getForm($item, $baseurl); + $form->display(); + break; + + // **************************************************************************************************************** + case 'saveedit': // Enregistrement des modifications + // **************************************************************************************************************** + xoops_cp_header(); + echo $indexAdmin->addNavigation('main.php'); + $result = $hBdUsersObituaries->saveUser(); + if($result) { + obituaries_utils::redirect(_AM_OBITUARIES_SAVE_OK, $baseurl, 1); + } else { + obituaries_utils::redirect(_AM_OBITUARIES_SAVE_PB, $baseurl, 3); + } + break; + + // **************************************************************************************************************** + case 'delete': // Suppression d'un utilisateur + // **************************************************************************************************************** + $id = isset($_GET['id']) ? intval($_GET['id']) : 0; + if(empty($id)) { + obituaries_utils::redirect(_AM_OBITUARIES_ERROR_1, $baseurl, 5); + } + // Item exits ? + $item = null; + $item = $hBdUsersObituaries->get($id); + if(!is_object($item)) { + obituaries_utils::redirect(_AM_OBITUARIES_NOT_FOUND, $baseurl, 5); + } + $result = $hBdUsersObituaries->deleteUser($item); + if($result) { + obituaries_utils::redirect(_AM_OBITUARIES_SAVE_OK, $baseurl, 1); + } else { + obituaries_utils::redirect(_AM_OBITUARIES_SAVE_PB, $baseurl, 3); + } + +} +xoops_cp_footer(); +?> \ No newline at end of file Modified: XoopsModules/obituaries/trunk/obituaries/admin/menu.php =================================================================== --- XoopsModules/obituaries/trunk/obituaries/admin/menu.php 2012-04-02 19:08:32 UTC (rev 9235) +++ XoopsModules/obituaries/trunk/obituaries/admin/menu.php 2012-04-02 21:38:08 UTC (rev 9236) @@ -6,6 +6,29 @@ * Created on 10 jully. 08 at 11:32:40 * **************************************************************************** */ -$adminmenu[0]['title'] = _MI_OBITUARIES_HOME; -$adminmenu[0]['link'] = "admin/index.php"; -?> \ No newline at end of file + +defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); + +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); + +$adminmenu = array(); +$i = 1; +$adminmenu[$i]["title"] = _MI_OBITUARIES_HOME; +$adminmenu[$i]["link"] = "admin/index.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; +$i++; +$adminmenu[$i]["title"] = _MI_OBITUARIES_OBITUARIES; +$adminmenu[$i]["link"] = "admin/main.php"; +$adminmenu[$i]["icon"] = './images/obituary.png'; +$i++; +$adminmenu[$i]["title"] = _MI_OBITUARIES_MAINTAIN; +$adminmenu[$i]["link"] = "admin/main.php?op=maintain"; +$adminmenu[$i]["icon"] = './images/maintenance.png'; +$i++; + +$adminmenu[$i]["title"] =_MI_OBITUARIES_ABOUT; +$adminmenu[$i]["link"] = "admin/about.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/about.png'; \ No newline at end of file Modified: XoopsModules/obituaries/trunk/obituaries/class/PEAR.php =================================================================== --- XoopsModules/obituaries/trunk/obituaries/class/PEAR.php 2012-04-02 19:08:32 UTC (rev 9235) +++ XoopsModules/obituaries/trunk/obituaries/class/PEAR.php 2012-04-02 21:38:08 UTC (rev 9236) @@ -1,1108 +1,1066 @@ -<?php -/** - * PEAR, the PHP Extension and Application Repository - * - * PEAR class and PEAR_Error class - * - * PHP versions 4 and 5 - * - * LICENSE: This source file is subject to version 3.0 of the PHP license - * that is available through the world-wide-web at the following URI: - * http://www.php.net/license/3_0.txt. If you did not receive a copy of - * the PHP License and are unable to obtain it through the web, please - * send a note to li...@ph... so we can mail you a copy immediately. - * - * @category pear - * @package PEAR - * @author Sterling Hughes <ste...@ph...> - * @author Stig Bakken <ss...@ph...> - * @author Tomas V.V.Cox <co...@id...> - * @author Greg Beaver <ce...@ph...> - * @copyright 1997-2006 The PHP Group - * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: PEAR.php,v 1.101 2006/04/25 02:41:03 cellog Exp $ - * @link http://pear.php.net/package/PEAR - * @since File available since Release 0.1 - */ - -/**#@+ - * ERROR constants - */ -define('obituaries_PEAR_ERROR_RETURN', 1); -define('obituaries_PEAR_ERROR_PRINT', 2); -define('obituaries_PEAR_ERROR_TRIGGER', 4); -define('obituaries_PEAR_ERROR_DIE', 8); -define('obituaries_PEAR_ERROR_CALLBACK', 16); -/** - * WARNING: obsolete - * @deprecated - */ -define('obituaries_PEAR_ERROR_EXCEPTION', 32); -/**#@-*/ -define('obituaries_PEAR_ZE2', (function_exists('version_compare') && - version_compare(zend_version(), "2-dev", "ge"))); - -if (substr(PHP_OS, 0, 3) == 'WIN') { - define('obituaries_OS_WINDOWS', true); - define('obituaries_OS_UNIX', false); - define('obituaries_PEAR_OS', 'Windows'); -} else { - define('obituaries_OS_WINDOWS', false); - define('obituaries_OS_UNIX', true); - define('obituaries_PEAR_OS', 'Unix'); // blatant assumption -} - -// instant backwards compatibility -if (!defined('PATH_SEPARATOR')) { - if (obituaries_OS_WINDOWS) { - define('PATH_SEPARATOR', ';'); - } else { - define('PATH_SEPARATOR', ':'); - } -} - -$GLOBALS['_PEAR_default_error_mode'] = obituaries_PEAR_ERROR_RETURN; -$GLOBALS['_PEAR_default_error_options'] = E_USER_NOTICE; -$GLOBALS['_PEAR_destructor_object_list'] = array(); -$GLOBALS['_PEAR_shutdown_funcs'] = array(); -$GLOBALS['_PEAR_error_handler_stack'] = array(); - -@ini_set('track_errors', true); - -/** - * Base class for other PEAR classes. Provides rudimentary - * emulation of destructors. - * - * If you want a destructor in your class, inherit PEAR and make a - * destructor method called _yourclassname (same name as the - * constructor, but with a "_" prefix). Also, in your constructor you - * have to call the PEAR constructor: $this->PEAR();. - * The destructor method will be called without parameters. Note that - * at in some SAPI implementations (such as Apache), any output during - * the request shutdown (in which destructors are called) seems to be - * discarded. If you need to get any debug information from your - * destructor, use error_log(), syslog() or something similar. - * - * IMPORTANT! To use the emulated destructors you need to create the - * objects by reference: $obj =& new PEAR_child; - * - * @category pear - * @package PEAR - * @author Stig Bakken <ss...@ph...> - * @author Tomas V.V. Cox <co...@id...> - * @author Greg Beaver <ce...@ph...> - * @copyright 1997-2006 The PHP Group - * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version Release: 1.5.4 - * @link http://pear.php.net/package/PEAR - * @see PEAR_Error - * @since Class available since PHP 4.0.2 - * @link http://pear.php.net/manual/en/core.pear.php#core.pear.pear - */ -class obituaries_PEAR -{ - // {{{ properties - - /** - * Whether to enable internal debug messages. - * - * @var bool - * @access private - */ - public $_debug = false; - - /** - * Default error mode for this object. - * - * @var int - * @access private - */ - public $_default_error_mode = null; - - /** - * Default error options used for this object when error mode - * is obituaries_PEAR_ERROR_TRIGGER. - * - * @var int - * @access private - */ - public $_default_error_options = null; - - /** - * Default error handler (callback) for this object, if error mode is - * obituaries_PEAR_ERROR_CALLBACK. - * - * @var string - * @access private - */ - public $_default_error_handler = ''; - - /** - * Which class to use for error objects. - * - * @var string - * @access private - */ - public $_error_class = 'PEAR_Error'; - - /** - * An array of expected errors. - * - * @var array - * @access private - */ - public $_expected_errors = array(); - - // }}} - - // {{{ constructor - - /** - * Constructor. Registers this object in - * $_PEAR_destructor_object_list for destructor emulation if a - * destructor object exists. - * - * @param string $error_class (optional) which class to use for - * error objects, defaults to PEAR_Error. - * @access public - * @return void - */ - function __construct($error_class = null) - { - $classname = strtolower(get_class($this)); - if ($this->_debug) { - print "PEAR constructor called, class=$classname\n"; - } - if ($error_class !== null) { - $this->_error_class = $error_class; - } - while ($classname && strcasecmp($classname, "pear")) { - $destructor = "_$classname"; - if (method_exists($this, $destructor)) { - global $_PEAR_destructor_object_list; - $_PEAR_destructor_object_list[] = &$this; - if (!isset($GLOBALS['_PEAR_SHUTDOWN_REGISTERED'])) { - register_shutdown_function("obituaries_PEAR_call_destructors"); - $GLOBALS['_PEAR_SHUTDOWN_REGISTERED'] = true; - } - break; - } else { - $classname = get_parent_class($classname); - } - } - } - - // }}} - // {{{ destructor - - /** - * Destructor (the emulated type of...). Does nothing right now, - * but is included for forward compatibility, so subclass - * destructors should always call it. - * - * See the note in the class desciption about output from - * destructors. - * - * @access public - * @return void - */ - function _PEAR() { - if ($this->_debug) { - printf("PEAR destructor called, class=%s\n", strtolower(get_class($this))); - } - } - - // }}} - // {{{ getStaticProperty() - - /** - * If you have a class that's mostly/entirely static, and you need static - * properties, you can use this method to simulate them. Eg. in your method(s) - * do this: $myVar = &obituaries_PEAR::getStaticProperty('myclass', 'myVar'); - * You MUST use a reference, or they will not persist! - * - * @access public - * @param string $class The calling classname, to prevent clashes - * @param string $var The variable to retrieve. - * @return mixed A reference to the variable. If not set it will be - * auto initialised to NULL. - */ - function &getStaticProperty($class, $var) - { - static $properties; - if (!isset($properties[$class])) { - $properties[$class] = array(); - } - if (!array_key_exists($var, $properties[$class])) { - $properties[$class][$var] = null; - } - return $properties[$class][$var]; - } - - // }}} - // {{{ registerShutdownFunc() - - /** - * Use this function to register a shutdown method for static - * classes. - * - * @access public - * @param mixed $func The function name (or array of class/method) to call - * @param mixed $args The arguments to pass to the function - * @return void - */ - function registerShutdownFunc($func, $args = array()) - { - // if we are called statically, there is a potential - // that no shutdown func is registered. Bug #6445 - if (!isset($GLOBALS['_PEAR_SHUTDOWN_REGISTERED'])) { - register_shutdown_function("obituaries__PEAR_call_destructors"); - $GLOBALS['_PEAR_SHUTDOWN_REGISTERED'] = true; - } - $GLOBALS['_PEAR_shutdown_funcs'][] = array($func, $args); - } - - // }}} - // {{{ isError() - - /** - * Tell whether a value is a PEAR error. - * - * @param mixed $data the value to test - * @param int $code if $data is an error object, return true - * only if $code is a string and - * $obj->getMessage() == $code or - * $code is an integer and $obj->getCode() == $code - * @access public - * @return bool true if parameter is an error - */ - function isError($data, $code = null) - { - if (is_a($data, 'PEAR_Error')) { - if (is_null($code)) { - return true; - } elseif (is_string($code)) { - return $data->getMessage() == $code; - } else { - return $data->getCode() == $code; - } - } - return false; - } - - // }}} - // {{{ setErrorHandling() - - /** - * Sets how errors generated by this object should be handled. - * Can be invoked both in objects and statically. If called - * statically, setErrorHandling sets the default behaviour for all - * PEAR objects. If called in an object, setErrorHandling sets - * the default behaviour for that object. - * - * @param int $mode - * One of obituaries_PEAR_ERROR_RETURN, obituaries_PEAR_ERROR_PRINT, - * obituaries_PEAR_ERROR_TRIGGER, obituaries_PEAR_ERROR_DIE, - * obituaries_PEAR_ERROR_CALLBACK or obituaries_PEAR_ERROR_EXCEPTION. - * - * @param mixed $options - * When $mode is obituaries_PEAR_ERROR_TRIGGER, this is the error level (one - * of E_USER_NOTICE, E_USER_WARNING or E_USER_ERROR). - * - * When $mode is obituaries_PEAR_ERROR_CALLBACK, this parameter is expected - * to be the callback function or method. A callback - * function is a string with the name of the function, a - * callback method is an array of two elements: the element - * at index 0 is the object, and the element at index 1 is - * the name of the method to call in the object. - * - * When $mode is obituaries_PEAR_ERROR_PRINT or obituaries_PEAR_ERROR_DIE, this is - * a printf format string used when printing the error - * message. - * - * @access public - * @return void - * @see obituaries_PEAR_ERROR_RETURN - * @see obituaries_PEAR_ERROR_PRINT - * @see obituaries_PEAR_ERROR_TRIGGER - * @see obituaries_PEAR_ERROR_DIE - * @see obituaries_PEAR_ERROR_CALLBACK - * @see obituaries_PEAR_ERROR_EXCEPTION - * - * @since PHP 4.0.5 - */ - - function setErrorHandling($mode = null, $options = null) - { - if (isset($this) && is_a($this, 'PEAR')) { - $setmode = &$this->_default_error_mode; - $setoptions = &$this->_default_error_options; - } else { - $setmode = &$GLOBALS['_PEAR_default_error_mode']; - $setoptions = &$GLOBALS['_PEAR_default_error_options']; - } - - switch ($mode) { - case obituaries_PEAR_ERROR_EXCEPTION: - case obituaries_PEAR_ERROR_RETURN: - case obituaries_PEAR_ERROR_PRINT: - case obituaries_PEAR_ERROR_TRIGGER: - case obituaries_PEAR_ERROR_DIE: - case null: - $setmode = $mode; - $setoptions = $options; - break; - - case obituaries_PEAR_ERROR_CALLBACK: - $setmode = $mode; - // class/object method callback - if (is_callable($options)) { - $setoptions = $options; - } else { - trigger_error("invalid error callback", E_USER_WARNING); - } - break; - - default: - trigger_error("invalid error mode", E_USER_WARNING); - break; - } - } - - // }}} - // {{{ expectError() - - /** - * This method is used to tell which errors you expect to get. - * Expected errors are always returned with error mode - * obituaries_PEAR_ERROR_RETURN. Expected error codes are stored in a stack, - * and this method pushes a new element onto it. The list of - * expected errors are in effect until they are popped off the - * stack with the popExpect() method. - * - * Note that this method can not be called statically - * - * @param mixed $code a single error code or an array of error codes to expect - * - * @return int the new depth of the "expected errors" stack - * @access public - */ - function expectError($code = '*') - { - if (is_array($code)) { - array_push($this->_expected_errors, $code); - } else { - array_push($this->_expected_errors, array($code)); - } - return sizeof($this->_expected_errors); - } - - // }}} - // {{{ popExpect() - - /** - * This method pops one element off the expected error codes - * stack. - * - * @return array the list of error codes that were popped - */ - function popExpect() - { - return array_pop($this->_expected_errors); - } - - // }}} - // {{{ _checkDelExpect() - - /** - * This method checks unsets an error code if available - * - * @param mixed error code - * @return bool true if the error code was unset, false otherwise - * @access private - * @since PHP 4.3.0 - */ - function _checkDelExpect($error_code) - { - $deleted = false; - - foreach ($this->_expected_errors AS $key => $error_array) { - if (in_array($error_code, $error_array)) { - unset($this->_expected_errors[$key][array_search($error_code, $error_array)]); - $deleted = true; - } - - // clean up empty arrays - if (0 == count($this->_expected_errors[$key])) { - unset($this->_expected_errors[$key]); - } - } - return $deleted; - } - - // }}} - // {{{ delExpect() - - /** - * This method deletes all occurences of the specified element from - * the expected error codes stack. - * - * @param mixed $error_code error code that should be deleted - * @return mixed list of error codes that were deleted or error - * @access public - * @since PHP 4.3.0 - */ - function delExpect($error_code) - { - $deleted = false; - - if ((is_array($error_code) && (0 != count($error_code)))) { - // $error_code is a non-empty array here; - // we walk through it trying to unset all - // values - foreach($error_code as $key => $error) { - if ($this->_checkDelExpect($error)) { - $deleted = true; - } else { - $deleted = false; - } - } - return $deleted ? true : obituaries_PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME - } elseif (!empty($error_code)) { - // $error_code comes alone, trying to unset it - if ($this->_checkDelExpect($error_code)) { - return true; - } else { - return obituaries_PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME - } - } else { - // $error_code is empty - return obituaries_PEAR::raiseError("The expected error you submitted is empty"); // IMPROVE ME - } - } - - // }}} - // {{{ raiseError() - - /** - * This method is a wrapper that returns an instance of the - * configured error class with this object's default error - * handling applied. If the $mode and $options parameters are not - * specified, the object's defaults are used. - * - * @param mixed $message a text error message or a PEAR error object - * - * @param int $code a numeric error code (it is up to your class - * to define these if you want to use codes) - * - * @param int $mode One of obituaries_PEAR_ERROR_RETURN, obituaries_PEAR_ERROR_PRINT, - * obituaries_PEAR_ERROR_TRIGGER, obituaries_PEAR_ERROR_DIE, - * obituaries_PEAR_ERROR_CALLBACK, obituaries_PEAR_ERROR_EXCEPTION. - * - * @param mixed $options If $mode is obituaries_PEAR_ERROR_TRIGGER, this parameter - * specifies the PHP-internal error level (one of - * E_USER_NOTICE, E_USER_WARNING or E_USER_ERROR). - * If $mode is obituaries_PEAR_ERROR_CALLBACK, this - * parameter specifies the callback function or - * method. In other error modes this parameter - * is ignored. - * - * @param string $userinfo If you need to pass along for example debug - * information, this parameter is meant for that. - * - * @param string $error_class The returned error object will be - * instantiated from this class, if specified. - * - * @param bool $skipmsg If true, raiseError will only pass error codes, - * the error message parameter will be dropped. - * - * @access public - * @return object a PEAR error object - * @see obituaries_PEAR::setErrorHandling - * @since PHP 4.0.5 - */ - function &raiseError($message = null, - $code = null, - $mode = null, - $options = null, - $userinfo = null, - $error_class = null, - $skipmsg = false) - { - // The error is yet a PEAR error object - if (is_object($message)) { - $code = $message->getCode(); - $userinfo = $message->getUserInfo(); - $error_class = $message->getType(); - $message->error_message_prefix = ''; - $message = $message->getMessage(); - } - - if (isset($this) && isset($this->_expected_errors) && sizeof($this->_expected_errors) > 0 && sizeof($exp = end($this->_expected_errors))) { - if ($exp[0] == "*" || - (is_int(reset($exp)) && in_array($code, $exp)) || - (is_string(reset($exp)) && in_array($message, $exp))) { - $mode = obituaries_PEAR_ERROR_RETURN; - } - } - // No mode given, try global ones - if ($mode === null) { - // Class error handler - if (isset($this) && isset($this->_default_error_mode)) { - $mode = $this->_default_error_mode; - $options = $this->_default_error_options; - // Global error handler - } elseif (isset($GLOBALS['_PEAR_default_error_mode'])) { - $mode = $GLOBALS['_PEAR_default_error_mode']; - $options = $GLOBALS['_PEAR_default_error_options']; - } - } - - if ($error_class !== null) { - $ec = $error_class; - } elseif (isset($this) && isset($this->_error_class)) { - $ec = $this->_error_class; - } else { - $ec = 'obituaries_PEAR_Error'; - } - if ($skipmsg) { - $a = &new $ec($code, $mode, $options, $userinfo); - return $a; - } else { - $a = &new $ec($message, $code, $mode, $options, $userinfo); - return $a; - } - } - - // }}} - // {{{ throwError() - - /** - * Simpler form of raiseError with fewer options. In most cases - * message, code and userinfo are enough. - * - * @param string $message - * - */ - function &throwError($message = null, - $code = null, - $userinfo = null) - { - if (isset($this) && is_a($this, 'PEAR')) { - $a = &$this->raiseError($message, $code, null, null, $userinfo); - return $a; - } else { - $a = &obituaries_PEAR::raiseError($message, $code, null, null, $userinfo); - return $a; - } - } - - // }}} - function staticPushErrorHandling($mode, $options = null) - { - $stack = &$GLOBALS['_PEAR_error_handler_stack']; - $def_mode = &$GLOBALS['_PEAR_default_error_mode']; - $def_options = &$GLOBALS['_PEAR_default_error_options']; - $stack[] = array($def_mode, $def_options); - switch ($mode) { - case obituaries_PEAR_ERROR_EXCEPTION: - case obituaries_PEAR_ERROR_RETURN: - case obituaries_PEAR_ERROR_PRINT: - case obituaries_PEAR_ERROR_TRIGGER: - case obituaries_PEAR_ERROR_DIE: - case null: - $def_mode = $mode; - $def_options = $options; - break; - - case obituaries_PEAR_ERROR_CALLBACK: - $def_mode = $mode; - // class/object method callback - if (is_callable($options)) { - $def_options = $options; - } else { - trigger_error("invalid error callback", E_USER_WARNING); - } - break; - - default: - trigger_error("invalid error mode", E_USER_WARNING); - break; - } - $stack[] = array($mode, $options); - return true; - } - - function staticPopErrorHandling() - { - $stack = &$GLOBALS['_PEAR_error_handler_stack']; - $setmode = &$GLOBALS['_PEAR_default_error_mode']; - $setoptions = &$GLOBALS['_PEAR_default_error_options']; - array_pop($stack); - list($mode, $options) = $stack[sizeof($stack) - 1]; - array_pop($stack); - switch ($mode) { - case obituaries_PEAR_ERROR_EXCEPTION: - case obituaries_PEAR_ERROR_RETURN: - case obituaries_PEAR_ERROR_PRINT: - case obituaries_PEAR_ERROR_TRIGGER: - case obituaries_PEAR_ERROR_DIE: - case null: - $setmode = $mode; - $setoptions = $options; - break; - - case obituaries_PEAR_ERROR_CALLBACK: - $setmode = $mode; - // class/object method callback - if (is_callable($options)) { - $setoptions = $options; - } else { - trigger_error("invalid error callback", E_USER_WARNING); - } - break; - - default: - trigger_error("invalid error mode", E_USER_WARNING); - break; - } - return true; - } - - // {{{ pushErrorHandling() - - /** - * Push a new error handler on top of the error handler options stack. With this - * you can easily override the actual error handler for some code and restore - * it later with popErrorHandling. - * - * @param mixed $mode (same as setErrorHandling) - * @param mixed $options (same as setErrorHandling) - * - * @return bool Always true - * - * @see obituaries_PEAR::setErrorHandling - */ - function pushErrorHandling($mode, $options = null) - { - $stack = &$GLOBALS['_PEAR_error_handler_stack']; - if (isset($this) && is_a($this, 'PEAR')) { - $def_mode = &$this->_default_error_mode; - $def_options = &$this->_default_error_options; - } else { - $def_mode = &$GLOBALS['_PEAR_default_error_mode']; - $def_options = &$GLOBALS['_PEAR_default_error_options']; - } - $stack[] = array($def_mode, $def_options); - - if (isset($this) && is_a($this, 'PEAR')) { - $this->setErrorHandling($mode, $options); - } else { - obituaries_PEAR::setErrorHandling($mode, $options); - } - $stack[] = array($mode, $options); - return true; - } - - // }}} - // {{{ popErrorHandling() - - /** - * Pop the last error handler used - * - * @return bool Always true - * - * @see obituaries_PEAR::pushErrorHandling - */ - function popErrorHandling() - { - $stack = &$GLOBALS['_PEAR_error_handler_stack']; - array_pop($stack); - list($mode, $options) = $stack[sizeof($stack) - 1]; - array_pop($stack); - if (isset($this) && is_a($this, 'PEAR')) { - $this->setErrorHandling($mode, $options); - } else { - obituaries_PEAR::setErrorHandling($mode, $options); - } - return true; - } - - // }}} - // {{{ loadExtension() - - /** - * OS independant PHP extension load. Remember to take care - * on the correct extension name for case sensitive OSes. - * - * @param string $ext The extension name - * @return bool Success or not on the dl() call - */ - function loadExtension($ext) - { - if (!extension_loaded($ext)) { - // if either returns true dl() will produce a FATAL error, stop that - if ((ini_get('enable_dl') != 1) || (ini_get('safe_mode') == 1)) { - return false; - } - if (obituaries_OS_WINDOWS) { - $suffix = '.dll'; - } elseif (PHP_OS == 'HP-UX') { - $suffix = '.sl'; - } elseif (PHP_OS == 'AIX') { - $suffix = '.a'; - } elseif (PHP_OS == 'OSX') { - $suffix = '.bundle'; - } else { - $suffix = '.so'; - } - return @dl('php_'.$ext.$suffix) || @dl($ext.$suffix); - } - return true; - } - - // }}} -} - -// {{{ _PEAR_call_destructors() - -function obituaries_PEAR_call_destructors() -{ - global $_PEAR_destructor_object_list; - if (is_array($_PEAR_destructor_object_list) && - sizeof($_PEAR_destructor_object_list)) - { - reset($_PEAR_destructor_object_list); - if (obituaries_PEAR::getStaticProperty('PEAR', 'destructlifo')) { - $_PEAR_destructor_object_list = array_reverse($_PEAR_destructor_object_list); - } - while (list($k, $objref) = each($_PEAR_destructor_object_list)) { - $classname = get_class($objref); - while ($classname) { - $destructor = "_$classname"; - if (method_exists($objref, $destructor)) { - $objref->$destructor(); - break; - } else { - $classname = get_parent_class($classname); - } - } - } - // Empty the object list to ensure that destructors are - // not called more than once. - $_PEAR_destructor_object_list = array(); - } - - // Now call the shutdown functions - if (is_array($GLOBALS['_PEAR_shutdown_funcs']) AND !empty($GLOBALS['_PEAR_shutdown_funcs'])) { - foreach ($GLOBALS['_PEAR_shutdown_funcs'] as $value) { - call_user_func_array($value[0], $value[1]); - } - } -} - -// }}} -/** - * Standard PEAR error class for PHP 4 - * - * This class is supserseded by {@link PEAR_Exception} in PHP 5 - * - * @category pear - * @package PEAR - * @author Stig Bakken <ss...@ph...> - * @author Tomas V.V. Cox <co...@id...> - * @author Gregory Beaver <ce...@ph...> - * @copyright 1997-2006 The PHP Group - * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version Release: 1.5.4 - * @link http://pear.php.net/manual/en/core.pear.pear-error.php - * @see obituaries_PEAR::raiseError(), PEAR::throwError() - * @since Class available since PHP 4.0.2 - */ -class obituaries_PEAR_Error -{ - // {{{ properties - - public $error_message_prefix = ''; - public $mode = obituaries_PEAR_ERROR_RETURN; - public $level = E_USER_NOTICE; - public $code = -1; - public $message = ''; - public $userinfo = ''; - public $backtrace = null; - - // }}} - // {{{ constructor - - /** - * PEAR_Error constructor - * - * @param string $message message - * - * @param int $code (optional) error code - * - * @param int $mode (optional) error mode, one of: obituaries_PEAR_ERROR_RETURN, - * obituaries_PEAR_ERROR_PRINT, obituaries_PEAR_ERROR_DIE, obituaries_PEAR_ERROR_TRIGGER, - * obituaries_PEAR_ERROR_CALLBACK or obituaries_PEAR_ERROR_EXCEPTION - * - * @param mixed $options (optional) error level, _OR_ in the case of - * obituaries_PEAR_ERROR_CALLBACK, the callback function or object/method - * tuple. - * - * @param string $userinfo (optional) additional user/debug info - * - * @access public - * - */ - function __construct($message = 'unknown error', $code = null, - $mode = null, $options = null, $userinfo = null) - { - if ($mode === null) { - $mode = obituaries_PEAR_ERROR_RETURN; - } - $this->message = $message; - $this->code = $code; - $this->mode = $mode; - $this->userinfo = $userinfo; - if (!obituaries_PEAR::getStaticProperty('PEAR_Error', 'skiptrace')) { - $this->backtrace = debug_backtrace(); - if (isset($this->backtrace[0]) && isset($this->backtrace[0]['object'])) { - unset($this->backtrace[0]['object']); - } - } - if ($mode & obituaries_PEAR_ERROR_CALLBACK) { - $this->level = E_USER_NOTICE; - $this->callback = $options; - } else { - if ($options === null) { - $options = E_USER_NOTICE; - } - $this->level = $options; - $this->callback = null; - } - if ($this->mode & obituaries_PEAR_ERROR_PRINT) { - if (is_null($options) || is_int($options)) { - $format = "%s"; - } else { - $format = $options; - } - printf($format, $this->getMessage()); - } - if ($this->mode & obituaries_PEAR_ERROR_TRIGGER) { - trigger_error($this->getMessage(), $this->level); - } - if ($this->mode & obituaries_PEAR_ERROR_DIE) { - $msg = $this->getMessage(); - if (is_null($options) || is_int($options)) { - $format = "%s"; - if (substr($msg, -1) != "\n") { - $msg .= "\n"; - } - } else { - $format = $options; - } - die(sprintf($format, $msg)); - } - if ($this->mode & obituaries_PEAR_ERROR_CALLBACK) { - if (is_callable($this->callback)) { - call_user_func($this->callback, $this); - } - } - if ($this->mode & obituaries_PEAR_ERROR_EXCEPTION) { - trigger_error("obituaries_PEAR_ERROR_EXCEPTION is obsolete, use class PEAR_Exception for exceptions", E_USER_WARNING); - eval('$e = new Exception($this->message, $this->code);throw($e);'); - } - } - - // }}} - // {{{ getMode() - - /** - * Get the error mode from an error object. - * - * @return int error mode - * @access public - */ - function getMode() { - return $this->mode; - } - - // }}} - // {{{ getCallback() - - /** - * Get the callback function/method from an error object. - * - * @return mixed callback function or object/method array - * @access public - */ - function getCallback() { - return $this->callback; - } - - // }}} - // {{{ getMessage() - - - /** - * Get the error message from an error object. - * - * @return string full error message - * @access public - */ - function getMessage() - { - return ($this->error_message_prefix . $this->message); - } - - - // }}} - // {{{ getCode() - - /** - * Get error code from an error object - * - * @return int error code - * @access public - */ - function getCode() - { - return $this->code; - } - - // }}} - // {{{ getType() - - /** - * Get the name of this error/exception. - * - * @return string error/exception name (type) - * @access public - */ - function getType() - { - return get_class($this); - } - - // }}} - // {{{ getUserInfo() - - /** - * Get additional user-supplied information. - * - * @return string user-supplied information - * @access public - */ - function getUserInfo() - { - return $this->userinfo; - } - - // }}} - // {{{ getDebugInfo() - - /** - * Get additional debug information supplied by the ap... [truncated message content] |
From: <txm...@us...> - 2012-04-02 19:08:39
|
Revision: 9235 http://xoops.svn.sourceforge.net/xoops/?rev=9235&view=rev Author: txmodxoops Date: 2012-04-02 19:08:32 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Updated 2.5.5-rc Modified Paths: -------------- XoopsLanguages/italian/core/2.5.5/htdocs/modules/system/language/italian/admin.php Modified: XoopsLanguages/italian/core/2.5.5/htdocs/modules/system/language/italian/admin.php =================================================================== --- XoopsLanguages/italian/core/2.5.5/htdocs/modules/system/language/italian/admin.php 2012-04-02 18:08:24 UTC (rev 9234) +++ XoopsLanguages/italian/core/2.5.5/htdocs/modules/system/language/italian/admin.php 2012-04-02 19:08:32 UTC (rev 9235) @@ -80,4 +80,6 @@ //Last Update: 30/11/2011 by TXMod Xoops define("_AM_SYSTEM_TEMPLATES_SET","Selezionare il Template"); +//Last Update: 02/04/2012 by TXMod Xoops +define("_AM_SYSTEM_UNINSTALL","Disinstalla"); ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-02 18:08:34
|
Revision: 9234 http://xoops.svn.sourceforge.net/xoops/?rev=9234&view=rev Author: txmodxoops Date: 2012-04-02 18:08:24 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Updated 2.5.5-rc Modified Paths: -------------- XoopsLanguages/italian/core/2.5.5/htdocs/install/language/italian/install.php Modified: XoopsLanguages/italian/core/2.5.5/htdocs/install/language/italian/install.php =================================================================== --- XoopsLanguages/italian/core/2.5.5/htdocs/install/language/italian/install.php 2012-04-02 18:06:20 UTC (rev 9233) +++ XoopsLanguages/italian/core/2.5.5/htdocs/install/language/italian/install.php 2012-04-02 18:08:24 UTC (rev 9234) @@ -212,5 +212,7 @@ define( "PASSWORD_BETTER", "Adeguata"); define( "PASSWORD_MEDIUM", "Media"); define( "PASSWORD_STRONG", "Alta"); -define( "PASSWORD_STRONGEST", "Massima") +define( "PASSWORD_STRONGEST", "Massima"); +// Aggiunto in 2.5.5-rc +define( "FILTER_FUNCTIONS", "Funzioni Filtro"); ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-02 18:06:27
|
Revision: 9233 http://xoops.svn.sourceforge.net/xoops/?rev=9233&view=rev Author: txmodxoops Date: 2012-04-02 18:06:20 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Updated 2.5.5-rc Modified Paths: -------------- XoopsLanguages/italian/core/2.5.5/htdocs/modules/profile/language/italian/admin.php Modified: XoopsLanguages/italian/core/2.5.5/htdocs/modules/profile/language/italian/admin.php =================================================================== --- XoopsLanguages/italian/core/2.5.5/htdocs/modules/profile/language/italian/admin.php 2012-04-02 17:50:16 UTC (rev 9232) +++ XoopsLanguages/italian/core/2.5.5/htdocs/modules/profile/language/italian/admin.php 2012-04-02 18:06:20 UTC (rev 9233) @@ -111,4 +111,12 @@ define("_PROFILE_AM_STEPORDER", "Ordine"); define("_PROFILE_AM_STEPSAVE", "Salvataggio al termine della compilazione"); define("_PROFILE_AM_STEPINTRO", "Descrizione"); + +define ('_PROFILE_AM_REQUIRED_TOGGLE', 'Campo Toggle obbligatorio'); +define ('_PROFILE_AM_REQUIRED_TOGGLE_SUCCESS', 'Campo Obbligatorio cambiato con successo'); +define ('_PROFILE_AM_REQUIRED_TOGGLE_FAILED', 'Modifica Campo obbligatorio fallito'); + +define ('_PROFILE_AM_SAVESTEP_TOGGLE', 'Salva Toggle'); +define ('_PROFILE_AM_SAVESTEP_TOGGLE_SUCCESS', 'Salva Passo Successivo cambiato con successo'); +define ('_PROFILE_AM_SAVESTEP_TOGGLE_FAILED', "Modifica 'Salva Passo Successivo' non riuscita"); ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-04-02 17:50:22
|
Revision: 9232 http://xoops.svn.sourceforge.net/xoops/?rev=9232&view=rev Author: txmodxoops Date: 2012-04-02 17:50:16 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Modified Paths: -------------- XoopsLanguages/italian/core/2.5.5/htdocs/modules/system/language/italian/admin/modulesadmin.php Modified: XoopsLanguages/italian/core/2.5.5/htdocs/modules/system/language/italian/admin/modulesadmin.php =================================================================== --- XoopsLanguages/italian/core/2.5.5/htdocs/modules/system/language/italian/admin/modulesadmin.php 2012-04-02 17:13:04 UTC (rev 9231) +++ XoopsLanguages/italian/core/2.5.5/htdocs/modules/system/language/italian/admin/modulesadmin.php 2012-04-02 17:50:16 UTC (rev 9232) @@ -22,7 +22,7 @@ define("_AM_SYSTEM_MODULES_RUSUREUPD","Premere il pulsante per aggiornare questo modulo"); define("_AM_SYSTEM_MODULES_BTOMADMIN","Torna alla Gestione Moduli"); define("_AM_SYSTEM_MODULES_INSTALLING","Installazione in corso "); -define("_AM_SYSTEM_MODULES_UNINSTAL","Disinstalla "); +define("_AM_SYSTEM_MODULES_UNINSTALL","Disinstalla"); define("_AM_SYSTEM_MODULES_DEACTIVATE","Disattiva "); define("_AM_SYSTEM_MODULES_ACTIVATE","Attiva "); define("_AM_SYSTEM_MODULES_UPDATING","Aggiornamento in corso "); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-04-02 17:13:19
|
Revision: 9231 http://xoops.svn.sourceforge.net/xoops/?rev=9231&view=rev Author: wishcraft Date: 2012-04-02 17:13:04 +0000 (Mon, 02 Apr 2012) Log Message: ----------- myAlbum-p 3.06 - Warning & Notices / Feature Requests - Production Release Added Paths: ----------- XoopsModules/myalbum/branches/wishcraft/3.06/ XoopsModules/myalbum/branches/wishcraft/3.06/docs/ XoopsModules/myalbum/branches/wishcraft/3.06/docs/.htaccess XoopsModules/myalbum/branches/wishcraft/3.06/docs/CHANGELOG XoopsModules/myalbum/branches/wishcraft/3.06/docs/COPYING XoopsModules/myalbum/branches/wishcraft/3.06/docs/INSTALL XoopsModules/myalbum/branches/wishcraft/3.06/docs/README XoopsModules/myalbum/branches/wishcraft/3.06/docs/TODO XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/16/myalbum.admission.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/16/myalbum.batch.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/16/myalbum.export.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/16/myalbum.import.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/16/myalbum.index.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/16/myalbum.permissions.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/16/myalbum.photomanager.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/16/myalbum.redothumbs.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/32/myalbum.admission.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/32/myalbum.batch.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/32/myalbum.export.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/32/myalbum.import.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/32/myalbum.index.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/32/myalbum.permissions.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/32/myalbum.photomanager.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/Frameworks/moduleclasses/icons/32/myalbum.redothumbs.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/about.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/admin_header.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/admission.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/batch.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/dashboard.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/export.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/groupperm_global.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/import.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/index.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/menu.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/mygroupperm.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/mygrouppermform.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/photomanager.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/admin/redothumbs.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/blocks/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/blocks/.htaccess.dist XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/blocks/index.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/blocks/myalbum0_block_tag.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/blocks/myalbum1_block_tag.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/blocks/myalbum2_block_tag.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/blocks/myalbum_block_tag.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/blocks/myalbum_rphoto.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/blocks/myalbum_tophits.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/blocks/myalbum_topnews.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/class/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/class/cat.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/class/comments.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/class/myalbum.textsanitizer.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/class/myuploader.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/class/photos.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/class/text.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/class/votedata.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/close.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/comment_delete.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/comment_edit.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/comment_new.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/comment_post.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/comment_reply.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/docs/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/docs/changelog.txt XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/docs/copying.txt XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/docs/credits.txt XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/docs/index.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/docs/install.txt XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/docs/lang_diff.txt XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/docs/licence.txt XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/docs/readme.txt XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/docs/todo.txt XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/editphoto.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/header.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/asx.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/avi.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/bmp.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/default.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/doc.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/gif.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/jpg.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/mid.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/mov.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/mp3.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/mpeg.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/mpg.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/pdf.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/png.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/ram.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/rar.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/swf.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/txt.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/wav.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/wmv.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/xls.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/icons/zip.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/imagemanager.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/0.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/1.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/2.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/3.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/4.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/5.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/6.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/7.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/8.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/9.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/Thumbs.db XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/alignbigcenter.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/alignbigleft.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/alignbigright.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/aligncenter.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/alignleft.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/alignright.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/cat_add.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/cat_edit.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/clock.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/comments.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/deadlink.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/down.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/editicon.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/folder16.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/folder32.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/folder32_old.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/folder_open.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/hits.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/icon_rotate180.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/icon_rotate270.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/icon_rotate90.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/index.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/jaquette dvd.png XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/logo.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/mk_slogo.sh XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/myalbum0_slogo.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/myalbum1_slogo.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/myalbum2_slogo.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/myalbum_slogo.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/myphotos.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/newred.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/pict.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/pictadd.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/pixel_trans.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/plus.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/pop.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rank0.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rank1.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rank2.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rank3.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rank4.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rank5.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rank6.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rank7.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rank8.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rank9.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rank_none.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/rss.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/subcat.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/submitter.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/tellafriend.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/up.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/update.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/vote.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/images/watermark_sample.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/.htaccess XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/assign_globals.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/blocksadmin.inc.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/comment_functions.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/draw_functions.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/functions.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/get_perms.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/gtickets.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/index.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/myalbum.forms.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/notification.inc.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/oninstall.inc.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/onupdate.inc.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/onupdate.inc.php.sample XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/photo_orders.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/preferences.inc.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/read_configs.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/search.inc.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/sitemap.plugin.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/updateblock.inc.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/include/waiting.plugin.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/index.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/.htaccess XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/english/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/english/admin.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/english/blocks.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/english/index.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/english/mail_template/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/english/mail_template/category_newphoto_notify.tpl XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/english/mail_template/global_newphoto_notify.tpl XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/english/main.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/english/modinfo.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/english/myalbum_constants.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/language/index.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/list.tag.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/notification_update.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/photo.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/ratephoto.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/rss.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/sql/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/sql/.htaccess XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/sql/myalbum.sql XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/sql/myalbum0.sql XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/sql/myalbum1.sql XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/sql/myalbum2.sql XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/submit.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/.htaccess XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/_notes/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/_notes/dwsync.xml XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum0_block_rphoto.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum0_block_tophits.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum0_block_tophits_p.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum0_block_topnews.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum0_block_topnews_p.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum0_tag_block_cloud.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum0_tag_block_top.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum1_block_rphoto.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum1_block_tophits.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum1_block_tophits_p.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum1_block_topnews.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum1_block_topnews_p.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum1_tag_block_cloud.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum1_tag_block_top.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum2_block_rphoto.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum2_block_tophits.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum2_block_tophits_p.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum2_block_topnews.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum2_block_topnews_p.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum2_tag_block_cloud.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum2_tag_block_top.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum_block_rphoto.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum_block_tophits.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum_block_tophits_p.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum_block_topnews.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum_block_topnews_p.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum_tag_block_cloud.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/blocks/myalbum_tag_block_top.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/mk_templates.sh XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_categories.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_cpanel_admission.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_cpanel_batch.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_cpanel_export.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_cpanel_import.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_cpanel_permissions.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_footer.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_header.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_imagemanager.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_index.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_photo.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_photo_in_list.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_ratephoto.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_rss.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_topten.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_viewcat_list.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum0_viewcat_table.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_categories.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_cpanel_admission.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_cpanel_batch.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_cpanel_export.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_cpanel_import.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_cpanel_permissions.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_footer.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_header.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_imagemanager.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_index.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_photo.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_photo_in_list.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_ratephoto.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_rss.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_topten.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_viewcat_list.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum1_viewcat_table.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_categories.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_cpanel_admission.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_cpanel_batch.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_cpanel_export.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_cpanel_import.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_cpanel_permissions.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_footer.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_header.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_imagemanager.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_index.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_photo.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_photo_in_list.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_ratephoto.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_rss.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_topten.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_viewcat_list.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum2_viewcat_table.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_categories.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_cpanel_admission.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_cpanel_batch.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_cpanel_export.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_cpanel_import.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_cpanel_permissions.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_footer.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_header.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_imagemanager.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_index.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_photo.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_photo_in_list.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_ratephoto.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_rss.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_topten.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_viewcat_list.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/templates/myalbum_viewcat_table.html XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/topten.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/view.tag.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/viewcat.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/myalbum/xoops_version.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/sitemap/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/sitemap/plugin/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/sitemap/plugin/myalbum.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/tag/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/tag/plugin/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/tag/plugin/myalbum.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/tag/plugin/myalbum0.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/tag/plugin/myalbum1.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/modules/tag/plugin/myalbum2.php XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/uploads/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/uploads/myalbum/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/uploads/myalbum/watermarks/ XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/uploads/myalbum/watermarks/Thumbs.db XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/uploads/myalbum/watermarks/default.gif XoopsModules/myalbum/branches/wishcraft/3.06/htdocs/uploads/myalbum/watermarks/default.ttf Added: XoopsModules/myalbum/branches/wishcraft/3.06/docs/.htaccess =================================================================== --- XoopsModules/myalbum/branches/wishcraft/3.06/docs/.htaccess (rev 0) +++ XoopsModules/myalbum/branches/wishcraft/3.06/docs/.htaccess 2012-04-02 17:13:04 UTC (rev 9231) @@ -0,0 +1,36 @@ + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^gallery/submit.html modules/myalbum/submit.php [L,NC,QSA] +RewriteRule ^gallery/submit.php modules/myalbum/submit.php [L,NC,QSA] +RewriteRule ^gallery/ratephoto.php modules/myalbum/ratephoto.php [L,NC,QSA] +RewriteRule ^gallery/cat,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).html modules/myalbum/viewcat.php?cid=$1&uid=$2&num=$3&pos=$4&view=$5 [L,NC,QSA] +RewriteRule ^gallery/rss,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).rss modules/myalbum/rss.php?cid=$1&uid=$2&num=$3&pos=$4&view=$5 [L,NC,QSA] +RewriteRule ^gallery/index,([0-9]+),([0-9]+).html modules/myalbum/index.php?num=$1&pos=$2 [L,NC,QSA] +RewriteRule ^gallery/rate,([0-9]+).html modules/myalbum/ratephoto.php?lid=$1 [L,NC,QSA] +RewriteRule ^gallery/top,([0-9]+),([0-9]+).html modules/myalbum/topten.php?hit=$1&rate=$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/index.php modules/myalbum/index.php [L,NC,QSA] +RewriteRule ^gallery/(.*?)/comment_(.*?) modules/myalbum/comment_$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/photo.php(.*?) modules/myalbum/photo.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/viewcat.php(.*?) modules/myalbum/viewcat.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/ratephoto.php(.*?) modules/myalbum/ratephoto.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/list.tag.php(.*?) modules/myalbum/list.tag.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/view.tag.php(.*?) modules/myalbum/view.tag.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/submit.php(.*?) modules/myalbum/submit.php?$2&title=$1 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/submit,([0-9]+).html modules/myalbum/submit.php?cid=$2&title=$1 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/cat,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).html modules/myalbum/viewcat.php?cid=$2&uid=$3&num=$4&pos=$5&view=$6 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/rss,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).rss modules/myalbum/rss.php?cid=$2&uid=$3&num=$4&pos=$5&view=$6 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/edit,([0-9]+),([0-9]+).html modules/myalbum/editphoto.php?lid=$3&cid=$4 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/rate,([0-9]+),([0-9]+).html modules/myalbum/ratephoto.php?lid=$3&cid=$4 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/submit.php?cid=([0-9]+) modules/myalbum/submit.php?cid=$3&title=$1 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/comment_(.*?) modules/myalbum/comment_$3 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/photo.php(.*?) modules/myalbum/photo.php$3 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/viewcat.php(.*?) modules/myalbum/viewcat.php$3 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/ratephoto.php(.*?) modules/myalbum/ratephoto.php$3 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/list.tag.php(.*?) modules/myalbum/list.tag.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/view.tag.php(.*?) modules/myalbum/view.tag.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/index.php modules/myalbum/index.php [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/([0-9]+),([0-9]+).html modules/myalbum/photo.php?lid=$3&cid=$4 [L,NC,QSA] +RewriteRule ^gallery/(.*?) modules/myalbum/$1 [L,NC,QSA] Added: XoopsModules/myalbum/branches/wishcraft/3.06/docs/CHANGELOG =================================================================== --- XoopsModules/myalbum/branches/wishcraft/3.06/docs/CHANGELOG (rev 0) +++ XoopsModules/myalbum/branches/wishcraft/3.06/docs/CHANGELOG 2012-04-02 17:13:04 UTC (rev 9231) @@ -0,0 +1,430 @@ +2004-10-4 v2.84 + - modified ImageManagerIntegration can treat non-image files (AttachmentManager) + - added an option which specifies the default listing order + - modified that img tags have not only alt but also title property + - added delete button on admin's admission (thx karuna) + - fixed a bug rendering options for categories (thx Tom_G3X) + - added italian language (thx NickeL) + - updated schinese language (thx phppp) + +2004-7-31 v2.83 + - added photo columns into each blocks (thx rocket98) + - fixed default templates not to display posting icon to non-priv-users (thx rocket98) + - fixed adding meta headers into submit.php called by IMI (thx phppp) + - fixed myalbum.textsanitizer to separated some codes into langs (thx phppp) + - modified non-image files can be shown in random block (thx okatti) + - updated myblocksadmin into 0.07 + - updated schinese language (thx phppp) + +2004-7-8 v2.82 + - fixed a bug in listing categories (thx cradeg) + +2004-7-5 v2.81 + - fixed looping check routine (thx boufa) + - fixed treating with ghost categories (thx cradeg & boufa) + - eliminated some codes using buggy xoops_substr() (thx namhil & boufa) + - added mbstring routine for some environment (thx Marijuana) + - fixed some links not ended '/' (thx Marijuana) + - added some global permissions on intall (thx Marijuana) + - updated swedish language (thx Leif Madsen) + +2004-6-25 v2.80 + - remade the default design using crystal icons. (thx to all of icon authors) + - added class MyAlbumTextSanitizer extends MyTextSanitizer + - added tag [siteimg] + - added tag [summary][/summary] only text inside this tag will be displayed in summary view + - applied with Windows environment (If you want to use Windows Server with ImageMagick, try blank as the path of ImageMagick) + - added a mode ImageManager Integration outputs [siteimg] tags + - updated myblocksadmin & mymenu + - changed names of functions using prefix "myalbum_" (eg. applied the problem of redeclaring convertorderbyin() ) + - fixed some SQL injection vulnerablities + - and many other slight bugs are patched + +2004-5-25 v2.75b + - fixed import.php from myAlbum-P (thx okatti) + +2004-5-22 v2.75a + - fixed a fatal bug which user's posts is cleared when he submit (thx sfdb). + -- 2.73 , 2.74 and 2.75 have this problem. + +2004-5-21 v2.75 + - fixed uid don't specified in order link (thx bordacs) + - modified icon gifs larger + - eliminate 'PHP_SELF' + +2004-5-19 v2.74 + - added middle size calculation in photo.php (thx ellecat) + - fixed wrong links in photo.php (thx sfdb, efla) + - fixed a bug in specifying date of last modified + - changed myalbum_slogo.gif using font 04b_03b (thx Herko & Y.Kishino) + - changed logo.gif like mydownloads (thx LARABIE FONTS) + +2004-5-17 v2.73 + - added batch update into photo manager (thx efla) + - added a drop-down box allowing him a direct access to any categories or/and sub-categories. (thx efla) + - fixed a bug category selection is not stored in preview. (thx Elleomea) + - fixed a bug of catview.php in table view (thx Snoopy) + +2004-5-13 v2.72a modification about a compatibility with PHP Accelerator + - the order of templates is changed back to the same as 2.6 + - modified category should be selected (thx sfdb) + - modified putting some space between 2 lines of thumbs in the table view (thx efla) + - modified "mymenu" can be also displayed in preferences + +2004-5-7 v2.72 some modifications + - modified treating files other than images + - modified redo thumbnails + - modified preview + +2004-5-7 v2.71 bug fixed + - fixed a problem which caps extensions treated as not image files + +2004-5-5 v2.70 release + - added page navigation into recent list of top page + - added limitation of photos in block displaying + - added category's name ($photo.cat_title) into template myalbum*_photo_in_list.html + - added term for rotation of random image + - added import from imagemanager + - added export to imagemanager + - added a top menu for admin ("mymenu") + - remade category's admin (renamed as index.php) + - allowed to upload another type of files (swf,avi etc.) + - For such implementations, I use the icons of filemanager 3.0 + - thx to the author Jan Inge Pettersen(Xend) http://www.xendtech.com/ + +2004-4-5 v2.70 beta 03 + - use myuploader.php instead of class/uploader.php in XOOPS core. + (Security reason) + - added import from another myAlbum-P modules. + - navigation at bottom as well (thx mariuss) + - New language + - Nederlands (thx Jan Deeben) + +2004-3-9 v2.70 beta 02 + - fixed typo in xoops_version.php and notification.inc.php + - fixed typo in templates for duplicated modules + - added links each categories view from submit or edit + - not only text but also photo is previewable (submit) + - myblocksadmin improved a little + - Updated swedish (thx Leif Madsen) + +2004-3-4 v2.70 beta 01 + - modified as "Duplicatable Module" + - rename .htaccess into .htaccess.dist for some environment. + (If you want more secure, rename it into .htaccess manually) + - Updated spanish (thx ColdBeer) + - short tag in language/*/admin.php fixed (thx magu) + +2004-2-29 v2.64 (some requested features implemented) + - redirect to viewcat.php of specified category after photo submission (thx karuna) + - set the filename as subject when subject is not specified (thx mariuss) + - modified into much safer codes which prevent from crackers (thx JM2) + - preview added + - myblocksadmin updated to 0.04 + - changed like that uploading photo is not necessary + - use original images as thumbnails when the images is small enough + - New language + - Portuguese (thx Oliver Zancul Prado) + +2004-2-12 v2.63 (small fix) + - fixed bug that registered users (not admin) can't edit photo's description + +2004-1-30 v2.62 (small fixes) + - fixed typo in viewcat.php (thx pen) + - move 'template_main' above include(XOOPS_ROOT_PATH.'/header.php') + +2004-1-30 v2.61 (small fixes) + - fixed typo in myalbum_imagemanager.html rxcoder -> xcoder fixed (thx Olorin) + - feature changed not to close imagemanager after [img] added (thx Olorin) + - sort by date desc added (thx Collo) + - pagenav bug fixed (thx Collo) + +2004-1-28 v2.60 release + - imagemanager integrated with XOOPS core added + - optimization for table view + - Updated swedish (thx Leif Madsen) + +2004-1-27 v2.60beta01 + - almost of front ends have been rewritten to use template + - selectable from two views of viewcat.php (list & table) + - global group permission added (add,edit,delete,rateview,ratevote) + - notifications added (new photos in global and categories) + - some improvement for admin + - some fix + +2003-12-31 v2.50beta04 + - New language + - Swedish (thx Leif Madsen) + - width specification added when big thumbs + +2003-12-18 v2.50beta03 + - myblocksadmin is replaced to 0.03 + (compatibility trouble before XOOPS 2.0.3) + +2003-12-3 v2.50beta02 + - Updated tchinese (thx xoobs) + - myblocksadmin added + - two blocks added + +2003-11-25 v2.50beta01 (Major version up) + - better work with GD + - adding "forceGD2 mode" + - supporting NetPBM + - add a preference for rules of creating thumbnails + - rewrite all of blocks (using templates etc..) + - rewrite redo thumnails + - rewrite batch register + - selectable uname() or name() + - remove all of is_executable() + - and much more ... + +2003-10-21 v2.05 (Adding a language file) + - New language + - French + - Added some language constants into the tails of all language files. + +2003-10-8 v2.04 (Adjustment for some environment) + - don't mkdir photos & thumbs when safe_mode is on. + +2003-9-23 v2.03 (Adding some checks for begginers) + - add environment checks into 'module check'. + - add some checks into 'submit.php'. + - default directory for photos and thumbs has moved under /uploads + +2003-9-16 v2.02 (fixes) + - fixed my misunderstanding with feature for seaching. + - when click a photo in photo.php, it opens new window. (for printing etc.) + +2003-9-13 v2.01 (Compatibility fixes) + - Remove $smarty.const.xxx for XOOPS older than 2.0.2 + - Restore table myalbum_comments for older myalbum user. + +2003-9-5 v2.0.0 Release + - The first release version. + - Fixed slightly bugs in displaying. + +2003-8-30 v2.0.0pre10 + - New language + - traditional Chinese + - simple Chinese (thx xoobs) + +2003-8-29 v2.0.0pre09 + - Fixed many bugs of treating comments + - Templatize photos listing (Don't forget updating this module!) + +2003-8-28 v2.0.0pre08 + - Add check code for the directory path of 'batch upload' + - Add 'move category' on photo manager + - New language + - Spanish (thx Horacio Salazar) + +2003-8-26 v2.0.0pre07 + - Fixed a bug for updating a photo. + - Add 'update users posts' feature. + +2003-8-26 v2.0.0pre06 + - Fixed a miss type of ratephoto.php (thx HowardGee) + +2003-8-21 v2.0.0pre05 + - Implement 'Check module' for admin + - Implement 'Photo Manager' + - fixed res_x, res_y recorded wrong degree. + - 'make thumbs' option turns off in default. + +2003-8-20 v2.0.0pre04 + - Fatal error fixed. (Normal User can't view photos properly) + - Change upload class from older upload.class to Xoops2 uploader class + +2003-8-19 v2.0.0pre03 + - prepare to 'module duplication' (not yet) + - can change photo or thumbs directory (like /uploads/myalbum/) + - fixes about Category & Photo deletion + - resize or rotation main photos (Only ImageMagick) + - modify code for making thumbs by GD. (for PHP bundled GD2) + - and many more... + +2003-8-17 v2.0.0pre02 + - fixes about displaying Categories + +2003-8-13 v2.0.0pre01 GIJ's first beta release + + + +--------------- + +21/3/2003 v1.1.0 (beta) + - Xoops 2.0 support + +19/3/2003 v1.0.2 + - small fixes + +1/3/2003 v1.0.1 + - Better thumbs (gd 2.0) + - My Photos (optional member edit/delete photos) + - redo thumbs + - All language tags changed to _ALBM_* + - New Languages (Need credits) + - Portuguesept + - French + - Italian + - Japanese + - Schinese + +4/7/2002 v1.0.0 + - First public release. + +30/6/2002 v0.9.5 + - 2nd RC. + - Updated to RC 3.0.3 + +30/6/2002 v0.9.4 + - Language errors in Block. + +30/6/2002 v0.9.3 + - Batch upload uppercased files. + +29/6/2002 v0.9.3 + - /class/upload.class.php broken from RC3 -> RC3.0.2. + - Now only works on RC3.0.2. + +27/6/2002 v0.9.2 + - misc bugs. + +27/6/2002 v0.9.1 + - misc bugs. + +26/6/2002 v0.9.0 + - 1st non public release candidate. + + + + + + + + + +--------------------------------------------------------- +(for Japanese) + +\xB9\xB9\xBF\xB7\xCD\xFA\xCE\xF2: + + +2004-10-4 v2.84 + - \xA5\xA4\xA5\xA5\xB8\xA5ޥ͡\xBC\xA5\xB8\xA5\xE3\xC5\xFD\xB9\xE7\xA4Ǥ\xE2\xB2\xE8\xC1\xFC\xB0ʳ\xB0\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4\xA8\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF\xA1ʴʰ\xD7ź\xC9եե\xA1\xA5\xA4\xA5\xEB\xA5ޥ͡\xBC\xA5\xB8\xA5㵡ǽ\xA1\xCB + - \xA5\xAB\xA5ƥ\xB4\xA5\xEA\xA5ӥ塼\xC5\xF9\xA4ǤΥǥե\xA9\xA5\xEB\xA5ȤǤ\xCE\xCA¤ӽ\xE7\xA4\xF2\xBB\xD8\xC4\xEA\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF + - alt°\xC0\xAD\xA4\xC0\xA4\xB1\xA4\xC7title°\xC0\xAD\xA4\xF2\xA4Ĥ\xB1˺\xA4\xEC\xA4Ƥ\xA4\xA4\xBF\xC9\xF4ʬ\xA4\xF2\xBD\xA4\xC0\xB5 + - \xB4\xC9\xCD\xFD\xBCԤξ\xB5ǧ\xB2\xE8\xCC̤˺\xEF\xBD\xFC\xA5ܥ\xBF\xA5\xF3\xA4\xF2\xC4ɲ\xC3 (thx karuna) + - \xA5\xAB\xA5ƥ\xB4\xA5\xEA\xC1\xAA\xC2ץ\xB7\xA5\xE7\xA5\xF3\xA4Υ\xEC\xA5\xF3\xA5\xC0\xA5\xEA\xA5Х\xB0\xA4\xF2\xBD\xA4\xC0\xB5 (thx Tom_G3X) + - \xA5\xA4\xA5\xBF\xA5ꥢ\xB8\xEC\xA4θ\xC0\xB8\xEC\xA5ե\xA1\xA5\xA4\xA5\xEB\xA4\xF2\xC4ɲ\xC3 (thx NickeL) + - \xB4\xCA\xC2\xCE\xC3\xE6\xB9\xF1\xB8\xEC\xA4θ\xC0\xB8\xEC\xA5ե\xA1\xA5\xA4\xA5빹\xBF\xB7 (thx phppp) + +2004-7-31 v2.83 + - \xB3Ƽ̿\xBF\xC9ե֥\xED\xA5å\xAF\xA4ǡ\xA2\xB2\xA3\xA4\xCB\xCA¤٤\xEB\xBF\xF4\xA4\xF2\xBB\xD8\xC4\xEA\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF (thx rocket98) + - \xA5ǥե\xA9\xA5\xEB\xA5ȥƥ\xF3\xA5ץ졼\xA5Ȥǡ\xA2\xB2\xE8\xC1\xFC\xC4ɲå\xA2\xA5\xA4\xA5\xB3\xA5\xA2\xB8¤\xAC\xA4ʤ\xAF\xA4Ƥ\xE2ɽ\xBC\xA8\xA4\xB5\xA4\xEC\xA4Ƥ\xA4\xA4\xBF\xA5Х\xB0\xA4ν\xA4\xC0\xB5 (thx rocket98) + - \xA5\xA4\xA5\xA5\xB8\xA5ޥ͡\xBC\xA5\xB8\xA5\xE3\xC5\xFD\xB9\xE7\xA4ˤ\xAA\xA4\xB1\xA4\xEB\xC5\xEA\xB9Ƥǡ\xA2\xB8\xC0\xB8\xEC\xB4ط\xB8\xA4Υ\xA5إå\xC0\xA4\xAC\xC9\xD4\xA4\xB7\xA4Ƥ\xA4\xA4\xBF\xA4Τ\xF2\xBD\xA4\xC0\xB5 (thx phppp) + - myAlbum-P\xA5ƥ\xAD\xA5\xB9\xA5ȥ\xB5\xA5˥\xBF\xA5\xA4\xA5\xB6\xA4ˤ\xAA\xA4\xB1\xA4롢\xA5\xB3\xA1\xBC\xA5\xC9\xCAѴ\xB9\xBD\xE8\xCD\xFD\xA4\xF2\xB3Ƹ\xC0\xB8\xEC\xA5ե\xA1\xA5\xA4\xA5\xEB\xA4\xCBʬΥ\xA4\xB7\xA4\xBF (thx phppp) + - \xA5\xE9\xA5\xF3\xA5\xC0\xA5\xE0\xA5֥\xED\xA5å\xAF\xA4\xC7\xC4̾\xEF\xB2\xE8\xC1\xFC\xA5ե\xA1\xA5\xA4\xA5\xEB\xB0ʳ\xB0\xA4\xCF\xC1\xAA\xC2Ȥ\xB7\xA4Ƥ\xA4\xA4\xBF\xA4Τ\xB9\xA4٤\xC6\xC1\xAA\xC2\xF2\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4˻\xC5\xCD\xCD\xCAѹ\xB9 (thx okatti) + - myblocksadmin \xA4\xF2 0.07 \xA4˹\xB9\xBF\xB7 + - \xB4\xCA\xC2\xCE\xC3\xE6\xB9\xF1\xB8\xEC\xA4θ\xC0\xB8\xEC\xA5ե\xA1\xA5\xA4\xA5빹\xBF\xB7 (thx phppp) + +2004-7-8 v2.82 + - \xA5\xAB\xA5ƥ\xB4\xA5\xB0\xEC\xCD\xF7ɽ\xBC\xA8\xA4ǤΥХ\xB0\xA4\xF2\xBD\xA4\xC0\xB5 (thx cradeg) + +2004-7-5 v2.81 + - \xA5\xAB\xA5ƥ\xB4\xA5\xB9\xBD¤\xA4Υ롼\xA5ץ\xC1\xA5\xA7\xA5å\xAF\xA4\xAC\xA4\xAA\xA4\xAB\xA4\xB7\xA4\xAB\xA4ä\xBF\xA4Τ\xF2\xBD\xA4\xC0\xB5 (thx boufa) + - ͩ\xCE\xA5ƥ\xB4\xA5\xC2к\xF6\xA4\xCE\xC4ɲ\xC3 (thx cradeg & boufa) + - xoops_substr() \xA4\xF2\xBBȤäƤ\xB7\xA4ޤä\xBF\xC9\xF4ʬ\xA4\xF2\xBBȤ\xEF\xA4ʤ\xA4\xA4褦\xA4˽\xA4\xC0\xB5 (thx namhil & boufa) + - \xB0\xEC\xC9\xF4\xA4\xCEmbstring\xB4Ķ\xAD\xA4Ǥ\xCEʸ\xBB\x{2CBD931}\xC2к\xF6 (thx Marijuana) + - redirect_header\xA4ΰ\xFA\xBF\xF4\xA4κǸ夬'/'\xA4Ǥʤ\xAB\xA4ä\xBF\xA4\xE2\xA4Τ\xF2Fix (thx Marijuana) + - \xA5\xA4\xA5ȡ\xBC\xA5\xEB\xBB\xFE\xA4˴\xC9\xCD\xFD\xBCԤ˸\xA2\xB8¤\xF2\xC9\xD5Ϳ\xA4\xB9\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF (thx Marijuana) + - \xA5\xB9\xA5\xA6\xA5\xA7\xA1\xBC\xA5ǥ\xF3\xB8\xEC\xB8\xC0\xB8\xEC\xA5ե\xA1\xA5\xA4\xA5빹\xBF\xB7 (thx Leif Madsen) + +2004-6-25 v2.80 + - \xB0\xEC\xCD\xF7\xB2\xE8\xCC̤Υǥե\xA9\xA5\xEB\xA5ȥǥ\xB6\xA5\xA4\xA5\xF3\xA4\xF2crystal icons\xA4\xF2\xCD\xF8\xCDѤ\xB7\xA4ƾ\xAF\xA4\xB7\xB2\xFE\xC1\xB1\xA4\xB7\xA4\xBF (thx to all of icon authors) + - \xA5ƥ\xAD\xA5\xB9\xA5ȥ\xB5\xA5˥\xBF\xA5\xA4\xA5\xB6\xA4γ\xC8ĥ\xA5\xAF\xA5饹\xA4\xF2\xCD\xF8\xCDѤ\xB9\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF + - [siteimg] \xA5\xBF\xA5\xB0\xA4β\xF2\xBC\xE1\xC4ɲ\xC3 + - [summary][/summary]\xA5֥\xED\xA5å\xAF\xA4\xCE\xC4ɲ\xC3 \xB2\xE8\xC1\xFC\xC0\xE2\xCC\xC0\xA4ˤ\xB3\xA4Υ֥\xED\xA5å\xAF\xA4\xAC\xA4\xA2\xA4ä\xBF\xBE\xEC\xB9硢\xA4\xBD\xA4\xCE\xC6\xE2¦\xA4\xC0\xA4\xB1\xA4\xAC\xB0\xEC\xCD\xF7\xB2\xE8\xCC̤\xCBɽ\xBC\xA8\xA4\xB5\xA4\xEC\xA4ޤ\xB9 + - Windows\xB4Ķ\xAD\xA4Ǥ\xCEư\xBA\xEE\xB2\xFE\xC1\xB1 (\xA4⤷\xA1\xA2ImageMagick\xA4\xF2Windows\xA4ǻȤ\xA4\xA4\xBF\xA4\xA4\xBE\xEC\xB9硢ImageMagick\xA4Υѥ\xB9\xA4\xF5\xC7\xF2\xA4ˤ\xB7\xA4ƤߤƲ\xBC\xA4\xB5\xA4\xA4\xA1\xCB xaio\xA4\xF2\xA5\xEA\xA5\xA5\xB9\xA4\xB7\xA4Ƥ\xAF\xA4줿matchan\xA4\xB5\xA4\xF3\xA4˴\xB6\xBCդ\xB7\xA4ޤ\xB9 + - \xA5\xA4\xA5\xA5\xB8\xA5ޥ͡\xBC\xA5\xB8\xA5\xE3\xC5\xFD\xB9絡ǽ\xA4ǡ\xA2[siteimg]\xA4\xE4[siteurl]\xA4\xF2\xBD\xD0\xCEϤ\xB9\xA4륪\xA5ץ\xB7\xA5\xE7\xA5\xF3\xA4\xCE\xC4ɲ\xC3 + - myblocksadmin \xA4\xAA\xA4\xE8\xA4\xD3 mymenu \xA4\xF2\xBAǿ\xB7\xC8Ǥ˹\xB9\xBF\xB7 + - \xA4ۤȤ\xF3\xA4ɤ\xB9\xA4٤Ƥδؿ\xF4̾\xA4ˡ\xA2"myalbum_" \xA4Ȥ\xA4\xA4\xA6\xC1\xB0\xC3ֻ\xEC\xA4\xF2\xA4Ĥ\xB1\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF\xA1\xA3(convertorderbyin() \xA4ʤɤ\xAC¿\xBD\xC5\xC4\xEA\xB5\xC1\xB0\xE3ȿ\xA4ǰ\xFA\xA4ä\xAB\xA4\xAB\xA4ä\xBF\xA4ꤷ\xA4\xBF\xA4\xBF\xA4\xE1) + - SQL Injection \xC0ȼ\xE5\xC0\xAD\xA4餷\xA4\xAD\xA4\xE2\xA4Τ\xAC\xBB\xB6\xB8\xAB\xA4\xB5\xA4줿\xA4Τǽ\xA4\xC0\xB5 + - \xA4\xBD\xA4\xCE¾\xA1\xA2\xBF\xF4\xA4\xA8\xC0ڤ\xEC\xA4ʤ\xA4\xA5Х\xB0\xA4ν\xA4\xC0\xB5 + +2004-5-25 v2.75b + - 2.74\xA4\xA2\xA4\xBF\xA4꤫\xA4\xE9myAlbum-PƱ\xBBΤǤΥ\xA4\xA5\xF3\xA5ݡ\xBC\xA5Ȥ\xAC\xBD\xD0\xCD\xE8\xA4ʤ\xAF\xA4ʤäƤ\xA4\xA4\xBF\xA4Τ\xF2\xBD\xA4\xC0\xB5 (thx okatti) + +2004-5-22 v2.75a + - 2.73\xA4\xA2\xA4\xBF\xA4꤫\xA4\xE9\xC5\xEA\xB9ƿ\x{124B25}\xAF\xA5ꥢ\xA4\xB5\xA4\xEC\xA4Ƥ\xB7\xA4ޤ\xA6\xA4Ȥ\xA4\xA4\xA6\xC3\xD7̿Ū\xA4ʥХ\xB0\xA4\xF2\xBD\xA4\xC0\xB5 (thx sfdb) + +2004-5-21 v2.75 + - \xA5桼\xA5\xB6ID\xA4ǹʤ\xEA\xB9\xFE\xA4\xF3\xA4\xC0\xBB\xFE\xA4˥\xBD\xA1\xBC\xA5Ȥ\xAC\xA4\xAA\xA4\xAB\xA4\xB7\xA4\xAB\xA4ä\xBF\xA4Τ\xF2\xBD\xA4\xC0\xB5 (thx bordacs) + - \xA5\xA2\xA5\xA4\xA5\xB3\xA5\xF3\xA4\xF2\xA4Ȥꤢ\xA4\xA8\xA4\xBA2\xC7ܤˤ\xB7\xA4\xBF + - $PHP_SELF \xA4λ\xC8\xCDѤ\xF2\xC1\xB4\xCC\xCCŪ\xA4ˤ\xE4\xA4 + +2004-5-19 v2.74 + - \xB0\xEC\xCB\xE7ɽ\xBC\xA8\xB2\xE8\xCC̤ǤΡ\xA2\xB2\xE8\xC1\xFCɽ\xBC\xA8\xA5\xB5\xA5\xA4\xA5\xBA\xC0\xA9\xB8¤\xF2\xC4ɲ\xC3 (thx ellecat) + - \xB0\xEC\xCB\xE7ɽ\xBC\xA8\xB2\xE8\xCC̤Υ\xAB\xA5ƥ\xB4\xA5\xEA\xA5ӥ塼\xA4ؤΥ\xEA\xA5\xF2\xBD\xA4\xC0\xB5 (thx sfdb, efla) + - strtotime() \xA4\xAC\xA1\xA2Y/m/d \xA4ϼ\xF5\xA4\xB1\xC9դ\xB1\xA4Ƥ⡢d/m/Y \xA4ϼ\xF5\xA4\xB1\xC9դ\xB1\xA4ʤ\xA4\xA4\xB3\xA4Ȥؤ\xCE\xC2б\xFE + - \xA4\xE8\xA4\xEAɸ\xBD\xE0\xA4äݤ\xA4\xA5⥸\xA5塼\xA5륢\xA5\xA4\xA5\xB3\xA5\xF3\xA4\xD8\xC9\xC1\xA4\xAD\xB4\xB9\xA4\xA8 (thx Herko & Y.Kishino) + - \xA4\xE8\xA4\xEAɸ\xBD\xE0\xA4äݤ\xA4\xA5Хʡ\xBC\xB2\xE8\xC1\xFC\xA4\xD8\xC9\xC1\xA4\xAD\xB4\xB9\xA4\xA8 (thx LARABIE FONTS) + +2004-5-17 v2.73 + - \xB2\xE8\xC1\xFC\xB4\xC9\xCD\xFD\xB2\xE8\xCC̤ǡ\xA2\xB2\xE8\xC1\xFC\xC9\xD5\xC2Ӿ\xF0\xCA\xF3\xA4\xF2\xA4ޤȤ\xE1\xA4ƹ\xB9\xBF\xB7\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF (thx efla) + - \xA5\xAB\xA5ƥ\xB4\xA5\xA4\xCEľ\xC0\xDC\xC1\xAA\xC2\xF2\xA5ܥå\xAF\xA5\xB9\xA4\xF2\xCDѰդ\xB7\xA4\xBF (thx efla) + - \xA5\xAB\xA5ƥ\xB4\xA5\xC1\xAA\xC2ץ\xEC\xA5ӥ塼\xA4\xB9\xA4\xEB\xA4Ⱦä\xA8\xA4Ƥ\xA4\xA4\xBF\xA5Х\xB0\xBD\xA4\xC0\xB5 (thx Elleomea) + - \xA5ơ\xBC\xA5֥\xEB\xA5ӥ塼\xA4Ǥβ\xE8\xC1\x{25D65925}\xBA\xBB\xD8\xC4\xEA\xA4\xE2\xA4\xEC\xA4\xF2\xBD\xA4\xC0\xB5 (thx Snoopy) + +2004-5-13 v2.72a PHP Accelerator\xA4Ȥθߴ\xB9\xC0\xAD\xCC\xE4\xC2\xEA\xB2\xFE\xC1\xB1\xA5С\xBC\xA5\xB8\xA5\xE7\xA5\xF3 + - \xA5ƥ\xF3\xA5ץ졼\xA5Ȥ\xCE\xC6ɹ\xFE\xBD\xE7\xA4\xF2\xA1\xA22.6\xA4\xC8Ʊ\xA4\xB8\xA4\xCB\xCCᤷ\xA4\xBF + - \xBF\xB7\xB5\xAC\xC5\xD0Ͽ\xBB\xFE\xA4ˡ\xA2\xA4\xAB\xA4ʤ餺\xA5\xAB\xA5ƥ\xB4\xA5\xC1\xAA\xC2\xF2\xA4Ƥ\xE2\xA4餦\xA4褦\xA4ˤ\xB7\xA4\xBF (thx sfdb) + - \xA5ơ\xBC\xA5֥\xEB\xA5ӥ塼\xA4Ǥν\xC4\xCA\xFD\xB8\xFE\xA4Υ\xB9\xA5ڡ\xBC\xA5\xB9\xC4ɲ\xC3 (thx efla) + - mymenu \xA4\xEC\xC8\xCC\xC0\xDF\xC4\xEA\xA4Ǥ\xE2\xBBȤ\xA8\xA4\xEB\xA4褦\xA4˲\xFE\xC1\xB1\xA1\xCA\xC0\xB5\xB3Τˤϡ\xA2preferences\xA4\xF2\xA5⥸\xA5塼\xA5\xEB¦\xA4˰\xFA\xA4\xC3ĥ\xA4äƤ\xAD\xA4\xBF\xA4\xC0\xA4\xB1\xA4Ǥ\xB9\xA4\xAC\xA1\xCB + +2004-5-7 v2.72 + - \xB2\xE8\xC1\xFC\xB0ʳ\xB0\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4μ谷\xA4\xA4\xA4\xAC\xA5\xA4\xA5ޥ\xA4\xA5\xC1\xA4\xC0\xA4ä\xBF\xA4Τ\xF2\xBD\xA4\xC0\xB5 + - \xA5\xB5\xA5\xE0\xA5ͥ\xA4\xA5\xEB\xA4κƹ\xBD\xC3ۤ\xF2\xB2\xFE\xC1\xB1\xA1ʲ\xE8\xC1\xFC\xB0ʳ\xB0\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4ˤĤ\xA4\xA4Ƥ\xE2\xBD\xE8\xCD\xFD\xA4\xB9\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF\xC5\xF9\xA1\xCB + - \xA5ץ\xEC\xA5ӥ塼\xA4β\xFE\xC1\xB1 + +2004-5-7 v2.71 + - \xB3\xC8ĥ\xBBҤ\xAC\xC2\xE7ʸ\xBB\xFA\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4\xE8\xC1\xFC\xA5ե\xA1\xA5\xA4\xA5\xEB\xA4Ȥ\xB7\xA4\xC6ǧ\xBC\xB1\xA4\xB7\xA4ʤ\xA4\xA5Х\xB0\xA4\xF2\xBD\xA4\xC0\xB5 + +2004-5-5 v2.70 \xA5\xEA\xA5\xA5\xB9\xC8\xC7 + - \xA5ȥåץڡ\xBC\xA5\xB8\xA4κǿ\xB7\xA5ꥹ\xA5Ȥ\xE2\xA5ڡ\xBC\xA5\xB8ʬ\xB3\xE4\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF (thx megu) + - \xB3ƥ֥\xED\xA5å\xAF\xA4ˡ\xA2\xA5\xAB\xA5ƥ\xB4\xA5\xA4ˤ\xE8\xA4\xEB\xB8\xC2\xC4\xEA\xA4\xB1\xA4\xE9\xA4\xEC\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF + - \xA5\xE9\xA5\xF3\xA5\xC0\xA5\xE0\xB2\xE8\xC1\xFC\xA5֥\xED\xA5å\xAF\xA4ǡ\xA2\xB2\xE8\xC1\xFC\xC0\xDA\xC2إ\xBF\xA5\xA4\xA5ߥ\xF2\xBB\xD8\xC4\xEA\xBD\xD0\xCD\xE8\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF + - \xA5\xAB\xA5ƥ\xB4\xA5̾\xA4\xE2\xA5ƥ\xF3\xA5ץ졼\xA5Ȥ\xCB\xC5Ϥ\xB9\xA4褦\xA4ˤ\xB7\xA4\xBF ($photo.cat_title) + - \xA5\xA4\xA5\xA5\xB8\xA5ޥ͡\xBC\xA5\xB8\xA5㤫\xA4\xE9\xA4Υ\xA4\xA5\xF3\xA5ݡ\xBC\xA5ȼ\xC2\xC1\xF5 + - \xA5\xA4\xA5\xA5\xB8\xA5ޥ͡\xBC\xA5\xB8\xA5\xE3\xA4ؤΥ\xA8\xA5\xAF\xA5\xB9\xA5ݡ\xBC\xA5ȼ\xC2\xC1\xF5 + - \xA5ȥåץ\xE1\xA5˥塼(mymenu)\xC4ɲäʤɡ\xA2\xB4\xC9\xCD\xFD\xB2\xE8\xCC̤\xCE\xC2\xE7\xC9\xFD\xA4\xCA\xC1\xE0\xBA\xEE\xC0\xAD\xB2\xFE\xC1\xB1 + - \xA5\xAB\xA5ƥ\xB4\xA5\xB4\xC9\xCD\xFD\xA4\xF2\xA4ޤ\xEB\xA4ޤ\xEB\xBD\xF1\xA4\xADľ\xA4\xB7\xA4ơ\xA2index.php\xA4Ȥ\xB7\xA4\xBF + - gif,jpeg,png\xB0ʳ\xB0\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4⥢\xA5åץ\x{D87C}\xA5ɤǤ\xAD\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF + - \xA4\xB3\xA4\xEC\xA4\xE9\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4ϥ\xA2\xA5\xA4\xA5\xB3\xA5\xF3\xA4\xC7ɽ\xBC\xA8\xA4\xB7\xA4ޤ\xB9\xA4\xAC\xA1\xA2\xA4\xBD\xA4Υ\xA2\xA5\xA4\xA5\xB3\xA5\xF3\xA4\xCFFilemanager 3.0\xA4\xAB\xA4\xE9ĺ\xC2פ\xB7\xA4ޤ\xB7\xA4\xBF + - \xBA\xEE\xBCԤ\xCEJan Inge Pettersen\xA4\xB5\xA4\xF3\xA1\xA2(Xend) http://www.xendtech.com/ \xA4˴\xB6\xBCդ\xB7\xA4ޤ\xB9 + +2004-4-5 v2.70 beta 03 + - XOOPS\xA4Υ\xA2\xA5åץ\x{D87C}\xA5\xC0\xA5\xAF\xA5饹\xA4ϻȤ\xEF\xA4ʤ\xA4\xA4褦\xA4ˤ\xB7\xA4\xBF + (\xA5\xBB\xA5\xAD\xA5\xE5\xA5\xEA\xA5ƥ\xA3\xA4\xAA\xA4\xE8\xA4ӡ\xA2myDownloads RC1 \xA4ʤɤȤθߴ\xB9\xC0\xAD\xA4Τ\xBF\xA4\xE1\xA1\xCB + - ʣ\xC0\xBD\xA4\xB7\xA4\xBFmyAlbum-P\xA5⥸\xA5塼\xA5\xEBƱ\xBBΤǤΥǡ\xBC\xA5\xBF\xA4\xE4\xA4\xEA\xA4Ȥ\xEA\xA4\xF2\xC4ɲä\xB7\xA4\xBF + - \xB2\xE8\xCC̲\xBC\xA4ˤ\xE2\xA5ʥӥ\xB2\xA1\xBC\xA5\xB7\xA5\xE7\xA5\xF3\xA4\xF2\xC4ɲ\xC3 (thx mariuss) + - \xA5\xAA\xA5\xE9\xA5\xF3\xA5\xC0\xB8\xEC\xC4ɲ\xC3 (thx Jan Deeben) + +2004-3-9 v2.70 beta 02 + - \xBF\xB7\xB5\xAC\xC5\xD0Ͽ\xBB\xFE\xA4ˡ\xA2\xB2\xE8\xC1\xFC\xA4\xE2\xA5ץ\xEC\xA5ӥ塼\xB2\xC4ǽ\xA4Ȥʤä\xBF + - \xA5\xB9\xA5\xA6\xA5\xA7\xA1\xBC\xA5ǥ\xF3\xB8칹\xBF\xB7 (thx Leif Madsen) + +2004-3-4 v2.70 beta from 2.64 + - ʣ\xC0\xBD\xB2\xC4ǽ\xB2\xBD + - .htaccess \xA4\xF2 .htaccess.dist \xA4˥\xEA\xA5͡\xBC\xA5\xE0 + - \xA5\xB9\xA5ڥ\xA4\xA5\xF3\xB8칹\xBF\xB7 (thx ColdBeer) + +2004-2-29 v2.64 (\xA5ꥯ\xA5\xA8\xA5\xB9\xA5Ȥ\xB5\xA4줿\xB5\xA1ǽ\xA4\xCE\xC4ɲ\xC3) + - Ϣ³\xC5\xD0Ͽ\xBB\xFE\xA4\xCB\xCA\xD8\xCD\xF8\xA4ʤ褦\xA1\xA2\xC5\xD0Ͽ\xA4\xB7\xA4\xBF\xA5\xAB\xA5ƥ\xB4\xA5\xA4\xCEviewcat\xA4˥\xEA\xA5\xC0\xA5\xA4\xA5쥯\xA5Ȥ\xB9\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF(thx karuna) + - \xA5\xBF\xA5\xA4\xA5ȥ뤬\xBB\xD8\xC4ꤵ\xA4\xEC\xA4ʤ\xAB\xA4ä\xBF\xA4Ȥ\xAD\xA4ϡ\xA2\xA5ե\xA1\xA5\xA4\xA5\xEB̾\xA4\xA4\xA5ȥ\xEB\xA4Ȥ\xB9\xA4\xEB\xA4褦\xCAѹ\xB9 (thx mariuss) + - CSRF\xC2к\xF6\xA4ʤɡ\xA2\xA4\xE8\xA4\xEA\xB0\xC2\xC1\xB4\xA4ʥ\xB3\xA1\xBC\xA5ɤ˽\xB9\xA4\xA8\xA4\xBF (thx JM2) + - \xA5ץ\xEC\xA5ӥ塼\xB5\xA1ǽ\xA4\xCE\xC4ɲ\xC3 + - myblocksadmin \xA4\xF2 0.04 \xA4˹\xB9\xBF\xB7 + - \xB2\xE8\xC1\xFC\xA4Υ\xA2\xA5åץ\x{D87C}\xA5ɤʤ\xB7\xA4Ǥ⡢\xA4Ȥꤢ\xA4\xA8\xA4\xBA\xC5\xD0Ͽ\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4˻\xC5\xCD\xCD\xCAѹ\xB9 + - \xA5\xA2\xA5åץ\x{D87C}\xA5ɲ\xE8\xC1\xFC\xA4\xAC\xBD\xBDʬ\xA4˾\xAE\xA4\xB5\xA4\xA4\xBB\xFE\xA4ϡ\xA2\xA4\xBD\xA4β\xE8\xC1\xFC\xA4Τޤޥ\xB5\xA5\xE0\xA5ͥ\xA4\xA5\xEB\xA4Ȥ\xB9\xA4\xEB + - \xA5ݥ\xEB\xA5ȥ\xAC\xA5\xEB\xB8\xEC\xC4ɲ\xC3 (thx Oliver Zancul Prado) Added: XoopsModules/myalbum/branches/wishcraft/3.06/docs/COPYING =================================================================== --- XoopsModules/myalbum/branches/wishcraft/3.06/docs/COPYING (rev 0) +++ XoopsModules/myalbum/branches/wishcraft/3.06/docs/COPYING 2012-04-02 17:13:04 UTC (rev 9231) @@ -0,0 +1,280 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for ... [truncated message content] |
From: <txm...@us...> - 2012-04-02 17:10:01
|
Revision: 9230 http://xoops.svn.sourceforge.net/xoops/?rev=9230&view=rev Author: txmodxoops Date: 2012-04-02 17:09:52 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Updated 2.5.5-rc Modified Paths: -------------- XoopsModules/moduleclasses/branches/timgno/moduleclasses/moduleadmin/language/italian/main.php Modified: XoopsModules/moduleclasses/branches/timgno/moduleclasses/moduleadmin/language/italian/main.php =================================================================== --- XoopsModules/moduleclasses/branches/timgno/moduleclasses/moduleadmin/language/italian/main.php 2012-04-02 15:25:55 UTC (rev 9229) +++ XoopsModules/moduleclasses/branches/timgno/moduleclasses/moduleadmin/language/italian/main.php 2012-04-02 17:09:52 UTC (rev 9230) @@ -29,6 +29,17 @@ // Header define('_AM_MODULEADMIN_MISSING','Errore: Non stai utilizzando il Frameworks \"admin module\". Devi installare questo Frameworks'); +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "Informazioni"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permessi"); +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Rilasciato: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Autore: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Crediti: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","Licenza: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Nome Autore: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Info Autore"); + // About define('_AM_MODULEADMIN_ABOUT_CHANGELOG', 'Cambiamento log'); define('_AM_MODULEADMIN_ABOUT_DESCRIPTION', 'Descrizione'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-02 15:26:07
|
Revision: 9229 http://xoops.svn.sourceforge.net/xoops/?rev=9229&view=rev Author: beckmi Date: 2012-04-02 15:25:55 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Updating release files Modified Paths: -------------- XoopsCore/releases/2.5.5-rc/docs/lang_diff.txt XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/french/main.php XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/russian/main.php XoopsCore/releases/2.5.5-rc/htdocs/modules/system/language/english/help/maintenance.html XoopsCore/releases/2.5.5-rc/htdocs/modules/system/language/english/help/tplsets.html Added Paths: ----------- XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/icons/32/face-smile.png XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/icons/32/penguin.png Modified: XoopsCore/releases/2.5.5-rc/docs/lang_diff.txt =================================================================== --- XoopsCore/releases/2.5.5-rc/docs/lang_diff.txt 2012-04-02 14:56:15 UTC (rev 9228) +++ XoopsCore/releases/2.5.5-rc/docs/lang_diff.txt 2012-04-02 15:25:55 UTC (rev 9229) @@ -2,7 +2,23 @@ ===================== Below are language differences from a version to next version. +=============================== +2012/04/02: Version 2.5.5 +=============================== +ADDED/DELETED DEFINES +/Frameworks/moduleclasses/moduleadmin/language/english/main.php +- added define("_AM_MODULEADMIN_HOME", "Home"); +- added define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +- added define("_AM_MODULEADMIN_ABOUT", "About"); +- added define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); +- added define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +- added define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +- added define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +- added define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +- added define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +- added define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + =============================== 2011/11/17: Version 2.5.4 =============================== Added: XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/icons/32/face-smile.png =================================================================== (Binary files differ) Property changes on: XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/icons/32/face-smile.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/icons/32/penguin.png =================================================================== (Binary files differ) Property changes on: XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/icons/32/penguin.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php =================================================================== --- XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2012-04-02 14:56:15 UTC (rev 9228) +++ XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2012-04-02 15:25:55 UTC (rev 9229) @@ -25,13 +25,25 @@ define('_AM_MODULEADMIN_CONFIG_DB','minimum version required: %s (your version is %s)'); define('_AM_MODULEADMIN_CONFIG_ADMIN','Minimum ModuleAdmin required: %s (your version is %s)'); - // About define('_AM_MODULEADMIN_ABOUT_CHANGELOG','Change log'); define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Description'); define('_AM_MODULEADMIN_ABOUT_MODULEINFO','Module Info'); define('_AM_MODULEADMIN_ABOUT_MODULESTATUS','Status:'); -define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Update date:'); +define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Updated:'); define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Website:"); -?> \ No newline at end of file +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/french/main.php =================================================================== --- XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/french/main.php 2012-04-02 14:56:15 UTC (rev 9228) +++ XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/french/main.php 2012-04-02 15:25:55 UTC (rev 9229) @@ -33,4 +33,17 @@ define("_AM_MODULEADMIN_ABOUT_UPDATEDATE","Date de dernière mise à jour:"); define("_AM_MODULEADMIN_ABOUT_WEBSITE","Site:"); -?> \ No newline at end of file +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php =================================================================== --- XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php 2012-04-02 14:56:15 UTC (rev 9228) +++ XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php 2012-04-02 15:25:55 UTC (rev 9229) @@ -33,4 +33,17 @@ define("_AM_MODULEADMIN_ABOUT_UPDATEDATE","Update-Datum:"); define("_AM_MODULEADMIN_ABOUT_WEBSITE","Website:"); -?> \ No newline at end of file +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/russian/main.php =================================================================== --- XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/russian/main.php 2012-04-02 14:56:15 UTC (rev 9228) +++ XoopsCore/releases/2.5.5-rc/htdocs/Frameworks/moduleclasses/moduleadmin/language/russian/main.php 2012-04-02 15:25:55 UTC (rev 9229) @@ -34,4 +34,17 @@ define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Веб-сайт:"); define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Описание'); -?> \ No newline at end of file +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsCore/releases/2.5.5-rc/htdocs/modules/system/language/english/help/maintenance.html =================================================================== --- XoopsCore/releases/2.5.5-rc/htdocs/modules/system/language/english/help/maintenance.html 2012-04-02 14:56:15 UTC (rev 9228) +++ XoopsCore/releases/2.5.5-rc/htdocs/modules/system/language/english/help/maintenance.html 2012-04-02 15:25:55 UTC (rev 9229) @@ -10,6 +10,5 @@ - empty the session table<br /> - perform maintenance of the database tables (analyze, check, optimize, and repair) <br /><br /> -You can also perform a "Dump" of the whole database or individual tables for backup purposes. - +You can also perform a "Dump" of the whole database or individual tables for backup purposes. </p> </div> \ No newline at end of file Modified: XoopsCore/releases/2.5.5-rc/htdocs/modules/system/language/english/help/tplsets.html =================================================================== --- XoopsCore/releases/2.5.5-rc/htdocs/modules/system/language/english/help/tplsets.html 2012-04-02 14:56:15 UTC (rev 9228) +++ XoopsCore/releases/2.5.5-rc/htdocs/modules/system/language/english/help/tplsets.html 2012-04-02 15:25:55 UTC (rev 9229) @@ -12,7 +12,7 @@ How is the theme <em>magic</em> accomplished? That is, how can HTML templates include dynamic content? This is done not with mirrors and smoke, but with a clever template engine called <strong><a rel="external" href="http://www.smarty.net/">Smarty</a></strong> that makes the function of what used to be called <em><strong>variable interpolation</strong></em>. Expressed in a simple way, we could say that the XOOPS system uses PHP files to hold the logic of the modules (access to the database, allocation of variables, management of rights...), HTML files with Smarty variables inserted to manage the actual visual interface, and the Smarty engine to insert values and strings in specific places within the HTML that builds the pages seen by the end user. All in all, what this means to you can be easily summarized: thanks to its theming system, XOOPS lets site designers build more interesting and visually stunning sites without much concern about what happens under the hood. - +</p> <h4 class="odd">Cloning and downloading template sets</h4> <p class="even"> If you would like to create a custom template set you can make a copy of the default set (or any other) by selecting the ‘<em>clone</em>’ link (you will be prompted to give the new set a name). Unlike the default, other template sets can be freely edited. You can also save a copy of a template set to disk by selecting the ‘<em>download</em>’ link, or remove it with the ‘<em>delete</em>’ link. You may also sometimes see an additional ‘<em>Generate</em>’ link next to new modules for which templates have not yet been created. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-02 14:56:26
|
Revision: 9228 http://xoops.svn.sourceforge.net/xoops/?rev=9228&view=rev Author: beckmi Date: 2012-04-02 14:56:15 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Adding new icons Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/icons/32/face-smile.png XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/icons/32/penguin.png Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/icons/32/face-smile.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/icons/32/face-smile.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/icons/32/penguin.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/icons/32/penguin.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-02 14:38:55
|
Revision: 9227 http://xoops.svn.sourceforge.net/xoops/?rev=9227&view=rev Author: beckmi Date: 2012-04-02 14:38:44 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Updating translations for ModuleAdmin Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/french/main.php XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/russian/main.php Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2012-04-02 14:33:25 UTC (rev 9226) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2012-04-02 14:38:44 UTC (rev 9227) @@ -25,12 +25,6 @@ define('_AM_MODULEADMIN_CONFIG_DB','minimum version required: %s (your version is %s)'); define('_AM_MODULEADMIN_CONFIG_ADMIN','Minimum ModuleAdmin required: %s (your version is %s)'); -define("_AM_MODULEADMIN_HOME", "Home"); -define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); -define("_AM_MODULEADMIN_ABOUT", "About"); -define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); - - // About define('_AM_MODULEADMIN_ABOUT_CHANGELOG','Change log'); define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Description'); @@ -46,8 +40,10 @@ define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); //ModuleAdmin -define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); - - +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/french/main.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/french/main.php 2012-04-02 14:33:25 UTC (rev 9226) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/french/main.php 2012-04-02 14:38:44 UTC (rev 9227) @@ -33,4 +33,17 @@ define("_AM_MODULEADMIN_ABOUT_UPDATEDATE","Date de dernière mise à jour:"); define("_AM_MODULEADMIN_ABOUT_WEBSITE","Site:"); -?> \ No newline at end of file +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php 2012-04-02 14:33:25 UTC (rev 9226) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php 2012-04-02 14:38:44 UTC (rev 9227) @@ -33,4 +33,17 @@ define("_AM_MODULEADMIN_ABOUT_UPDATEDATE","Update-Datum:"); define("_AM_MODULEADMIN_ABOUT_WEBSITE","Website:"); -?> \ No newline at end of file +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/russian/main.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/russian/main.php 2012-04-02 14:33:25 UTC (rev 9226) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/russian/main.php 2012-04-02 14:38:44 UTC (rev 9227) @@ -34,4 +34,17 @@ define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Веб-сайт:"); define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Описание'); -?> \ No newline at end of file +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-02 14:33:36
|
Revision: 9226 http://xoops.svn.sourceforge.net/xoops/?rev=9226&view=rev Author: beckmi Date: 2012-04-02 14:33:25 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Updating translations for ModuleAdmin Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/docs/lang_diff.txt XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php Modified: XoopsCore/branches/2.5.x/2.5.5/docs/lang_diff.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/docs/lang_diff.txt 2012-04-02 10:49:56 UTC (rev 9225) +++ XoopsCore/branches/2.5.x/2.5.5/docs/lang_diff.txt 2012-04-02 14:33:25 UTC (rev 9226) @@ -2,7 +2,23 @@ ===================== Below are language differences from a version to next version. +=============================== +2012/04/02: Version 2.5.5 +=============================== +ADDED/DELETED DEFINES +/Frameworks/moduleclasses/moduleadmin/language/english/main.php +- added define("_AM_MODULEADMIN_HOME", "Home"); +- added define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +- added define("_AM_MODULEADMIN_ABOUT", "About"); +- added define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); +- added define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +- added define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +- added define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +- added define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +- added define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +- added define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + =============================== 2011/11/17: Version 2.5.4 =============================== Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2012-04-02 10:49:56 UTC (rev 9225) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2012-04-02 14:33:25 UTC (rev 9226) @@ -25,13 +25,29 @@ define('_AM_MODULEADMIN_CONFIG_DB','minimum version required: %s (your version is %s)'); define('_AM_MODULEADMIN_CONFIG_ADMIN','Minimum ModuleAdmin required: %s (your version is %s)'); +define("_AM_MODULEADMIN_HOME", "Home"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "About"); +define("_AM_MODULEADMIN_PERMISSIONS", "Permissions"); + // About define('_AM_MODULEADMIN_ABOUT_CHANGELOG','Change log'); define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Description'); define('_AM_MODULEADMIN_ABOUT_MODULEINFO','Module Info'); define('_AM_MODULEADMIN_ABOUT_MODULESTATUS','Status:'); -define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Update date:'); +define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Updated:'); define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Website:"); -?> \ No newline at end of file +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","License: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info"); + + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-04-02 10:50:03
|
Revision: 9225 http://xoops.svn.sourceforge.net/xoops/?rev=9225&view=rev Author: beckmi Date: 2012-04-02 10:49:56 +0000 (Mon, 02 Apr 2012) Log Message: ----------- Bug ID: 3432275 Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/help/maintenance.html XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/help/tplsets.html Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/help/maintenance.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/help/maintenance.html 2012-04-02 10:02:23 UTC (rev 9224) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/help/maintenance.html 2012-04-02 10:49:56 UTC (rev 9225) @@ -10,6 +10,5 @@ - empty the session table<br /> - perform maintenance of the database tables (analyze, check, optimize, and repair) <br /><br /> -You can also perform a "Dump" of the whole database or individual tables for backup purposes. - +You can also perform a "Dump" of the whole database or individual tables for backup purposes. </p> </div> \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/help/tplsets.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/help/tplsets.html 2012-04-02 10:02:23 UTC (rev 9224) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/help/tplsets.html 2012-04-02 10:49:56 UTC (rev 9225) @@ -12,7 +12,7 @@ How is the theme <em>magic</em> accomplished? That is, how can HTML templates include dynamic content? This is done not with mirrors and smoke, but with a clever template engine called <strong><a rel="external" href="http://www.smarty.net/">Smarty</a></strong> that makes the function of what used to be called <em><strong>variable interpolation</strong></em>. Expressed in a simple way, we could say that the XOOPS system uses PHP files to hold the logic of the modules (access to the database, allocation of variables, management of rights...), HTML files with Smarty variables inserted to manage the actual visual interface, and the Smarty engine to insert values and strings in specific places within the HTML that builds the pages seen by the end user. All in all, what this means to you can be easily summarized: thanks to its theming system, XOOPS lets site designers build more interesting and visually stunning sites without much concern about what happens under the hood. - +</p> <h4 class="odd">Cloning and downloading template sets</h4> <p class="even"> If you would like to create a custom template set you can make a copy of the default set (or any other) by selecting the ‘<em>clone</em>’ link (you will be prompted to give the new set a name). Unlike the default, other template sets can be freely edited. You can also save a copy of a template set to disk by selecting the ‘<em>download</em>’ link, or remove it with the ‘<em>delete</em>’ link. You may also sometimes see an additional ‘<em>Generate</em>’ link next to new modules for which templates have not yet been created. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |