You can subscribe to this list here.
2012 |
Jan
|
Feb
(214) |
Mar
(139) |
Apr
(198) |
May
(187) |
Jun
(151) |
Jul
(210) |
Aug
(169) |
Sep
(58) |
Oct
(53) |
Nov
(54) |
Dec
(301) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
(348) |
Feb
(178) |
Mar
(219) |
Apr
(154) |
May
(117) |
Jun
(194) |
Jul
(61) |
Aug
(132) |
Sep
(121) |
Oct
(110) |
Nov
(11) |
Dec
(18) |
2014 |
Jan
(34) |
Feb
(50) |
Mar
(82) |
Apr
(98) |
May
(39) |
Jun
(111) |
Jul
(67) |
Aug
(36) |
Sep
(33) |
Oct
(26) |
Nov
(53) |
Dec
(44) |
2015 |
Jan
(29) |
Feb
(47) |
Mar
(25) |
Apr
(19) |
May
(23) |
Jun
(20) |
Jul
(49) |
Aug
(7) |
Sep
(10) |
Oct
(10) |
Nov
(4) |
Dec
(25) |
2016 |
Jan
(8) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(7) |
Dec
(5) |
2017 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(15) |
Jun
|
Jul
(18) |
Aug
(24) |
Sep
|
Oct
(14) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
(22) |
Mar
|
Apr
(11) |
May
(1) |
Jun
(17) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(5) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <wis...@us...> - 2014-12-29 20:45:34
|
Revision: 12925 http://sourceforge.net/p/xoops/svn/12925 Author: wishcraft Date: 2014-12-29 20:45:12 +0000 (Mon, 29 Dec 2014) Log Message: ----------- Final Copy of Extreme Super Closest XOOPS 2.5 Theme! Modified Paths: -------------- XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_stylesheets.html XoopsThemes/extreme-super-closest/trunk/css/elements.css XoopsThemes/extreme-super-closest/trunk/xotpl/xo_stylesheets.html Modified: XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css 2014-12-29 20:23:10 UTC (rev 12924) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css 2014-12-29 20:45:12 UTC (rev 12925) @@ -23,7 +23,9 @@ { font-size: 1.125666em; font-family: sans-serif; font-family: 'Ubuntu Condensed', sans-serif; - min-hieght: 101%; + min-height: 101% !important;; + max-width: 100% !important;; + width: 100% !important; margin: 0px; padding: 0px; } @@ -41,7 +43,9 @@ -moz-opacity: 0.89; -khtml-opacity: 0.89; opacity: 0.89; - min-hieght: 101%; + min-height: 101% !important; + max-width: 100% !important; + width: 100% !important; margin: 0px; padding: 0px; } Modified: XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_stylesheets.html =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_stylesheets.html 2014-12-29 20:23:10 UTC (rev 12924) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_stylesheets.html 2014-12-29 20:45:12 UTC (rev 12925) @@ -60,8 +60,9 @@ z-index: 99998; background: rgba(11,22,11,0.89); display: none; - width: 100%; - min-height: 101%; + min-height: 101% !important; + max-width: 100% !important; + width: 100% !important; clear: none; } @@ -72,8 +73,9 @@ left: 0; top: 0; clear: none; - width: 100%; - min-height: 101%; + min-height: 101% !important; + max-width: 100% !important; + width: 100% !important; } #popupmission @@ -108,14 +110,14 @@ $colour = array(); foreach(array('one', 'two', 'three', 'four') as $key) { - $colour[$key]['red'] = mt_rand(200, 255); - $colour[$key]['green'] = mt_rand(200, 255); - $colour[$key]['blue'] = mt_rand(200, 255); + $colour[$key]['red'] = mt_rand(77, 222); + $colour[$key]['green'] = mt_rand(88, 177); + $colour[$key]['blue'] = mt_rand(111, 243); if (in_array($key, array('one'))) - $colour[$key]['heat'] = mt_rand(67, 99); + $colour[$key]['heat'] = mt_rand(47, 99); else - $colour[$key]['heat'] = mt_rand(67, 99); - $colour[$key]['opacity'] = (string)round(mt_rand(77, 99) / 100, 2); + $colour[$key]['heat'] = mt_rand(37, 99); + $colour[$key]['opacity'] = (string)round(mt_rand(36, 83) / 93, 2); } shuffle($modeskeys); $state = $modes[$modeskeys[mt_rand(0, count($modekeys)-1)]]; Modified: XoopsThemes/extreme-super-closest/trunk/css/elements.css =================================================================== --- XoopsThemes/extreme-super-closest/trunk/css/elements.css 2014-12-29 20:23:10 UTC (rev 12924) +++ XoopsThemes/extreme-super-closest/trunk/css/elements.css 2014-12-29 20:45:12 UTC (rev 12925) @@ -23,7 +23,9 @@ { font-size: 1.125666em; font-family: sans-serif; font-family: 'Ubuntu Condensed', sans-serif; - min-hieght: 101%; + min-height: 101% !important;; + max-width: 100% !important;; + width: 100% !important; margin: 0px; padding: 0px; } @@ -41,7 +43,9 @@ -moz-opacity: 0.89; -khtml-opacity: 0.89; opacity: 0.89; - min-hieght: 101%; + min-height: 101% !important; + max-width: 100% !important; + width: 100% !important; margin: 0px; padding: 0px; } Modified: XoopsThemes/extreme-super-closest/trunk/xotpl/xo_stylesheets.html =================================================================== --- XoopsThemes/extreme-super-closest/trunk/xotpl/xo_stylesheets.html 2014-12-29 20:23:10 UTC (rev 12924) +++ XoopsThemes/extreme-super-closest/trunk/xotpl/xo_stylesheets.html 2014-12-29 20:45:12 UTC (rev 12925) @@ -60,8 +60,9 @@ z-index: 99998; background: rgba(11,22,11,0.89); display: none; - width: 100%; - min-height: 101%; + min-height: 101% !important; + max-width: 100% !important; + width: 100% !important; clear: none; } @@ -72,8 +73,9 @@ left: 0; top: 0; clear: none; - width: 100%; - min-height: 101%; + min-height: 101% !important; + max-width: 100% !important; + width: 100% !important; } #popupmission @@ -108,14 +110,14 @@ $colour = array(); foreach(array('one', 'two', 'three', 'four') as $key) { - $colour[$key]['red'] = mt_rand(200, 255); - $colour[$key]['green'] = mt_rand(200, 255); - $colour[$key]['blue'] = mt_rand(200, 255); + $colour[$key]['red'] = mt_rand(77, 222); + $colour[$key]['green'] = mt_rand(88, 177); + $colour[$key]['blue'] = mt_rand(111, 243); if (in_array($key, array('one'))) - $colour[$key]['heat'] = mt_rand(67, 99); + $colour[$key]['heat'] = mt_rand(47, 99); else - $colour[$key]['heat'] = mt_rand(67, 99); - $colour[$key]['opacity'] = (string)round(mt_rand(77, 99) / 100, 2); + $colour[$key]['heat'] = mt_rand(37, 99); + $colour[$key]['opacity'] = (string)round(mt_rand(36, 83) / 93, 2); } shuffle($modeskeys); $state = $modes[$modeskeys[mt_rand(0, count($modekeys)-1)]]; |
From: <wis...@us...> - 2014-12-29 20:23:19
|
Revision: 12924 http://sourceforge.net/p/xoops/svn/12924 Author: wishcraft Date: 2014-12-29 20:23:10 +0000 (Mon, 29 Dec 2014) Log Message: ----------- Final Copy of Extreme Super Closest XOOPS 2.5 Theme! Added Paths: ----------- XoopsThemes/extreme-super-closest/releases/1.1.0/ XoopsThemes/extreme-super-closest/releases/1.1.0/css/ XoopsThemes/extreme-super-closest/releases/1.1.0/css/blocks.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/contents.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/extras.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/highlights.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/css/jplayer.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/leftcolumn.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/menus.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/nivo-slider.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/rightcolumn.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/specials.css XoopsThemes/extreme-super-closest/releases/1.1.0/css/styles.css XoopsThemes/extreme-super-closest/releases/1.1.0/icons/ XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/ XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/five/ XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/five/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/five/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/five/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/five/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/five/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/five/icon-56x56.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/five/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/five/icon.ico XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/five/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/four/ XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/four/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/four/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/four/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/four/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/four/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/four/icon-56x56.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/four/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/four/icon.ico XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/four/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/one/ XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/one/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/one/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/one/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/one/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/one/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/one/icon-56x56.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/one/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/one/icon.ico XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/one/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/six/ XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/six/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/six/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/six/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/six/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/six/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/six/icon-56x56.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/six/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/six/icon.ico XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/six/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/three/ XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/three/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/three/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/three/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/three/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/three/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/three/icon-52x52.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/three/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/three/icon.ico XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/three/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/two/ XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/two/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/two/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/two/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/two/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/two/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/two/icon-56x56.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/two/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/two/icon.ico XoopsThemes/extreme-super-closest/releases/1.1.0/icons/honey/two/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/icons/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/images/ XoopsThemes/extreme-super-closest/releases/1.1.0/images/Logo.psd XoopsThemes/extreme-super-closest/releases/1.1.0/images/Thumbs.db XoopsThemes/extreme-super-closest/releases/1.1.0/images/ajax-loader.gif XoopsThemes/extreme-super-closest/releases/1.1.0/images/arrows.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/b_c.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/b_l.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/b_r.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/bg-ad-top.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/bg.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/bg_top.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/bullets.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/c_l.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/c_r.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/close.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/contact_but.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/contact_icon.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/contact_input.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/contact_mess.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/date_bg.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/facebook.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/footer_bg.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/footer_bg_bot.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/footer_bg_top.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/footer_bot_border.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gal1.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gal2.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gal3.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gal4.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gal_bg.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gallery_bg.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gallery_big1.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gallery_big2.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gallery_big3.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gallery_big4.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gallery_bot.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/gallery_top.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/house.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/img1.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/img2.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/img3.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/img4.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/img5.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/img6.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/img7.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/images/jplayer.pink.flag.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/jplayer.pink.flag.seeking.gif XoopsThemes/extreme-super-closest/releases/1.1.0/images/jplayer.pink.flag.video.play.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/left_bg.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/left_bg_bot.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/left_bg_top.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/link_out.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/link_out_h.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/loading.gif XoopsThemes/extreme-super-closest/releases/1.1.0/images/location.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/logo.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/logo_bg.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/ls.gif XoopsThemes/extreme-super-closest/releases/1.1.0/images/ls2.gif XoopsThemes/extreme-super-closest/releases/1.1.0/images/menu_active1.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/menu_active2.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/menu_active3.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/menu_active4.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/menu_active5.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/menu_bg.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/monday.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/monday.seeking.gif XoopsThemes/extreme-super-closest/releases/1.1.0/images/monday.video.play.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/news.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/next.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/next_h.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/pagenav_bg.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/pagenav_select.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/pause.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/pause_h.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/phone.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/play.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/play_h.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/prev.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/prev_h.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/prew_bg.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/prew_button_left.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/prew_button_right.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/prew_img1.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/prew_img2.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/prew_img3.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/prew_img4.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/quote.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/right_bg.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/right_bg.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/right_bg_bot.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/right_bg_bot.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/right_bg_top.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/right_bg_top.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/rss.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/socialbookmark.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/style.css XoopsThemes/extreme-super-closest/releases/1.1.0/images/t_c.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/t_l.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/t_r.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/title_bg.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/title_footer.jpg XoopsThemes/extreme-super-closest/releases/1.1.0/images/twitter.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/yahoo.png XoopsThemes/extreme-super-closest/releases/1.1.0/images/youtube.png XoopsThemes/extreme-super-closest/releases/1.1.0/include/ XoopsThemes/extreme-super-closest/releases/1.1.0/include/functions.php XoopsThemes/extreme-super-closest/releases/1.1.0/include/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/js/ XoopsThemes/extreme-super-closest/releases/1.1.0/js/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/js/jquery.bpopup.min.js XoopsThemes/extreme-super-closest/releases/1.1.0/js/jquery.jplayer.min.js XoopsThemes/extreme-super-closest/releases/1.1.0/js/jquery.nivo.slider.pack.js XoopsThemes/extreme-super-closest/releases/1.1.0/js/pirobox.js XoopsThemes/extreme-super-closest/releases/1.1.0/js/popcorn.jplayer.js XoopsThemes/extreme-super-closest/releases/1.1.0/language/ XoopsThemes/extreme-super-closest/releases/1.1.0/language/english/ XoopsThemes/extreme-super-closest/releases/1.1.0/language/english/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/language/english/main.php XoopsThemes/extreme-super-closest/releases/1.1.0/language/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/license.txt XoopsThemes/extreme-super-closest/releases/1.1.0/modules/ XoopsThemes/extreme-super-closest/releases/1.1.0/modules/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/modules/system/ XoopsThemes/extreme-super-closest/releases/1.1.0/modules/system/blocks/ XoopsThemes/extreme-super-closest/releases/1.1.0/modules/system/blocks/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/modules/system/blocks/system_block_login.html XoopsThemes/extreme-super-closest/releases/1.1.0/modules/system/blocks/system_block_mainmenu.html XoopsThemes/extreme-super-closest/releases/1.1.0/modules/system/blocks/system_block_search.html XoopsThemes/extreme-super-closest/releases/1.1.0/modules/system/blocks/system_block_user.html XoopsThemes/extreme-super-closest/releases/1.1.0/modules/system/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/modules/system/system_redirect.html XoopsThemes/extreme-super-closest/releases/1.1.0/swf/ XoopsThemes/extreme-super-closest/releases/1.1.0/swf/Jplayer.swf XoopsThemes/extreme-super-closest/releases/1.1.0/swf/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/theme.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/ XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/index.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_block_center_c.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_block_center_l.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_block_center_r.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_block_left.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_block_right.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_footer.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_header.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_meta.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_radioo.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_rss.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_scripts.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_slider.html XoopsThemes/extreme-super-closest/releases/1.1.0/xotpl/xo_stylesheets.html XoopsThemes/extreme-super-closest/trunk/css/ XoopsThemes/extreme-super-closest/trunk/css/blocks.css XoopsThemes/extreme-super-closest/trunk/css/contents.css XoopsThemes/extreme-super-closest/trunk/css/elements.css XoopsThemes/extreme-super-closest/trunk/css/extras.css XoopsThemes/extreme-super-closest/trunk/css/highlights.css XoopsThemes/extreme-super-closest/trunk/css/index.html XoopsThemes/extreme-super-closest/trunk/css/jplayer.css XoopsThemes/extreme-super-closest/trunk/css/leftcolumn.css XoopsThemes/extreme-super-closest/trunk/css/menus.css XoopsThemes/extreme-super-closest/trunk/css/nivo-slider.css XoopsThemes/extreme-super-closest/trunk/css/rightcolumn.css XoopsThemes/extreme-super-closest/trunk/css/specials.css XoopsThemes/extreme-super-closest/trunk/css/styles.css XoopsThemes/extreme-super-closest/trunk/icons/ XoopsThemes/extreme-super-closest/trunk/icons/honey/ XoopsThemes/extreme-super-closest/trunk/icons/honey/five/ XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-56x56.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/honey/five/index.html XoopsThemes/extreme-super-closest/trunk/icons/honey/four/ XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-56x56.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/honey/four/index.html XoopsThemes/extreme-super-closest/trunk/icons/honey/index.html XoopsThemes/extreme-super-closest/trunk/icons/honey/one/ XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-56x56.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/honey/one/index.html XoopsThemes/extreme-super-closest/trunk/icons/honey/six/ XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-56x56.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/honey/six/index.html XoopsThemes/extreme-super-closest/trunk/icons/honey/three/ XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-52x52.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/honey/three/index.html XoopsThemes/extreme-super-closest/trunk/icons/honey/two/ XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-56x56.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/honey/two/index.html XoopsThemes/extreme-super-closest/trunk/icons/index.html XoopsThemes/extreme-super-closest/trunk/images/ XoopsThemes/extreme-super-closest/trunk/images/Logo.psd XoopsThemes/extreme-super-closest/trunk/images/Thumbs.db XoopsThemes/extreme-super-closest/trunk/images/ajax-loader.gif XoopsThemes/extreme-super-closest/trunk/images/arrows.png XoopsThemes/extreme-super-closest/trunk/images/b_c.png XoopsThemes/extreme-super-closest/trunk/images/b_l.png XoopsThemes/extreme-super-closest/trunk/images/b_r.png XoopsThemes/extreme-super-closest/trunk/images/bg-ad-top.png XoopsThemes/extreme-super-closest/trunk/images/bg.jpg XoopsThemes/extreme-super-closest/trunk/images/bg_top.jpg XoopsThemes/extreme-super-closest/trunk/images/bullets.png XoopsThemes/extreme-super-closest/trunk/images/c_l.png XoopsThemes/extreme-super-closest/trunk/images/c_r.png XoopsThemes/extreme-super-closest/trunk/images/close.png XoopsThemes/extreme-super-closest/trunk/images/contact_but.jpg XoopsThemes/extreme-super-closest/trunk/images/contact_icon.jpg XoopsThemes/extreme-super-closest/trunk/images/contact_input.jpg XoopsThemes/extreme-super-closest/trunk/images/contact_mess.jpg XoopsThemes/extreme-super-closest/trunk/images/date_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/facebook.png XoopsThemes/extreme-super-closest/trunk/images/footer_bg.png XoopsThemes/extreme-super-closest/trunk/images/footer_bg_bot.png XoopsThemes/extreme-super-closest/trunk/images/footer_bg_top.png XoopsThemes/extreme-super-closest/trunk/images/footer_bot_border.jpg XoopsThemes/extreme-super-closest/trunk/images/gal1.jpg XoopsThemes/extreme-super-closest/trunk/images/gal2.jpg XoopsThemes/extreme-super-closest/trunk/images/gal3.jpg XoopsThemes/extreme-super-closest/trunk/images/gal4.jpg XoopsThemes/extreme-super-closest/trunk/images/gal_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_big1.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_big2.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_big3.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_big4.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_bot.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_top.jpg XoopsThemes/extreme-super-closest/trunk/images/house.jpg XoopsThemes/extreme-super-closest/trunk/images/img1.jpg XoopsThemes/extreme-super-closest/trunk/images/img2.jpg XoopsThemes/extreme-super-closest/trunk/images/img3.jpg XoopsThemes/extreme-super-closest/trunk/images/img4.jpg XoopsThemes/extreme-super-closest/trunk/images/img5.jpg XoopsThemes/extreme-super-closest/trunk/images/img6.jpg XoopsThemes/extreme-super-closest/trunk/images/img7.jpg XoopsThemes/extreme-super-closest/trunk/images/index.html XoopsThemes/extreme-super-closest/trunk/images/jplayer.pink.flag.jpg XoopsThemes/extreme-super-closest/trunk/images/jplayer.pink.flag.seeking.gif XoopsThemes/extreme-super-closest/trunk/images/jplayer.pink.flag.video.play.png XoopsThemes/extreme-super-closest/trunk/images/left_bg.png XoopsThemes/extreme-super-closest/trunk/images/left_bg_bot.png XoopsThemes/extreme-super-closest/trunk/images/left_bg_top.png XoopsThemes/extreme-super-closest/trunk/images/link_out.png XoopsThemes/extreme-super-closest/trunk/images/link_out_h.png XoopsThemes/extreme-super-closest/trunk/images/loading.gif XoopsThemes/extreme-super-closest/trunk/images/location.jpg XoopsThemes/extreme-super-closest/trunk/images/logo.png XoopsThemes/extreme-super-closest/trunk/images/logo_bg.png XoopsThemes/extreme-super-closest/trunk/images/ls.gif XoopsThemes/extreme-super-closest/trunk/images/ls2.gif XoopsThemes/extreme-super-closest/trunk/images/menu_active1.jpg XoopsThemes/extreme-super-closest/trunk/images/menu_active2.jpg XoopsThemes/extreme-super-closest/trunk/images/menu_active3.jpg XoopsThemes/extreme-super-closest/trunk/images/menu_active4.jpg XoopsThemes/extreme-super-closest/trunk/images/menu_active5.jpg XoopsThemes/extreme-super-closest/trunk/images/menu_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/monday.jpg XoopsThemes/extreme-super-closest/trunk/images/monday.seeking.gif XoopsThemes/extreme-super-closest/trunk/images/monday.video.play.png XoopsThemes/extreme-super-closest/trunk/images/news.jpg XoopsThemes/extreme-super-closest/trunk/images/next.png XoopsThemes/extreme-super-closest/trunk/images/next_h.png XoopsThemes/extreme-super-closest/trunk/images/pagenav_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/pagenav_select.jpg XoopsThemes/extreme-super-closest/trunk/images/pause.png XoopsThemes/extreme-super-closest/trunk/images/pause_h.png XoopsThemes/extreme-super-closest/trunk/images/phone.jpg XoopsThemes/extreme-super-closest/trunk/images/play.png XoopsThemes/extreme-super-closest/trunk/images/play_h.png XoopsThemes/extreme-super-closest/trunk/images/prev.png XoopsThemes/extreme-super-closest/trunk/images/prev_h.png XoopsThemes/extreme-super-closest/trunk/images/prew_bg.png XoopsThemes/extreme-super-closest/trunk/images/prew_button_left.jpg XoopsThemes/extreme-super-closest/trunk/images/prew_button_right.jpg XoopsThemes/extreme-super-closest/trunk/images/prew_img1.jpg XoopsThemes/extreme-super-closest/trunk/images/prew_img2.jpg XoopsThemes/extreme-super-closest/trunk/images/prew_img3.jpg XoopsThemes/extreme-super-closest/trunk/images/prew_img4.jpg XoopsThemes/extreme-super-closest/trunk/images/quote.png XoopsThemes/extreme-super-closest/trunk/images/right_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/right_bg.png XoopsThemes/extreme-super-closest/trunk/images/right_bg_bot.jpg XoopsThemes/extreme-super-closest/trunk/images/right_bg_bot.png XoopsThemes/extreme-super-closest/trunk/images/right_bg_top.jpg XoopsThemes/extreme-super-closest/trunk/images/right_bg_top.png XoopsThemes/extreme-super-closest/trunk/images/rss.png XoopsThemes/extreme-super-closest/trunk/images/socialbookmark.png XoopsThemes/extreme-super-closest/trunk/images/style.css XoopsThemes/extreme-super-closest/trunk/images/t_c.png XoopsThemes/extreme-super-closest/trunk/images/t_l.png XoopsThemes/extreme-super-closest/trunk/images/t_r.png XoopsThemes/extreme-super-closest/trunk/images/title_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/title_footer.jpg XoopsThemes/extreme-super-closest/trunk/images/twitter.png XoopsThemes/extreme-super-closest/trunk/images/yahoo.png XoopsThemes/extreme-super-closest/trunk/images/youtube.png XoopsThemes/extreme-super-closest/trunk/include/ XoopsThemes/extreme-super-closest/trunk/include/functions.php XoopsThemes/extreme-super-closest/trunk/include/index.html XoopsThemes/extreme-super-closest/trunk/js/ XoopsThemes/extreme-super-closest/trunk/js/index.html XoopsThemes/extreme-super-closest/trunk/js/jquery.bpopup.min.js XoopsThemes/extreme-super-closest/trunk/js/jquery.jplayer.min.js XoopsThemes/extreme-super-closest/trunk/js/jquery.nivo.slider.pack.js XoopsThemes/extreme-super-closest/trunk/js/pirobox.js XoopsThemes/extreme-super-closest/trunk/js/popcorn.jplayer.js XoopsThemes/extreme-super-closest/trunk/language/ XoopsThemes/extreme-super-closest/trunk/language/english/ XoopsThemes/extreme-super-closest/trunk/language/english/index.html XoopsThemes/extreme-super-closest/trunk/language/english/main.php XoopsThemes/extreme-super-closest/trunk/language/index.html XoopsThemes/extreme-super-closest/trunk/license.txt XoopsThemes/extreme-super-closest/trunk/modules/ XoopsThemes/extreme-super-closest/trunk/modules/index.html XoopsThemes/extreme-super-closest/trunk/modules/system/ XoopsThemes/extreme-super-closest/trunk/modules/system/blocks/ XoopsThemes/extreme-super-closest/trunk/modules/system/blocks/index.html XoopsThemes/extreme-super-closest/trunk/modules/system/blocks/system_block_login.html XoopsThemes/extreme-super-closest/trunk/modules/system/blocks/system_block_mainmenu.html XoopsThemes/extreme-super-closest/trunk/modules/system/blocks/system_block_search.html XoopsThemes/extreme-super-closest/trunk/modules/system/blocks/system_block_user.html XoopsThemes/extreme-super-closest/trunk/modules/system/index.html XoopsThemes/extreme-super-closest/trunk/modules/system/system_redirect.html XoopsThemes/extreme-super-closest/trunk/swf/ XoopsThemes/extreme-super-closest/trunk/swf/Jplayer.swf XoopsThemes/extreme-super-closest/trunk/swf/index.html XoopsThemes/extreme-super-closest/trunk/theme.html XoopsThemes/extreme-super-closest/trunk/xotpl/ XoopsThemes/extreme-super-closest/trunk/xotpl/index.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_block_center_c.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_block_center_l.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_block_center_r.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_block_left.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_block_right.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_footer.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_header.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_meta.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_radioo.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_rss.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_scripts.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_slider.html XoopsThemes/extreme-super-closest/trunk/xotpl/xo_stylesheets.html Removed Paths: ------------- XoopsThemes/extreme-super-closest/trunk/css/ XoopsThemes/extreme-super-closest/trunk/icons/ XoopsThemes/extreme-super-closest/trunk/images/ XoopsThemes/extreme-super-closest/trunk/js/ XoopsThemes/extreme-super-closest/trunk/lib/ XoopsThemes/extreme-super-closest/trunk/license.txt XoopsThemes/extreme-super-closest/trunk/nivo-slider.css XoopsThemes/extreme-super-closest/trunk/styles.css XoopsThemes/extreme-super-closest/trunk/swf/ XoopsThemes/extreme-super-closest/trunk/theme.html XoopsThemes/extreme-super-closest/trunk/theme_blockcenter_c.html XoopsThemes/extreme-super-closest/trunk/theme_blockcenter_l.html XoopsThemes/extreme-super-closest/trunk/theme_blockcenter_r.html XoopsThemes/extreme-super-closest/trunk/theme_blockleft.html XoopsThemes/extreme-super-closest/trunk/theme_blockright.html Added: XoopsThemes/extreme-super-closest/releases/1.1.0/css/blocks.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/blocks.css (rev 0) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/blocks.css 2014-12-29 20:23:10 UTC (rev 12924) @@ -0,0 +1,29 @@ +/** + * Chronolabs Cooperative ~ Xortify Honeypot + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Coopertive (Australia) http://web.labs.coop + * @copyright Xortify Honeypot https://xortify.com + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xoops-theme + * @subpackage extreme-super-closest + * @author Simon Antony Roberts (wishcraft/mynamesnot/cej) - op...@ex... + */ + +@CHARSET "UTF-8"; + +#rightblock +{ + margin-top: 13.11112px; +} + +#leftblock +{ + margin-top: 9.999991px; +} \ No newline at end of file Added: XoopsThemes/extreme-super-closest/releases/1.1.0/css/contents.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/contents.css (rev 0) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/contents.css 2014-12-29 20:23:10 UTC (rev 12924) @@ -0,0 +1,120 @@ +/** + * Chronolabs Cooperative ~ Xortify Honeypot + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Coopertive (Australia) http://web.labs.coop + * @copyright Xortify Honeypot https://xortify.com + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xoops-theme + * @subpackage extreme-super-closest + * @author Simon Antony Roberts (wishcraft/mynamesnot/cej) - op...@ex... + */ + +@CHARSET "UTF-8"; + + + +#content{ + display: block; + color: #bbbeff; + font-style: normal !important; + font-weight: normal !important; + line-spacing: 1.32em; +} + + +#complete-length, .complete-length +{ + width: 96.765% !important; +} + +#content ol, #content ul { + margin-left: 21px !important; + list-style: disc !important; + list-color: RGB(196, 112, 210) !important; +} + + + +.text{ + padding: 10px 0px 0px 0px; +} + +.italic_style{ + font-style: italic; +} + +.read{ + float: right; + padding: 0px 10px 0px 0px; +} + +.read a{ + color: #c70000; + font-weight: normal; +} + +.read a:hover{ + color: #000000; +} + + + + +#content_bg +{ + padding: 16px; +} +/*footer2*/ + +#footer2 { + display: inline-block; + padding: 0px !important; + width: 972px; + margin-bottom: 42px; + margin-top: 27px; + min-height: inherant; + line-height: 0.986521em; + letter-spacing: 89%; + border-radius: 12px; + border: 2px solid #111111; + box-shadow: -4px 6px 11px #fefbfe; + margin-left: auto !important; + margin-right: auto !important; +} + +#footer2 a{ + color: #ffffff; +} + +#footer2 a:hover{ + color: #c70000; +} + +#footer2_top_text{ + padding: 12px; +} + +#footer2_top_text p{ + color: #efefef; +} + +.footer2_top_colum1{ + width: 29%; + float: left; + display: block; +} + +.footer2_top_colum2{ + width: 29%; + float: left; + padding: 0px; + display: block; +} + Added: XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css (rev 0) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/elements.css 2014-12-29 20:23:10 UTC (rev 12924) @@ -0,0 +1,240 @@ +/** + * Chronolabs Cooperative ~ Xortify Honeypot + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Coopertive (Australia) http://web.labs.coop + * @copyright Xortify Honeypot https://xortify.com + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xoops-theme + * @subpackage extreme-super-closest + * @author Simon Antony Roberts (wishcraft/mynamesnot/cej) - op...@ex... + */ + +@CHARSET "UTF-8"; + + +html +{ font-size: 1.125666em; + font-family: sans-serif; + font-family: 'Ubuntu Condensed', sans-serif; + min-hieght: 101%; + margin: 0px; + padding: 0px; +} + +body +{ + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=79)"; + filter: alpha(opacity=79); + line-height: 1.222337em; + color: #ffffff; + background: url(../images/bg.jpg); + text-align: justify; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=89)"; + filter: alpha(opacity=89); + -moz-opacity: 0.89; + -khtml-opacity: 0.89; + opacity: 0.89; + min-hieght: 101%; + margin: 0px; + padding: 0px; +} + + +img{ + padding: 0px; + border: none; + border-radius: 4px; +} + +a{ + color: #ae65fe; + text-decoration: none; + font-weight: 500; +} + +a:hover { + text-decoration: none; + font-weight: bold; + color: #c70000; + letter-spacing: -2px; +} + +h1 +{ + letter-spacing: -2px; +} + +h2, h3 +{ + letter-spacing: -2.75px; +} + +h4, h5 +{ + letter-spacing: -3.35px; +} + +h1 +{ + font-size: 215.1831%; + color: #feedcb; + font-style: italic; + font-weight: bold; + margin-top: 18px; + margin-bottom: 5px; +} + +h2 +{ + font-size: 181.1831%; + color: #feedcb; + font-style: italic; + font-weight: bold; + margin-top: 13px; + margin-bottom: 7px; +} + +h3 +{ + + font-size: 163.1831%; + color: #feedcb; + font-style: italic; + font-weight: normal; + background: url(../images/title_footer2.jpg) repeat-x bottom; + padding-bottom: 4px; + margin-bottom: 9px; +} + +h4 +{ + + font-size: 144.1831%; + color: #feedcb; + font-style: italic; + font-weight: normal; +} + + +h5 +{ + + font-size: 111.1831%; + color: #feedcb; + font-style: italic; + font-weight: normal; +} + + +ol, ul, label { + margin-bottom: 11px; + font-size: 123.138111%; + padding-top: 1px; + padding-bottom: 25px; + line-height: 0.986521em; + letter-spacing: 89%; + padding-right: 6px; +} + +p, blockquote { + margin: 0px !important; + padding-top: 11px; + padding-left: 5.69%; + padding-right: 8.9859%; + padding-bottom: 4px; + font-size: 135.99966331%; + line-height: 1.123em; + letter-spacing: -0.75px; +} + +input, select, checkbox, radio, textarea, blockquote, button, iframe { + font-name: inherit !important; + padding: 4px 3px 2px 4px; + margin: 3px 2px 3px 2px; + font-size: 101.122211%; + text-shadow: 3px 2px 2px #000111; + line-height: 0.986521em; + letter-spacing: 89%; + border-radius: 5px; + border: 2px solid #0ee111; + box-shadow: 2px 3px 3px #0ee111; +} + + +iframe +{ + box-shadow: 6px 4px 9px #0ee111 !important; + border: 5px solid #0ee111 !important; + margin-top: 7px !important; + margin-bottom: 8px !important; + margin-right: auto !important; + margin-left: auto !important; + width: 79% !important; + border-radius: 9px; +} + +embed +{ + text-align: center !important; + box-shadow: 6px 4px 9px #0ee111 !important; + background-color: #099111 !important; + margin-top: 15px !important; + margin-bottom: 8px !important; + margin-right: auto 2% !important; + margin-left: auto !important; + border-radius: 5px !important; + width: 235px !important; + border: 1px solid rgb(11, 11 11) !important; +} + +blockquote, textarea +{ + padding: 12px !important;; + background-color: #eeaeef !important; + color: rgb(40, 235, 99) !important; + font-weight: 700 !important; + margin-top: 15px; + margin-bottom: 4px; + margin-left: 13px; + margin-right: 49px; + border: 3px dash rgb(11, 11 11) !important; + text-shadow: 2px 4px 3px #786e99 !important; + box-shadow: 6px 4px 9px #0ee111 !important; + border-radius: 12px; + font-size: 76% !important; +} + + +form td, form input +{ + padding: 3px; +} + +tr .head +{ + width: 31.993213% !important; +} + +ul, ol { + margin-left: 11px; + letter-spacing: -2.433243px; + line-height: 0.76821em; + padding-right: 11.3353%; + display: block; +} + +li +{ + font-size: 81.998111%; + line-height: 1.121em; + display: block; + margin: 2px 0px 0px 0px !important; + padding: 6px 2px 2px 3px !important; +} Added: XoopsThemes/extreme-super-closest/releases/1.1.0/css/extras.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/extras.css (rev 0) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/extras.css 2014-12-29 20:23:10 UTC (rev 12924) @@ -0,0 +1,245 @@ +/** + * Chronolabs Cooperative ~ Xortify Honeypot + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Coopertive (Australia) http://web.labs.coop + * @copyright Xortify Honeypot https://xortify.com + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xoops-theme + * @subpackage extreme-super-closest + * @author Simon Antony Roberts (wishcraft/mynamesnot/cej) - op...@ex... + */ + +@CHARSET "UTF-8"; + +.news_top{ + clear: both; +} + +.layer_border{ +font-weight: bold; +font-size: 20px; +color: #066CB0; + background: url(../images/title_bg.jpg) repeat-x bottom; + padding-bottom: 3px; +} + +.news_top_left{ + background: url(../images/date_bg.jpg) no-repeat right; + width: 45px; + height: 42px; + float: left; + text-align: center; + margin: 5px 0px 0px 0px; +} + +.news_top_left .date_day{ + color: #ffffff; + + font-size: 111.1115%; + font-weight: normal; + padding-top: 8px; + line-height: 12px; +} + +.news_top_left .date_month{ + color: #ffffff; + + font-size: 111.1115%; + font-weight: normal; +} + +.news_top_right{ + float: left; + padding-left: 15px; + width: 529px; +} + +.title_post_left{ + float: left; +} + +.title_post_right{ + float: right; +} + +/*gallery*/ + + .gallery_top{ + background: url(../images/gallery_top.jpg) no-repeat; + height: 21px; + } + + .gallery_bg{ + background: url(../images/gallery_bg.jpg) repeat-y left; + padding: 0px 11px 0px 11px; + } + + .gallery_bot{ + background: url(../images/gallery_bot.jpg) no-repeat; + height: 21px; + } + + .gal{ + background: url(../images/gal_bg.jpg) no-repeat 0px 0px; + width: 457px; + height: 250px; + padding: 10px 10px 10px 10px; + float: left; + margin: 0px 10px 0px 10px; + } + + .gal h3{ + background: none; + margin-bottom: 0px; + } + + .gal_img{ + border: 1px solid #ffffff; + } + + .gal p{ + color: #ffffff; + } + + .razd{ + height: 10px; + clear: both; + } + + + +/*about*/ + +.date_news{ + text-decoration: underline; +} + +.news{ + padding: 10px 0px 20px 0px; +} + +/*contact*/ + +#contact_form fieldset { + border: none; + padding-top: 20px; +} + +#contact_form input { + margin-bottom: 5px; +} + +#contact-submit, #contact-clear{ + width: 74px; + height: 19px; + color: #efefef; + background: url(../images/contact_but.jpg); + background-repeat: no-repeat; + background-position: left bottom; + border: none; + + font-size: 111.1115%; + font-weight: normal; + font-style: italic; + margin-right: 40px; +} + +#con_name, #con_email, #con_website { + width: 571px; + height: 29px; + padding-top: 0px; + padding-left: 10px; + padding-right: 10px; + border: none; + background: url(../images/contact_input.jpg); + background-repeat: no-repeat; + background-position: left top; + color: #373636; + line-height: 29px; +} + +#con_mess { + width: 571px; + height: 103px; + padding-top: 4px; + padding-left: 10px; + padding-right: 10px; + padding-bottom: 15px; + border: none; + background: url(../images/contact_mess.jpg); + background-repeat: no-repeat; + background-position: left top; + color: #373636; + margin-bottom: 15px; + font-size: 111.1115%; +} + +.pad_left{ + padding-left: 30px; +} + +.contact_news{ + padding-top: 15px; +} + + +#prew_box{ + background: url(../images/prew_bg.png) no-repeat top left; + height: 329px; + padding: 11px; +} + +#prew_but_box{ + width: 76px; + margin: 0 auto; + height: 20px; + padding-top: 20px; +} + +#prew_but_left{ + float: left; +} + +#prew_but_right{ + float: right; +} + + + +.ls{ + list-style: none; + padding-left: 0px; +} + +.ls li{ + background: url(../images/ls.gif) no-repeat 0px 7px; + margin-bottom: 4px; + padding-left: 15px; +} + +.ls2{ + list-style: none; + padding-left: 0px; + padding-top: 5px; +} + +.ls2 li{ + background: url(../images/ls2.gif) no-repeat 0px 7px; + padding-bottom: 4px; + padding-left: 15px; +} + +.button_box{ + padding-top: 5px; +} + +.button_box a{ + padding-right: 20px; +} \ No newline at end of file Added: XoopsThemes/extreme-super-closest/releases/1.1.0/css/highlights.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/highlights.css (rev 0) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/highlights.css 2014-12-29 20:23:10 UTC (rev 12924) @@ -0,0 +1,151 @@ +/** + * Chronolabs Cooperative ~ Xortify Honeypot + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Coopertive (Australia) http://web.labs.coop + * @copyright Xortify Honeypot https://xortify.com + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xoops-theme + * @subpackage extreme-super-closest + * @author Simon Antony Roberts (wishcraft/mynamesnot/cej) - op...@ex... + */ + +@CHARSET "UTF-8"; + +th, th.head, thead { + background-color: #474036; + padding: 4px; + color: #fff; + text-align: center; + vertical-align : middle; + letter-spacing: -.5px; + font-weight: bold; + box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; + -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; + -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; +} +th.head a {} +th.head a:hover {} +.foot, tfoot { text-align: center;} +tbody {} +table.outer { + margin: .5em; + padding: 3px; + border-collapse: separate; +} +table td {padding: 3px;} +.outer {} +.head { font-weight: bold; vertical-align: top;} +.even {} +.odd {} +tr.even td {} +tr.odd td {} + +/* ===== codes and quotes ===== */ +.xoopsCode { + display: block; + max-height: 650px; + overflow: auto; + margin-left: .5em; + background-color: #eee; + padding: 6px; + color: inherit; + font-size: .9em; + color: inherit; + font-family: "Courier New",Courier,monospace; + border: 1px solid #787878; + width: 490px; +} +.xoopsQuote { + margin-left: .5em; + background: #fff url(../img/quote.png) no-repeat top left; + padding: .5em; + color: inherit; + font-family: Georgia; + font-size: .9em; + font-style: italic; + border: #787878 1px dotted; + width: 490px; +} +blockquote {font-style: italic; font-family: Georgia;} + +/* ===== articles (content-type in example) ===== */ +.item {} +.itemHead {} +.itemInfo { + padding: 1em 0 .5em 0; + text-align: left; + font-family: Arial, Helvetica, sans-serif; + font-size: .9em; + font-style: italic; +} +.itemInfo a { background-color: transparent; color: #94B301;} +.itemInfo a:hover {text-decoration: underline;} +.itemTitle { + background-color: #E06813; + padding: 8px 20px 8px 20px; + color: #fff; + letter-spacing: -.5px; + line-height: 2.3em; + font-size: 1.2em; + font-weight: bold; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; + -moz-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; + -webkit-box-shadow: 0 20px 10px -10px rgba(255,255,255,0.3) inset; +} +.itemTitle a {background-color: transparent; color: #fff;} +.itemTitle a:hover {} +.itemPoster {} +.itemPostDate {} +.itemStats {} +.itemBody {} +.itemText {} +.itemText:first-letter {} +.itemFoot { + padding: 1em 0 .5em 0; + text-align: right; + font-family: Arial, Helvetica, sans-serif; + font-style: italic; +} +.itemFoot a { background-color: transparent; color: #94B301;} +.itemFoot a:hover {} +.itemAdminLink {} +.itemPermaLink {} + +/* ===== forums (content-type in example) ===== */ +.comTitle { font-weight: bold;} +.comTitle a { background-color: transparent; color: #fff;} +.comTitle a:hover {text-decoration: underline;} +.comText { margin: .5em;} +.comUserStat { margin: 3px; padding: 2px; font-size: .85em; border: #ccc 1px solid; text-align: left; line-height:1.2em;} +.comUserStatCaption {} +.comUserStatus {} +.comUserRank {} +.comUserRankText {} +.comUserRankImg {} +.comUserName {} +.comUserImg { + margin: .5em; + background-color : #fff; + padding: .5em; + border: 1px solid #ccc; + border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + -khtml-border-radius: 10px; + box-shadow: 1px 2px 3px rgba(0,0,0,0.5); + -moz-box-shadow: 1px 2px 3px rgba(0,0,0,0.5); + -webkit-box-shadow: 1px 2px 3px rgba(0,0,0,0.5); +} +.comDate { font-size: .9em; font-style: italic; font-weight: normal;} +.comDateCaption {} +.signature {padding: .5em; font-size: .9em; font-style: italic;} Added: XoopsThemes/extreme-super-closest/releases/1.1.0/css/index.html =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/index.html (rev 0) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/index.html 2014-12-29 20:23:10 UTC (rev 12924) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsThemes/extreme-super-closest/releases/1.1.0/css/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsThemes/extreme-super-closest/releases/1.1.0/css/jplayer.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.1.0/css/jplayer.css (rev 0) +++ XoopsThemes/extreme-super-closest/releases/1.1.0/css/jplayer.css 2014-12-29 20:23:10 UTC (rev 12924) @@ -0,0 +1,574 @@ +/** + * Chronolabs Cooperative ~ Xortify Honeypot + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Coopertive (Australia) http://web.labs.coop + * @copyright Xortify Honeypot https://xortify.com + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xoops-theme + * @subpackage extreme-super-closest + * @author Simon Antony Roberts (wishcraft/mynamesnot/cej) - op...@ex... + */ + +.jp-audio *:focus, +.jp-audio-stream *:focus, +.jp-video *:focus { + /* Disable the browser focus highlighting. */ + outline: none; } + +.jp-audio button::-moz-focus-inner, +.jp-audio-stream button::-moz-focus-inner, +.jp-video button::-moz-focus-inner { + /* Disable the browser CSS3 focus highlighting. */ + border: 0; } + +.jp-audio, +.jp-audio-stream, +.jp-video { + font-size: 16px; + font-family: Verdana, Arial, sans-serif; + line-height: 1.6; + color: #fff; + border-top: 1px solid #554461; + border-left: 1px solid #554461; + border-right: 1px solid #180a1f; + border-bottom: 1px solid #180a1f; + background-color: #3a2a45; } + +.jp-audio { + width: 201px; + padding: 20px; } + +.jp-audio-stream { + width: 101px; + padding: 20px 20px 10px 20px; } + +.jp-video-270p { + width: 480px; } + +.jp-video-360p { + width: 640px; } + +.jp-video-full { + /* Rules for IE6 (full-screen) */ + width: 480px; + height: 270px; + /* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */ + position: static !important; + position: relative; } + +/* The z-index rule is defined in this manner to enable Popcorn plugins that add overlays to video area. EG. Subtitles. */ +.jp-video-full div div { + z-index: 1000; } + +.jp-video-full .jp-jplayer { + top: 0; + left: 0; + position: fixed !important; + position: relative; + /* Rules for IE6 (full-screen) */ + overflow: hidden; } + +.jp-video-full .jp-gui { + position: fixed !important; + position: static; + /* Rules for IE6 (full-screen) */ + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1001; + /* 1 layer above the others. */ } + +.jp-video-full .jp-interface { + position: absolute !important; + position: relative; + /* Rules for IE6 (full-screen) */ + bottom: 0; + left: 0; } + +.jp-interface { + position: relative; + width: 100%; + background-color: #3a2a45; + /* Required for the full screen */ } + +/* @group CONTROLS */ +.jp-video .jp-controls-holder { + clear: both; + width: 440px; + margin: 0 auto 10px auto; + position: relative; + overflow: hidden; } + +.jp-audio .jp-controls-holder { + height: 80px; } + +.jp-audio-stream .jp-controls-holder { + height: 50px; } + +.jp-controls { + background: url("../images/jplayer.pink.flag.jpg") 0 0 no-repeat; + padding: 1px 0 2px 1px; + overflow: hidden; + width: 201px; + height: 34px; } + +.jp-audio .jp-controls, +.jp-audio-stream .jp-controls { + margin: 0 auto; } + +.jp-audio-stream .jp-controls { + width: 100px; } + +.jp-video .jp-controls { + margin: 0 0 0 115px; + float: left; + display: inline; + /* need this to fix IE6 double margin */ } + +.jp-controls button { + display: block; + float: left; + overflow: hidden; + text-indent: -9999px; + height: 34px; + margin: 0 1px 2px 0; + padding: 0; + border: none; + cursor: pointer; } + +/* @group single player controls */ +.jp-type-single .jp-controls button { + width: 99px; } + +.jp-type-single .jp-play { + background: url("../images/jplayer.pink.flag.jpg") 0px -40px no-repeat; } + +.jp-type-single .jp-play:focus { + background: url("../images/jplayer.pink.flag.jpg") -100px -40px no-repeat; } + +.jp-state-playing .jp-type-single .jp-play { + background: url("../images/jplayer.pink.flag.jpg") 0px -120px no-repeat; } + +.jp-state-playing .jp-type-single .jp-play:focus { + background: url("../images/jplayer.pink.flag.jpg") -100px -120px no-repeat; } + +/* The right border is normally in the ul background image. */ +.jp-audio-stream .jp-play, +.jp-audio-stream .jp-pause { + border-right: 1px solid #180920; } + +.jp-type-single .jp-stop { + background: url("../images/jplayer.pink.flag.jpg") 0px -80px no-repeat; } + +.jp-type-single .jp-stop:focus { + background: url("../images/jplayer.pink.flag.jpg") -100px -80px no-repeat; } + +/* @end */ +/* @group playlist player controls */ +.jp-type-playlist .jp-controls button { + width: 49px; } + +.jp-type-playlist .jp-play { + background: url("../images/jplayer.pink.flag.jpg") -24px -40px no-repeat; } + +.jp-type-playlist .jp-play:focus { + background: url("../images/jplayer.pink.flag.jpg") -124px -40px no-repeat; } + +.jp-state-playing div.jp-type-playlist .jp-play { + background: url("../images/jplayer.pink.flag.jpg") -24px -120px no-repeat; } + +.jp-state-playing div.jp-type-playlist .jp-play:focus { + background: url("../images/jplayer.pink.flag.jpg") -124px -120px no-repeat; } + +.jp-type-playlist .jp-stop { + background: url("../images/jplayer.pink.flag.jpg") -24px -80px no-repeat; } + +.jp-type-playlist .jp-stop:focus { + background: url("../images/jplayer.pink.flag.jpg") -124px -80px no-repeat; } + +.jp-type-playlist .jp-previous { + background: url("../images/jplayer.pink.flag.jpg") -24px -200px no-repeat; } + +.jp-type-playlist .jp-previous:focus { + background: url("../images/jplayer.pink.flag.jpg") -124px -200px no-repeat; } + +.jp-type-playlist .jp-next { + background: url("../images/jplayer.pink.flag.jpg") -24px -160px no-repeat; } + +.jp-type-playlist .jp-next:focus { + background: url("../images/jplayer.pink.flag.jpg") -124px -160px no-repeat; } + +/* @end */ +/* @group TOGGLES */ +.jp-toggles { + padding: 0; + margin: 0 auto; + overflow: hidden; } + +.jp-audio .jp-toggles { + width: 55px; } + +.jp-audio .jp-type-single .jp-toggles { + width: 25px; } + +.jp-video .jp-toggles { ... [truncated message content] |
From: <be...@us...> - 2014-12-24 11:30:55
|
Revision: 12920 http://sourceforge.net/p/xoops/svn/12920 Author: beckmi Date: 2014-12-24 11:30:45 +0000 (Wed, 24 Dec 2014) Log Message: ----------- Add loading XoopsRequest Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php 2014-12-22 22:35:49 UTC (rev 12919) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php 2014-12-24 11:30:45 UTC (rev 12920) @@ -25,6 +25,7 @@ $GLOBALS['xoopsOption']['template_main'] = 'contact_index.tpl'; //unset($_SESSION); include $GLOBALS['xoops']->path("/header.php"); +xoops_load('XoopsRequest'); $op = XoopsRequest::getCmd('op', 'form', 'POST'); $department = XoopsRequest::getString('contact_department', '', 'GET'); |
From: <luc...@us...> - 2014-12-22 22:35:20
|
Revision: 12918 http://sourceforge.net/p/xoops/svn/12918 Author: luciorota Date: 2014-12-22 22:34:34 +0000 (Mon, 22 Dec 2014) Log Message: ----------- use xoops_load Modified Paths: -------------- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/accounts.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/bmh.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/catsubscr.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/mailinglist.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/task.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/template.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/header.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/accounts.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/accounts.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/accounts.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -224,7 +224,7 @@ // $accountsObjs = $xnewsletter->getHandler('accounts')->getAll($accountsCriteria); if ($accountsCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + xoops_load('xoopspagenav'); $pagenav = new XoopsPageNav($accountsCount, $limit, $start, 'start', 'op=list'); $pagenav = $pagenav->renderNav(4); } else { Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -56,7 +56,7 @@ $attachmentCriteria->setLimit($limit); // if ($attachmentCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + xoops_load('xoopspagenav'); $pagenav = new XoopsPageNav($attachmentCount, $limit, $start, 'start', 'op=list'); $pagenav = $pagenav->renderNav(4); } else { Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/bmh.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/bmh.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/bmh.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -228,7 +228,7 @@ $bhmCriteria->setLimit($limit); $bhmObjs = $xnewsletter->getHandler('bmh')->getAll($bhmCriteria); if ($bhmCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + xoops_load('xoopspagenav'); $pagenav = new XoopsPageNav($bhmCount, $limit, $start, 'start', 'op=list'); $pagenav = $pagenav->renderNav(4); } else { Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -57,7 +57,7 @@ $catCriteria->setLimit($limit); // if ($catCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + xoops_load('xoopspagenav'); $pagenav = new XoopsPageNav($catCount, $limit, $start, 'start', 'op=list'); $pagenav = $pagenav->renderNav(4); } else { Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/catsubscr.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/catsubscr.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/catsubscr.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -51,7 +51,7 @@ $catCriteria->setLimit($limit); $catObjs = $xnewsletter->getHandler('cat')->getAll($catCriteria); if ($catCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + xoops_load('xoopspagenav'); $pagenav = new XoopsPageNav($catCount, $limit, $start, 'start', 'op=list'); $pagenav = $pagenav->renderNav(4); } else { Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -129,7 +129,7 @@ $letters = $xnewsletter->getHandler('letter')->getObjects($letterCriteria, true, false); // as array // pagenav if ($letterCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + xoops_load('xoopspagenav'); $pagenav = new XoopsPageNav($letterCount, $limit, $start, 'start', 'op=list'); $pagenav = $pagenav->renderNav(); } else { Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/mailinglist.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/mailinglist.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/mailinglist.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -50,7 +50,7 @@ $mailinglistCriteria->setLimit($limit); $mailinglistObjs = $xnewsletter->getHandler('mailinglist')->getAll($mailinglistCriteria); if ($mailinglistCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + xoops_load('xoopspagenav'); $pagenav = new XoopsPageNav($mailinglistCount, $limit, $start, 'start', 'op=list'); $pagenav = $pagenav->renderNav(4); } else { Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -115,7 +115,7 @@ $letters = $xnewsletter->getHandler('letter')->getObjects($letterCriteria, true, false); // if ($protocolFilterCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + xoops_load('xoopspagenav'); $linklist = "op={$op}"; foreach ($filter_protocol_letter_ids as $filter_protocol_letter_id) { $linklist .= "&filter_protocol_letter_ids[]={$filter_protocol_letter_id}"; Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -159,7 +159,7 @@ $subscrObjs = $xnewsletter->getHandler('subscr')->getAll($subscrCriteria); $subscrs = $xnewsletter->getHandler('subscr')->getObjects($subscrCriteria, true, false); // as array if ($subsrFilterCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + xoops_load('xoopspagenav'); $linklist = "op={$op}"; $linklist .= "&filter_subscr_criteria={$filter_subscr_criteria}"; $linklist .= "&filter_subscr_firstname={$filter_subscr_firstname}"; Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/task.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/task.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/task.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -136,7 +136,7 @@ $letters = $xnewsletter->getHandler('letter')->getObjects($letterCriteria, true, false); // if ($taskFilterCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + xoops_load('xoopspagenav'); $linklist = "op={$op}"; foreach ($filter_task_letter_ids as $filter_task_letter_id) { $linklist .= "&filter_task_letter_ids[]={$filter_task_letter_id}"; Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/template.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/template.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/template.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -114,7 +114,7 @@ $templateCriteria->setLimit($limit); // if ($templateCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + xoops_load('xoopspagenav'); $pagenav = new XoopsPageNav($templateCount, $limit, $start, 'start', 'op=list'); $pagenav = $pagenav->renderNav(4); } else { Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/header.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/header.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/header.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -30,7 +30,7 @@ include_once dirname(dirname(__DIR__)) . '/mainfile.php'; include_once __DIR__ . '/include/common.php'; -include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; +xoops_load('xoopspagenav'); include_once XOOPS_ROOT_PATH . '/include/functions.php'; //Load languages Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php 2014-12-22 22:05:24 UTC (rev 12917) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php 2014-12-22 22:34:34 UTC (rev 12918) @@ -49,7 +49,7 @@ // About $modversion['module_status'] = 'Beta 1'; -$modversion['release_date'] = '2014/12/19'; +$modversion['release_date'] = '2014/12/22'; $modversion['module_website_url'] = 'wedega.com'; $modversion['module_website_name'] = 'Webdesign Gabor'; $modversion['min_php'] = '5.3.7'; |
From: <wis...@us...> - 2014-12-22 22:05:33
|
Revision: 12917 http://sourceforge.net/p/xoops/svn/12917 Author: wishcraft Date: 2014-12-22 22:05:24 +0000 (Mon, 22 Dec 2014) Log Message: ----------- Xortify.com & Sexting XOOPS Themes for 2.5 Added Paths: ----------- XoopsThemes/extreme-super-closest/ XoopsThemes/extreme-super-closest/releases/ XoopsThemes/extreme-super-closest/releases/1.0.1/ XoopsThemes/extreme-super-closest/releases/1.0.1/css/ XoopsThemes/extreme-super-closest/releases/1.0.1/css/jplayer.css XoopsThemes/extreme-super-closest/releases/1.0.1/icons/ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/.htaccess XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-56x56.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon.ico XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/four/ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/four/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/four/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/four/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/four/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/four/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/four/icon-56x56.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/four/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/four/icon.ico XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/one/ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/one/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/one/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/one/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/one/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/one/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/one/icon-56x56.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/one/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/one/icon.ico XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/six/ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/six/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/six/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/six/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/six/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/six/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/six/icon-56x56.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/six/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/six/icon.ico XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/three/ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/three/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/three/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/three/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/three/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/three/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/three/icon-52x52.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/three/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/three/icon.ico XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/two/ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/two/icon-114x114.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/two/icon-16x16.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/two/icon-24x24.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/two/icon-32x32.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/two/icon-48x48.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/two/icon-56x56.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/two/icon-72x72.png XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/two/icon.ico XoopsThemes/extreme-super-closest/releases/1.0.1/icons/index.php XoopsThemes/extreme-super-closest/releases/1.0.1/icons/random.php XoopsThemes/extreme-super-closest/releases/1.0.1/images/ XoopsThemes/extreme-super-closest/releases/1.0.1/images/Logo.psd XoopsThemes/extreme-super-closest/releases/1.0.1/images/Thumbs.db XoopsThemes/extreme-super-closest/releases/1.0.1/images/ajax-loader.gif XoopsThemes/extreme-super-closest/releases/1.0.1/images/arrows.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/b_c.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/b_l.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/b_r.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/bg-ad-top.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/bg.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/bg_top.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/bullets.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/c_l.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/c_r.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/close.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/contact_but.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/contact_icon.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/contact_input.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/contact_mess.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/date_bg.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/facebook.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/footer_bg.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/footer_bg_bot.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/footer_bg_top.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/footer_bot_border.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gal1.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gal2.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gal3.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gal4.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gal_bg.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gallery_bg.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gallery_big1.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gallery_big2.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gallery_big3.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gallery_big4.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gallery_bot.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/gallery_top.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/house.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/img1.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/img2.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/img3.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/img4.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/img5.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/img6.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/img7.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/index.html XoopsThemes/extreme-super-closest/releases/1.0.1/images/jplayer.pink.flag.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/jplayer.pink.flag.seeking.gif XoopsThemes/extreme-super-closest/releases/1.0.1/images/jplayer.pink.flag.video.play.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/left_bg.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/left_bg_bot.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/left_bg_top.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/link_out.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/link_out_h.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/loading.gif XoopsThemes/extreme-super-closest/releases/1.0.1/images/location.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/logo.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/logo_bg.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/ls.gif XoopsThemes/extreme-super-closest/releases/1.0.1/images/ls2.gif XoopsThemes/extreme-super-closest/releases/1.0.1/images/menu_active1.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/menu_active2.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/menu_active3.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/menu_active4.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/menu_active5.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/menu_bg.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/monday.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/monday.seeking.gif XoopsThemes/extreme-super-closest/releases/1.0.1/images/monday.video.play.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/news.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/next.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/next_h.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/pagenav_bg.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/pagenav_select.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/pause.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/pause_h.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/phone.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/play.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/play_h.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/prev.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/prev_h.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/prew_bg.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/prew_button_left.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/prew_button_right.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/prew_img1.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/prew_img2.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/prew_img3.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/prew_img4.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/quote.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/right_bg.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/right_bg.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/right_bg_bot.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/right_bg_bot.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/right_bg_top.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/right_bg_top.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/rss.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/socialbookmark.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/style.css XoopsThemes/extreme-super-closest/releases/1.0.1/images/t_c.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/t_l.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/t_r.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/title_bg.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/title_footer.jpg XoopsThemes/extreme-super-closest/releases/1.0.1/images/twitter.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/yahoo.png XoopsThemes/extreme-super-closest/releases/1.0.1/images/youtube.png XoopsThemes/extreme-super-closest/releases/1.0.1/js/ XoopsThemes/extreme-super-closest/releases/1.0.1/js/jquery.bpopup.min.js XoopsThemes/extreme-super-closest/releases/1.0.1/js/jquery.jplayer.min.js XoopsThemes/extreme-super-closest/releases/1.0.1/js/popcorn.jplayer.js XoopsThemes/extreme-super-closest/releases/1.0.1/lib/ XoopsThemes/extreme-super-closest/releases/1.0.1/lib/jquery-1.3.2.min.js XoopsThemes/extreme-super-closest/releases/1.0.1/lib/jquery-1.4.3.min.js XoopsThemes/extreme-super-closest/releases/1.0.1/lib/jquery.nivo.slider.pack.js XoopsThemes/extreme-super-closest/releases/1.0.1/lib/pirobox.js XoopsThemes/extreme-super-closest/releases/1.0.1/license.txt XoopsThemes/extreme-super-closest/releases/1.0.1/nivo-slider.css XoopsThemes/extreme-super-closest/releases/1.0.1/styles.css XoopsThemes/extreme-super-closest/releases/1.0.1/swf/ XoopsThemes/extreme-super-closest/releases/1.0.1/swf/Jplayer.swf XoopsThemes/extreme-super-closest/releases/1.0.1/theme.html XoopsThemes/extreme-super-closest/releases/1.0.1/theme_blockcenter_c.html XoopsThemes/extreme-super-closest/releases/1.0.1/theme_blockcenter_l.html XoopsThemes/extreme-super-closest/releases/1.0.1/theme_blockcenter_r.html XoopsThemes/extreme-super-closest/releases/1.0.1/theme_blockleft.html XoopsThemes/extreme-super-closest/releases/1.0.1/theme_blockright.html XoopsThemes/extreme-super-closest/trunk/ XoopsThemes/extreme-super-closest/trunk/css/ XoopsThemes/extreme-super-closest/trunk/css/jplayer.css XoopsThemes/extreme-super-closest/trunk/icons/ XoopsThemes/extreme-super-closest/trunk/icons/.htaccess XoopsThemes/extreme-super-closest/trunk/icons/honey/ XoopsThemes/extreme-super-closest/trunk/icons/honey/five/ XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-56x56.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/five/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/honey/four/ XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-56x56.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/four/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/honey/one/ XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-56x56.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/one/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/honey/six/ XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-56x56.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/six/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/honey/three/ XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-52x52.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/three/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/honey/two/ XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-114x114.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-16x16.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-24x24.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-32x32.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-48x48.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-56x56.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon-72x72.png XoopsThemes/extreme-super-closest/trunk/icons/honey/two/icon.ico XoopsThemes/extreme-super-closest/trunk/icons/index.php XoopsThemes/extreme-super-closest/trunk/icons/random.php XoopsThemes/extreme-super-closest/trunk/images/ XoopsThemes/extreme-super-closest/trunk/images/Logo.psd XoopsThemes/extreme-super-closest/trunk/images/Thumbs.db XoopsThemes/extreme-super-closest/trunk/images/ajax-loader.gif XoopsThemes/extreme-super-closest/trunk/images/arrows.png XoopsThemes/extreme-super-closest/trunk/images/b_c.png XoopsThemes/extreme-super-closest/trunk/images/b_l.png XoopsThemes/extreme-super-closest/trunk/images/b_r.png XoopsThemes/extreme-super-closest/trunk/images/bg-ad-top.png XoopsThemes/extreme-super-closest/trunk/images/bg.jpg XoopsThemes/extreme-super-closest/trunk/images/bg_top.jpg XoopsThemes/extreme-super-closest/trunk/images/bullets.png XoopsThemes/extreme-super-closest/trunk/images/c_l.png XoopsThemes/extreme-super-closest/trunk/images/c_r.png XoopsThemes/extreme-super-closest/trunk/images/close.png XoopsThemes/extreme-super-closest/trunk/images/contact_but.jpg XoopsThemes/extreme-super-closest/trunk/images/contact_icon.jpg XoopsThemes/extreme-super-closest/trunk/images/contact_input.jpg XoopsThemes/extreme-super-closest/trunk/images/contact_mess.jpg XoopsThemes/extreme-super-closest/trunk/images/date_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/facebook.png XoopsThemes/extreme-super-closest/trunk/images/footer_bg.png XoopsThemes/extreme-super-closest/trunk/images/footer_bg_bot.png XoopsThemes/extreme-super-closest/trunk/images/footer_bg_top.png XoopsThemes/extreme-super-closest/trunk/images/footer_bot_border.jpg XoopsThemes/extreme-super-closest/trunk/images/gal1.jpg XoopsThemes/extreme-super-closest/trunk/images/gal2.jpg XoopsThemes/extreme-super-closest/trunk/images/gal3.jpg XoopsThemes/extreme-super-closest/trunk/images/gal4.jpg XoopsThemes/extreme-super-closest/trunk/images/gal_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_big1.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_big2.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_big3.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_big4.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_bot.jpg XoopsThemes/extreme-super-closest/trunk/images/gallery_top.jpg XoopsThemes/extreme-super-closest/trunk/images/house.jpg XoopsThemes/extreme-super-closest/trunk/images/img1.jpg XoopsThemes/extreme-super-closest/trunk/images/img2.jpg XoopsThemes/extreme-super-closest/trunk/images/img3.jpg XoopsThemes/extreme-super-closest/trunk/images/img4.jpg XoopsThemes/extreme-super-closest/trunk/images/img5.jpg XoopsThemes/extreme-super-closest/trunk/images/img6.jpg XoopsThemes/extreme-super-closest/trunk/images/img7.jpg XoopsThemes/extreme-super-closest/trunk/images/index.html XoopsThemes/extreme-super-closest/trunk/images/jplayer.pink.flag.jpg XoopsThemes/extreme-super-closest/trunk/images/jplayer.pink.flag.seeking.gif XoopsThemes/extreme-super-closest/trunk/images/jplayer.pink.flag.video.play.png XoopsThemes/extreme-super-closest/trunk/images/left_bg.png XoopsThemes/extreme-super-closest/trunk/images/left_bg_bot.png XoopsThemes/extreme-super-closest/trunk/images/left_bg_top.png XoopsThemes/extreme-super-closest/trunk/images/link_out.png XoopsThemes/extreme-super-closest/trunk/images/link_out_h.png XoopsThemes/extreme-super-closest/trunk/images/loading.gif XoopsThemes/extreme-super-closest/trunk/images/location.jpg XoopsThemes/extreme-super-closest/trunk/images/logo.png XoopsThemes/extreme-super-closest/trunk/images/logo_bg.png XoopsThemes/extreme-super-closest/trunk/images/ls.gif XoopsThemes/extreme-super-closest/trunk/images/ls2.gif XoopsThemes/extreme-super-closest/trunk/images/menu_active1.jpg XoopsThemes/extreme-super-closest/trunk/images/menu_active2.jpg XoopsThemes/extreme-super-closest/trunk/images/menu_active3.jpg XoopsThemes/extreme-super-closest/trunk/images/menu_active4.jpg XoopsThemes/extreme-super-closest/trunk/images/menu_active5.jpg XoopsThemes/extreme-super-closest/trunk/images/menu_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/monday.jpg XoopsThemes/extreme-super-closest/trunk/images/monday.seeking.gif XoopsThemes/extreme-super-closest/trunk/images/monday.video.play.png XoopsThemes/extreme-super-closest/trunk/images/news.jpg XoopsThemes/extreme-super-closest/trunk/images/next.png XoopsThemes/extreme-super-closest/trunk/images/next_h.png XoopsThemes/extreme-super-closest/trunk/images/pagenav_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/pagenav_select.jpg XoopsThemes/extreme-super-closest/trunk/images/pause.png XoopsThemes/extreme-super-closest/trunk/images/pause_h.png XoopsThemes/extreme-super-closest/trunk/images/phone.jpg XoopsThemes/extreme-super-closest/trunk/images/play.png XoopsThemes/extreme-super-closest/trunk/images/play_h.png XoopsThemes/extreme-super-closest/trunk/images/prev.png XoopsThemes/extreme-super-closest/trunk/images/prev_h.png XoopsThemes/extreme-super-closest/trunk/images/prew_bg.png XoopsThemes/extreme-super-closest/trunk/images/prew_button_left.jpg XoopsThemes/extreme-super-closest/trunk/images/prew_button_right.jpg XoopsThemes/extreme-super-closest/trunk/images/prew_img1.jpg XoopsThemes/extreme-super-closest/trunk/images/prew_img2.jpg XoopsThemes/extreme-super-closest/trunk/images/prew_img3.jpg XoopsThemes/extreme-super-closest/trunk/images/prew_img4.jpg XoopsThemes/extreme-super-closest/trunk/images/quote.png XoopsThemes/extreme-super-closest/trunk/images/right_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/right_bg.png XoopsThemes/extreme-super-closest/trunk/images/right_bg_bot.jpg XoopsThemes/extreme-super-closest/trunk/images/right_bg_bot.png XoopsThemes/extreme-super-closest/trunk/images/right_bg_top.jpg XoopsThemes/extreme-super-closest/trunk/images/right_bg_top.png XoopsThemes/extreme-super-closest/trunk/images/rss.png XoopsThemes/extreme-super-closest/trunk/images/socialbookmark.png XoopsThemes/extreme-super-closest/trunk/images/style.css XoopsThemes/extreme-super-closest/trunk/images/t_c.png XoopsThemes/extreme-super-closest/trunk/images/t_l.png XoopsThemes/extreme-super-closest/trunk/images/t_r.png XoopsThemes/extreme-super-closest/trunk/images/title_bg.jpg XoopsThemes/extreme-super-closest/trunk/images/title_footer.jpg XoopsThemes/extreme-super-closest/trunk/images/twitter.png XoopsThemes/extreme-super-closest/trunk/images/yahoo.png XoopsThemes/extreme-super-closest/trunk/images/youtube.png XoopsThemes/extreme-super-closest/trunk/js/ XoopsThemes/extreme-super-closest/trunk/js/jquery.bpopup.min.js XoopsThemes/extreme-super-closest/trunk/js/jquery.jplayer.min.js XoopsThemes/extreme-super-closest/trunk/js/popcorn.jplayer.js XoopsThemes/extreme-super-closest/trunk/lib/ XoopsThemes/extreme-super-closest/trunk/lib/jquery-1.3.2.min.js XoopsThemes/extreme-super-closest/trunk/lib/jquery-1.4.3.min.js XoopsThemes/extreme-super-closest/trunk/lib/jquery.nivo.slider.pack.js XoopsThemes/extreme-super-closest/trunk/lib/pirobox.js XoopsThemes/extreme-super-closest/trunk/license.txt XoopsThemes/extreme-super-closest/trunk/nivo-slider.css XoopsThemes/extreme-super-closest/trunk/styles.css XoopsThemes/extreme-super-closest/trunk/swf/ XoopsThemes/extreme-super-closest/trunk/swf/Jplayer.swf XoopsThemes/extreme-super-closest/trunk/theme.html XoopsThemes/extreme-super-closest/trunk/theme_blockcenter_c.html XoopsThemes/extreme-super-closest/trunk/theme_blockcenter_l.html XoopsThemes/extreme-super-closest/trunk/theme_blockcenter_r.html XoopsThemes/extreme-super-closest/trunk/theme_blockleft.html XoopsThemes/extreme-super-closest/trunk/theme_blockright.html XoopsThemes/sexting/ XoopsThemes/sexting/releases/ XoopsThemes/sexting/releases/1.0.1/ XoopsThemes/sexting/releases/1.0.1/css/ XoopsThemes/sexting/releases/1.0.1/css/backgrounds.php XoopsThemes/sexting/releases/1.0.1/css/index.html XoopsThemes/sexting/releases/1.0.1/css/jplayer.css XoopsThemes/sexting/releases/1.0.1/css/style.css XoopsThemes/sexting/releases/1.0.1/css/styleMAC.css XoopsThemes/sexting/releases/1.0.1/css/styleNN.css XoopsThemes/sexting/releases/1.0.1/favicon.ico XoopsThemes/sexting/releases/1.0.1/icon-114x114.png XoopsThemes/sexting/releases/1.0.1/icon-48x48.png XoopsThemes/sexting/releases/1.0.1/icon-56x56.png XoopsThemes/sexting/releases/1.0.1/icon-72x72.png XoopsThemes/sexting/releases/1.0.1/images/ XoopsThemes/sexting/releases/1.0.1/images/Logo.psd XoopsThemes/sexting/releases/1.0.1/images/Thumbs.db XoopsThemes/sexting/releases/1.0.1/images/ajax-loader.gif XoopsThemes/sexting/releases/1.0.1/images/arrows.png XoopsThemes/sexting/releases/1.0.1/images/b_c.png XoopsThemes/sexting/releases/1.0.1/images/b_l.png XoopsThemes/sexting/releases/1.0.1/images/b_r.png XoopsThemes/sexting/releases/1.0.1/images/bg-ad-top.png XoopsThemes/sexting/releases/1.0.1/images/bg.jpg XoopsThemes/sexting/releases/1.0.1/images/bg_top.jpg XoopsThemes/sexting/releases/1.0.1/images/bullets.png XoopsThemes/sexting/releases/1.0.1/images/c_l.png XoopsThemes/sexting/releases/1.0.1/images/c_r.png XoopsThemes/sexting/releases/1.0.1/images/close.png XoopsThemes/sexting/releases/1.0.1/images/contact_but.jpg XoopsThemes/sexting/releases/1.0.1/images/contact_icon.jpg XoopsThemes/sexting/releases/1.0.1/images/contact_input.jpg XoopsThemes/sexting/releases/1.0.1/images/contact_mess.jpg XoopsThemes/sexting/releases/1.0.1/images/date_bg.jpg XoopsThemes/sexting/releases/1.0.1/images/facebook.png XoopsThemes/sexting/releases/1.0.1/images/footer_bg.png XoopsThemes/sexting/releases/1.0.1/images/footer_bg_bot.png XoopsThemes/sexting/releases/1.0.1/images/footer_bg_top.png XoopsThemes/sexting/releases/1.0.1/images/footer_bot_border.jpg XoopsThemes/sexting/releases/1.0.1/images/gal1.jpg XoopsThemes/sexting/releases/1.0.1/images/gal2.jpg XoopsThemes/sexting/releases/1.0.1/images/gal3.jpg XoopsThemes/sexting/releases/1.0.1/images/gal4.jpg XoopsThemes/sexting/releases/1.0.1/images/gal_bg.jpg XoopsThemes/sexting/releases/1.0.1/images/gallery_bg.jpg XoopsThemes/sexting/releases/1.0.1/images/gallery_big1.jpg XoopsThemes/sexting/releases/1.0.1/images/gallery_big2.jpg XoopsThemes/sexting/releases/1.0.1/images/gallery_big3.jpg XoopsThemes/sexting/releases/1.0.1/images/gallery_big4.jpg XoopsThemes/sexting/releases/1.0.1/images/gallery_bot.jpg XoopsThemes/sexting/releases/1.0.1/images/gallery_top.jpg XoopsThemes/sexting/releases/1.0.1/images/house.jpg XoopsThemes/sexting/releases/1.0.1/images/img1.jpg XoopsThemes/sexting/releases/1.0.1/images/img2.jpg XoopsThemes/sexting/releases/1.0.1/images/img3.jpg XoopsThemes/sexting/releases/1.0.1/images/img4.jpg XoopsThemes/sexting/releases/1.0.1/images/img5.jpg XoopsThemes/sexting/releases/1.0.1/images/img6.jpg XoopsThemes/sexting/releases/1.0.1/images/img7.jpg XoopsThemes/sexting/releases/1.0.1/images/index.html XoopsThemes/sexting/releases/1.0.1/images/jplayer.pink.flag.jpg XoopsThemes/sexting/releases/1.0.1/images/jplayer.pink.flag.seeking.gif XoopsThemes/sexting/releases/1.0.1/images/jplayer.pink.flag.video.play.png XoopsThemes/sexting/releases/1.0.1/images/left_bg.png XoopsThemes/sexting/releases/1.0.1/images/left_bg_bot.png XoopsThemes/sexting/releases/1.0.1/images/left_bg_top.png XoopsThemes/sexting/releases/1.0.1/images/link_out.png XoopsThemes/sexting/releases/1.0.1/images/link_out_h.png XoopsThemes/sexting/releases/1.0.1/images/loading.gif XoopsThemes/sexting/releases/1.0.1/images/location.jpg XoopsThemes/sexting/releases/1.0.1/images/logo.png XoopsThemes/sexting/releases/1.0.1/images/logo_bg.png XoopsThemes/sexting/releases/1.0.1/images/ls.gif XoopsThemes/sexting/releases/1.0.1/images/ls2.gif XoopsThemes/sexting/releases/1.0.1/images/menu_active1.jpg XoopsThemes/sexting/releases/1.0.1/images/menu_active2.jpg XoopsThemes/sexting/releases/1.0.1/images/menu_active3.jpg XoopsThemes/sexting/releases/1.0.1/images/menu_active4.jpg XoopsThemes/sexting/releases/1.0.1/images/menu_active5.jpg XoopsThemes/sexting/releases/1.0.1/images/menu_bg.jpg XoopsThemes/sexting/releases/1.0.1/images/monday.jpg XoopsThemes/sexting/releases/1.0.1/images/monday.seeking.gif XoopsThemes/sexting/releases/1.0.1/images/monday.video.play.png XoopsThemes/sexting/releases/1.0.1/images/news.jpg XoopsThemes/sexting/releases/1.0.1/images/next.png XoopsThemes/sexting/releases/1.0.1/images/next_h.png XoopsThemes/sexting/releases/1.0.1/images/pagenav_bg.jpg XoopsThemes/sexting/releases/1.0.1/images/pagenav_select.jpg XoopsThemes/sexting/releases/1.0.1/images/pause.png XoopsThemes/sexting/releases/1.0.1/images/pause_h.png XoopsThemes/sexting/releases/1.0.1/images/phone.jpg XoopsThemes/sexting/releases/1.0.1/images/play.png XoopsThemes/sexting/releases/1.0.1/images/play_h.png XoopsThemes/sexting/releases/1.0.1/images/prev.png XoopsThemes/sexting/releases/1.0.1/images/prev_h.png XoopsThemes/sexting/releases/1.0.1/images/prew_bg.png XoopsThemes/sexting/releases/1.0.1/images/prew_button_left.jpg XoopsThemes/sexting/releases/1.0.1/images/prew_button_right.jpg XoopsThemes/sexting/releases/1.0.1/images/prew_img1.jpg XoopsThemes/sexting/releases/1.0.1/images/prew_img2.jpg XoopsThemes/sexting/releases/1.0.1/images/prew_img3.jpg XoopsThemes/sexting/releases/1.0.1/images/prew_img4.jpg XoopsThemes/sexting/releases/1.0.1/images/quote.png XoopsThemes/sexting/releases/1.0.1/images/right_bg.jpg XoopsThemes/sexting/releases/1.0.1/images/right_bg.png XoopsThemes/sexting/releases/1.0.1/images/right_bg_bot.jpg XoopsThemes/sexting/releases/1.0.1/images/right_bg_bot.png XoopsThemes/sexting/releases/1.0.1/images/right_bg_top.jpg XoopsThemes/sexting/releases/1.0.1/images/right_bg_top.png XoopsThemes/sexting/releases/1.0.1/images/rss.png XoopsThemes/sexting/releases/1.0.1/images/socialbookmark.png XoopsThemes/sexting/releases/1.0.1/images/style.css XoopsThemes/sexting/releases/1.0.1/images/t_c.png XoopsThemes/sexting/releases/1.0.1/images/t_l.png XoopsThemes/sexting/releases/1.0.1/images/t_r.png XoopsThemes/sexting/releases/1.0.1/images/title_bg.jpg XoopsThemes/sexting/releases/1.0.1/images/title_footer.jpg XoopsThemes/sexting/releases/1.0.1/images/twitter.png XoopsThemes/sexting/releases/1.0.1/images/yahoo.png XoopsThemes/sexting/releases/1.0.1/images/youtube.png XoopsThemes/sexting/releases/1.0.1/index.html XoopsThemes/sexting/releases/1.0.1/jq/ XoopsThemes/sexting/releases/1.0.1/jq/._pulse.jquery.js XoopsThemes/sexting/releases/1.0.1/jq/background_slideshow.php XoopsThemes/sexting/releases/1.0.1/jq/easing.js XoopsThemes/sexting/releases/1.0.1/jq/index.html XoopsThemes/sexting/releases/1.0.1/jq/jquery.bgswitcher.js XoopsThemes/sexting/releases/1.0.1/jq/jquery.bpopup.min.js XoopsThemes/sexting/releases/1.0.1/jq/jquery.jplayer.min.js XoopsThemes/sexting/releases/1.0.1/jq/jquery.js XoopsThemes/sexting/releases/1.0.1/jq/jquery.lavalamp.min.js XoopsThemes/sexting/releases/1.0.1/jq/popcorn.jplayer.js XoopsThemes/sexting/releases/1.0.1/jq/pulse.jquery.js XoopsThemes/sexting/releases/1.0.1/swf/ XoopsThemes/sexting/releases/1.0.1/swf/Jplayer.swf XoopsThemes/sexting/releases/1.0.1/theme.html XoopsThemes/sexting/releases/1.0.1/xotpl/ XoopsThemes/sexting/releases/1.0.1/xotpl/body.html XoopsThemes/sexting/releases/1.0.1/xotpl/gradients.html XoopsThemes/sexting/releases/1.0.1/xotpl/index.html XoopsThemes/sexting/releases/1.0.1/xotpl/metas.html XoopsThemes/sexting/releases/1.0.1/xotpl/radioo.html XoopsThemes/sexting/releases/1.0.1/xotpl/scripts.html XoopsThemes/sexting/trunk/ XoopsThemes/sexting/trunk/css/ XoopsThemes/sexting/trunk/css/backgrounds.php XoopsThemes/sexting/trunk/css/index.html XoopsThemes/sexting/trunk/css/jplayer.css XoopsThemes/sexting/trunk/css/style.css XoopsThemes/sexting/trunk/css/styleMAC.css XoopsThemes/sexting/trunk/css/styleNN.css XoopsThemes/sexting/trunk/favicon.ico XoopsThemes/sexting/trunk/icon-114x114.png XoopsThemes/sexting/trunk/icon-48x48.png XoopsThemes/sexting/trunk/icon-56x56.png XoopsThemes/sexting/trunk/icon-72x72.png XoopsThemes/sexting/trunk/images/ XoopsThemes/sexting/trunk/images/Logo.psd XoopsThemes/sexting/trunk/images/Thumbs.db XoopsThemes/sexting/trunk/images/ajax-loader.gif XoopsThemes/sexting/trunk/images/arrows.png XoopsThemes/sexting/trunk/images/b_c.png XoopsThemes/sexting/trunk/images/b_l.png XoopsThemes/sexting/trunk/images/b_r.png XoopsThemes/sexting/trunk/images/bg-ad-top.png XoopsThemes/sexting/trunk/images/bg.jpg XoopsThemes/sexting/trunk/images/bg_top.jpg XoopsThemes/sexting/trunk/images/bullets.png XoopsThemes/sexting/trunk/images/c_l.png XoopsThemes/sexting/trunk/images/c_r.png XoopsThemes/sexting/trunk/images/close.png XoopsThemes/sexting/trunk/images/contact_but.jpg XoopsThemes/sexting/trunk/images/contact_icon.jpg XoopsThemes/sexting/trunk/images/contact_input.jpg XoopsThemes/sexting/trunk/images/contact_mess.jpg XoopsThemes/sexting/trunk/images/date_bg.jpg XoopsThemes/sexting/trunk/images/facebook.png XoopsThemes/sexting/trunk/images/footer_bg.png XoopsThemes/sexting/trunk/images/footer_bg_bot.png XoopsThemes/sexting/trunk/images/footer_bg_top.png XoopsThemes/sexting/trunk/images/footer_bot_border.jpg XoopsThemes/sexting/trunk/images/gal1.jpg XoopsThemes/sexting/trunk/images/gal2.jpg XoopsThemes/sexting/trunk/images/gal3.jpg XoopsThemes/sexting/trunk/images/gal4.jpg XoopsThemes/sexting/trunk/images/gal_bg.jpg XoopsThemes/sexting/trunk/images/gallery_bg.jpg XoopsThemes/sexting/trunk/images/gallery_big1.jpg XoopsThemes/sexting/trunk/images/gallery_big2.jpg XoopsThemes/sexting/trunk/images/gallery_big3.jpg XoopsThemes/sexting/trunk/images/gallery_big4.jpg XoopsThemes/sexting/trunk/images/gallery_bot.jpg XoopsThemes/sexting/trunk/images/gallery_top.jpg XoopsThemes/sexting/trunk/images/house.jpg XoopsThemes/sexting/trunk/images/img1.jpg XoopsThemes/sexting/trunk/images/img2.jpg XoopsThemes/sexting/trunk/images/img3.jpg XoopsThemes/sexting/trunk/images/img4.jpg XoopsThemes/sexting/trunk/images/img5.jpg XoopsThemes/sexting/trunk/images/img6.jpg XoopsThemes/sexting/trunk/images/img7.jpg XoopsThemes/sexting/trunk/images/index.html XoopsThemes/sexting/trunk/images/jplayer.pink.flag.jpg XoopsThemes/sexting/trunk/images/jplayer.pink.flag.seeking.gif XoopsThemes/sexting/trunk/images/jplayer.pink.flag.video.play.png XoopsThemes/sexting/trunk/images/left_bg.png XoopsThemes/sexting/trunk/images/left_bg_bot.png XoopsThemes/sexting/trunk/images/left_bg_top.png XoopsThemes/sexting/trunk/images/link_out.png XoopsThemes/sexting/trunk/images/link_out_h.png XoopsThemes/sexting/trunk/images/loading.gif XoopsThemes/sexting/trunk/images/location.jpg XoopsThemes/sexting/trunk/images/logo.png XoopsThemes/sexting/trunk/images/logo_bg.png XoopsThemes/sexting/trunk/images/ls.gif XoopsThemes/sexting/trunk/images/ls2.gif XoopsThemes/sexting/trunk/images/menu_active1.jpg XoopsThemes/sexting/trunk/images/menu_active2.jpg XoopsThemes/sexting/trunk/images/menu_active3.jpg XoopsThemes/sexting/trunk/images/menu_active4.jpg XoopsThemes/sexting/trunk/images/menu_active5.jpg XoopsThemes/sexting/trunk/images/menu_bg.jpg XoopsThemes/sexting/trunk/images/monday.jpg XoopsThemes/sexting/trunk/images/monday.seeking.gif XoopsThemes/sexting/trunk/images/monday.video.play.png XoopsThemes/sexting/trunk/images/news.jpg XoopsThemes/sexting/trunk/images/next.png XoopsThemes/sexting/trunk/images/next_h.png XoopsThemes/sexting/trunk/images/pagenav_bg.jpg XoopsThemes/sexting/trunk/images/pagenav_select.jpg XoopsThemes/sexting/trunk/images/pause.png XoopsThemes/sexting/trunk/images/pause_h.png XoopsThemes/sexting/trunk/images/phone.jpg XoopsThemes/sexting/trunk/images/play.png XoopsThemes/sexting/trunk/images/play_h.png XoopsThemes/sexting/trunk/images/prev.png XoopsThemes/sexting/trunk/images/prev_h.png XoopsThemes/sexting/trunk/images/prew_bg.png XoopsThemes/sexting/trunk/images/prew_button_left.jpg XoopsThemes/sexting/trunk/images/prew_button_right.jpg XoopsThemes/sexting/trunk/images/prew_img1.jpg XoopsThemes/sexting/trunk/images/prew_img2.jpg XoopsThemes/sexting/trunk/images/prew_img3.jpg XoopsThemes/sexting/trunk/images/prew_img4.jpg XoopsThemes/sexting/trunk/images/quote.png XoopsThemes/sexting/trunk/images/right_bg.jpg XoopsThemes/sexting/trunk/images/right_bg.png XoopsThemes/sexting/trunk/images/right_bg_bot.jpg XoopsThemes/sexting/trunk/images/right_bg_bot.png XoopsThemes/sexting/trunk/images/right_bg_top.jpg XoopsThemes/sexting/trunk/images/right_bg_top.png XoopsThemes/sexting/trunk/images/rss.png XoopsThemes/sexting/trunk/images/socialbookmark.png XoopsThemes/sexting/trunk/images/style.css XoopsThemes/sexting/trunk/images/t_c.png XoopsThemes/sexting/trunk/images/t_l.png XoopsThemes/sexting/trunk/images/t_r.png XoopsThemes/sexting/trunk/images/title_bg.jpg XoopsThemes/sexting/trunk/images/title_footer.jpg XoopsThemes/sexting/trunk/images/twitter.png XoopsThemes/sexting/trunk/images/yahoo.png XoopsThemes/sexting/trunk/images/youtube.png XoopsThemes/sexting/trunk/index.html XoopsThemes/sexting/trunk/jq/ XoopsThemes/sexting/trunk/jq/._pulse.jquery.js XoopsThemes/sexting/trunk/jq/background_slideshow.php XoopsThemes/sexting/trunk/jq/easing.js XoopsThemes/sexting/trunk/jq/index.html XoopsThemes/sexting/trunk/jq/jquery.bgswitcher.js XoopsThemes/sexting/trunk/jq/jquery.bpopup.min.js XoopsThemes/sexting/trunk/jq/jquery.jplayer.min.js XoopsThemes/sexting/trunk/jq/jquery.js XoopsThemes/sexting/trunk/jq/jquery.lavalamp.min.js XoopsThemes/sexting/trunk/jq/popcorn.jplayer.js XoopsThemes/sexting/trunk/jq/pulse.jquery.js XoopsThemes/sexting/trunk/swf/ XoopsThemes/sexting/trunk/swf/Jplayer.swf XoopsThemes/sexting/trunk/theme.html XoopsThemes/sexting/trunk/xotpl/ XoopsThemes/sexting/trunk/xotpl/body.html XoopsThemes/sexting/trunk/xotpl/gradients.html XoopsThemes/sexting/trunk/xotpl/index.html XoopsThemes/sexting/trunk/xotpl/metas.html XoopsThemes/sexting/trunk/xotpl/radioo.html XoopsThemes/sexting/trunk/xotpl/scripts.html Added: XoopsThemes/extreme-super-closest/releases/1.0.1/css/jplayer.css =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.0.1/css/jplayer.css (rev 0) +++ XoopsThemes/extreme-super-closest/releases/1.0.1/css/jplayer.css 2014-12-22 22:05:24 UTC (rev 12917) @@ -0,0 +1,572 @@ +/*! Pink Flag Skin for jPlayer 2.9.2 ~ (c) 2009-2014 Happyworm Ltd ~ MIT License */ + +/* + * Skin for jPlayer Plugin (jQuery JavaScript Library) + * http://www.jplayer.org + * + * Skin Name: Pink Flag + * + * Copyright (c) 2012 - 2014 Happyworm Ltd + * Licensed under the MIT license. + * - http://www.opensource.org/licenses/mit-license.php + * + * Author: Silvia Benvenuti + * Skin Version: 2.1 (jPlayer 2.8.0) + * Date: 13th November 2014 + */ +.jp-audio *:focus, +.jp-audio-stream *:focus, +.jp-video *:focus { + /* Disable the browser focus highlighting. */ + outline: none; } + +.jp-audio button::-moz-focus-inner, +.jp-audio-stream button::-moz-focus-inner, +.jp-video button::-moz-focus-inner { + /* Disable the browser CSS3 focus highlighting. */ + border: 0; } + +.jp-audio, +.jp-audio-stream, +.jp-video { + font-size: 16px; + font-family: Verdana, Arial, sans-serif; + line-height: 1.6; + color: #fff; + border-top: 1px solid #554461; + border-left: 1px solid #554461; + border-right: 1px solid #180a1f; + border-bottom: 1px solid #180a1f; + background-color: #3a2a45; } + +.jp-audio { + width: 201px; + padding: 20px; } + +.jp-audio-stream { + width: 101px; + padding: 20px 20px 10px 20px; } + +.jp-video-270p { + width: 480px; } + +.jp-video-360p { + width: 640px; } + +.jp-video-full { + /* Rules for IE6 (full-screen) */ + width: 480px; + height: 270px; + /* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */ + position: static !important; + position: relative; } + +/* The z-index rule is defined in this manner to enable Popcorn plugins that add overlays to video area. EG. Subtitles. */ +.jp-video-full div div { + z-index: 1000; } + +.jp-video-full .jp-jplayer { + top: 0; + left: 0; + position: fixed !important; + position: relative; + /* Rules for IE6 (full-screen) */ + overflow: hidden; } + +.jp-video-full .jp-gui { + position: fixed !important; + position: static; + /* Rules for IE6 (full-screen) */ + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1001; + /* 1 layer above the others. */ } + +.jp-video-full .jp-interface { + position: absolute !important; + position: relative; + /* Rules for IE6 (full-screen) */ + bottom: 0; + left: 0; } + +.jp-interface { + position: relative; + width: 100%; + background-color: #3a2a45; + /* Required for the full screen */ } + +/* @group CONTROLS */ +.jp-video .jp-controls-holder { + clear: both; + width: 440px; + margin: 0 auto 10px auto; + position: relative; + overflow: hidden; } + +.jp-audio .jp-controls-holder { + height: 80px; } + +.jp-audio-stream .jp-controls-holder { + height: 50px; } + +.jp-controls { + background: url("../images/jplayer.pink.flag.jpg") 0 0 no-repeat; + padding: 1px 0 2px 1px; + overflow: hidden; + width: 201px; + height: 34px; } + +.jp-audio .jp-controls, +.jp-audio-stream .jp-controls { + margin: 0 auto; } + +.jp-audio-stream .jp-controls { + width: 100px; } + +.jp-video .jp-controls { + margin: 0 0 0 115px; + float: left; + display: inline; + /* need this to fix IE6 double margin */ } + +.jp-controls button { + display: block; + float: left; + overflow: hidden; + text-indent: -9999px; + height: 34px; + margin: 0 1px 2px 0; + padding: 0; + border: none; + cursor: pointer; } + +/* @group single player controls */ +.jp-type-single .jp-controls button { + width: 99px; } + +.jp-type-single .jp-play { + background: url("../images/jplayer.pink.flag.jpg") 0px -40px no-repeat; } + +.jp-type-single .jp-play:focus { + background: url("../images/jplayer.pink.flag.jpg") -100px -40px no-repeat; } + +.jp-state-playing .jp-type-single .jp-play { + background: url("../images/jplayer.pink.flag.jpg") 0px -120px no-repeat; } + +.jp-state-playing .jp-type-single .jp-play:focus { + background: url("../images/jplayer.pink.flag.jpg") -100px -120px no-repeat; } + +/* The right border is normally in the ul background image. */ +.jp-audio-stream .jp-play, +.jp-audio-stream .jp-pause { + border-right: 1px solid #180920; } + +.jp-type-single .jp-stop { + background: url("../images/jplayer.pink.flag.jpg") 0px -80px no-repeat; } + +.jp-type-single .jp-stop:focus { + background: url("../images/jplayer.pink.flag.jpg") -100px -80px no-repeat; } + +/* @end */ +/* @group playlist player controls */ +.jp-type-playlist .jp-controls button { + width: 49px; } + +.jp-type-playlist .jp-play { + background: url("../images/jplayer.pink.flag.jpg") -24px -40px no-repeat; } + +.jp-type-playlist .jp-play:focus { + background: url("../images/jplayer.pink.flag.jpg") -124px -40px no-repeat; } + +.jp-state-playing div.jp-type-playlist .jp-play { + background: url("../images/jplayer.pink.flag.jpg") -24px -120px no-repeat; } + +.jp-state-playing div.jp-type-playlist .jp-play:focus { + background: url("../images/jplayer.pink.flag.jpg") -124px -120px no-repeat; } + +.jp-type-playlist .jp-stop { + background: url("../images/jplayer.pink.flag.jpg") -24px -80px no-repeat; } + +.jp-type-playlist .jp-stop:focus { + background: url("../images/jplayer.pink.flag.jpg") -124px -80px no-repeat; } + +.jp-type-playlist .jp-previous { + background: url("../images/jplayer.pink.flag.jpg") -24px -200px no-repeat; } + +.jp-type-playlist .jp-previous:focus { + background: url("../images/jplayer.pink.flag.jpg") -124px -200px no-repeat; } + +.jp-type-playlist .jp-next { + background: url("../images/jplayer.pink.flag.jpg") -24px -160px no-repeat; } + +.jp-type-playlist .jp-next:focus { + background: url("../images/jplayer.pink.flag.jpg") -124px -160px no-repeat; } + +/* @end */ +/* @group TOGGLES */ +.jp-toggles { + padding: 0; + margin: 0 auto; + overflow: hidden; } + +.jp-audio .jp-toggles { + width: 55px; } + +.jp-audio .jp-type-single .jp-toggles { + width: 25px; } + +.jp-video .jp-toggles { + float: left; + width: 105px; + margin: 10px 0 0 15px; } + +.jp-toggles button { + display: block; + float: left; + width: 25px; + height: 18px; + text-indent: -9999px; + line-height: 100%; + /* need this for IE6 */ + border: none; + cursor: pointer; } + +.jp-full-screen { + background: url("../images/jplayer.pink.flag.jpg") 0 -420px no-repeat; + margin-left: 15px; } + +.jp-full-screen:focus { + background: url("../images/jplayer.pink.flag.jpg") -30px -420px no-repeat; } + +.jp-state-full-screen .jp-full-screen { + background: url("../images/jplayer.pink.flag.jpg") -60px -420px no-repeat; } + +.jp-state-full-screen .jp-full-screen:focus { + background: url("../images/jplayer.pink.flag.jpg") -90px -420px no-repeat; } + +.jp-repeat { + background: url("../images/jplayer.pink.flag.jpg") 0 -440px no-repeat; + margin-left: 0; } + +.jp-repeat:focus { + background: url("../images/jplayer.pink.flag.jpg") -30px -440px no-repeat; } + +.jp-state-looped .jp-repeat { + background: url("../images/jplayer.pink.flag.jpg") -60px -440px no-repeat; } + +.jp-state-looped .jp-repeat:focus { + background: url("../images/jplayer.pink.flag.jpg") -90px -440px no-repeat; } + +.jp-shuffle { + background: url("../images/jplayer.pink.flag.jpg") 0 -460px no-repeat; + margin-left: 15px; } + +.jp-shuffle:focus { + background: url("../images/jplayer.pink.flag.jpg") -30px -460px no-repeat; } + +.jp-state-shuffled .jp-shuffle { + background: url("../images/jplayer.pink.flag.jpg") -60px -460px no-repeat; } + +.jp-state-shuffled .jp-shuffle:focus { + background: url("../images/jplayer.pink.flag.jpg") -90px -460px no-repeat; } + +.jp-audio .jp-shuffle { + margin-left: 5px; } + +/* @end */ +/* @group progress bar */ +/* The seeking class is added/removed inside jPlayer */ +div.jp-seeking-bg { + background: url("../images/jplayer.pink.flag.seeking.gif"); } + +.jp-progress { + background: url("../images/jplayer.pink.flag.jpg") 0px -240px no-repeat; + width: 197px; + height: 13px; + padding: 0 2px 2px 2px; + margin-bottom: 4px; + overflow: hidden; } + +div.jp-video .jp-progress { + border-top: 1px solid #180a1f; + border-bottom: 1px solid #554560; + width: 100%; + background-image: none; + padding: 0; } + +.jp-seek-bar { + background: url("../images/jplayer.pink.flag.jpg") 0px -260px repeat-x; + width: 0px; + height: 100%; + overflow: hidden; + cursor: pointer; } + +.jp-play-bar { + background: url("../images/jplayer.pink.flag.jpg") 0px -280px repeat-x; + width: 0px; + height: 100%; + overflow: hidden; } + +/* @end */ +/* @group volume controls */ +.jp-state-no-volume .jp-volume-controls { + display: none; } + +.jp-audio .jp-volume-controls, +.jp-audio-stream .jp-volume-controls { + height: 30px; } + +.jp-volume-controls button { + position: absolute; + display: block; + overflow: hidden; + text-indent: -9999px; + margin: 0; + padding: 0; + width: 16px; + height: 11px; + border: none; + cursor: pointer; } + +.jp-audio .jp-volume-controls .jp-mute, +.jp-audio-stream .jp-volume-controls .jp-mute { + top: -6px; + left: 0; } + +.jp-audio .jp-volume-controls .jp-volume-max, +.jp-audio-stream .jp-volume-controls .jp-volume-max { + top: -6px; + right: 0; } + +.jp-video .jp-volume-controls .jp-mute, +.jp-video .jp-volume-controls .jp-unmute { + left: 0; + top: 14px; } + +.jp-video .jp-volume-controls .jp-volume-max { + left: 84px; + top: 14px; } + +.jp-volume-controls .jp-mute { + background: url("../images/jplayer.pink.flag.jpg") 0px -330px no-repeat; } + +.jp-volume-controls .jp-mute:focus { + background: url("../images/jplayer.pink.flag.jpg") -25px -330px no-repeat; } + +.jp-state-muted .jp-volume-controls .jp-mute { + background: url("../images/jplayer.pink.flag.jpg") -60px -330px no-repeat; } + +.jp-state-muted .jp-volume-controls .jp-mute:focus { + background: url("../images/jplayer.pink.flag.jpg") -85px -330px no-repeat; } + +.jp-volume-controls .jp-volume-max { + background: url("../images/jplayer.pink.flag.jpg") 0px -350px no-repeat; } + +.jp-volume-controls .jp-volume-max:focus { + background: url("../images/jplayer.pink.flag.jpg") -25px -350px no-repeat; } + +.jp-volume-bar { + background: url("../images/jplayer.pink.flag.jpg") 0px -300px repeat-x; + position: absolute; + width: 197px; + height: 4px; + padding: 2px 2px 1px 2px; + overflow: hidden; + cursor: pointer; } + +.jp-audio .jp-interface .jp-volume-bar, +.jp-audio-stream .jp-interface .jp-volume-bar { + top: 10px; + left: 0; } + +.jp-audio-stream .jp-interface .jp-volume-bar { + width: 97px; + border-right: 1px solid #180920; + padding-right: 1px; } + +.jp-video .jp-volume-bar { + top: 0; + left: 0; + width: 95px; + border-right: 1px solid #180920; + padding-right: 1px; + margin-top: 30px; } + +.jp-volume-bar-value { + background: url("../images/jplayer.pink.flag.jpg") 0px -320px repeat-x; + height: 4px; } + +/* @end */ +/* @group current time and duration */ +.jp-current-time, .jp-duration { + width: 70px; + font-size: .5em; + color: #8c7a99; } + +.jp-current-time { + float: left; + cursor: default; } + +.jp-duration { + float: right; + text-align: right; + cursor: pointer; } + +.jp-video .jp-current-time { + padding-left: 20px; } + +.jp-video .jp-duration { + padding-right: 20px; } + +/* @end */ +/* @group playlist */ +.jp-details { + font-size: .7em; + margin: 0; + padding: 0; } + +.jp-details .jp-title { + padding: 0; + margin: 0; + overflow: hidden; + text-align: center; + cursor: default; } + +.jp-video .jp-details { + margin: 0 90px 10px; } + +.jp-playlist ul { + list-style-type: none; + font-size: .7em; + margin: 0; + padding: 0; } + +.jp-video .jp-playlist ul { + margin: 0 20px; } + +.jp-playlist li { + position: relative; + padding: 2px 0; + border-top: 1px solid #554461; + border-bottom: 1px solid #180a1f; + overflow: hidden; } + +/* Note that the first-child (IE6) and last-child (IE6/7/8) selectors do not work on IE */ +div.jp-type-playlist div.jp-playlist li:first-child { + border-top: none; + padding-top: 3px; } + +div.jp-type-playlist div.jp-playlist li:last-child { + border-bottom: none; + padding-bottom: 3px; } + +div.jp-type-playlist div.jp-playlist a { + color: #fff; + text-decoration: none; } + +div.jp-type-playlist div.jp-playlist a:hover { + color: #e892e9; } + +div.jp-type-playlist div.jp-playlist li.jp-playlist-current { + background-color: #26102e; + margin: 0 -20px; + padding: 2px 20px; + border-top: 1px solid #26102e; + border-bottom: 1px solid #26102e; } + +div.jp-type-playlist div.jp-playlist li.jp-playlist-current a { + color: #e892e9; } + +div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove { + float: right; + display: inline; + text-align: right; + margin-left: 10px; + font-weight: bold; + color: #8C7A99; } + +div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover { + color: #E892E9; } + +div.jp-type-playlist div.jp-playlist span.jp-free-media { + float: right; + display: inline; + text-align: right; + color: #8C7A99; } + +div.jp-type-playlist div.jp-playlist span.jp-free-media a { + color: #8C7A99; } + +div.jp-type-playlist div.jp-playlist span.jp-free-media a:hover { + color: #E892E9; } + +span.jp-artist { + font-size: .8em; + color: #8C7A99; } + +/* @end */ +.jp-video .jp-video-play { + width: 100%; + overflow: hidden; + /* Important for nested negative margins to work in modern browsers */ } + +.jp-video-270p .jp-video-play { + margin-top: -270px; + height: 270px; } + +.jp-video-360p .jp-video-play { + margin-top: -360px; + height: 360px; } + +.jp-video-full .jp-video-play { + height: 100%; } + +.jp-video-play-icon { + position: relative; + display: block; + width: 112px; + height: 100px; + margin-left: -56px; + margin-top: -50px; + left: 50%; + top: 50%; + border: none; + cursor: pointer; + background: url("../images/jplayer.pink.flag.video.play.png") 0 0 no-repeat; + text-indent: -9999px; } + +.jp-video-play-icon:focus { + background: url("../images/jplayer.pink.flag.video.play.png") 0 -100px no-repeat; } + +.jp-jplayer audio, +.jp-jplayer { + width: 0px; + height: 0px; } + +.jp-jplayer { + background-color: #000000; } + +/* @group NO SOLUTION error feedback */ +.jp-no-solution { + padding: 5px; + font-size: .8em; + background-color: #3a2a45; + border-top: 2px solid #554461; + border-left: 2px solid #554461; + border-right: 2px solid #180a1f; + border-bottom: 2px solid #180a1f; + color: #FFF; + display: none; } + +.jp-no-solution a { + color: #FFF; } + +.jp-no-solution span { + font-size: 1em; + display: block; + text-align: center; + font-weight: bold; } + +/* @end */ Property changes on: XoopsThemes/extreme-super-closest/releases/1.0.1/css/jplayer.css ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsThemes/extreme-super-closest/releases/1.0.1/icons/.htaccess =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.0.1/icons/.htaccess (rev 0) +++ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/.htaccess 2014-12-22 22:05:24 UTC (rev 12917) @@ -0,0 +1,11 @@ +<IfModule mod_rewrite.c> + + RewriteEngine On + RewriteRule ^meta/(.*?)/random.(htm|xhtml|meta|html|txt|diz)?(.*?) random.php?op=meta&folder=$1&$3 + RewriteRule ^meta/(.*?)/random.(htm|xhtml|meta|html|txt|diz) random.php?op=meta&folder=$1 + RewriteRule ^java/(.*?)/random.(json)?(.*?) random.php?op=json&folder=$1&$3 + RewriteRule ^java/(.*?)/random.(json) random.php?op=json&folder=$1 + RewriteRule ^path/(.*?)/random.(htm|xhtml|meta|html|txt|diz)?(.*?) random.php?op=path&folder=$1&$3 + RewriteRule ^path/(.*?)/random.(htm|xhtml|meta|html|txt|diz) random.php?op=path&folder=$1&folder=$2 + +</IfModule> Added: XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-114x114.png =================================================================== (Binary files differ) Index: XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-114x114.png =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-114x114.png 2014-12-22 19:53:04 UTC (rev 12916) +++ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-114x114.png 2014-12-22 22:05:24 UTC (rev 12917) Property changes on: XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-114x114.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-16x16.png =================================================================== (Binary files differ) Index: XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-16x16.png =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-16x16.png 2014-12-22 19:53:04 UTC (rev 12916) +++ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-16x16.png 2014-12-22 22:05:24 UTC (rev 12917) Property changes on: XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-16x16.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-24x24.png =================================================================== (Binary files differ) Index: XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-24x24.png =================================================================== --- XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-24x24.png 2014-12-22 19:53:04 UTC (rev 12916) +++ XoopsThemes/extreme-super-closest/releases/1.0.1/icons/honey/five/icon-24x24.png 2014-12-22 22:05:24 UTC (rev 12917) Property changes on: XoopsThemes/extreme-super-closest/releases/1... [truncated message content] |
From: <zy...@us...> - 2014-12-22 19:53:30
|
Revision: 12916 http://sourceforge.net/p/xoops/svn/12916 Author: zyspec Date: 2014-12-22 19:53:04 +0000 (Mon, 22 Dec 2014) Log Message: ----------- Added Paths: ----------- XoopsModules/rw_banner/branches/zyspec/rwbanner/include/admin_list_functions.inc.php Added: XoopsModules/rw_banner/branches/zyspec/rwbanner/include/admin_list_functions.inc.php =================================================================== --- XoopsModules/rw_banner/branches/zyspec/rwbanner/include/admin_list_functions.inc.php (rev 0) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/include/admin_list_functions.inc.php 2014-12-22 19:53:04 UTC (rev 12916) @@ -0,0 +1,375 @@ +<?php +/* + RW-Banner + Copyright (c) 2006 BrInfo + <http://www.brinfo.com.br> + 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 +*/ +/** + * XOOPS rwbanner Category, User, & Banner List Functions + * + * @copyright:: {@link www.brinfo.com.br BrInfo - Soluções Web} + * @license:: {@link http://www.fsf.org/copyleft/gpl.html GNU public license} + * @author:: Rodrigo Pereira Lima aka RpLima (http://www.brinfo.com.br) + * @package:: rwbanner + * @version:: $Id: $ + * + */ + +defined('XOOPS_ROOT_PATH') or exit('Restricted access'); + +include_once "../class/class.banner.php"; + +/** + * + * List Banners + * @param string $order database field to use for sorting + * @param string $seq 'ASC' or 'DESC' sort + * @param int|null $cat category id + * @param int $limit number of categories to show + * @param int $start starting place in return values + */ +function lista_banners($order=null, $seq=null, $cat=null, $limit=10, $start=0, $expand=false) +{ + global $pathIcon16; + + $banner = new RWbanners(); + $total = $banner->getRowNum($cat); + $ord = $order; + $order = "ORDER BY {$order} {$seq}"; + $img = ('ASC' == $seq) ? "<img src='../assets/images/asc.gif' />" : "<img src='../assets/images/desc.gif' />"; + $img_cod = ('codigo' == $ord) ? $img : ''; + $img_cli = ('idcliente' == $ord) ? $img : ''; + $img_cat = ('categoria' == $ord) ? $img : ''; + $img_exib = ('exibicoes' == $ord) ? $img : ''; + $img_click = ('clicks' == $ord) ? $img : ''; + $img_dat = ('data' == $ord) ? $img : ''; + $img_sts = ('status' == $ord) ? $img : ''; + $categoria = (null == $cat) ? null : (int) $cat; + $start = (int) $start; + + $lista_banners = $banner->getBanners(true, $order, $categoria, $limit, $start); + $extra_sel = (0 != $start) ? "&start={$start}" : ''; + $seq = ('ASC' == $seq) ? 'DESC' : 'ASC'; + $in_cat = (null == $cat) ? '' : " in this category"; + + if ($expand) { + $expand_img = 'close12.gif'; + $div_disp = ''; + } else { + $expand_img = 'open12.gif'; + $div_disp = "style='display: none;'"; + } + + rwbanner_collapsableBar('banners', 'bannersicon'); + echo "<img id='bannersicon' name='bannersicon' src='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/assets/images/icon/{$expand_img}") . "' alt='' /></a> " . _AM_RWBANNER_LIST_BANNER . "{$in_cat}</h3>\n" + . "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block; text-align:justify;'>" . _AM_RWBANNER_LIST_BANNER_DESC . "</span>\n" + . "<div id='banners'{$div_disp}>\n" + . "<table style='font-size:10px; width: 100%;' class='outer'>\n" + . "<thead>\n" + . "<tr class='head'>\n" + . " <th class='center'><a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/main.php?order=codigo&seq={$seq}{$extra_sel}") . "'>" . _AM_RWBANNER_TITLE2 . "{$img_cod}</a></th>\n" + . " <th class='center'><a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/main.php?order=idcliente&seq={$seq}{$extra_sel}") . "'>" . _AM_RWBANNER_TITLE3 . "{$img_cli}</a></th>\n" + . " <th class='center'><a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/main.php?order=categoria&seq={$seq}{$extra_sel}") . "'>" . _AM_RWBANNER_TITLE4 . "{$img_cat}</a></th>\n" + . " <th class='center'><a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/main.php?order=exibicoes&seq={$seq}{$extra_sel}") . "'>" . _AM_RWBANNER_TITLE5 . "{$img_exib}</a></th>\n" + . " <th class='center'>" . _AM_RWBANNER_TITLE6 . "</th>\n" + . " <th class='center'><a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/main.php?order=clicks&seq={$seq}{$extra_sel}") . "'>" . _AM_RWBANNER_TITLE7 . "{$img_click}</a></th>\n" + . " <th class='center'>" . _AM_RWBANNER_TITLE39 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TITLE8 . "</th>\n" + . " <th class='center'><a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/main.php?order=data&seq={$seq}{$extra_sel}") . "'>" . _AM_RWBANNER_TITLE9 . "{$img_dat}</a></th>\n" + . " <th class='center'>" . _AM_RWBANNER_TITLE99 . "</th>\n" + . " <th class='center'><a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/main.php?order=status&seq={$seq}{$extra_sel}'") . ">" . _AM_RWBANNER_TITLE10 . "{$img_sts}</a></th>\n" + . " <th class='center' style='width: 12%;'>" . _AM_RWBANNER_TITLE11 . "</th>\n" + . "</tr>\n" + . "</thead>\n" + . "<tbody>\n"; + $class = "even"; + $lista_banners_count = count($lista_banners); + for ($i = 0; $i < $lista_banners_count; ++$i) { + if (1 == $lista_banners[$i]->getStatus()) { //active + $status = "<img src='{$pathIcon16}/green.gif' style='width: 16px; height: 16px; border-width: 0[x;' alt='" . _AM_RWBANNER_BANNER_STATUS1 . "' title='" . _AM_RWBANNER_BANNER_STATUS1 . "' />\n"; + $estilo = ''; + } elseif (2 == $lista_banners[$i]->getStatus()) { //waiting approval + $status = "<img src='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . '/assets/images/wait.gif') . "' style='width: 16px; height: 16px; border-width: 0px;' alt='" . _AM_RWBANNER_BANNER_STATUS3 . "' title='" . _AM_RWBANNER_BANNER_STATUS3 . "' />\n"; + $estilo = ''; + } else { // inactive + $status = "<img src='{$pathIcon16}/red.gif' style='width: 16px; height: 16px; border-width: 0px;' alt='" . _AM_RWBANNER_BANNER_STATUS2 . "' title='" . _AM_RWBANNER_BANNER_STATUS2 . "' />\n"; + $estilo = " style='color: red;'"; + } + $class = ($class == "even") ? "odd" : "even"; + if (0 == $lista_banners[$i]->getMaxexib()) { + $exibrest = _AM_RWBANNER_UNLIMIT; + } else { + $exibrest = round($lista_banners[$i]->getMaxexib()-$lista_banners[$i]->getExibicoes()); + } + if (0 == $lista_banners[$i]->getMaxclick()) { + $exibrestclick = _AM_RWBANNER_UNLIMIT; + } else { + $exibrestclick = round($lista_banners[$i]->getMaxclick()-$lista_banners[$i]->getClicks()); + } + if (0 != $lista_banners[$i]->getClicks() && 0 != $lista_banners[$i]->getExibicoes()) { + $perc = round(($lista_banners[$i]->getClicks() / $lista_banners[$i]->getExibicoes()) * 100, 2); + } else { + $perc = '0'; + } + $data = $lista_banners[$i]->getData(); + $periodo = $lista_banners[$i]->getPeriodo(); + $maxdata = somaData($data,$periodo); + if (0 == $periodo) { + $periodo = _AM_RWBANNER_UNLIMIT; + } else { + $periodo = converte($maxdata, false); + } + $titulo = ('' != $lista_banners[$i]->getBannnerCategName()) ? $lista_banners[$i]->getBannnerCategName() : _AM_RWBANNER_NO_CATEG; + $cliente = $lista_banners[$i]->getBannnerClientName(); + $lista_banners[$i]->clearDb(); + $data_cad = converte($lista_banners[$i]->getData(), false); + echo "<tr class='{$class}'{$estilo}>\n" + . " <td class='center'>" . $lista_banners[$i]->getCodigo() . "</td>\n" + . " <td class='center'><a href='" . $GLOBALS['xoops']->url('www/userinfo.php?uid=' . $lista_banners[$i]->getIdcliente()) . "'>{$cliente}</a></td>\n" + . " <td class='center'>{$titulo}</td>\n" + . " <td class='center'>" . $lista_banners[$i]->getExibicoes() . "</td>\n" + . " <td class='center'>{$exibrest}</td>\n" + . " <td class='center'>" . $lista_banners[$i]->getClicks() . "</td>\n" + . " <td class='center'>{$exibrestclick}</td>\n" + . " <td class='center'>{$perc}%</td>\n" + . " <td class='center'>{$data_cad}</td>\n" + . " <td class='center'>{$periodo}</td>\n" + . " <td class='center'><a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/main.php?op=mudastatus&id=" . $lista_banners[$i]->getCodigo()) . "'>{$status}</a></td>\n" + . " <td class='center' style='width: 10%;'>\n" + . " <a href='javascript:;' onClick=\"javascript: window.open('exibe.php?id=" . $lista_banners[$i]->getCodigo() . "','editar','width=" . ($lista_banners[$i]->getLargura() + 20) . ",height=" . $lista_banners[$i]->getAltura() . ",toolbar=no');\"><img src='{$pathIcon16}/search.png' style='width: 16px; height: 16px; border-with: 0px;' alt='" . _AM_RWBANNER_VALUE_BTN2 . "' title='" . _AM_RWBANNER_VALUE_BTN2 . "' /></a>\n" + . " <a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/banners.php?id=" . $lista_banners[$i]->getCodigo() . "&op=editar") . "'><img src='{$pathIcon16}/edit.png' style='width: 16px; height: 16px; border-width: 0px;' alt='" . _AM_RWBANNER_VALUE_BTN3 . "' title='" . _AM_RWBANNER_VALUE_BTN3 . "' /></a>\n" + . " <a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/main.php?id=" . $lista_banners[$i]->getCodigo() . "&op=deletar") . "'><img src='{$pathIcon16}/delete.png' style='width: 16px; height: 16px; border-width: 0px;' alt='" . _AM_RWBANNER_VALUE_BTN4 . "' title='" . _AM_RWBANNER_VALUE_BTN4 . "' /></a>\n" + . " </td>\n" + . "</tr>\n"; + } + echo "</tbody>\n"; + if (substr($_SERVER['QUERY_STRING'], 0, 5) != 'start') { + $arr_qs = explode('&', $_SERVER['QUERY_STRING']); + $n = (substr($arr_qs[count($arr_qs)-1], 0, 5) != 'start') ? 1 : 2; + $extra_pag = ''; + $arr_qs_count = count($arr_qs) - $n; + for ($i = 0; $i <= $arr_qs_count; ++$i) { + $extra_pag .= $arr_qs[$i] . '&'; + } + $extra_pag = substr($extra_pag, 0, strlen($extra_pag)-1); + } else { + $extra_pag = ''; + } + $pagenav = new XoopsPageNav($total, $limit, $start, 'start', $extra_pag); + $pag = $pagenav->renderNav(); + echo "<tfoot>\n" + . "<tr class='head'>\n" + . " <td class='left' colspan='12' nowrap='nowrap'>" . _AM_RWBANNER_TOTAL_BANNER_LEG . " {$total}{$in_cat}<br />\n" + . " <div class='center'>{$pag}</div>\n" + . " </td>\n" + . "</tr>\n" + . "</tfoot>\n" + . "</table>\n" + . "</div><br />\n"; +} + +function lista_categs($expand=false) +{ + + $categ = new Categoria(); + $lista_categs = $categ->getCategorias('ORDER BY cod ASC'); + global $pathIcon16; + + if ($expand) { + $expand_img = 'close12.gif'; + $div_disp = ''; + } else { + $expand_img = 'open12.gif'; + $div_disp = "style='display: none;'"; + } + + + rwbanner_collapsableBar('categs', 'categsicon'); + echo "<img id='categssicon' name='categsicon' src=" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/assets/images/icon/{$expand_img}") . " alt='' /></a> " . _AM_RWBANNER_LIST_CATEG . "</h3>\n" + . "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block; text-align: justify;'>" . _AM_RWBANNER_LIST_CATEG_DESC . "</span>\n" + . "<div id='categs'{$div_disp}>\n" + . "<table style='font-size:10px; width: 100%;' class='outer'>\n" + . "<thead>\n" + . "<tr class='head'>\n" + . " <th class='center' style='width: 10%;'>" . _AM_RWBANNER_TITLE2 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TITLE13 . "</th>\n" + . " <th class='center' style='width: 10%;'>" . _AM_RWBANNER_CAT_WIDTH . "</th>\n" + . " <th class='center' style='width: 10%;'>" . _AM_RWBANNER_CAT_HEIGHT . "</th>\n" + . " <th class='center' style='width: 10%;'>" . _AM_RWBANNER_TITLE14 . "</th>\n" + . " <th class='center' style='width: 10%;'>" . _AM_RWBANNER_TITLE11 . "</th>\n" + . "</tr>\n" + . "</thead>\n" + . "<tbody>\n"; + $class = "even"; + $lista_categs_count = count($lista_categs); + for ($i = 0; $i < $lista_categs_count; ++$i) { + $class= ($class == "even") ? "odd" : "even"; + $banner = new RWbanners(); + $qtde = 0; + $qtde = $banner->getRowNum($lista_categs[$i]->getCod()); + $banner->clearDb(); + + echo "<tr class='{$class}'>\n" + . " <td class='center'>" . $lista_categs[$i]->getCod() . "</td>\n" + . " <td class='center' style='width: 40%;'>" . $lista_categs[$i]->getTitulo() . "</td>\n" + . " <td class='center'>" . $lista_categs[$i]->getLarg() . "px</td>\n" + . " <td class='center'>" . $lista_categs[$i]->getAlt() . "px</td>\n" +// . " <td class='center'>{$qtde}</td>\n" + . " <td class='center'>{$qtde}</td>\n" + . " <td class='center' style='width: 10%;'>\n" + . " <a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/categories.php?id=" . $lista_categs[$i]->getCod() . "&op=editar_categ") . "'><img src='{$pathIcon16}/edit.png' style='width: 16px; height: 16px; border-width: 0px; alt='" . _AM_RWBANNER_VALUE_BTN6 . "' title='" . _AM_RWBANNER_VALUE_BTN6 . "' /></a>\n" + . " <a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/main.php?id=" . $lista_categs[$i]->getCod() . "&op=deletar_categ") . "'><img src='{$pathIcon16}/delete.png' style='width: 16px; height: 16px; border-width: 0px;' alt='" . _AM_RWBANNER_VALUE_BTN7 . "' title='" . _AM_RWBANNER_VALUE_BTN7 . "' /></a>\n" + . " </td>\n" + . "</tr>\n"; + } + echo "</tbody>\n" + . "</table>\n" + . "</div><br />\n"; +} + +function lista_tags($expand=false) +{ + global $pathIcon16; + + $tag = new RWTag(); + $lista_tags = $tag->getTags('ORDER BY id ASC'); + + if ($expand) { + $expand_img = 'close12.gif'; + $div_disp = ''; + } else { + $expand_img = 'open12.gif'; + $div_disp = "style='display: none;'"; + } + + rwbanner_collapsableBar('tags', 'tagsicon'); + echo "<img id='tagsicon' name='tagsicon' src=" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/assets/images/icon/{$expand_img}") . " alt='' /></a> " . _AM_RWBANNER_LIST_TAG . "</h3>\n" + . "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block; text-align: justify;'>" . _AM_RWBANNER_LIST_TAG_DESC . "</span>\n" + . "<div id='tags'{$div_disp}>\n" + . "<table style='font-size:10px; width: 100%;' class='outer'>\n" + . "<thead>\n" + . "<tr class='head'>\n" + . " <th class='center'>" . _AM_RWBANNER_TAG_TITLE01 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TAG_TITLE02 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TAG_TITLE03 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TAG_TITLE04 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TAG_TITLE19 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TAG_TITLE05 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TAG_TITLE06 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TAG_TITLE07 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TITLE11 . "</th>\n" + . "</tr>\n" + . "</thead>\n" + . "<tbody>\n"; + $class = "even"; + $lista_tags_count = count($lista_tags); + for ($i = 0; $i < $lista_tags_count; ++$i) { + $class = ($class == "even") ? "odd" : "even"; + if (1 == $lista_tags[$i]->getStatus()) { + $status = "<img src='{$pathIcon16}/green.gif' style='width: 16px; height: 16px; border-width: 0px; alt='" . _AM_RWBANNER_TAG_STATUS1 . "' title='" . _AM_RWBANNER_TAG_STATUS1 . "' />\n"; + $estilo = ''; + } else { + $status = "<img src='{$pathIcon16}/red.gif' style='width: 16px; height: 16px; border-width: 0px;' alt='" . _AM_RWBANNER_TAG_STATUS2 . "' title='" . _AM_RWBANNER_TAG_STATUS2 . "' />\n"; + $estilo = " style='color:red;'"; + } + $categ = (0 != $lista_tags[$i]->getCateg()) ? $lista_tags[$i]->getTagCategName() : _AM_RWBANNER_TAG_TITLE13; + $mods = ($lista_tags[$i]->getModuleName()) ? $lista_tags[$i]->getModuleName() : _AM_RWBANNER_TAG_TITLE17; + echo "<tr class='{$class}'{$estilo}>\n" + . " <td class='center'>" . $lista_tags[$i]->getId() . "</td>\n" + . " <td class='left' style='width: 40%;'>" . $lista_tags[$i]->getTitle() . "</td>\n" + . " <td class='center' style='width:40%;'><{\$" . $lista_tags[$i]->getName() . "}></td>\n" + . " <td class='center'>{$categ}</td>\n" + . " <td class='center'>{$mods}</td>\n" + . " <td class='center' >" . $lista_tags[$i]->getQtde() . "</td>\n" + . " <td class='center'>" . $lista_tags[$i]->getCols() . "</td>\n" + . " <td class='center'><a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/main.php?op=mudastatus_tag&id=" . $lista_tags[$i]->getId()) . "'>{$status}</a></td>\n" + . " <td class='center' style='width: 10%;'>\n" + . " <a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/tags.php?id=" . $lista_tags[$i]->getId() . "&op=editar_tag'") . "><img src='{$pathIcon16}/edit.png' style='width: 16px; height: 16px; border-width: 0px;' alt='" . _AM_RWBANNER_VALUE_BTN6 . "' title='" . _AM_RWBANNER_VALUE_BTN6 . "' /></a>\n" + . " <a href='" . $GLOBALS['xoops']->url("www/modules/" . $GLOBALS['xoopsModule']->dirname() . "/admin/main.php?id=" . $lista_tags[$i]->getId() . "&op=deletar_tag") . "'><img src='{$pathIcon16}/delete.png' style='width: 16px; height: 16px; border-width: 0px;' alt='" . _AM_RWBANNER_VALUE_BTN7 . "' title='" . _AM_RWBANNER_VALUE_BTN7 . "' /></a>\n" + . " </td>\n" + . "</tr>\n"; + } + echo "</tbody>\n" + . "</table>\n" + . "</div><br />\n"; +} + +function lista_users($expand=false) +{ + global $pathIcon16; + + $categ = new Categoria(); + $lista_categs = $categ->getCategorias('ORDER BY cod ASC'); + + if ($expand) { + $expand_img = 'close12.gif'; + $div_disp = ''; + } else { + $expand_img = 'open12.gif'; + $div_disp = "style='display: none;'"; + } + + rwbanner_collapsableBar('users', 'usersicon'); + echo "<img id='userssicon' name='usersicon' src=" . $GLOBALS['xoops']->url("modules/" . $GLOBALS['xoopsModule']->dirname() . "/assets/images/icon/{$expand_img}") . " alt='' /></a> " . _AM_RWBANNER_LIST_USERS . "</h3>\n" + . "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block; text-align: justify;'>" . _AM_RWBANNER_LIST_USERS_DESC . "</span>\n" + . "<div id='users'{$div_disp}>\n" + . "<table style='font-size:10px; width: 100%;' class='outer'>\n" + . "<thead>\n" + . "<tr class='head'>\n" + . " <th class='center'>" ._AM_RWBANNER_TITLE2 . "</th>\n" + . " <th class='left'>" . _AM_RWBANNER_TITLE17 . "</th>\n" + . " <th class='left'>" . _AM_RWBANNER_TITLE18 . "</th>\n" + . " <th class='left'>" . _AM_RWBANNER_TITLE19 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TITLE20 . "</th>\n" + . " <th class='center'>" . _AM_RWBANNER_TITLE11 . "</th>\n" + . "</tr>\n" + . "</thead>\n" + . "<tbody>\n"; + $class = "even"; + $query = $GLOBALS['xoopsDB']->queryF("SELECT uid, uname, name, email FROM " . $GLOBALS['xoopsDB']->prefix('users')); + while (list($uid, $uname, $name, $email) = $GLOBALS['xoopsDB']->fetchRow($query)) { + $query1 = $GLOBALS['xoopsDB']->queryF("SELECT * FROM " . $GLOBALS['xoopsDB']->prefix('rw_banner') . " WHERE idcliente={$uid}"); + $qtbanners = $GLOBALS['xoopsDB']->getRowsNum($query1); + if ($qtbanners > 0) { + $class = ($class == "even") ? "odd" : "even"; + $name = (!empty($name)) ? $name : $uname; + echo "<tr class='{$class}'>\n" + . " <td style='text-align: center;'>{$uid}</td>\n" + . " <td style='text-align: left;'><a href='" . $GLOBALS['xoops']->url("www/userinfo.php?uid={$uid}") . "'>{$uname}</a>\n" +// . " <td style='text-align: left;'>{$uname}</td>\n" + . " <td style='text-align: left;'>{$name}</td>\n" + . " <td style='text-align: left;'><a href='mailto:{$email}'>{$email}</a></td>\n" + . " <td style='text-align: center;'>{$qtbanners}</td>\n" + . " <td style='text-align: center;'>\n" + . " <a href='" . $GLOBALS['xoops']->url("www/userinfo.php?uid={$uid}") ."'><img src='{$pathIcon16}/search.png' style='width: 16px; height: 16px; border-width: 0px;' alt='" . _SEARCH . "' title='" . _SEARCH . "' /></a>\n" + . " <a href='" . $GLOBALS['xoops']->url("www/modules/system/admin.php?fct=users&op=modifyUser&uid={$uid}") . "'><img src='{$pathIcon16}/edit.png' style='width: 16px; height: 16px; border-width: 0px;' alt='" . _EDIT . "' title='" . _EDIT . "' /></a>\n" + . " </td>\n" + . "</tr>\n"; + } else { + echo "<tr class='odd'>\n" + . " <td colspan='6' class='center'>" . _AM_RWBANNER_NO_USERS . "</td>\n" + . "</tr>\n"; + } + } + echo "</tbody>\n" + . "</table>\n" + . "</div><br />\n"; +} |
From: <zy...@us...> - 2014-12-22 19:52:28
|
Revision: 12915 http://sourceforge.net/p/xoops/svn/12915 Author: zyspec Date: 2014-12-22 19:52:04 +0000 (Mon, 22 Dec 2014) Log Message: ----------- Added Paths: ----------- XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/ XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/css/ XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/images/ XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/index.html XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/js/ Removed Paths: ------------- XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/ Added: XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/index.html =================================================================== --- XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/index.html (rev 0) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/index.html 2014-12-22 19:52:04 UTC (rev 12915) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file |
From: <zy...@us...> - 2014-12-22 19:51:17
|
Revision: 12914 http://sourceforge.net/p/xoops/svn/12914 Author: zyspec Date: 2014-12-22 19:51:14 +0000 (Mon, 22 Dec 2014) Log Message: ----------- - include 3 files missing from previous commit Added Paths: ----------- XoopsModules/rw_banner/branches/zyspec/rwbanner/include/onuninstall.inc.php XoopsModules/rw_banner/branches/zyspec/rwbanner/include/onupdate.inc.php XoopsModules/rw_banner/branches/zyspec/rwbanner/language/english/help/module_index.html Added: XoopsModules/rw_banner/branches/zyspec/rwbanner/include/onuninstall.inc.php =================================================================== --- XoopsModules/rw_banner/branches/zyspec/rwbanner/include/onuninstall.inc.php (rev 0) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/include/onuninstall.inc.php 2014-12-22 19:51:14 UTC (rev 12914) @@ -0,0 +1,48 @@ +<?php +/* + RW-Banner + Copyright (c) 2006 BrInfo + <http://www.brinfo.com.br> + 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 +*/ +/** + * XOOPS rwbanner module uninstall functions + * + * @copyright:: {@link http://sourceforge.net/projects/xoops/ The XOOPS Project} + * @license:: {@link http://www.fsf.org/copyleft/gpl.html GNU public license} + * @package:: rwbanner + * @since:: 1.52 + * @author:: zyspec <ow...@zy...> + * @version:: $Id: $ + */ +defined('XOOPS_ROOT_PATH') or exit('Restricted access'); + +function xoops_module_pre_uninstall_rwbanner(&$module) +{ + // make sure any images from this module in upload directory are removed + + $hModConfig = &xoops_gethandler('config'); + $rwConfig = $hModConfig->getConfigsByCat(0, $module->getVar('mid')); + + $image_dir = $rwConfig['dir_images']; + $image_dir = (DIRECTORY_SEPARATOR == mb_substr($image_dir, -1)) ? mb_substr($image_dir, mb_strlen($image_dir)-1) : $image_dir; + array_map('unlink', glob($image_dir . DIRECTORY_SEPARATOR . '*')); // delete all the files in the images directory + return rmdir($image_dir); +} Added: XoopsModules/rw_banner/branches/zyspec/rwbanner/include/onupdate.inc.php =================================================================== --- XoopsModules/rw_banner/branches/zyspec/rwbanner/include/onupdate.inc.php (rev 0) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/include/onupdate.inc.php 2014-12-22 19:51:14 UTC (rev 12914) @@ -0,0 +1,74 @@ +<?php +/* + RW-Banner + Copyright (c) 2006 BrInfo + <http://www.brinfo.com.br> + 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 +*/ +/** + * XOOPS rwbanner module update functions + * + * @copyright:: {@link http://sourceforge.net/projects/xoops/ The XOOPS Project} + * @license:: {@link http://www.fsf.org/copyleft/gpl.html GNU public license} + * @package:: rwbanner + * @since:: 1.52 + * @author:: zyspec <ow...@zy...> + * @version:: $Id: $ + */ +defined('XOOPS_ROOT_PATH') or exit('Restricted access'); + +function xoops_module_update_rwbanner(&$module, &$prev_version) +{ + // referer check + $success = false; + $ref = xoops_getenv('HTTP_REFERER'); + if (('' == $ref) || 0 === mb_strpos($ref , $GLOBALS['xoops']->url('modules/system/admin.php'))) { + /* module specific part */ + + $installedVersion = intval($prev_version); + xoops_loadLanguage('admin', $module->getVar('dirname')); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + + // include new banner sizes if they don't exist already + $new_cats = array(array('titulo'=> '120x60', 'larg' => 120, 'alt' => 60), // button 2 + array('titulo'=> '120x90', 'larg' => 120, 'alt' => 90), // button 1 + array('titulo'=> '120x240', 'larg' => 120, 'alt' => 240), // vertical banner + array('titulo'=> '120x600', 'larg' => 120, 'alt' => 600), // skyscraper + array('titulo'=> '125x125', 'larg' => 125, 'alt' => 125), // square button + array('titulo'=> '160x600', 'larg' => 160, 'alt' => 600), // wide skyscraper + array('titulo'=> '234x60', 'larg' => 234, 'alt' => 60), // half banner + array('titulo'=> '250x250', 'larg' => 250, 'alt' => 250), // square pop-up + array('titulo'=> '728x90', 'larg' => 728, 'alt' => 90), // leaderboard + array('titulo'=> '720x300', 'larg' => 720, 'alt' => 300), // pop-under + ); + + $success = true; + + foreach ($new_cats as $this_cat) { + $result = $db->queryF("SELECT cod FROM " . $db->prefix('rw_categorias') . " WHERE larg={$this_cat['larg']} AND alt={$this_cat['alt']} LIMIT 0,1"); + $foundCat = $db->getRowsNum($result); + if (!$foundCat) { + $s1 = $db->queryF("INSERT INTO " . $db->prefix('rw_categorias') . "(titulo,larg,alt) VALUES ('" . $this_cat['titulo'] . "', '" . $this_cat['larg'] . "', '" . $this_cat['alt'] . "')"); + $success = ($success && $s1); + } + } + return $success; + } +} Added: XoopsModules/rw_banner/branches/zyspec/rwbanner/language/english/help/module_index.html =================================================================== --- XoopsModules/rw_banner/branches/zyspec/rwbanner/language/english/help/module_index.html (rev 0) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/language/english/help/module_index.html 2014-12-22 19:51:14 UTC (rev 12914) @@ -0,0 +1,51 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/rwbanner/admin/index.php" + title="Back to the administration of Contact"> RW-Banner + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of RW-Banner"/> + </a></h1> + + <h4 class="odd">RW-Banner Module</h4> + <p style='margin: 1em 0;'>This module includes the following features:</p> + <ul> + <li style='height: 1.3em;'>Ability to manage banners by category and/or client</li> + <li style='height: 1.3em;'>Category can be used to manage banners by size, subject, etc.</li> + <li style='height: 1.3em;'>Integrated keyword (tag) support</li> + <li style='height: 1.3em;'>Includes 4 different block types for displaying banners & a block to display statistics</li> + <li style='height: 1.3em;'>Easily activate/deactivate banners (inactive banners stay in the database)</li> + <li style='height: 1.3em;'>Use of Smarty tags to allow easy modification of templates to include banners</li> + <li style='height: 1.3em;'>Clients can check/modify banner status without Admin intervention (if allowed by Admin)</li> + <li style='height: 1.3em;'>Send statistics e-mail to clients about their banners</li> + </ul> + + <p style='margin: 1em 0;'>Feature Details:</p> + <ul> + <li>Registering of banners separated by categories and clients. The categories + are typically used to differentiate the size of the banners so several banner display + models can be created. The clients are users registered at the site and when a banner + has been added the user will need to be associated with banner.</li> + <li>5 block models to show cloneable banners and with several configuration options. This + allows the administrator to choose how many random banners to show, which category + should be shown and more. The option to create a table for the banner display having + only to select the number of columns to show.</li> + <li>Activation and deactivation option of banners by one click. Only active banners will + be shown but the inactive ones continue to be registered in the database, allowing + the administrator to reactivate them at any time.</li> + <li>Beyond the display of banners in blocks it is also possible to use the random + banner in the theme of your site or in any other page, the only requirement is to + add the <{$rw_banner}> tag.</li> + <li>There are two (2) ways a client can view statistics. There is a block to show a table + with the main statistics of all the banners related to the client. The main page of + the module also displays a table with all the statistics of the banners for the + logged-in client (XOOPS user). Also on this page the client has the option to send + the banner statistics to their registered e-mail. Finally, the module index page also + allows clients the ability to change some of the banner information - if the + administrator allows. The information a client can change is configurable through + the module Preferences settings.</li> + <li>The ability to show/hide random banners in the text of other modules. Now banners can + be displayed in any module that accepts bbcodes. Banners can now be published in news, + articles, static pages, including in forum posts, etc. This feature requires a little + more expertise and is explained in detail in the ./docs/README(2).txt file.</li> + </ul> +</div> |
From: <zy...@us...> - 2014-12-22 19:32:26
|
Revision: 12913 http://sourceforge.net/p/xoops/svn/12913 Author: zyspec Date: 2014-12-22 19:32:22 +0000 (Mon, 22 Dec 2014) Log Message: ----------- - sanitized various ids passed into method/functions to reduce security vulnerability - added module preference setting to remove admin impressions and clicks from banner count - added module preference setting to set maximum file upload size - added ability to change banner status from Admin banner edit page - added banner and image directory removal on uninstall - added additional banner categories for industry standard size banners - moved images, css, & js to assets subdirectory - moved mimetypes.inc.php from ./class to ./include directory where it belongs - converted dirname(__FILE__) to __DIR__ - removed files for permissions & block management (functionality previously removed), uses XOOPS standard methods - removed/commented english language defines that are no longer used - removed RwbannerAbout class as it's no longer used. Module now uses XOOPS standard method to display module info - fixed bug if installed in directory other than default preload could not determine if module is active - re-arranged admin code and tabs to make operations more intuitive - updated Admin help to reflect operation & usage changes - minor code & comment cleanup to improve performance & maintainability Modified Paths: -------------- XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/about.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin_footer.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin_header.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/blocksadmin.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/exibe.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/import.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/index.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/main.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/menu.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/upgrade.php XoopsModules/rw_banner/branches/zyspec/rwbanner/blocks/ajaxbanner.php XoopsModules/rw_banner/branches/zyspec/rwbanner/blocks/banner.php XoopsModules/rw_banner/branches/zyspec/rwbanner/blocks/dropinbanner.php XoopsModules/rw_banner/branches/zyspec/rwbanner/blocks/estatisticas.php XoopsModules/rw_banner/branches/zyspec/rwbanner/blocks/lightboxbanner.php XoopsModules/rw_banner/branches/zyspec/rwbanner/blocks/popadbanner.php XoopsModules/rw_banner/branches/zyspec/rwbanner/class/FlashHeader.php XoopsModules/rw_banner/branches/zyspec/rwbanner/class/about.php XoopsModules/rw_banner/branches/zyspec/rwbanner/class/class.banner.php XoopsModules/rw_banner/branches/zyspec/rwbanner/class/class.categoria.php XoopsModules/rw_banner/branches/zyspec/rwbanner/class/class.tags.php XoopsModules/rw_banner/branches/zyspec/rwbanner/conta_click.php XoopsModules/rw_banner/branches/zyspec/rwbanner/docs/LEIAME (2).TXT XoopsModules/rw_banner/branches/zyspec/rwbanner/docs/LEIAME.TXT XoopsModules/rw_banner/branches/zyspec/rwbanner/docs/LISEZMOI.TXT XoopsModules/rw_banner/branches/zyspec/rwbanner/docs/README (2).TXT XoopsModules/rw_banner/branches/zyspec/rwbanner/docs/changelog.txt XoopsModules/rw_banner/branches/zyspec/rwbanner/docs/header.php_com_hack_rwbanner.txt XoopsModules/rw_banner/branches/zyspec/rwbanner/docs/header.php_com_hack_rwbanner_french.txt XoopsModules/rw_banner/branches/zyspec/rwbanner/docs/install.txt XoopsModules/rw_banner/branches/zyspec/rwbanner/docs/readme.txt XoopsModules/rw_banner/branches/zyspec/rwbanner/include/bbcode.php XoopsModules/rw_banner/branches/zyspec/rwbanner/include/functions.php XoopsModules/rw_banner/branches/zyspec/rwbanner/include/getajaxbanner.php XoopsModules/rw_banner/branches/zyspec/rwbanner/include/maketags.php XoopsModules/rw_banner/branches/zyspec/rwbanner/index.php XoopsModules/rw_banner/branches/zyspec/rwbanner/inser.php XoopsModules/rw_banner/branches/zyspec/rwbanner/language/english/admin.php XoopsModules/rw_banner/branches/zyspec/rwbanner/language/english/blocks.php XoopsModules/rw_banner/branches/zyspec/rwbanner/language/english/help/help.html XoopsModules/rw_banner/branches/zyspec/rwbanner/language/english/main.php XoopsModules/rw_banner/branches/zyspec/rwbanner/language/english/modinfo.php XoopsModules/rw_banner/branches/zyspec/rwbanner/preloads/core.php XoopsModules/rw_banner/branches/zyspec/rwbanner/sql/mysql.sql XoopsModules/rw_banner/branches/zyspec/rwbanner/xoops_version.php Added Paths: ----------- XoopsModules/rw_banner/branches/zyspec/ XoopsModules/rw_banner/branches/zyspec/rwbanner/ XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/banners.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/categories.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/tags.php XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/ XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/css/ XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/images/ XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/index.html XoopsModules/rw_banner/branches/zyspec/rwbanner/assets/js/ XoopsModules/rw_banner/branches/zyspec/rwbanner/include/mimetypes.inc.php XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_ajax_banner.tpl XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_banner.tpl XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_dropin_banner.tpl XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_estatisticas_banner.tpl XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_lightbox_banner.tpl XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_popad_banner.tpl Removed Paths: ------------- XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/about2.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin_header2.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/inser.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/insercateg.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/insertag.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/myblockform.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/myblocksadmin.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/mygroupperm.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/mygrouppermform.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/perm.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/permissions.php XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/permissions2.php XoopsModules/rw_banner/branches/zyspec/rwbanner/class/mimetypes.inc.php XoopsModules/rw_banner/branches/zyspec/rwbanner/css/ XoopsModules/rw_banner/branches/zyspec/rwbanner/images/ XoopsModules/rw_banner/branches/zyspec/rwbanner/include/blocksadmin.inc.php XoopsModules/rw_banner/branches/zyspec/rwbanner/include/gtickets.php XoopsModules/rw_banner/branches/zyspec/rwbanner/js/ XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_ajax_banner.html XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_banner.html XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_dropin_banner.html XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_estatisticas_banner.html XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_lightbox_banner.html XoopsModules/rw_banner/branches/zyspec/rwbanner/templates/blocks/block_popad_banner.html Modified: XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/about.php =================================================================== --- XoopsModules/rw_banner/trunk/rwbanner/admin/about.php 2014-10-13 19:09:46 UTC (rev 12815) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/about.php 2014-12-22 19:32:22 UTC (rev 12913) @@ -1,5 +1,5 @@ <?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 @@ -7,14 +7,16 @@ * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * @copyright The XOOPS Project (http://www.xoops.org) - * @license {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} - * @author XOOPS Development Team - * @version $Id $ + */ +/** + * @package:: rwbanner + * @copyright:: {@link http://www.xoops.org The XOOPS Project} + * @license:: {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} + * @author:: XOOPS Module Development Team + * @version:: $Id: $ **/ -include_once dirname(__FILE__) . '/admin_header.php'; +include_once __DIR__ . '/admin_header.php'; xoops_cp_header(); @@ -23,4 +25,4 @@ echo $aboutAdmin->addNavigation('about.php'); echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); -include 'admin_footer.php'; \ No newline at end of file +include __DIR__ . '/admin_footer.php'; Deleted: XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/about2.php =================================================================== --- XoopsModules/rw_banner/trunk/rwbanner/admin/about2.php 2014-10-13 19:09:46 UTC (rev 12815) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/about2.php 2014-12-22 19:32:22 UTC (rev 12913) @@ -1,36 +0,0 @@ -<?php -// ------------------------------------------------------------------------ // -// RW-Banner // -// Copyright (c) 2006 BrInfo // -// <http://www.brinfo.com.br> // -// ------------------------------------------------------------------------ // -// 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 // -// ------------------------------------------------------------------------- // -// Author: Rodrigo Pereira Lima (BrInfo - Soluções Web) // -// Site: http://www.brinfo.com.br // -// Project: RW-Banner // -// Descrição: Sistema de gerenciamento de mídias publicitárias // -// ------------------------------------------------------------------------- // - -include_once("admin_header.php"); - -include_once("../class/about.php"); -$aboutObj = new RwbannerAbout(_AM_RWBANNER_ABOUT); -$aboutObj->render(); Modified: XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin.php =================================================================== --- XoopsModules/rw_banner/trunk/rwbanner/admin/admin.php 2014-10-13 19:09:46 UTC (rev 12815) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin.php 2014-12-22 19:32:22 UTC (rev 12913) @@ -1,154 +1,163 @@ <?php -// ------------------------------------------------------------------------ // -// RW-Banner // -// Copyright (c) 2006 BrInfo // -// <http://www.brinfo.com.br> // -// ------------------------------------------------------------------------ // -// 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 // -// ------------------------------------------------------------------------- // -// Author: Rodrigo Pereira Lima (BrInfo - Soluções Web) // -// Site: http://www.brinfo.com.br // -// Project: RW-Banner // -// Descrição: Sistema de gerenciamento de mídias publicitárias // -// ------------------------------------------------------------------------- // +/* + RW-Banner + Copyright (c) 2006 BrInfo + <http://www.brinfo.com.br> + 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. -$admin_mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; + 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. -$fct = empty( $_POST['fct'] ) ? '' : trim( $_POST['fct'] ) ; -$fct = empty( $_GET['fct'] ) ? $fct : trim( $_GET['fct'] ) ; -if( empty( $fct ) ) $fct = 'preferences' ; + 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 +*/ +/** + * XOOPS rwbanner Banner Click Redirect page + * + * @package:: rwbanner + * @copyright:: {@link www.brinfo.com.br BrInfo - Soluções Web} + * @license:: {@link http://www.fsf.org/copyleft/gpl.html GNU public license} + * @author:: Rodrigo Pereira Lima aka RpLima (http://www.brinfo.com.br) + * @since:: 1.0 + * @version:: $Id $ + * + */ +$admin_mydirname = basename(dirname(__DIR__)); + +$fct = XoopsRequest::getString('fct', 'preferences'); +$fct = trim($fct); +/* +$fct = empty($_POST['fct']) ? 'preferences' : trim($_POST['fct']); +$fct = empty($_GET['fct']) ? $fct : trim($_GET['fct']); +*/ + include "../../../mainfile.php"; -include XOOPS_ROOT_PATH."/include/cp_functions.php"; -include_once XOOPS_ROOT_PATH."/kernel/module.php"; -include_once "../include/gtickets.php" ;// GIJ +include $GLOBALS['xoops']->path("/include/cp_functions.php"); +include_once $GLOBALS['xoops']->path("/kernel/module.php"); $admintest = 0; -if (is_object($xoopsUser)) { - $xoopsModule =& XoopsModule::getByDirname("system"); - if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) { - redirect_header(XOOPS_URL.'/user.php',3,_MD_RWBANNER_NOPERM); - exit(); - } - $admintest=1; +if ($GLOBALS['xoopsUser'] instanceof XoopsUser) { + $GLOBALS['xoopsModule'] =& XoopsModule::getByDirname('system'); + if (!$GLOBALS['xoopsUser']->isAdmin($GLOBALS['xoopsModule']->mid()) ) { + redirect_header($GLOBALS['xoops']->url('www/user.php'), 3, _MD_RWBANNER_NOPERM); + exit(); + } + $admintest = 1; } else { - redirect_header(XOOPS_URL.'/user.php',3,_MD_RWBANNER_NOPERM); - exit(); + redirect_header($GLOBALS['xoops']->url('www/user.php'), 3, _MD_RWBANNER_NOPERM); + exit(); } // include system category definitions -include_once XOOPS_ROOT_PATH."/modules/system/constants.php"; +include_once $GLOBALS['xoops']->path('modules/system/constants.php'); $error = false; -if ($admintest != 0) { - if (isset($fct) && $fct != '') { - if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/xoops_version.php")) { - if ( file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php") ) { - include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php"; - } else { - include XOOPS_ROOT_PATH."/modules/system/language/english/admin.php"; - } - if (file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php")) { - include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php"; - } elseif (file_exists(XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php")) { - include XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php"; - } - include XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/xoops_version.php"; - $sysperm_handler =& xoops_gethandler('groupperm'); - $category = !empty($modversion['category']) ? intval($modversion['category']) : 0; - unset($modversion); - if ($category > 0) { - $groups =& $xoopsUser->getGroups(); - if (in_array(XOOPS_GROUP_ADMIN, $groups) || false != $sysperm_handler->checkRight('system_admin', $category, $groups, $xoopsModule->getVar('mid'))){ -// if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php")) { -// include_once XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php"; GIJ - if (file_exists("../include/{$fct}.inc.php")) { - include_once "../include/{$fct}.inc.php" ; - } else { - $error = true; - } - } else { - $error = true; - } - } elseif ($fct == 'version') { - if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/version/main.php")) { - include_once XOOPS_ROOT_PATH."/modules/system/admin/version/main.php"; - } else { - $error = true; - } - } else { - $error = true; - } - } else { - $error = true; - } - } else { - $error = true; - } +if (0 != $admintest) { + if ('' != $fct) { + if (file_exists($GLOBALS['xoops']->path("modules/system/admin/{$fct}/xoops_version.php"))) { + xoops_loadLanguage('admin', 'system'); +/* + if (file_exists($GLOBALS['xoops']->path("modules/system/language/{$GLOBALS['xoopsConfig']['language']}/admin.php"))) { + include $GLOBALS['xoops']->path("modules/system/language/{$GLOBALS['xoopsConfig']['language']}/admin.php"); + } else { + include $GLOBALS['xoops']->path('modules/system/language/english/admin.php'); + } +*/ + if (file_exists($GLOBALS['xoops']->path("modules/system/language/{$GLOBALS['xoopsConfig']['language']}/admin/{$fct}.php"))) { + include $GLOBALS['xoops']->path("modules/system/language/{$GLOBALS['xoopsConfig']['language']}/admin/{$fct}.php"); + } elseif (file_exists($GLOBALS['xoops']->path("modules/system/language/english/admin/{$fct}.php"))) { + include $GLOBALS['xoops']->path("modules/system/language/english/admin/{$fct}.php"); + } + include $GLOBALS['xoops']->path("modules/system/admin/{$fct}/xoops_version.php"); + $sysperm_handler =& xoops_gethandler('groupperm'); + $category = !empty($modversion['category']) ? intval($modversion['category']) : 0; + unset($modversion); + if ($category > 0) { + $groups =& $GLOBALS['xoopsUser']->getGroups(); + if (in_array(XOOPS_GROUP_ADMIN, $groups) || false != $sysperm_handler->checkRight('system_admin', $category, $groups, $GLOBALS['xoopsModule']->getVar('mid'))) { +// if (file_exists(XOOPS_ROOT_PATH."modules/system/admin/".$fct."/main.php")) { +// include_once XOOPS_ROOT_PATH."modules/system/admin/".$fct."/main.php"; GIJ + if (file_exists("../include/{$fct}.inc.php")) { + include_once "../include/{$fct}.inc.php"; + } else { + $error = true; + } + } else { + $error = true; + } + } elseif ('version' == $fct) { + if (file_exists($GLOBALS['xoops']->path('modules/system/admin/version/main.php'))) { + include_once $GLOBALS['xoops']->path('modules/system/admin/version/main.php'); + } else { + $error = true; + } + } else { + $error = true; + } + } else { + $error = true; + } + } else { + $error = true; + } } if (false != $error) { - xoops_cp_header(); - echo "<h4>System Configuration</h4>"; - echo '<table class="outer" cellpadding="4" cellspacing="1">'; - echo '<tr>'; - $groups = $xoopsUser->getGroups(); - $all_ok = false; - if (!in_array(XOOPS_GROUP_ADMIN, $groups)) { - $sysperm_handler =& xoops_gethandler('groupperm'); - $ok_syscats =& $sysperm_handler->getItemIds('system_admin', $groups); - } else { - $all_ok = true; - } - $admin_dir = XOOPS_ROOT_PATH."/modules/system/admin"; - $handle = opendir($admin_dir); - $counter = 0; - $class = 'even'; - while ($file = readdir($handle)) { - if (strtolower($file) != 'cvs' && !preg_match("/[.]/", $file) && is_dir($admin_dir.'/'.$file)) { - include $admin_dir.'/'.$file.'/xoops_version.php'; - if ($modversion['hasAdmin']) { - $category = isset($modversion['category']) ? intval($modversion['category']) : 0; - if (false != $all_ok || in_array($modversion['category'], $ok_syscats)) { - echo "<td class='$class' align='center' valign='bottom' width='19%'>"; - echo "<a href='".XOOPS_URL."/modules/system/admin.php?fct=".$file."'><b>" .trim($modversion['name'])."</b></a>\n"; - echo "</td>"; - $counter++; - $class = ($class == 'even') ? 'odd' : 'even'; - } - if ( $counter > 4 ) { - $counter = 0; - echo "</tr>"; - echo "<tr>"; - } - } - unset($modversion); - } - } - while ($counter < 5) { - echo '<td class="'.$class.'"> </td>'; - $class = ($class == 'even') ? 'odd' : 'even'; - $counter++; - } - echo '</tr></table>'; + xoops_cp_header(); + echo "<h4>System Configuration</h4>\n"; + echo "<table class='outer' cellpadding='4' cellspacing='1'>\n"; + echo "<tr>\n"; + $groups = $GLOBALS['xoopsUser']->getGroups(); + $all_ok = false; + if (!in_array(XOOPS_GROUP_ADMIN, $groups)) { + $sysperm_handler =& xoops_gethandler('groupperm'); + $ok_syscats =& $sysperm_handler->getItemIds('system_admin', $groups); + } else { + $all_ok = true; + } + $admin_dir = $GLOBALS['xoops']->path('modules/system/admin'); + $handle = opendir($admin_dir); + $counter = 0; + $class = 'even'; + while ($file = readdir($handle)) { + if (strtolower($file) != 'cvs' && !preg_match("/[.]/", $file) && is_dir($admin_dir.'/'.$file)) { + include $admin_dir.'/'.$file.'/xoops_version.php'; + if ($modversion['hasAdmin']) { + $category = isset($modversion['category']) ? intval($modversion['category']) : 0; + if (false != $all_ok || in_array($modversion['category'], $ok_syscats)) { + echo "<td class='$class' align='center' valign='bottom' width='19%'>\n"; + echo " <a href='" . $GLOBALS['xoops']->buildUrl("modules/system/admin.php", array('fct'=>$file)) . "'><b>" . trim($modversion['name']) . "</b></a>\n"; + echo "</td>\n"; + ++$counter; + $class = ('even' == $class) ? 'odd' : 'even'; + } + if ($counter > 4) { + $counter = 0; + echo "</tr>\n"; + echo "<tr>\n"; + } + } + unset($modversion); + } + } + while ($counter < 5) { + echo "<td class='{$class}'> </td>\n"; + $class = ('even' == $class) ? 'odd' : 'even'; + ++$counter; + } + echo '</tr></table>'; xoops_cp_footer(); } Modified: XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin_footer.php =================================================================== --- XoopsModules/rw_banner/trunk/rwbanner/admin/admin_footer.php 2014-10-13 19:09:46 UTC (rev 12815) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin_footer.php 2014-12-22 19:32:22 UTC (rev 12913) @@ -1,10 +1,26 @@ <?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. + */ +/** + * @package:: rwbanner + * @copyright:: {@link http://www.xoops.org The XOOPS Project} + * @license:: {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} + * @author:: XOOPS Module Development Team + * @version:: $Id: $ + **/ global $pathIcon32; echo "<div class='adminfooter'>\n" - ." <div style='text-align: center;'>\n" - ." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" - ." </div>\n" - ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" - ."</div>"; + . " <div class='txtcenter'>\n" + . " <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + . " </div>\n" + . " " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" + . "</div>\n"; -xoops_cp_footer(); \ No newline at end of file +xoops_cp_footer(); Modified: XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin_header.php =================================================================== --- XoopsModules/rw_banner/trunk/rwbanner/admin/admin_header.php 2014-10-13 19:09:46 UTC (rev 12815) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin_header.php 2014-12-22 19:32:22 UTC (rev 12913) @@ -11,42 +11,41 @@ * @copyright The XOOPS Project (http://www.xoops.org) * @license {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} * @author XOOPS Development Team - * @version $Id $ + * @version $Id: $ **/ -$path = dirname(dirname(dirname(dirname(__FILE__)))); -include_once $path . '/mainfile.php'; -include_once $path . '/header.php'; -include_once $path . '/include/cp_functions.php'; -require_once $path . '/include/cp_header.php'; +require_once "../../../include/cp_header.php"; +include_once $GLOBALS['xoops']->path('/mainfile.php'); +include_once $GLOBALS['xoops']->path('/header.php'); +include_once $GLOBALS['xoops']->path('/include/cp_functions.php'); -include_once $path . "/kernel/module.php"; -include_once $path . "/class/xoopstree.php"; -include_once $path . "/class/xoopslists.php"; -include_once $path . "/class/xoopsformloader.php"; -include_once $path . '/class/pagenav.php'; +include_once $GLOBALS['xoops']->path('/kernel/module.php'); +include_once $GLOBALS['xoops']->path('/class/xoopstree.php'); +include_once $GLOBALS['xoops']->path('/class/xoopslists.php'); +include_once $GLOBALS['xoops']->path('/class/xoopsformloader.php'); +include_once $GLOBALS['xoops']->path('/class/pagenav.php'); -$dirname = basename(dirname(dirname(__FILE__))); +$path = dirname(dirname(dirname(__DIR__))); +$dirname = basename(dirname(__DIR__)); $module_handler = xoops_gethandler('module'); $module = $module_handler->getByDirname($dirname); -if (is_object($xoopsUser)) { - $xoopsModule = XoopsModule::getByDirname($dirname); - if (!$xoopsUser->isAdmin($xoopsModule->mid())) { - redirect_header(XOOPS_URL . "/", 1, _MD_RWBANNER_NOPERM); +if (is_object($GLOBALS['xoopsUser'])) { + $GLOBALS['xoopsModule'] = XoopsModule::getByDirname($dirname); + if (!$GLOBALS['xoopsUser']->isAdmin($GLOBALS['xoopsModule']->mid())) { + redirect_header($GLOBALS['xoops']->url('www'), 1, _MD_RWBANNER_NOPERM); exit(); } } else { - redirect_header(XOOPS_URL . "/", 1, _MD_RWBANNER_NOPERM); + redirect_header($GLOBALS['xoops']->url('www'), 1, _MD_RWBANNER_NOPERM); exit(); } -global $xoopsModule; //$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); //if functions.php file exist -require_once dirname(dirname(__FILE__)) . '/include/functions.php'; +require_once dirname(__DIR__) . '/include/functions.php'; $myts =& MyTextSanitizer::getInstance(); //$xoopsTpl->assign('module_dir', $module->getVar('dirname')); @@ -56,12 +55,12 @@ xoops_loadLanguage('modinfo', $dirname); xoops_loadLanguage('main', $dirname); -$pathIcon16 = '../' . $xoopsModule->getInfo('icons16'); -$pathIcon32 = '../' . $xoopsModule->getInfo('icons32'); -$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); +$pathIcon16 = '../' . $GLOBALS['xoopsModule']->getInfo('icons16'); +$pathIcon32 = '../' . $GLOBALS['xoopsModule']->getInfo('icons32'); +$pathModuleAdmin = $GLOBALS['xoopsModule']->getInfo('dirmoduleadmin'); -if (file_exists($GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'))) { - include_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'); +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($GLOBALS['xoops']->path('admin.php'), 5, _AM_MODULEADMIN_MISSING, false); } \ No newline at end of file Deleted: XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin_header2.php =================================================================== --- XoopsModules/rw_banner/trunk/rwbanner/admin/admin_header2.php 2014-10-13 19:09:46 UTC (rev 12815) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/admin_header2.php 2014-12-22 19:32:22 UTC (rev 12913) @@ -1,62 +0,0 @@ -<?php -// ------------------------------------------------------------------------ // -// RW-Banner // -// Copyright (c) 2006 BrInfo // -// <http://www.brinfo.com.br> // -// ------------------------------------------------------------------------ // -// 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 // -// ------------------------------------------------------------------------- // -// Author: Rodrigo Pereira Lima (BrInfo - Soluções Web) // -// Site: http://www.brinfo.com.br // -// Project: RW-Banner // -// Descrição: Sistema de gerenciamento de mídias publicitárias // -// ------------------------------------------------------------------------- // - -$path = dirname(dirname(dirname(dirname(__FILE__)))); -include_once $path . '/mainfile.php'; -include_once $path . '/include/cp_header.php'; -include_once $path ."/kernel/module.php"; -include_once $path ."/class/xoopstree.php"; -include_once $path ."/class/xoopslists.php"; -include_once $path ."/class/xoopsformloader.php"; -include_once $path .'/class/pagenav.php'; - -if (is_object($xoopsUser)){ - $dirname = basename(dirname(dirname(__FILE__))); - $module_handler = xoops_gethandler('module'); - $module = $module_handler->getByDirname($dirname); - if (!$xoopsUser->isAdmin($module->mid())){ - redirect_header(XOOPS_URL."/",1,_MD_RWBANNER_NOPERM); - exit(); - } -}else{ - redirect_header(XOOPS_URL."/",1,_MD_RWBANNER_NOPERM); - exit(); -} - -include_once XOOPS_ROOT_PATH."/modules/".$module->dirname()."/include/functions.php"; - -if ( file_exists("../language/".$xoopsConfig['language']."/modinfo.php") ) { - include("../language/".$xoopsConfig['language']."/modinfo.php"); -} else { - include("../language/english/modinfo.php"); -} - -$myts =& MyTextSanitizer::getInstance(); Copied: XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/banners.php (from rev 12815, XoopsModules/rw_banner/trunk/rwbanner/admin/inser.php) =================================================================== --- XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/banners.php (rev 0) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/banners.php 2014-12-22 19:32:22 UTC (rev 12913) @@ -0,0 +1,374 @@ +<?php +/* + RW-Banner + Copyright (c) 2006 BrInfo + <http://www.brinfo.com.br> + 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 +*/ +/** + * + * @copyright:: {@link www.brinfo.com.br BrInfo - Soluções Web} + * @license:: {@link http://www.fsf.org/copyleft/gpl.html GNU public license} + * @author:: Rodrigo Pereira Lima aka RpLima (http://www.brinfo.com.br) + * @package:: rwbanner + * @version:: $Id: $ + * + */ + + +include __DIR__ . '/admin_header.php'; + +include_once $GLOBALS['xoops']->path('/include/cp_functions.php'); + +include_once $GLOBALS['xoops']->path('/class/uploader.php'); +include_once "../class/class.banner.php"; + +$local_folder = $GLOBALS['xoopsModuleConfig']['dir_images']; +$op = XoopsRequest::getCmd('op', ''); +$op = (isset($_POST['post'])) ? 'grava' : $op; +$id = XoopsRequest::getInt('id', 0); +$form = XoopsRequest::getArray('form', array(), 'POST'); + +switch ($op) { + case 'grava': + $form['usarhtml'] = (isset($form['usarhtml'])) ? $form['usarhtml'] : 0; + $form['maxexib'] = (isset($form['maxexibe'])) ? $form['maxexibe'] : 0; + $form['maxclick'] = (isset($form['maxclick'])) ? $form['maxclick'] : 0; + $form['periodo'] = (isset($form['periodo'])) ? $form['periodo'] : 0; + $form['showimg'] = 1; + + $data = date("y:m:d h:i:s"); + if ('' == $form['grafico']) { + //Start the file upload routine + $maxfilesize = $GLOBALS['xoopsModuleConfig']['max_upload_sz']; + $uploader = new XoopsMediaUploader($local_folder, include_once $GLOBALS['xoops']->path('modules/'.$GLOBALS['xoopsModule']->dirname().'/include/mimetypes.inc.php'), $maxfilesize); + $upload_file_count = count($_POST["xoops_upload_file"]); + for ($i = 0; $i < $upload_file_count; ++$i) { + if ($uploader->fetchMedia($_POST["xoops_upload_file"][$i])) { + if (!$uploader->upload()) { + redirect_header('index.php',2,$uploader->getErrors()); + } else { + $file_name = $uploader->getSavedFileName(); + } + } + } + //Fim da rotina de upload de arquivo + $upfolder = substr($local_folder, strlen($GLOBALS['xoops']->path('www')), strlen($local_folder) + 1); + $form['grafico'] = (1 != $form['usarhtml']) ? $GLOBALS['xoops']->url("www/{$upfolder}/{$file_name}") : ''; + } + + $banner = new RWbanners($form); + + if (_ADD == $_POST['value']) { + if ($banner->grava()) { + redirect_header('index.php', 2, _AM_RWBANNER_MSG8); + } else { + redirect_header('index.php', 2, _AM_RWBANNER_MSG10 . "<br />" . $banner->getError()); + } + } elseif (_EDIT == $_POST['value']) { + if ($banner->getStatus() == 2 && $banner->getCategoria() != 0) { + $banner->setStatus(1); + } + if ($banner->edita()) { + redirect_header('index.php', 2, _AM_RWBANNER_MSG2); + } else { + redirect_header('index.php', 2, _AM_RWBANNER_MSG11 . "<br />" . $banner->getError()); + } + } else { + redirect_header('index.php', 2, _AM_RWBANNER_MSG10); + } + break; + case 'editar': + xoops_cp_header(); + // rwbanner_adminMenu('',_AM_RWBANNER_TITLE21.' '.$id); + $sql = "SELECT * FROM " . $GLOBALS['xoopsDB']->prefix('rw_banner') . " WHERE codigo={$id}"; + $query = $GLOBALS['xoopsDB']->query($sql); + $form = $GLOBALS['xoopsDB']->fetchArray($query); + //echo '<br><br><br><br><br><br>'; + monta_form(_EDIT); + xoops_cp_footer(); + break; + case 'criar': + xoops_cp_header(); + // rwbanner_adminMenu(3,_AM_RWBANNER_VALUE_BTN1); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation('banners.php'); + //echo '<br><br><br><br><br><br>'; + monta_form(_ADD); + xoops_cp_footer(); + break; + default: + require_once dirname(__DIR__) . "/include/admin_list_functions.inc.php"; + $limit = $GLOBALS['xoopsModuleConfig']['total_reg_index']; + $order = XoopsRequest::getString('order', 'codigo', 'GET'); + $seq = XoopsRequest::getString('seq', 'ASC', 'GET'); + $start = XoopsRequest::getInt('start', 0, 'GET'); + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation('banners.php'); + $indexAdmin->addItemButton(_AM_RWBANNER_VALUE_BTN1, 'banners.php' . '?op=criar', $icon = 'add'); + echo $indexAdmin->renderButton(); + lista_banners($order, $seq, null, $limit, $start, true); + xoops_cp_footer(); + break; +} + +function monta_form($value) { + global $form, $file_name; + include_once $GLOBALS['xoops']->path('/class/xoopsformloader.php'); + + echo ' + <script> + function vai(){ + if (document.getElementById(\'banner\').value != ""){ + document.getElementById(\'form[grafico]\').value = ""; + } + return true; + } + </script> + '; + + $form_title = (_EDIT == $value) ? _AM_RWBANNER_VALUE_BTN3 : _AM_RWBANNER_VALUE_BTN1; + + // initialize form variables for new banners + if (empty($form)) { + $form = array('idcliente' => 0, + 'categoria' => 0, + 'maxexib' => 0, + 'maxclick' => 0, + 'periodo' => 0, + 'grafico' => '', + 'url' => '', + 'usarhtml' => 0, + 'htmlcode' => '', + 'target' => '_blank', + 'showimg' => 1, + 'codigo' => 0, + 'status' => 1, + 'obs' => '' + ); + } + + $banner_form = new XoopsThemeForm($form_title, "form", "banners.php", "post", false); + $banner_form->setExtra('enctype="multipart/form-data"'); + $banner_id = new XoopsFormLabel(_AM_RWBANNER_TITLE2 . ':', $form['codigo']); + //now select status + $banner_status = new XoopsFormRadio(_AM_RWBANNER_TAG_TITLE18, 'form[status]', $form['status'], '<br />'); + $banner_status->addOptionArray(array('0' => _AM_RWBANNER_BANNER_STATUS2, + '2' => _AM_RWBANNER_BANNER_STATUS3, + '1' => _AM_RWBANNER_BANNER_STATUS1) + ); + + $user_selbox = new XoopsFormSelectUser(_AM_RWBANNER_TITLE22, 'form[idcliente]', false, $form['idcliente']); + $categ_selbox = new XoopsFormSelect(_AM_RWBANNER_TITLE23, 'form[categoria]', $form['categoria']); + $categ_selbox->addOption('rodrigo', '--------'); + $js = 'var campo = document.getElementById("form[categoria]"); + if (campo.value == \'rodrigo\'){ + alert("' . _AM_RWBANNER_SELECT_CAT . '"); + campo.focus(); + return false; + }'; + if (method_exists( $categ_selbox, 'getEspecValid' )) { + $categ_selbox->setEspecValid($js); + } + $query = "SELECT titulo, cod FROM ".$GLOBALS['xoopsDB']->prefix("rw_categorias"); + $consulta = $GLOBALS['xoopsDB']->queryF($query); + while (list($titulo,$cod) = $GLOBALS['xoopsDB']->fetchRow($consulta)) { + $categ_selbox->addOption($cod, $titulo); + } + + if (0 == $form['maxexib']) { + $exibe = _AM_RWBANNER_UNLIMIT; + $check = 'checked'; + $disa = 'disabled'; + } else { + $exibe = $form['maxexib']; + $check = ''; + $disa = ''; + } + $label = new XoopsFormElementTray(_AM_RWBANNER_TITLE24,''); + $max = new XoopsFormText('', "form[maxexibe]", 10, 255, $exibe); + $max->setExtra($disa); + echo ' + <script> + function checa(){ + if (document.getElementById(\'form[maxexibe]\').disabled == false){ + document.getElementById(\'form[maxexibe]\').disabled = true; + document.getElementById(\'form[maxexibe]\').value = "'._AM_RWBANNER_BTN_OP3.'"; + }else{ + document.getElementById(\'form[maxexibe]\').disabled = false; + document.getElementById(\'form[maxexibe]\').value = ""; + document.getElementById(\'form[maxexibe]\').focus(); + } + } + </script> + '; + $ilimitado = new XoopsFormCheckBox('',_AM_RWBANNER_BTN_OP3); + $ilimitado->setExtra('onClick="javascript:checa();" '.$check); + $ilimitado->addOption(1,_AM_RWBANNER_BTN_OP3); + if (0 == $form['maxclick']) { + $exibe1 = _AM_RWBANNER_UNLIMIT; + $check1 = 'checked'; + $disa1 = 'disabled'; + } else { + $exibe1 = $form['maxclick']; + $check1 = ''; + $disa1 = ''; + } + $label1 = new XoopsFormElementTray(_AM_RWBANNER_TITLE500,''); + $maxclick = new XoopsFormText('', "form[maxclick]", 10, 255, $exibe1); + $maxclick->setExtra($disa1); + echo ' + <script> + function checa1(){ + if (document.getElementById(\'form[maxclick]\').disabled == false){ + document.getElementById(\'form[maxclick]\').disabled = true; + document.getElementById(\'form[maxclick]\').value = "'._AM_RWBANNER_BTN_OP3.'"; + }else{ + document.getElementById(\'form[maxclick]\').disabled = false; + document.getElementById(\'form[maxclick]\').value = ""; + document.getElementById(\'form[maxclick]\').focus(); + } + } + </script> + '; + $ilimitado1 = new XoopsFormCheckBox('',_AM_RWBANNER_BTN_OP3); + $ilimitado1->setExtra('onClick="javascript:checa1();" '.$check1); + $ilimitado1->addOption(1,_AM_RWBANNER_BTN_OP3); + if (0 == $form['periodo']) { + $exibe2 = _AM_RWBANNER_UNLIMIT; + $check2 = 'checked'; + $disa2 = 'disabled'; + } else { + $exibe2 = $form['periodo']; + $check2 = ''; + $disa2 = ''; + } + $label2 = new XoopsFormElementTray(_AM_RWBANNER_TITLE5001,''); + $periodo = new XoopsFormText('', "form[periodo]", 10, 255, $exibe2); + $periodo->setExtra($disa2); + echo ' + <script> + function checa2(){ + if (document.getElementById(\'form[periodo]\').disabled == false){ + document.getElementById(\'form[periodo]\').disabled = true; + document.getElementById(\'form[periodo]\').value = "'._AM_RWBANNER_BTN_OP3.'"; + }else{ + document.getElementById(\'form[periodo]\').disabled = false; + document.getElementById(\'form[periodo]\').value = ""; + document.getElementById(\'form[periodo]\').focus(); + } + } + </script> + '; + $ilimitado2 = new XoopsFormCheckBox('',_AM_RWBANNER_BTN_OP3); + $ilimitado2->setExtra('onClick="javascript:checa2();" '.$check2); + $ilimitado2->addOption(1,_AM_RWBANNER_BTN_OP3); + $imagem = new XoopsFormText(_AM_RWBANNER_TITLE25, "form[grafico]", 45, 255, $form['grafico']); + $js = ' + var campo = document.getElementById("form[grafico]"); + var campo1 = document.getElementById("banner"); + if (campo.value == \'\' && campo1.value == \'\'){ + alert("' . _AM_RWBANNER_ENTER_IMAGE . '"); + campo.focus(); + return false; + }'; + if (method_exists( $imagem, 'getEspecValid' )) { + $imagem->setEspecValid($js); + } + $max_size = $GLOBALS['xoopsModuleConfig']['max_upload_sz']; + $file_box = new XoopsFormFile(_AM_RWBANNER_TITLE51_ED, "banner", $max_size); + $file_box->setExtra('size ="45" onChange="vai();"'); + $file_box->setDescription($file_name); + $link = new XoopsFormText(_AM_RWBANNER_TITLE26, "form[url]", 45, 255, $form['url']); + + echo ' + <script> + function checar(){ + if (document.getElementById(\'form[htmlcode]\').disabled == false){ + document.getElementById(\'form[htmlcode]\').disabled = true; + }else{ + document.getElementById(\'form[htmlcode]\').disabled = false; + document.getElementById(\'form[htmlcode]\').focus(); + } + } + </script> + '; + + $usarhtml = new XoopsFormCheckBox(_AM_RWBANNER_TITLE27, 'form[usarhtml]', $form['usarhtml']); + $usarhtml->setExtra('onChange="javascript:checar();"'); + $usarhtml->addOption(1,_YES); + $htmlcode = new XoopsFormTextArea(_AM_RWBANNER_TITLE28,'form[htmlcode]', $form['htmlcode']); + if (1 != $form['usarhtml']) { + $htmlcode->setExtra('disabled'); + } + $target_selbox = new XoopsFormSelect(_AM_RWBANNER_TITLE29, 'form[target]', $form['target']); + $target_selbox->addOption('_blank', '_blank'); + $target_selbox->addOption('_self', '_self'); + $target_selbox->addOption('_parent', '_parent'); + $target_selbox->addOption('_top', '_top'); + $button_tray = new XoopsFormElementTray('', ''); + if ($value == _EDIT) { + $id = new XoopsFormHidden('form[codigo]', $form['codigo']); +// $status = new XoopsFormHidden('form[status]', $form['status']); + } + $submit_btn = new XoopsFormButton('', 'post', _SUBMIT, 'submit'); + if ($value == _EDIT && 2 == $form['status']) { + $obs = new XoopsFormTextArea(_AM_RWBANNER_TITLE5000, 'form[obs]', $form['obs']); + $obs->setDescription(_AM_RWBANNER_TITLE5000_DESC); + } + //render the form + if ($form['codigo']) { + $banner_form->addElement($banner_id); + } + $banner_form->addElement($banner_status); + $banner_form->addElement($user_selbox); + $banner_form->addElement($categ_selbox); + if (method_exists($categ_selbox, 'getEspecValid')) { + $banner_form->setRequired($categ_selbox); + } + $label->addElement($max); + $label->addElement($ilimitado); + $banner_form->addElement($label); + $label1->addElement($maxclick); + $label1->addElement($ilimitado1); + $banner_form->addElement($label1); + $label2->addElement($periodo); + $label2->addElement($ilimitado2); + $banner_form->addElement($label2); + $banner_form->addElement($imagem); + if (method_exists( $imagem, 'getEspecValid' )) { + $banner_form->setRequired($imagem); + } + $banner_form->addElement($file_box); + $banner_form->addElement($link); + $banner_form->addElement($usarhtml); + $banner_form->addElement($htmlcode); + $banner_form->addElement($target_selbox); + if ($value == _EDIT && 2 == $form['status']) { + $banner_form->addElement($obs); + } + $button_tray->addElement($submit_btn); + $banner_form->addElement($button_tray); + $banner_form->addElement($id); + $banner_form->addElement($status); + $banner_form->addElement(new XoopsFormHidden('value', $value)); + $banner_form->display(); +} Modified: XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/blocksadmin.php =================================================================== --- XoopsModules/rw_banner/trunk/rwbanner/admin/blocksadmin.php 2014-10-13 19:09:46 UTC (rev 12815) +++ XoopsModules/rw_banner/branches/zyspec/rwbanner/admin/blocksadmin.php 2014-12-22 19:32:22 UTC (rev 12913) @@ -11,13 +11,13 @@ ### ============================================================= ### $Id: blocksadmin.php,v 1.3 2007/06/16 22:40:09 kleber Exp $ ### ============================================================= -include_once("admin_header.php"); -if (!is_object($xoopsUser) || !is_object($xoopsModule) || !$xoopsUser->isAdmin($xoopsModule->mid())) { +include_once __DIR__ . '/admin_header.php'; +if (!is_object($GLOBALS['xoopsUser']) || !is_object($GLOBALS['xoopsModule']) || !$GLOBALS['xoopsUser']->isAdmin($GLOBALS['xoopsModule']->mid())) { exit(MPU_ADM2_403); } -if ($xoopsUser->isAdmin($xoopsModule->mid())) { - include_once XOOPS_ROOT_PATH . '/class/xoopsblock.php'; - $op = "list"; +if ($GLOBALS['xoopsUser']->isAdmin($GLOBALS['xoopsModule']->mid())) { + include_once $GLOBALS['xoops']->path('/class/xoopsblock.php'); + $op = 'list'; if (isset($_POST)) { foreach ($_POST as $k => $v) { $$k = $v; @@ -30,22 +30,22 @@ $bid = isset($_GET['bid']) ? intval($_GET['bid']) : 0; } } - function listar_blocos() { - global $xoopsUser, $xoopsConfig, $xoopsModule; + function listar_blocos() + { include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; $db =& XoopsDatabaseFactory::getDatabaseConnection(); if (file_exists( - XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin/blocksadmin.php" + XOOPS_ROOT_PATH . "/modules/system/language/" . $GLOBALS['xoopsConfig']['language'] . "/admin/blocksadmin.php" ) ) { - include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin.php"); + include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $GLOBALS['xoopsConfig']['language'] . "/admin.php"); include_once( - XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin/blocksadmin.php"); - //include_once(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/groups.php"); + XOOPS_ROOT_PATH . "/modules/system/language/" . $GLOBALS['xoopsConfig']['language'] . "/admin/blocksadmin.php"); + //include_once(XOOPS_ROOT_PATH."/modules/system/language/".$GLOBALS['xoopsConfig']['language']."/admin/groups.php"); } else { - include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin.php"); - include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin/blocksadmin.php"); - include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin/groups.php"); + include_once(XOOPS_ROOT_PATH . "/modules/system/language/english/admin.php"); + include_once(XOOPS_ROOT_PATH . "/modules/system/language/english/admin/blocksadmin.php"); + include_once(XOOPS_ROOT_PATH . "/modules/system/language/english/admin/groups.php"); } $module_handler =& xoops_gethandler('module'); $member_handler =& xoops_gethandler('member'); @@ -68,7 +68,7 @@ . _AM_SYSTEM_BLOCKS_VISIBLEIN . "</th><th align='center'>" . _AM_SYSTEM_ADGS . "</th><th align='center'>" . _AM_XTUBE_ACTION . "</th></tr> "; - $block_arr =& XoopsBlock::getByModule($xoopsModule->mid()); + $block_arr =& XoopsBlock::getByModule($GLOBALS['xoopsModule']->mid()); $block_count = count($block_arr); $class = 'even'; foreach ($block_arr as $i) { @@ -112,23 +112,23 @@ $name = $i->getVar("name"); echo"<tr valign='top'><td class='$class' align='center'><input type='text' name='title[" . $i->getVar("bid") . "]' value='" . $title . "'></td><td class='$class' align='center' nowrap='nowrap'> - <div align='center' > + <div align='center' > <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_LEFT . "'$ssel2 /> - <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_CENTER . "'$ssel3 /> + <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_CENTER . "'$ssel3 /> <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_RIGHT . "'$ssel4 /> - </div> - <div> - <span style='float:right'><input type='radio' name='side[" . $i->getVar("bid") . "]' value='" + </div> + <div> + <span style='float:right'><input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_SIDEBLOCK_RIGHT . "'$ssel1 /></span> <div align='left'><input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_SIDEBLOCK_LEFT . "'$ssel0 /></div> - </div> - <div align='center'> + </div> + <div align='center'> <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_BOTTOMLEFT . "'$ssel5 /> - <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_BOTTOM . "'$ssel7 /> + <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_BOTTOM . "'$ssel7 /> <input type='radio' name='side[" . $i->getVar("bid") . "]' value='" . XOOPS_CENTERBLOCK_BOTTOMRIGHT . "'$ssel6 /> - </div> + </div> </td><td class='$class' align='center'><input type='text' name='weight[" . $i->getVar("bid") . "]' value='" . $i->getVar("weight") . "' size='5' maxlength='5' /></td><td class='$class' align='center' nowrap><input type='radio' name='visible[" @@ -179,15 +179,14 @@ } function clone_block($bid) { - global $xoopsConfig; if (file_exists( - XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin/blocksadmin.php" + XOOPS_ROOT_PATH . "/modules/system/language/" . $GLOBALS['xoopsConfig']['language'] . "/admin/blocksadmin.php" ) ) { - include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin.php"); + include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $GLOBALS['xoopsConfig']['language'] . "/admin.php"); include_once( - XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin/blocksadmin.php"); - //include_once(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/groups.php"); + XOOPS_ROOT_PATH . "/modules/system/language/" . $GLOBALS['xoopsConfig']['language'] . "/admin/blocksadmin.php"); + //include_once(XOOPS_ROOT_PATH."/modules/system/language/".$GLOBALS['xoopsConfig']['language']."/admin/groups.php"); } else { include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin.php"); include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin/blocksadmin.php"); @@ -230,15 +229,14 @@ } function clone_block_ok($bid, $bside, $bweight, $bvisible, $bcachetime, $bmodule, $options) { - global $xoopsUser, $xoopsConfig; if (file_exists( - XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin/blocksadmin.php" + XOOPS_ROOT_PATH . "/modules/system/language/" . $GLOBALS['xoopsConfig']['language'] . "/admin/blocksadmin.php" ) ) { - include_once(X... [truncated message content] |
From: <zy...@us...> - 2014-12-22 19:27:51
|
Revision: 12912 http://sourceforge.net/p/xoops/svn/12912 Author: zyspec Date: 2014-12-22 19:27:23 +0000 (Mon, 22 Dec 2014) Log Message: ----------- - include file missing from previous commit Added Paths: ----------- XoopsModules/randomquote/branches/zyspec/randomquote/language/english/help/module_index.html Added: XoopsModules/randomquote/branches/zyspec/randomquote/language/english/help/module_index.html =================================================================== --- XoopsModules/randomquote/branches/zyspec/randomquote/language/english/help/module_index.html (rev 0) +++ XoopsModules/randomquote/branches/zyspec/randomquote/language/english/help/module_index.html 2014-12-22 19:27:23 UTC (rev 12912) @@ -0,0 +1,28 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/contact/admin/index.php" + title="Back to the administration of Contact"> Random Quote + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Contact"/> + </a></h1> + + <h4 class="odd">Random Quote Module Feaures</h4> + <p style='margin: 1em 0;'>This module includes the following features:</p> + <ul> + <li style='height: 1.3em;'>Allows Administrator to create quotes</li> + <li style='height: 1.3em;'>Quotes can be taken offline without deletion</li> + <li style='height: 1.3em;'>Supports using XoopsEditors - selected through preferences</li> + <li style='height: 1.3em;'>Contains plugin support for the Waiting Block module</li> + <li style='height: 1.3em;'>Contains plugin support for the XOOPS Tag module</li> + </ul> + + <h4 class="odd">Random Quote Module Future Enhancements</h4> + <p style='margin: 1em 0;'>This module has future plans to support the following features:</p> + <ul> + <li style='height: 1.3em;'>Category support to allow administrator to put quotes in categories</li> + <li style='height: 1.3em;'>Group support to allow administrator to restrict access to certain categories</li> + <li style='height: 1.3em;'>Notification (by category) when quote is added</li> + <li style='height: 1.3em;'>Ability to allow certain groups to submit quotes from front-side</li> + <li style='height: 1.3em;'>Ability for administrator to monitor (approve/disapprove) online submissions</li> + </ul> +</div> |
From: <zy...@us...> - 2014-12-21 01:28:31
|
Revision: 12911 http://sourceforge.net/p/xoops/svn/12911 Author: zyspec Date: 2014-12-21 01:28:20 +0000 (Sun, 21 Dec 2014) Log Message: ----------- - updated admin footer to be similar to other modules - changed to use exit() instead of die() for consistency - use XoopsRequest instead of custom function Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_footer.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/contact.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/log.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/menu.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/prune.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/blocks/stats.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/contact.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/formvalidatedinput.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/changelog.txt XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions_update.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/admin.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/help.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/module_index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/xoops_version.php Added Paths: ----------- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/license.txt Removed Paths: ------------- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/licence.txt Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_footer.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_footer.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/admin_footer.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -22,4 +22,14 @@ * @version $Id$ */ +echo "<div class='adminfooter'>\n" + . " <div class='center'>\n" + . " <a href='" . $GLOBALS['xoopsModule']->getInfo('author_website_url') . "' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='" . $GLOBALS['xoopsModule']->getInfo('author_website_name') . "' title='" . $GLOBALS['xoopsModule']->getInfo('author_website_name') . "' /></a>\n" + . " </div>\n" + . " <div class='center smallsmall italic pad5'>\n" + . " " . _AM_CONTACT_MAINTAINED_BY + . " <a class='tooltip' rel='external' href='http://" . $GLOBALS['xoopsModule']->getInfo('module_website_url') . "' " + . "title='" . _AM_CONTACT_MAINTAINED_TITLE . "'>" . _AM_CONTACT_MAINTAINED_TEXT . "</a>\n" + . " </div>\n" + . "</div>"; xoops_cp_footer(); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/contact.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/contact.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/contact.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -27,8 +27,8 @@ // Display Admin header xoops_cp_header(); // Define default value -$op = $contact_handler->contactCleanVars($_REQUEST, 'op', 'list', 'string'); -$contactId = $contact_handler->contactCleanVars($_REQUEST, 'id', '0', 'int'); +$op = XoopsRequest::getString('op', 'list'); +$contactId = XoopsRequest::getInt('id', '0'); $level = ''; // Define scripts @@ -59,8 +59,8 @@ 'sort' => 'contact_id' ); $pageSettingsObj = (object) $pageSettings; //cast contact to a stdClass object - $pageSettingsObj->limit = (isset($_REQUEST['limit'])) ? $contact_handler->contactCleanVars($_REQUEST, 'limit', 0, 'int') : $pageSettingsObj->perpage; - $pageSettingsObj->start = (isset($_REQUEST['start'])) ? $contact_handler->contactCleanVars($_REQUEST, 'start', 0, 'int') : 0; + $pageSettingsObj->limit = XoopsRequest::getInt('limit', $pageSettingsObj->perpage); + $pageSettingsObj->start = XoopsRequest::getInt('start', 0); $contactCount = $contact_handler->contactGetCount('contact_cid'); //count all contacts Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/log.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/log.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/log.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -27,7 +27,7 @@ // Display Admin header xoops_cp_header(); // Define default value -$op = $contact_handler->contactCleanVars($_REQUEST, 'op', 'form', 'string'); +$op = XoopsRequest::getCmd('op', 'form'); switch ($op) { case 'form': @@ -72,17 +72,11 @@ xoops_loadLanguage('main', 'contact'); redirect_header('index.php', 3, _MD_CONTACT_INVALID_SECURITY_TOKEN); } - $column = $contact_handler->contactCleanVars($_POST, 'column', 'contact_mail', 'string'); + $column = XoopsRequest::getWord('column', 'contact_mail', 'POST'); $valid_column = in_array(trim($column), array('contact_icq', 'contact_mail', 'contact_phone', 'contact_url')); $column = ($valid_column) ? trim($column) : 'contact_mail'; - $timestamp = $contact_handler->contactCleanVars($_POST, 'timestamp', formatTimestamp(xoops_getUserTimestamp(time()), 's'), 'string'); + $timestamp = XoopsRequest::getString('timestamp', formatTimestamp(xoops_getUserTimestamp(time()), 's'), 'POST'); $log = $contact_handler->contactLogs($column, $timestamp); -/* - $timestamp = $contact_handler->contactCleanVars($_POST, 'timestamp', xoops_getUserTimestamp(time()), 'date'); - $server_timestamp = userTimeToServerTime($timestamp, $GLOBALS['xoopsUser']->getVar('timezone_offset')); - $abs_timestamp = xoops_getUserTimestamp($server_timestamp, 0); - $log = $contact_handler->contactLogs($column, $abs_timestamp); -*/ if (!$log) { $log = array(_AM_CONTACT_LOGS_NOTHING_HERE); } Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/menu.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/menu.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/menu.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -22,7 +22,7 @@ * @version $Id$ */ -// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); +// defined("XOOPS_ROOT_PATH") || exit("Restricted access"); $module_handler = xoops_gethandler('module'); $module = $module_handler->getByDirname(basename(dirname(__DIR__))); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/prune.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/prune.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/admin/prune.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -28,7 +28,7 @@ // Display Admin header xoops_cp_header(); // Define default value -$op = $contact_handler->contactCleanVars($_REQUEST, 'op', 'list', 'string'); +$op = XoopsRequest::getCmd('op', 'list'); switch ($op) { case 'list': @@ -65,7 +65,7 @@ redirect_header('index.php', 3, _MD_CONTACT_INVALID_SECURITY_TOKEN); } $onlyreply = (isset($_POST['onlyreply'])) ? 1 : 0; - $prune_date = $contact_handler->contactCleanVars($_POST, 'prune_date', formatTimestamp(xoops_getUserTimestamp(time())), 'string'); + $prune_date = XoopsRequest::getWord('prune_date', formatTimestamp(xoops_getUserTimestamp(time())), 'POST'); ob_start(); xoops_confirm(array('op' => 'prune_ok', 'prune_date' => $prune_date, @@ -89,8 +89,11 @@ redirect_header('index.php', 3, _MD_CONTACT_INVALID_SECURITY_TOKEN); } - $timestamp = $contact_handler->contactCleanVars($_POST, 'prune_date', xoops_getUserTimestamp(time()), 'date'); - $onlyreply = (bool) $contact_handler->contactCleanVars($_POST, 'onlyreply', 0, 'int'); + $timeRequest = XoopsRequest::getString('prune_date', 0); + $timestamp = ($timeRequest) ? strtotime($timeRequest) : xoops_getUserTimestamp(time()); + $onlyreply = XoopsRequest::getBool('onlyreply', false, 'POST'); +// $timestamp = $contact_handler->contactCleanVars($_POST, 'prune_date', xoops_getUserTimestamp(time()), 'date'); +// $onlyreply = (bool) $contact_handler->contactCleanVars($_POST, 'onlyreply', 0, 'int'); $count = (int) $contact_handler->deleteBeforeDate($timestamp, $onlyreply); redirect_header('prune.php', 2, sprintf(_AM_CONTACT_MSG_PRUNE_DELETED, $count)); xoops_cp_footer(); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/blocks/stats.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/blocks/stats.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/blocks/stats.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -23,7 +23,7 @@ * @since:: 1.82 */ -defined('XOOPS_ROOT_PATH') or die('Restricted access'); +defined('XOOPS_ROOT_PATH') or exit('Restricted access'); /** * @@ -77,4 +77,4 @@ } } return $block; -} \ No newline at end of file +} Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/contact.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/contact.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/contact.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -22,7 +22,7 @@ * @version $Id: $ */ -//defined("XOOPS_ROOT_PATH") || die("Restricted Access - " . basename($_SERVER['PHP_SELF'], '.php') . PHP_EOL); +//defined("XOOPS_ROOT_PATH") || exit("Restricted access - " . basename($_SERVER['PHP_SELF'], '.php') . PHP_EOL); class Contact extends XoopsObject { @@ -96,11 +96,11 @@ // XOOPS user so don't allow entry of name/email (changed in v1.82) $form->addElement(new XoopsFormHidden('contact_name', $contact_name)); $form->addElement(new XoopsFormHidden('contact_mail', $contact_mail)); - /** @internal re-enable following code (and disable previous) if you want XoopsUser to edit their name/email */ - /* + /** @internal re-enable following code (and disable previous) if you want XoopsUser to edit their name/email */ + /* $form->addElement(new ContactFormValidatedInput(_MD_CONTACT_NAME, 'contact_name', 50, 255, $contact_name), true); $form->addElement(new ContactFormValidatedInput(_MD_CONTACT_MAIL, 'contact_mail', 50, 255, $contact_mail, 'email'), true); - */ + */ } else { $form->addElement(new ContactFormValidatedInput(_MD_CONTACT_NAME, 'contact_name', 50, 255, $contact_name), true); $form->addElement(new ContactFormValidatedInput(_MD_CONTACT_MAIL, 'contact_mail', 50, 255, $contact_mail, 'email'), true); @@ -239,6 +239,7 @@ /** * Get variables passed by $_GET, $_POST, or unknown ($_REQUEST) * + * @deprecated in v1.82 Beta 2 * @param array $global * @param string $key array key to clean (e.g. id) * @param mixed $default key's default value if invalid/no input @@ -400,9 +401,9 @@ $toEmails = array_merge(array($toEmails), $deptEmailAddresses); } } else { // does not use departments or department field does not contain valid email addresses - if (!empty($mailObj->contact_namefrom)) { //take value from ReplyForm, if valid + if (!empty($mailObj->contact_namefrom)) { //take value from ReplyForm, if valid $fromName = $mailObj->contact_namefrom; - } elseif ($GLOBALS['xoopsConfig']['sitename']) { // or take site name if set + } elseif ($GLOBALS['xoopsConfig']['sitename']) { // or take site name if set $fromName = html_entity_decode($GLOBALS['xoopsConfig']['sitename'], ENT_QUOTES, 'UTF-8'); } elseif ($GLOBALS['xoopsUser']->uname()) { // or finally use this user's uname $fromName = $GLOBALS['xoopsUser']->uname(); @@ -508,7 +509,7 @@ * Get Count by dB column * @param string $column dB column to count for Contact * - * @return mixed false on failure, integer count of column items + * @return bool|int false on failure, integer count of column items */ public function contactGetCount($column) { @@ -527,7 +528,7 @@ * Get Insert ID * * @deprecated - * @return mixed false on failure, integer of item Id + * @return bool|int false on failure, integer of item Id */ public function getInsertId() { @@ -672,14 +673,14 @@ return array_unique($ret); } - /** - * - * Format Reply message body - adds original message to reply - * @param object $mailObj must include 'contact_orig_message', ['contact_message'] keys - * @param bool $inc_orig true: include original message body in reply, false: don't - * - * @return string reply message body - */ + /** + * + * Format Reply message body - adds original message to reply + * @param object $mailObj must include 'contact_orig_message', ['contact_message'] keys + * @param bool $inc_orig true: include original message body in reply, false: don't + * + * @return string reply message body + */ public function replyBodyFormat(stdClass &$mailObj, $inc_orig=false) { if ($inc_orig) { Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/formvalidatedinput.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/formvalidatedinput.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/class/formvalidatedinput.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -22,7 +22,7 @@ * @version $Id: $ */ -defined('XOOPS_ROOT_PATH') || die('Restricted access'); +defined('XOOPS_ROOT_PATH') || exit('Restricted access'); /** * A simple HTML5 type validated input field Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/changelog.txt =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/changelog.txt 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/changelog.txt 2014-12-21 01:28:20 UTC (rev 12911) @@ -1,5 +1,12 @@ -Version 1.82 from 2014-11-25 + +Version 1.82 from 2014-12-03 Beta 2 ================================= +- Replaced ContactContact->contactCleanVars function with XoopsRequest +- changed to use exit() instead of die() for consistency +- minor phpdocumentor updates + +Version 1.82 from 2014-11-25 Beta 1 +================================= - Added ability to require visitors to enter email 2X on form (ZySpec) - Added features page to Admin help (ZySpec) - Added date select to Admin log form (ZySpec) Deleted: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/licence.txt =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/licence.txt 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/licence.txt 2014-12-21 01:28:20 UTC (rev 12911) @@ -1,339 +0,0 @@ - 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. Copied: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/license.txt (from rev 12872, XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/licence.txt) =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/license.txt (rev 0) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/docs/license.txt 2014-12-21 01:28:20 UTC (rev 12911) @@ -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. Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -21,7 +21,7 @@ * @version $Id: $ */ -defined("XOOPS_ROOT_PATH") || die("Restricted Access - " . basename($_SERVER['PHP_SELF'], '.php') . PHP_EOL); +defined("XOOPS_ROOT_PATH") || exit("Restricted access - " . basename($_SERVER['PHP_SELF'], '.php') . PHP_EOL); /** * Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions_update.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions_update.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/include/functions_update.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -31,7 +31,7 @@ || !($GLOBALS['xoopsUser'] instanceof XoopsUser) || !($GLOBALS['xoopsUser']->IsAdmin())) { - die("Restricted Access - " . basename($_SERVER['PHP_SELF']) . PHP_EOL); + exit("Restricted access - " . basename($_SERVER['PHP_SELF']) . PHP_EOL); } function rmmdir($dir) Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/index.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -26,9 +26,12 @@ //unset($_SESSION); include $GLOBALS['xoops']->path("/header.php"); -$op = $contact_handler->contactCleanVars($_POST, 'op', 'form', 'string'); -$department = $contact_handler->contactCleanVars($_GET, 'contact_department', '', 'string'); +$op = XoopsRequest::getCmd('op', 'form', 'POST'); +$department = XoopsRequest::getString('contact_department', '', 'GET'); +//$op = $contact_handler->contactCleanVars($_POST, 'op', 'form', 'string'); +//$department = $contact_handler->contactCleanVars($_GET, 'contact_department', '', 'string'); + switch ($op) { case 'save': if (empty($_POST['submit']) ) { @@ -57,7 +60,7 @@ $xoopsCaptcha = XoopsCaptcha::getInstance(); if (!$xoopsCaptcha->verify()) { $err[] = $xoopsCaptcha->getMessage(); - redirect_header("index.php", 2, $xoopsCaptcha->getMessage()); + redirect_header("index.php", 2, $xoopsCaptcha->getMessage()); exit(); } @@ -65,14 +68,18 @@ } // check email - $contact_mail = $contact_handler->contactCleanVars($_POST, 'contact_mail', '', 'mail'); - if ('' == $contact_mail) { + $input_mail = XoopsRequest::getString('contact_mail', '', 'POST'); + $contact_mail = checkEmail($input_mail); +// $contact_mail = $contact_handler->contactCleanVars($_POST, 'contact_mail', '', 'mail'); + if (empty($contact_mail)) { redirect_header($_SERVER['PHP_SELF'], 2, _MD_CONTACT_MES_NOVALIDEMAIL); // redirect_header("javascript:history.go(-1)", 2, _MD_CONTACT_MES_NOVALIDEMAIL); exit(); } elseif (!$GLOBALS['xoopsUser'] && $GLOBALS['xoopsModuleConfig']['form_req_email2']) { - $contact_mail2 = $contact_handler->contactCleanVars($_POST, 'contact_mail2', '', 'mail'); - if ('' == $contact_mail2) { + $input_mail2 = XoopsRequest::getString('contact_mail2', '', 'POST'); + $contact_mail2 = checkEmail($input_mail2); +// $contact_mail2 = $contact_handler->contactCleanVars($_POST, 'contact_mail2', '', 'mail'); + if (empty($contact_mail2)) { redirect_header($_SERVER['PHP_SELF'], 2, _MD_CONTACT_MES_NOVALIDEMAIL2); // redirect_header("javascript:history.go(-1)", 2, _MD_CONTACT_MES_NOVALIDEMAIL); exit(); @@ -106,11 +113,11 @@ } redirect_header($GLOBALS['xoops']->url('www'), 3, $message); - exit(); + exit(); } break; - case 'form'; + case 'form'; default: $contactObj = $contact_handler->create(); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/admin.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/admin.php 2014-12-19 22:36:32 UTC (rev 12910) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/admin.php 2014-12-21 01:28:20 UTC (rev 12911) @@ -4,6 +4,10 @@ define('_AM_CONTACT_INDEX_NOREPLIES', "There are <span class='red'>%s</span> Messages with no replies in our database"); define('_AM_CONTACT_INDEX_REPLIES', "There are <span class='green'>%s</span> total Replies in our database"); define('_AM_CONTACT_INDEX_TOTAL', "There are <span class='green'>%s</span> total Messages in our database"); +// Text for Admin footer +define('_AM_CONTACT_MAINTAINED_BY', "XOOPS Contact is maintained by the"); +define('_AM_CONTACT_MAINTAINED_TITLE', "Visit XOOPS Community"); +define('_AM_CONTACT_MAINTAINED_TEXT', "XOOPS Community"); // Contact define('_AM_CONTACT_ID', "Id"); define('_AM_CONTACT_SUBJECT', "Subject"); @@ -59,4 +63,4 @@ define('_AM_CONTACT_LOGS_COLUMN_PHONE', "Phone"); define('_AM_CONTACT_LOGS_COLUMN_URL', "URL"); define('_AM_CONTACT_LOGS_NOTHING_HERE', "There are no items meeting this criteria."); -define('_AM_CONTACT_LOGS_BEFORE_DATE', "Show log of authors before"); \ No newline at end of file +define('_AM_CONTACT_LOGS_BEFORE_DATE', "Show log of authors before"); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/help.html =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/contact/language/english/help/help.html 2014-12-19 22:36:32 UTC (rev 12910) +++ Xoop... [truncated message content] |
From: <luc...@us...> - 2014-12-19 22:36:35
|
Revision: 12910 http://sourceforge.net/p/xoops/svn/12910 Author: luciorota Date: 2014-12-19 22:36:32 +0000 (Fri, 19 Dec 2014) Log Message: ----------- improved subscr filter in admin side Modified Paths: -------------- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_subscrs_list.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php 2014-12-19 20:01:08 UTC (rev 12909) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php 2014-12-19 22:36:32 UTC (rev 12910) @@ -102,34 +102,46 @@ $GLOBALS['xoopsTpl']->assign('subsrCount', $subsrCount); if ($subsrCount > 0) { $subscrCriteria = new CriteriaCompo(); - // get filtered subscrs criteria // get filter parameters - $filter_subscr = XoopsRequest::getString('filter_subscr', '='); + $filter_subscr_criteria = XoopsRequest::getString('filter_subscr_criteria', '='); $filter_subscr_firstname = XoopsRequest::getString('filter_subscr_firstname', ''); $filter_subscr_lastname = XoopsRequest::getString('filter_subscr_lastname', ''); $filter_subscr_email = XoopsRequest::getString('filter_subscr_email', ''); - if ($filter_subscr == 'LIKE' && !$filter_subscr_firstname == '') { - $filter_subscr_firstname = "%{$filter_subscr_firstname}%"; - } - if ($filter_subscr == 'LIKE' && !$filter_subscr_lastname == '') { - $filter_subscr_lastname = "%{$filter_subscr_lastname}%"; - } - if ($filter_subscr == 'LIKE' && !$filter_subscr_email == '') { - $filter_subscr_email = "%{$filter_subscr_email}%"; - } - if ($filter_subscr_firstname == '' && $filter_subscr_lastname == '' && $filter_subscr_email == '') { - $op = 'list_subscrs'; - } if ($apply_filter == true) { + switch ($filter_subscr_criteria) { + case 'CONTAINS': + $pre = '%'; + $post = '%'; + $function = 'LIKE'; + break; + case 'MATCHES': + $pre = ''; + $post = ''; + $function = '='; + break; + case 'STARTSWITH': + $pre = ''; + $post = '%'; + $function = 'LIKE'; + break; + case 'ENDSWITH': + $pre = '%'; + $post = ''; + $function = 'LIKE'; + break; + } + if ($filter_subscr_firstname == '' && $filter_subscr_lastname == '' && $filter_subscr_email == '') { + $op = 'list_subscrs'; + } // apply filter if ($filter_subscr_firstname != '') { - $subscrCriteria->add(new Criteria('subscr_firstname', $filter_subscr_firstname, $filter_subscr)); + $subscrCriteria->add(new Criteria('subscr_firstname', $pre . $filter_subscr_firstname . $post, $function)); } if ($filter_subscr_lastname != '') { - $subscrCriteria->add(new Criteria('subscr_lastname', $filter_subscr_lastname, $filter_subscr)); + $subscrCriteria->add(new Criteria('subscr_lastname', $pre . $filter_subscr_lastname . $post, $function)); } if ($filter_subscr_email != '') { - $subscrCriteria->add(new Criteria('subscr_email', $filter_subscr_email, $filter_subscr)); + $subscrCriteria->add(new Criteria('subscr_email', $pre . $filter_subscr_email . $post, $function)); } } $GLOBALS['xoopsTpl']->assign('apply_filter', $apply_filter); @@ -149,7 +161,7 @@ if ($subsrFilterCount > $limit) { include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; $linklist = "op={$op}"; - $linklist .= "&filter_subscr={$filter_subscr}"; + $linklist .= "&filter_subscr_criteria={$filter_subscr_criteria}"; $linklist .= "&filter_subscr_firstname={$filter_subscr_firstname}"; $linklist .= "&filter_subscr_lastname={$filter_subscr_lastname}"; $linklist .= "&filter_subscr_email={$filter_subscr_email}"; @@ -160,13 +172,14 @@ } $GLOBALS['xoopsTpl']->assign('subscrs_pagenav', $pagenav); // - if ($filter_subscr == 'LIKE') { - //clean up var for refill form - $filter_subscr_firstname = str_replace('%', '', $filter_subscr_firstname); - $filter_subscr_lastname = str_replace('%', '', $filter_subscr_lastname); - $filter_subscr_email = str_replace('%', '', $filter_subscr_email); - } - $GLOBALS['xoopsTpl']->assign('filter_subscr', $filter_subscr); + $filter_subscr_criteria_select = new XoopsFormSelect(_AM_XNEWSLETTER_LETTER_TITLE, 'filter_subscr_criteria', $filter_subscr_criteria, 1, false); + $filter_subscr_criteria_select->addOption('CONTAINS', _CONTAINS); + $filter_subscr_criteria_select->addOption('MATCHES', _MATCHES); + $filter_subscr_criteria_select->addOption('STARTSWITH', _STARTSWITH); + $filter_subscr_criteria_select->addOption('ENDSWITH', _ENDSWITH); + $GLOBALS['xoopsTpl']->assign('filter_subscr_criteria_select', $filter_subscr_criteria_select->render()); + // + $GLOBALS['xoopsTpl']->assign('filter_subscr_criteria', $filter_subscr_criteria); $GLOBALS['xoopsTpl']->assign('filter_subscr_firstname', $filter_subscr_firstname); $GLOBALS['xoopsTpl']->assign('filter_subscr_lastname', $filter_subscr_lastname); $GLOBALS['xoopsTpl']->assign('filter_subscr_email', $filter_subscr_email); Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_subscrs_list.tpl =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_subscrs_list.tpl 2014-12-19 20:01:08 UTC (rev 12909) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_subscrs_list.tpl 2014-12-19 22:36:32 UTC (rev 12910) @@ -20,37 +20,38 @@ } </script> +<table class='outer width100' cellspacing='1'> + <tr class='odd'> + <td> + <form id='form_filter' enctype='multipart/form-data' method='post' action='' name='form_filter'> + <{$smarty.const._AM_XNEWSLETTER_SUBSCR_FIRSTNAME}> + <input type='text' id='filter_subscr_firstname' maxlength='50' size='15' title='' name='filter_subscr_firstname' value='<{$filter_subscr_firstname}>'> + + <{$smarty.const._AM_XNEWSLETTER_SUBSCR_LASTNAME}> + <input type='text' id='filter_subscr_lastname' maxlength='50' size='15' title='' name='filter_subscr_lastname' value='<{$filter_subscr_lastname}>'> + + <{$smarty.const._AM_XNEWSLETTER_SUBSCR_EMAIL}> + <input type='text' id='filter_subscr_email' maxlength='255' size='40' title='' name='filter_subscr_email' value='<{$filter_subscr_email}>'> + <{$smarty.const._SEARCH}> + <{$filter_subscr_criteria_select}> +<!-- + <select id='filter_subscr' title='<{$smarty.const._SEARCH}>' name='filter_subscr' size='1'> + <option value='=' <{if ($filter_subscr == "=")}> selected='selected'<{/if}>><{$smarty.const._AM_XNEWSLETTER_SEARCH_EQUAL}></option> + <option value='LIKE' <{if ($filter_subscr == "LIKE")}> selected='selected'<{/if}>><{$smarty.const._AM_XNEWSLETTER_SEARCH_CONTAINS}></option> + </select> +--> + <input type='submit' id='filter_submit' class='formButton' title='<{$smarty.const._SEARCH}>' value='<{$smarty.const._SEARCH}>' name='filter_submit'> + <input type='hidden' id='op' name='op' value='list_subscrs' > + <input type='hidden' id='filter_op' name='apply_filter' value='1' > + </form> + </td> + </tr> +</table> + <table class='outer' cellspacing='1'> <tr> <td align='left' colspan='9'><{$smarty.const._AM_XNEWSLETTER_THEREARE_SUBSCR|replace:'%s':$subsrCount}></td> </tr> -<form id='form_filter' enctype='multipart/form-data' method='post' action='' name='form_filter'> - <tr> - <td class='center'> </td> - <td colspan='2'><{$smarty.const._SEARCH}>: - <select id='filter_subscr' title='<{$smarty.const._SEARCH}>' name='filter_subscr' size='1'> - <option value='=' <{if ($filter_subscr == "=")}> selected='selected'<{/if}>><{$smarty.const._AM_XNEWSLETTER_SEARCH_EQUAL}></option> - <option value='LIKE' <{if ($filter_subscr == "LIKE")}> selected='selected'<{/if}>><{$smarty.const._AM_XNEWSLETTER_SEARCH_CONTAINS}></option> - </select> - </td> - <td> - <input id='filter_subscr_firstname' type='text' value='<{$filter_subscr_firstname}>' maxlength='50' size='15' title='' name='filter_subscr_firstname'> - </td> - <td> - <input id='filter_subscr_lastname' type='text' value='<{$filter_subscr_lastname}>' maxlength='50' size='15' title='' name='filter_subscr_lastname'> - </td> - <td> - <input id='filter_subscr_email' type='text' value='<{$filter_subscr_email}>' maxlength='255' size='40' title='' name='filter_subscr_email'> - </td> - <td> </td> - <td> </td> - <td class='center'> - <input id='filter_submit' class='formButton' type='submit' title='<{$smarty.const._SEARCH}>' value='<{$smarty.const._SEARCH}>' name='filter_submit'> - </td> -</tr> -<input type='hidden' id='op' name='op' value='list_subscrs' > -<input type='hidden' id='filter_op' name='apply_filter' value='1' > -</form> <form id='form_action' onsubmit='return check(this);' enctype='multipart/form-data' method='post' action='' name='form_action'> <tr> <th class='center'><input type='checkbox' name='togglers[]' title='<{$smarty.const._ALL}>' onClick='toggle(this);'></th> Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php 2014-12-19 20:01:08 UTC (rev 12909) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php 2014-12-19 22:36:32 UTC (rev 12910) @@ -49,7 +49,7 @@ // About $modversion['module_status'] = 'Beta 1'; -$modversion['release_date'] = '2014/12/16'; +$modversion['release_date'] = '2014/12/19'; $modversion['module_website_url'] = 'wedega.com'; $modversion['module_website_name'] = 'Webdesign Gabor'; $modversion['min_php'] = '5.3.7'; |
From: <zy...@us...> - 2014-12-19 20:01:16
|
Revision: 12909 http://sourceforge.net/p/xoops/svn/12909 Author: zyspec Date: 2014-12-19 20:01:08 +0000 (Fri, 19 Dec 2014) Log Message: ----------- Fixed PHP version compare on installation Modified Paths: -------------- XoopsModules/randomquote/branches/zyspec/randomquote/include/action.module.php Modified: XoopsModules/randomquote/branches/zyspec/randomquote/include/action.module.php =================================================================== --- XoopsModules/randomquote/branches/zyspec/randomquote/include/action.module.php 2014-12-19 19:59:59 UTC (rev 12908) +++ XoopsModules/randomquote/branches/zyspec/randomquote/include/action.module.php 2014-12-19 20:01:08 UTC (rev 12909) @@ -97,7 +97,7 @@ $reqVer = $module->getInfo('min_php'); $success = true; - if ($verNum >= $reqVer) { + if ($verNum < $reqVer) { $module->setErrors(sprintf(_AM_RANDOMQUOTE_ERROR_BAD_PHP, $reqVer, $verNum)); $success = false; } |
From: <zy...@us...> - 2014-12-19 20:00:01
|
Revision: 12908 http://sourceforge.net/p/xoops/svn/12908 Author: zyspec Date: 2014-12-19 19:59:59 +0000 (Fri, 19 Dec 2014) Log Message: ----------- Fixed PHP version check on install Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/action.module.php Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/action.module.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/action.module.php 2014-12-16 22:28:16 UTC (rev 12907) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/action.module.php 2014-12-19 19:59:59 UTC (rev 12908) @@ -60,7 +60,7 @@ $extraLen = strlen(PHP_EXTRA_VERSION); $verNum = substr(PHP_VERSION, 0, ($phpLen-$extraLen)); $reqVer = $module->getInfo('min_php'); - if ($verNum >= $reqVer) { + if ($verNum < $reqVer) { $module->setErrors( "The module requires PHP {$reqVer}+ ({$verNum} installed)"); return false; } |
From: <luc...@us...> - 2014-12-16 22:28:21
|
Revision: 12907 http://sourceforge.net/p/xoops/svn/12907 Author: luciorota Date: 2014-12-16 22:28:16 +0000 (Tue, 16 Dec 2014) Log Message: ----------- min req xoops 2.5.7.1 use XoopsRequest class Modified Paths: -------------- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/accounts.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/bmh.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/catsubscr.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/import.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/mailinglist.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/maintenance.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/menu.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/sendletter.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/task.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/template.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/attachment.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/session.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/cron.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/include/common.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/include/functions.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/include/functions.task.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/index.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/admin.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/modinfo.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/letter.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/print.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/protocol.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/sendletter.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/subscription.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_attachments_list.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_letters_list.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_protocols_list.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_tasks_list.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/xnewsletter_empty.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php Removed Paths: ------------- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/breadcrumb.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/request.php Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/accounts.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/accounts.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/accounts.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -29,13 +29,13 @@ $currentFile = basename(__FILE__); include_once __DIR__ . '/admin_header.php'; -xoops_cp_header(); // We recovered the value of the argument op in the URL$ -$op = xnewsletterRequest::getString('op', 'list'); -$save_and_check = xnewsletterRequest::getString('save_and_check', 'none'); -$accounts_id = xnewsletterRequest::getInt('accounts_id', 0); -$post = xnewsletterRequest::getString('post', ''); +$op = XoopsRequest::getString('op', 'list'); +$accounts_id = XoopsRequest::getInt('accounts_id', 0); +$save_and_check = XoopsRequest::getString('save_and_check', 'none'); +$accounts_id = XoopsRequest::getInt('accounts_id', 0); +$post = XoopsRequest::getString('post', ''); if ($post == '' && $op == 'save_accounts' && $save_and_check == 'none') { $op = "edit_account"; @@ -43,6 +43,9 @@ switch ($op) { case 'check_account': + // render start here + xoops_cp_header(); + // render submenu echo $indexAdmin->addNavigation($currentFile); $indexAdmin->addItemButton(_AM_XNEWSLETTER_ACCOUNTSLIST, '?op=list', 'list'); echo $indexAdmin->renderButton(); @@ -54,7 +57,7 @@ } $mailhost = $accountObj->getVar('accounts_server_in'); - $port = $accountObj->getVar('accounts_port_in'); + $port = $accountObj->getVar('accounts_port_in'); switch ($accountObj->getVar('accounts_type')) { case _XNEWSLETTER_ACCOUNTS_TYPE_VAL_POP3: $service = 'pop3'; @@ -92,8 +95,7 @@ echo " <th>" . _AM_XNEWSLETTER_ACCOUNTS_CHECK . "</th>"; echo " <th>" . _AM_XNEWSLETTER_ACCOUNTS_CHECK_INFO . "</th>"; echo "</tr>"; - - $mbox = @imap_open("{" . $command . "}", $accounts_username, $accounts_password); // or die ("can't connect: " . imap_last_error()); + $mbox = @imap_open('{' . $command . '}', $accounts_username, $accounts_password); // or die ("can't connect: " . imap_last_error()); if ($mbox === false) { echo "<tr>"; echo "<td>" . XNEWSLETTER_IMG_FAILED . "</td>"; @@ -107,7 +109,7 @@ echo "<td></td>"; echo "</tr>"; - $folders = imap_listmailbox($mbox, "{" . $command . "}", "*"); + $folders = imap_listmailbox($mbox, '{' . $command . '}', '*'); if ($folders == false) { echo "<tr>"; echo "<td>" . XNEWSLETTER_IMG_FAILED . "</td>"; @@ -125,17 +127,17 @@ $foldercreated = 0; while (list($key, $val) = each($folders)) { echo "($key) "; - echo imap_utf7_decode(str_replace("{" . $command . "}", '', $val)) . "<br>\n"; - if ("{" . $command . "}" . $accounts_inbox == $val) { + echo imap_utf7_decode(str_replace('{' . $command . '}', '', $val)) . "<br>\n"; + if ('{' . $command . '}' . $accounts_inbox == $val) { $accounts_inbox_ok = true; } - if ("{" . $command . "}" . $accounts_hardbox == $val) { + if ('{' . $command . '}' . $accounts_hardbox == $val) { $accounts_hardbox_ok = true; } else { @imap_createmailbox($mbox, imap_utf7_encode('{' . $command . '}' . $accounts_hardbox)); $foldercreated = 1; } - if ("{" . $command . "}" . $accounts_softbox == $val) { + if ('{' . $command . '}' . $accounts_softbox == $val) { $accounts_softbox_ok = true; } else { @imap_createmailbox($mbox, imap_utf7_encode('{' . $command . '}' . $accounts_softbox)); @@ -143,12 +145,12 @@ } } if ($foldercreated == 1) { - $folders_recheck = imap_listmailbox($mbox, "{" . $command . "}", "*"); + $folders_recheck = imap_listmailbox($mbox, '{' . $command . '}', '*'); while (list($key, $val) = each($folders_recheck)) { - if ("{" . $command . "}" . $accounts_hardbox == $val) { + if ('{' . $command . '}' . $accounts_hardbox == $val) { $accounts_hardbox_ok = true; } - if ("{" . $command . "}" . $accounts_softbox == $val) { + if ('{' . $command . '}' . $accounts_softbox == $val) { $accounts_softbox_ok = true; } } @@ -203,18 +205,23 @@ case 'list': case 'list_accounts': default: + // render start here + xoops_cp_header(); + // render submenu echo $indexAdmin->addNavigation($currentFile); $indexAdmin->addItemButton(_AM_XNEWSLETTER_NEWACCOUNTS, '?op=new_account', 'add'); echo $indexAdmin->renderButton(); // - $limit = $xnewsletter->getConfig('adminperpage'); $accountsCriteria = new CriteriaCompo(); - $accountsCriteria->setSort("accounts_id ASC, accounts_type"); - $accountsCriteria->setOrder("ASC"); + $accountsCriteria->setSort('accounts_id ASC, accounts_type'); + $accountsCriteria->setOrder('ASC'); $accountsCount = $xnewsletter->getHandler('accounts')->getCount(); - $start = xnewsletterRequest::getInt('start', 0); + // + $start = XoopsRequest::getInt('start', 0); + $limit = $xnewsletter->getConfig('adminperpage'); $accountsCriteria->setStart($start); $accountsCriteria->setLimit($limit); + // $accountsObjs = $xnewsletter->getHandler('accounts')->getAll($accountsCriteria); if ($accountsCount > $limit) { include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; @@ -223,7 +230,6 @@ } else { $pagenav = ''; } - // View Table echo "<table class='outer width100' cellspacing='1'>"; echo "<tr>"; @@ -235,7 +241,6 @@ echo " <th>" . _AM_XNEWSLETTER_ACCOUNTS_DEFAULT . "</th>"; echo " <th>" . _AM_XNEWSLETTER_FORMACTION . "</th>"; echo "</tr>"; - if ($accountsCount > 0) { $class = 'odd'; foreach ($accountsObjs as $accounts_id => $accountsObj) { @@ -255,7 +260,6 @@ echo "<td>{$accountsObj->getVar('accounts_yourmail')}</td>"; $verif_accounts_default = ($accountsObj->getVar('accounts_default') == 1) ? _YES : _NO; echo "<td class='center'>{$verif_accounts_default}</td>"; - echo "<td class='center'>"; echo " <a href='?op=edit_account&accounts_id={$accounts_id}'><img src=" . XNEWSLETTER_ICONS_URL . "/xn_edit.png alt='" . _EDIT . "' title='" . _EDIT . "' /></a>"; echo " <a href='?op=delete_account&accounts_id={$accounts_id}'><img src=" . XNEWSLETTER_ICONS_URL . "/xn_delete.png alt='" . _DELETE . "' title='" . _DELETE . "' /></a>"; @@ -271,28 +275,41 @@ echo "<br />"; echo "<div>{$pagenav}</div>"; echo "<br />"; + include_once __DIR__ . '/admin_footer.php'; break; case 'new_account': + case 'edit_account': + // render start here + xoops_cp_header(); + // render submenu echo $indexAdmin->addNavigation($currentFile); $indexAdmin->addItemButton(_AM_XNEWSLETTER_ACCOUNTSLIST, '?op=list', 'list'); echo $indexAdmin->renderButton(); // - $accountObj = $xnewsletter->getHandler('accounts')->create(); - $accountObj = xnewsletter_setPost($accountObj, $_POST); - $form = $accountObj->getForm(); + if ($accounts_id == 0) { + $accountObj = $xnewsletter->getHandler('accounts')->create(); + $accountObj = xnewsletter_setPost($accountObj, $_POST); + } else { + $accountObj = $xnewsletter->getHandler('accounts')->get($accounts_id); + if (!empty($_POST)) { + xnewsletter_setPost($accountObj, $_POST); + } + } + // + $form = $accountObj->getForm(); $form->display(); + include_once __DIR__ . '/admin_footer.php'; break; case 'save_accounts': if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } - - $accountObj = $xnewsletter->getHandler('accounts')->get($accounts_id); + $accountObj = $xnewsletter->getHandler('accounts')->get($accounts_id); $_POST['accounts_id'] = $accounts_id; - $accountObj = xnewsletter_setPost($accountObj, $_POST); - + $accountObj = xnewsletter_setPost($accountObj, $_POST); + // $accountsCriteria = new CriteriaCompo(); $accountsCriteria->add(new Criteria('accounts_default', 1)); $count_accounts_default = $xnewsletter->getHandler('accounts')->getCount($accountsCriteria); @@ -321,29 +338,22 @@ } else { $accountObj->setErrors(_MA_XNEWSLETTER_SUBSCRIPTION_ERROR_NOEMAIL); } - - echo $accountObj->getHtmlErrors(); - $form = $accountObj->getForm(); - $form->display(); - break; - - case 'edit_account': + // render start here + xoops_cp_header(); + // render submenu echo $indexAdmin->addNavigation($currentFile); - $indexAdmin->addItemButton(_AM_XNEWSLETTER_NEWACCOUNTS, '?op=new_account', 'add'); $indexAdmin->addItemButton(_AM_XNEWSLETTER_ACCOUNTSLIST, '?op=list', 'list'); echo $indexAdmin->renderButton(); // - $accountObj = $xnewsletter->getHandler('accounts')->get($accounts_id); - if (!empty($_POST)) { - xnewsletter_setPost($accountObj, $_POST); - } + echo $accountObj->getHtmlErrors(); $form = $accountObj->getForm(); $form->display(); + include_once __DIR__ . '/admin_footer.php'; break; case 'delete_account': $accountObj = $xnewsletter->getHandler('accounts')->get($accounts_id); - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } @@ -353,8 +363,15 @@ echo $accountObj->getHtmlErrors(); } } else { - xoops_confirm(array('ok' => true, 'accounts_id' => $accounts_id, 'op' => 'delete_account'), $currentFile, sprintf(_AM_XNEWSLETTER_FORMSUREDEL, $accountObj->getVar('accounts_name'))); + // render start here + xoops_cp_header(); + // render submenu + xoops_confirm( + array('ok' => true, 'accounts_id' => $accounts_id, 'op' => 'delete_account'), + $currentFile, + sprintf(_AM_XNEWSLETTER_FORMSUREDEL, $accountObj->getVar('accounts_name')) + ); + include_once __DIR__ . '/admin_footer.php'; } break; } -include_once __DIR__ . '/admin_footer.php'; Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -32,8 +32,8 @@ xoops_cp_header(); // We recovered the value of the argument op in the URL$ -$op = xnewsletterRequest::getString('op', 'list'); -$attachment_id = xnewsletterRequest::getInt('attachment_id', 0); +$op = XoopsRequest::getString('op', 'list'); +$attachment_id = XoopsRequest::getInt('attachment_id', 0); switch ($op) { case 'list': @@ -50,7 +50,7 @@ $attachmentCriteria->setSort('attachment_letter_id DESC, attachment_id'); $attachmentCriteria->setOrder('DESC'); // - $start = xnewsletterRequest::getInt('start', 0); + $start = XoopsRequest::getInt('start', 0); $limit = $xnewsletter->getConfig('adminperpage'); $attachmentCriteria->setStart($start); $attachmentCriteria->setLimit($limit); @@ -66,14 +66,13 @@ // $attachmentObjs = $xnewsletter->getHandler('attachment')->getObjects($attachmentCriteria, true); $attachments = $xnewsletter->getHandler('attachment')->getObjects($attachmentCriteria, true, false); // as array + $GLOBALS['xoopsTpl']->assign('attachments', array()); foreach ($attachments as $attachment_id => $attachment) { $letterObj = $xnewsletter->getHandler('letter')->get($attachment['attachment_letter_id']); $attachment['attachment_letter_title'] = $letterObj->getVar('letter_title'); -// IN PROGRESS -// IN PROGRESS -// IN PROGRESS + $attachment['attachment_size1024'] = xnewsletter_bytesToSize1024($attachment['attachment_size']); $attachment['attachment_submitter_uname'] = XoopsUser::getUnameFromId($attachment['attachment_submitter'], 'S'); - $attachment['attachment_created_formatted'] = formatTimestamp($template['attachment_created'], $xnewsletter->getConfig('dateformat')); + $attachment['attachment_created_formatted'] = formatTimestamp($attachment['attachment_created'], $xnewsletter->getConfig('dateformat')); $GLOBALS['xoopsTpl']->append('attachments', $attachment); } // @@ -101,7 +100,7 @@ } // $attachmentObj = $xnewsletter->getHandler('attachment')->get($attachment_id); - $attachmentObj->setVar('attachment_mode', xnewsletterRequest::getInt('attachment_mode', _XNEWSLETTER_ATTACHMENTS_MODE_ASATTACHMENT)); + $attachmentObj->setVar('attachment_mode', XoopsRequest::getInt('attachment_mode', _XNEWSLETTER_ATTACHMENTS_MODE_ASATTACHMENT)); // if ($xnewsletter->getHandler('attachment')->insert($attachmentObj)) { redirect_header('?op=list', 3, _AM_XNEWSLETTER_FORMOK); @@ -116,7 +115,7 @@ case 'delete_attachment': $attachmentObj = $xnewsletter->getHandler('attachment')->get($attachment_id); - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/bmh.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/bmh.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/bmh.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -32,14 +32,14 @@ xoops_cp_header(); // We recovered the value of the argument op in the URL$ -$op = xnewsletterRequest::getString('op', 'list'); -$bmh_id = xnewsletterRequest::getInt('bmh_id', 0); -$bmh_measure = xnewsletterRequest::getInt('bmh_measure', 0); -$filter = xnewsletterRequest::getInt('bmh_measure_filter', _XNEWSLETTER_BMH_MEASURE_VAL_ALL); +$op = XoopsRequest::getString('op', 'list'); +$bmh_id = XoopsRequest::getInt('bmh_id', 0); +$bmh_measure = XoopsRequest::getInt('bmh_measure', 0); +$filter = XoopsRequest::getInt('bmh_measure_filter', _XNEWSLETTER_BMH_MEASURE_VAL_ALL); switch ($op) { case 'bmh_delsubscr': - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { $count_err = 0; $bmhObj = $xnewsletter->getHandler('bmh')->get($bmh_id); @@ -223,7 +223,7 @@ $bhmCriteria->setSort('bmh_id'); $bhmCriteria->setOrder('DESC'); $bhmCount = $xnewsletter->getHandler('bmh')->getCount($bhmCriteria); - $start = xnewsletterRequest::getInt('start', 0); + $start = XoopsRequest::getInt('start', 0); $bhmCriteria->setStart($start); $bhmCriteria->setLimit($limit); $bhmObjs = $xnewsletter->getHandler('bmh')->getAll($bhmCriteria); @@ -323,18 +323,18 @@ } $bmhObj = $xnewsletter->getHandler('bmh')->get($bmh_id); - $bmhObj->setVar('bmh_rule_no', xnewsletterRequest::getString('bmh_rule_no', '')); - $bmhObj->setVar('bmh_rule_cat', xnewsletterRequest::getString('bmh_rule_cat', '')); - $bmhObj->setVar('bmh_bouncetype', xnewsletterRequest::getString('bmh_bouncetype', '')); - $bmhObj->setVar('bmh_remove', xnewsletterRequest::getString('bmh_remove', '')); - $bmh_email = xnewsletterRequest::getString('bmh_email', ''); + $bmhObj->setVar('bmh_rule_no', XoopsRequest::getString('bmh_rule_no', '')); + $bmhObj->setVar('bmh_rule_cat', XoopsRequest::getString('bmh_rule_cat', '')); + $bmhObj->setVar('bmh_bouncetype', XoopsRequest::getString('bmh_bouncetype', '')); + $bmhObj->setVar('bmh_remove', XoopsRequest::getString('bmh_remove', '')); + $bmh_email = XoopsRequest::getString('bmh_email', ''); $bmh_email = filter_var($bmh_email, FILTER_SANITIZE_EMAIL); $bmh_email = xnewsletter_checkEmail($bmh_email); $bmhObj->setVar('bmh_email', $bmh_email); - $bmhObj->setVar('bmh_subject', xnewsletterRequest::getString('bmh_subject', '')); - $bmhObj->setVar('bmh_measure', xnewsletterRequest::getInt('bmh_measure', 0)); - $bmhObj->setVar('bmh_submitter', xnewsletterRequest::getInt('bmh_submitter', 0)); - $bmhObj->setVar('bmh_created', xnewsletterRequest::getInt('bmh_created', 0)); + $bmhObj->setVar('bmh_subject', XoopsRequest::getString('bmh_subject', '')); + $bmhObj->setVar('bmh_measure', XoopsRequest::getInt('bmh_measure', 0)); + $bmhObj->setVar('bmh_submitter', XoopsRequest::getInt('bmh_submitter', 0)); + $bmhObj->setVar('bmh_created', XoopsRequest::getInt('bmh_created', 0)); if ($xnewsletter->getHandler('bmh')->insert($bmhObj)) { redirect_header('?op=list', 3, _AM_XNEWSLETTER_FORMOK); @@ -356,7 +356,7 @@ case 'delete_bmh': $bmhObj = $xnewsletter->getHandler('bmh')->get($bmh_id); - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -32,8 +32,8 @@ xoops_cp_header(); // We recovered the value of the argument op in the URL$ -$op = xnewsletterRequest::getString('op', 'list'); -$cat_id = xnewsletterRequest::getInt('cat_id', 0); +$op = XoopsRequest::getString('op', 'list'); +$cat_id = XoopsRequest::getInt('cat_id', 0); switch ($op) { case 'list': @@ -51,7 +51,7 @@ $catCriteria->setSort('cat_id ASC, cat_name'); $catCriteria->setOrder('ASC'); // - $start = xnewsletterRequest::getInt('start', 0); + $start = XoopsRequest::getInt('start', 0); $limit = $xnewsletter->getConfig('adminperpage'); $catCriteria->setStart($start); $catCriteria->setLimit($limit); @@ -139,9 +139,9 @@ redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } $catObj = $xnewsletter->getHandler('cat')->get($cat_id); - $catObj->setVar('cat_name', xnewsletterRequest::getString('cat_name', '')); + $catObj->setVar('cat_name', XoopsRequest::getString('cat_name', '')); $catObj->setVar('cat_info', $_REQUEST['cat_info']); - $catObj->setVar('cat_mailinglist', xnewsletterRequest::getInt('cat_mailinglist', 0)); + $catObj->setVar('cat_mailinglist', XoopsRequest::getInt('cat_mailinglist', 0)); $catObj->setVar('cat_submitter', $GLOBALS['xoopsUser']->uid()); $catObj->setVar('cat_created', time()); $catObj->setVar('dohtml', isset($_REQUEST['dohtml'])); @@ -156,28 +156,28 @@ // Form cat_gperms_read $gperm_handler->deleteByModule($xnewsletter->getModule()->mid(), 'newsletter_read_cat', $cat_id); $gperm_handler->addRight('newsletter_read_cat', $cat_id, XOOPS_GROUP_ADMIN, $xnewsletter->getModule()->mid()); - $cat_gperms_read_groupids = xnewsletterRequest::getArray('cat_gperms_read', array()); + $cat_gperms_read_groupids = XoopsRequest::getArray('cat_gperms_read', array()); foreach ($cat_gperms_read_groupids as $groupid) { $gperm_handler->addRight('newsletter_read_cat', $cat_id, $groupid, $xnewsletter->getModule()->mid()); } // Form cat_gperms_admin $gperm_handler->deleteByModule($xnewsletter->getModule()->mid(), 'newsletter_admin_cat', $cat_id); $gperm_handler->addRight('newsletter_admin_cat', $cat_id, XOOPS_GROUP_ADMIN, $xnewsletter->getModule()->mid()); - $cat_gperms_admin_groupids = xnewsletterRequest::getArray('cat_gperms_admin', array()); + $cat_gperms_admin_groupids = XoopsRequest::getArray('cat_gperms_admin', array()); foreach ($cat_gperms_admin_groupids as $groupid) { $gperm_handler->addRight('newsletter_admin_cat', $cat_id, $groupid, $xnewsletter->getModule()->mid()); } // Form cat_gperms_create $gperm_handler->deleteByModule($xnewsletter->getModule()->mid(), 'newsletter_create_cat', $cat_id); $gperm_handler->addRight('newsletter_create_cat', $cat_id, XOOPS_GROUP_ADMIN, $xnewsletter->getModule()->mid()); - $cat_gperms_create_groupids = xnewsletterRequest::getArray('cat_gperms_create', array()); + $cat_gperms_create_groupids = XoopsRequest::getArray('cat_gperms_create', array()); foreach ($cat_gperms_create_groupids as $groupid) { $gperm_handler->addRight('newsletter_create_cat', $cat_id, $groupid, $xnewsletter->getModule()->mid()); } // Form cat_gperms_list $gperm_handler->deleteByModule($xnewsletter->getModule()->mid(), 'newsletter_list_cat', $cat_id); $gperm_handler->addRight('newsletter_list_cat', $cat_id, XOOPS_GROUP_ADMIN, $xnewsletter->getModule()->mid()); - $cat_gperms_list_groupids = xnewsletterRequest::getArray('cat_gperms_list', array()); + $cat_gperms_list_groupids = XoopsRequest::getArray('cat_gperms_list', array()); foreach ($cat_gperms_list_groupids as $groupid) { $gperm_handler->addRight('newsletter_list_cat', $cat_id, $groupid, $xnewsletter->getModule()->mid()); } @@ -205,7 +205,7 @@ case 'delete_cat': $catObj = $xnewsletter->getHandler('cat')->get($_REQUEST['cat_id']); - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/catsubscr.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/catsubscr.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/catsubscr.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -32,7 +32,7 @@ xoops_cp_header(); // We recovered the value of the argument op in the URL$ -$op = xnewsletterRequest::getString('op', 'list'); +$op = XoopsRequest::getString('op', 'list'); switch ($op) { case 'list': @@ -46,7 +46,7 @@ $catCriteria->setSort('cat_id ASC, cat_name'); $catCriteria->setOrder('ASC'); $catCount = $xnewsletter->getHandler('cat')->getCount(); - $start = xnewsletterRequest::getInt('start', 0); + $start = XoopsRequest::getInt('start', 0); $catCriteria->setStart($start); $catCriteria->setLimit($limit); $catObjs = $xnewsletter->getHandler('cat')->getAll($catCriteria); @@ -88,7 +88,7 @@ break; case 'list_cat': - $cat_id = xnewsletterRequest::getInt('cat_id', 0); + $cat_id = XoopsRequest::getInt('cat_id', 0); echo $indexAdmin->addNavigation($currentFile); $indexAdmin->addItemButton(_AM_XNEWSLETTER_CATLIST, '?op=list', 'list'); @@ -101,7 +101,7 @@ $catsubscrCriteria->setSort('catsubscr_id ASC, catsubscr_catid'); $catsubscrCriteria->setOrder('ASC'); $catCount = $xnewsletter->getHandler('catsubscr')->getCount($catsubscrCriteria); - $start = xnewsletterRequest::getInt('start', 0); + $start = XoopsRequest::getInt('start', 0); $catsubscrCriteria->setStart($start); $catsubscrCriteria->setLimit($limit); $catsubscrObjs = $xnewsletter->getHandler('catsubscr')->getAll($catsubscrCriteria); @@ -184,7 +184,7 @@ $catsubscrObj->setVar('catsubscr_catid', $_REQUEST['catsubscr_catid']); $catsubscr_subscrid = $_REQUEST['catsubscr_subscrid']; $catsubscrObj->setVar('catsubscr_subscrid', $catsubscr_subscrid); - $catsubscr_quit_now = xnewsletterRequest::getInt('catsubscr_quit_now', _XNEWSLETTER_CATSUBSCR_QUIT_NO_VAL_NONE); + $catsubscr_quit_now = XoopsRequest::getInt('catsubscr_quit_now', _XNEWSLETTER_CATSUBSCR_QUIT_NO_VAL_NONE); if ($catsubscr_quit_now == _XNEWSLETTER_CATSUBSCR_QUIT_NO_VAL_NOW) { $catsubscrObj->setVar('catsubscr_quited', time()); } elseif ($catsubscr_quit_now == _XNEWSLETTER_CATSUBSCR_QUIT_NO_VAL_REMOVE) { @@ -209,7 +209,7 @@ break; case 'edit_catsubscr': - $cat_id = xnewsletterRequest::getInt('cat_id', 0); + $cat_id = XoopsRequest::getInt('cat_id', 0); echo $indexAdmin->addNavigation($currentFile); $indexAdmin->addItemButton(_AM_XNEWSLETTER_CATSUBSCRLIST, "?op=list_cat&cat_id={$cat_id}", 'list'); @@ -223,7 +223,7 @@ case 'delete_catsubscr': $catsubscrObj = $xnewsletter->getHandler('catsubscr')->get($_REQUEST['catsubscr_id']); - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header('catsubscr.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/import.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/import.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/import.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -34,17 +34,17 @@ define('XNEWSLETTER_BASIC_LIMIT_IMPORT_CHECKED', 100); define('XNEWSLETTER_BASIC_LIMIT_IMPORT_AT_ONCE', 10); -$plugin = xnewsletterRequest::getString('plugin', 'csv'); -$cat_id = xnewsletterRequest::getInt('cat_id', 0, 'int'); -$start = xnewsletterRequest::getInt('start', 0); -$checkSubscrsAfterRead = xnewsletterRequest::getBool('checkSubscrsAfterRead', true); -$checkLimit = xnewsletterRequest::getInt('checkLimit', XNEWSLETTER_BASIC_LIMIT_IMPORT_CHECKED); -$skipcatsubscrexist = xnewsletterRequest::getInt('skipcatsubscrexist', 1); -$checkImport = xnewsletterRequest::getInt('checkImport', 0); +$plugin = XoopsRequest::getString('plugin', 'csv'); +$cat_id = XoopsRequest::getInt('cat_id', 0, 'int'); +$start = XoopsRequest::getInt('start', 0); +$checkSubscrsAfterRead = XoopsRequest::getBool('checkSubscrsAfterRead', true); +$checkLimit = XoopsRequest::getInt('checkLimit', XNEWSLETTER_BASIC_LIMIT_IMPORT_CHECKED); +$skipcatsubscrexist = XoopsRequest::getInt('skipcatsubscrexist', 1); +$checkImport = XoopsRequest::getInt('checkImport', 0); echo $indexAdmin->addNavigation($currentFile); -$op = xnewsletterRequest::getString('op', 'default'); +$op = XoopsRequest::getString('op', 'default'); switch ($op) { case 'show_formcheck': $indexAdmin->addItemButton(_AM_XNEWSLETTER_IMPORT_PLUGINS_AVAIL, $currentFile, 'list'); @@ -190,13 +190,13 @@ case 'apply_import_form': //update xnewsletter with settings form_import - $counter = xnewsletterRequest::getInt('counter', 0); + $counter = XoopsRequest::getInt('counter', 0); for ($i = 1; $i < ($counter + 1); ++$i) { - $import_id = xnewsletterRequest::getString("import_id_{$i}", 'default'); - $subscr_firstname = xnewsletterRequest::getString("firstname_{$i}", ''); - $subscr_lastname = xnewsletterRequest::getString("lastname_{$i}", ''); - $subscr_sex = xnewsletterRequest::getString("sex_{$i}", ''); - $cat_id = xnewsletterRequest::getInt("cat_id_{$i}", 0); + $import_id = XoopsRequest::getString("import_id_{$i}", 'default'); + $subscr_firstname = XoopsRequest::getString("firstname_{$i}", ''); + $subscr_lastname = XoopsRequest::getString("lastname_{$i}", ''); + $subscr_sex = XoopsRequest::getString("sex_{$i}", ''); + $cat_id = XoopsRequest::getInt("cat_id_{$i}", 0); if ($cat_id > 0) { if ($subscr_id == 0) { //update sex, firstname, lastname @@ -405,8 +405,8 @@ //import data into xnewsletter_import with plugin if ($plugin == 'csv') { $csv_file = $_FILES['csv_file']['tmp_name']; - $csvSkipHeader = xnewsletterRequest::getBool('csvSkipHeader', false); - $csvDelimiter = xnewsletterRequest::getString('csvDelimiter', ','); + $csvSkipHeader = XoopsRequest::getBool('csvSkipHeader', false); + $csvDelimiter = XoopsRequest::getString('csvDelimiter', ','); //$numData = $function($cat_id, $checkSubscrsAfterRead, $checkLimit, $skipcatsubscrexist, $csv_file, $csvDelimiter, $csvSkipHeader); $numData = call_user_func($function, $cat_id, $checkSubscrsAfterRead, $checkLimit, $skipcatsubscrexist, $csv_file, $csvDelimiter, $csvSkipHeader); } else { Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -31,8 +31,8 @@ include_once __DIR__ . '/admin_header.php'; // We recovered the value of the argument op in the URL$ -$op = xnewsletterRequest::getString('op', 'list'); -$letter_id = xnewsletterRequest::getInt('letter_id', 0); +$op = XoopsRequest::getString('op', 'list'); +$letter_id = XoopsRequest::getInt('letter_id', 0); switch ($op) { case 'show_preview': @@ -65,6 +65,7 @@ $attachmentAslinkCriteria->setSort('attachment_id'); $attachmentAslinkCriteria->setOrder('ASC'); $attachmentObjs = $xnewsletter->getHandler('attachment')->getObjects($attachmentAslinkCriteria, true); + $letterTpl->assign('attachments', array()); foreach ($attachmentObjs as $attachment_id => $attachmentObj) { $attachment_array = $attachmentObj->toArray(); $attachment_array['attachment_url'] = XNEWSLETTER_URL . "/attachment.php?attachment_id={$attachment_id}"; @@ -120,7 +121,7 @@ $GLOBALS['xoopsTpl']->assign('letterCount', $letterCount); if ($letterCount > 0) { $limit = $xnewsletter->getConfig('adminperpage'); - $start = xnewsletterRequest::getInt('start', 0); + $start = XoopsRequest::getInt('start', 0); $letterCriteria->setStart($start); $letterCriteria->setLimit($limit); // @@ -267,14 +268,14 @@ echo $indexAdmin->renderButton(); // // update existing_attachments - $existing_attachments_mode = xnewsletterRequest::getArray('existing_attachments_mode', array()); + $existing_attachments_mode = XoopsRequest::getArray('existing_attachments_mode', array()); foreach ($existing_attachments_mode as $existing_attachment_id => $existing_attachment_mode) { $attachmentObj = $xnewsletter->getHandler('attachment')->get($existing_attachment_id); $attachmentObj->setVar('attachment_mode', $existing_attachment_mode); $xnewsletter->getHandler('attachment')->insert($attachmentObj); } // - $attachment_id = xnewsletterRequest::getInt('deleted_attachment_id', 0, 'POST'); + $attachment_id = XoopsRequest::getInt('deleted_attachment_id', 0, 'POST'); if ($attachment_id == 0) { redirect_header($currentFile, 3, _AM_XNEWSLETTER_LETTER_ERROR_INVALID_ATT_ID); exit(); @@ -285,10 +286,10 @@ if ($xnewsletter->getHandler('attachment')->delete($attachmentObj, true)) { // $letterObj = $xnewsletter->getHandler('letter')->get($letter_id); - $letterObj->setVar('letter_title', xnewsletterRequest::getString('letter_title', '')); + $letterObj->setVar('letter_title', XoopsRequest::getString('letter_title', '')); $letterObj->setVar('letter_content', $_REQUEST['letter_content']); $letterObj->setVar('letter_template', $_REQUEST['letter_template']); - $letterObj->setVar('letter_cats', implode('|', xnewsletterRequest::getArray('letter_cats', array()))); + $letterObj->setVar('letter_cats', implode('|', XoopsRequest::getArray('letter_cats', array()))); $letterObj->setVar('letter_account', $_REQUEST['letter_account']); $letterObj->setVar('letter_email_test', $_REQUEST['letter_email_test']); // @@ -305,19 +306,19 @@ redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } $letterObj = $xnewsletter->getHandler('letter')->get($letter_id); // create if doesn't exist - $letterObj->setVar('letter_title', xnewsletterRequest::getString('letter_title', '')); + $letterObj->setVar('letter_title', XoopsRequest::getString('letter_title', '')); $letterObj->setVar('letter_content', $_REQUEST['letter_content']); $letterObj->setVar('letter_template', $_REQUEST['letter_template']); - $letterObj->setVar('letter_cats', implode('|', xnewsletterRequest::getArray('letter_cats', array()))); + $letterObj->setVar('letter_cats', implode('|', XoopsRequest::getArray('letter_cats', array()))); $letterObj->setVar('letter_account', $_REQUEST['letter_account']); $letterObj->setVar('letter_email_test', $_REQUEST['letter_email_test']); - $letterObj->setVar('letter_submitter', xnewsletterRequest::getInt('letter_submitter', 0)); - $letterObj->setVar('letter_created', xnewsletterRequest::getInt('letter_created', time())); + $letterObj->setVar('letter_submitter', XoopsRequest::getInt('letter_submitter', 0)); + $letterObj->setVar('letter_created', XoopsRequest::getInt('letter_created', time())); // if ($xnewsletter->getHandler('letter')->insert($letterObj)) { $letter_id = $letterObj->getVar('letter_id'); // update existing_attachments - $existing_attachments_mode = xnewsletterRequest::getArray('existing_attachments_mode', array()); + $existing_attachments_mode = XoopsRequest::getArray('existing_attachments_mode', array()); foreach ($existing_attachments_mode as $attachment_id => $attachment_mode) { $attachmentObj = $xnewsletter->getHandler('attachment')->get($attachment_id); $attachmentObj->setVar('attachment_mode', $attachment_mode); @@ -334,18 +335,19 @@ chmod($uploaddir, 0777); copy($indexFile, $uploaddir . "index.html"); } - $new_attachments_mode = xnewsletterRequest::getArray('new_attachments_mode', array()); + $new_attachments_mode = XoopsRequest::getArray('new_attachments_mode', array()); for ($upl = 0; $upl < $xnewsletter->getConfig('xn_maxattachments'); ++$upl) { $uploader = new XoopsMediaUploader($uploaddir, $xnewsletter->getConfig('xn_mimetypes'), $xnewsletter->getConfig('xn_maxsize'), null, null); if ($uploader->fetchMedia(@$_POST['xoops_upload_file'][$upl])) { //$uploader->setPrefix("xn_") ; keep original name $uploader->fetchMedia($_POST['xoops_upload_file'][$upl]); if (!$uploader->upload()) { - $errors = $uploader->getErrors(); - redirect_header('javascript:history.go(-1)', 3, $errors); + // ERROR + echo $uploader->getErrors(); + exit(); } else { preg_match('/ne\w_attachment_index=([0-9]+)/', $_POST['xoops_upload_file'][$upl], $matches); - $index = $matches[1]; + $index = $matches[1]; $uploadedFiles[] = array( 'name' => $uploader->getSavedFileName(), 'type' => $uploader->getMediaType(), @@ -368,7 +370,7 @@ // $xnewsletter->getHandler('attachment')->insert($attachmentObj); } - $action = xnewsletterRequest::getInt('letter_action', _XNEWSLETTER_LETTER_ACTION_VAL_NO); + $action = XoopsRequest::getInt('letter_action', _XNEWSLETTER_LETTER_ACTION_VAL_NO); switch ($action) { case _XNEWSLETTER_LETTER_ACTION_VAL_PREVIEW: $redirectUrl = "?op=show_preview&letter_id={$letter_id}"; @@ -430,7 +432,7 @@ case 'delete_letter': $letterObj = $xnewsletter->getHandler('letter')->get($letter_id); - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/mailinglist.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/mailinglist.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/mailinglist.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -32,7 +32,7 @@ xoops_cp_header(); // We recovered the value of the argument op in the URL$ -$op = xnewsletterRequest::getString('op', 'list'); +$op = XoopsRequest::getString('op', 'list'); switch ($op) { case 'list': @@ -45,7 +45,7 @@ $mailinglistCriteria->setSort('mailinglist_id ASC, mailinglist_email'); $mailinglistCriteria->setOrder('ASC'); $mailinglistCount = $xnewsletter->getHandler('mailinglist')->getCount(); - $start = xnewsletterRequest::getInt('start', 0); + $start = XoopsRequest::getInt('start', 0); $mailinglistCriteria->setStart($start); $mailinglistCriteria->setLimit($limit); $mailinglistObjs = $xnewsletter->getHandler('mailinglist')->getAll($mailinglistCriteria); @@ -146,7 +146,7 @@ case 'delete_mailinglist': $mailinglistObj = $xnewsletter->getHandler('mailinglist')->get($_REQUEST['mailinglist_id']); - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/maintenance.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/maintenance.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/maintenance.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -32,7 +32,7 @@ xoops_cp_header(); // We recovered the value of the argument op in the URL$ -$op = xnewsletterRequest::getString('op', 'list'); +$op = XoopsRequest::getString('op', 'list'); switch ($op) { case 'list': @@ -149,7 +149,7 @@ break; case 'del_import': - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { $result = $GLOBALS['xoopsDB']->queryF("TRUNCATE TABLE `{$GLOBALS['xoopsDB']->prefix('xnewsletter_import')}`"); $result = $GLOBALS['xoopsDB']->queryF("REPAIR TABLE `{$GLOBALS['xoopsDB']->prefix('xnewsletter_import')}`"); $result = $GLOBALS['xoopsDB']->queryF("OPTIMIZE TABLE `{$GLOBALS['xoopsDB']->prefix('xnewsletter_import')}`"); @@ -188,7 +188,7 @@ $subscrCount = $xnewsletter->getHandler('subscr')->getCount($subscrCriteria); } - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { $deleted = 0; $errors = array(); $subscrArrays = $xnewsletter->getHandler('subscr')->getAll($subscrCriteria, array('subscr_id'), false, false); @@ -255,7 +255,7 @@ break; case 'del_oldprotocol': - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { $result = $GLOBALS['xoopsDB']->queryF("TRUNCATE TABLE `{$GLOBALS['xoopsDB']->prefix('xnewsletter_protocol')}`"); $result = $GLOBALS['xoopsDB']->queryF("REPAIR TABLE `{$GLOBALS['xoopsDB']->prefix('xnewsletter_protocol')}`"); $result = $GLOBALS['xoopsDB']->queryF("OPTIMIZE TABLE `{$GLOBALS['xoopsDB']->prefix('xnewsletter_protocol')}`"); @@ -282,7 +282,7 @@ case 'del_invalid_catsubscr': //delete data in table catsubscr, if catsubscr_subscrid is no more existing in table subscr - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { $number_ids = 0; $deleted = 0; $errors = array(); @@ -342,7 +342,7 @@ break; case 'del_invalid_ml': - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { $use_mailinglist = $GLOBALS['xoopsModuleConfig']['xn_use_mailinglist']; $number_ids = 0; $update = 0; @@ -423,7 +423,7 @@ case 'del_invalid_cat': //remove cat from letter_cats, if cat is missing (if someone deleted cat after creating letter) - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { $update = 0; $errors = array(); $number_ids = 0; Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/menu.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/menu.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/menu.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -64,12 +64,15 @@ $adminmenu[$i]['title'] = _MI_XNEWSLETTER_ADMENU8; $adminmenu[$i]['link'] = 'admin/protocol.php'; $adminmenu[$i]['icon'] = $pathImageAdmin . '/xn_protocol.png'; +++$i; if ($xnewsletter->getConfig('xn_send_in_packages') > 0) { - ++$i; $adminmenu[$i]['title'] = _MI_XNEWSLETTER_ADMENU13; - $adminmenu[$i]['link'] = 'admin/task.php'; - $adminmenu[$i]['icon'] = $pathImageAdmin . '/xn_task.png'; +} else { + $adminmenu[$i]['title'] = _MI_XNEWSLETTER_ADMENU13; } +$adminmenu[$i]['link'] = 'admin/task.php'; +$adminmenu[$i]['icon'] = $pathImageAdmin . '/xn_task.png'; + if ($xnewsletter->getConfig('xn_use_mailinglist') == 1) { ++$i; $adminmenu[$i]['title'] = _MI_XNEWSLETTER_ADMENU9; Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -31,12 +31,12 @@ include_once __DIR__ . '/admin_header.php'; // We recovered the value of the argument op in the URL$ -$op = xnewsletterRequest::getString('op', 'list_protocols'); +$op = XoopsRequest::getString('op', 'list_protocols'); switch ($op) { case 'list': case 'list_protocols': default: - $apply_filter = xnewsletterRequest::getBool('apply_filter', false); + $apply_filter = XoopsRequest::getBool('apply_filter', false); // render start here xoops_cp_header(); // render submenu @@ -56,17 +56,15 @@ if ($protocolCount > 0) { $protocolCriteria = new CriteriaCompo(); // get filter parameters - $filter_protocol_letter_ids = xnewsletterRequest::getArray('filter_protocol_letter_ids', array()); + $filter_protocol_letter_ids = XoopsRequest::getArray('filter_protocol_letter_ids', array()); // - $filter_protocol_success = xnewsletterRequest::getInt('filter_protocol_success', 2); // all + $filter_protocol_success = XoopsRequest::getInt('filter_protocol_success', 2); // all // if (isset($_REQUEST['filter_protocol_created_from']['date'])) { $dateTimeObj = DateTime::createFromFormat(_SHORTDATESTRING, $_REQUEST['filter_protocol_created_from']['date']); $dateTimeObj->setTime(0, 0, 0); $filter_protocol_created_from = (int) ($dateTimeObj->getTimestamp() + $_REQUEST['filter_protocol_created_from']['time']); unset($dateTimeObj); - } elseif (isset($_REQUEST['filter_protocol_created_from'])) { - $filter_protocol_created_from = $_REQUEST['filter_protocol_created_from']; } else { $filter_protocol_created_from = 3600; } @@ -75,8 +73,6 @@ $dateTimeObj->setTime(0, 0, 0); $filter_protocol_created_to = (int) ($dateTimeObj->getTimestamp() + $_REQUEST['filter_protocol_created_to']['time']); unset($dateTimeObj); - } elseif (isset($_REQUEST['filter_protocol_created_to'])) { - $filter_protocol_created_to = $_REQUEST['filter_protocol_created_to']; } else { $filter_protocol_created_to = time(); } @@ -101,10 +97,10 @@ $protocolFilterCount = $xnewsletter->getHandler('protocol')->getCount($protocolCriteria); $GLOBALS['xoopsTpl']->assign('protocolFilterCount', $protocolFilterCount); // - $protocolCriteria->setSort('protocol_created'); + $protocolCriteria->setSort('protocol_id'); $protocolCriteria->setOrder('DESC'); // - $start = xnewsletterRequest::getInt('start', 0); + $start = XoopsRequest::getInt('start', 0); $limit = $xnewsletter->getConfig('adminperpage'); $protocolCriteria->setStart($start); $protocolCriteria->setLimit($limit); @@ -125,8 +121,10 @@ $linklist .= "&filter_protocol_letter_ids[]={$filter_protocol_letter_id}"; } $linklist .= "&filter_protocol_success={$filter_protocol_success}"; - $linklist .= "&filter_protocol_created_from={$filter_protocol_created_from}"; - $linklist .= "&filter_protocol_created_to={$filter_protocol_created_to}"; + $linklist .= "&filter_protocol_created_from[date]={$_REQUEST['filter_protocol_created_from']['date']}"; + $linklist .= "&filter_protocol_created_from[time]={$_REQUEST['filter_protocol_created_from']['time']}"; + $linklist .= "&filter_protocol_created_to[date]={$_REQUEST['filter_protocol_created_to']['date']}"; + $linklist .= "&filter_protocol_created_to[time]={$_REQUEST['filter_protocol_created_to']['time']}"; $pagenav = new XoopsPageNav($protocolFilterCount, $limit, $start, 'start', $linklist); $pagenav = $pagenav->renderNav(4); } else { @@ -180,12 +178,12 @@ break; case 'apply_actions': - $action = xnewsletterRequest::getString('actions_action'); - $protocol_ids = xnewsletterRequest::getArray('protocol_ids', unserialize(xnewsletterRequest::getString('serialize_protocol_ids'))); + $action = XoopsRequest::getString('actions_action'); + $protocol_ids = XoopsRequest::getArray('protocol_ids', unserialize(XoopsRequest::getString('serialize_protocol_ids'))); $protocolCriteria = new Criteria('protocol_id', '(' . implode(',', $protocol_ids) . ')', 'IN'); switch ($action) { case 'delete': - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { // delete subscriber (subscr), subscriptions (catsubscrs) and mailinglist if ($xnewsletter->getHandler('protocol')->deleteAll($protocolCriteria, true, true)) { redirect_header($currentFile, 3, _AM_XNEWSLETTER_FORMDELOK); @@ -211,9 +209,9 @@ break; case 'delete_protocol': - $protocol_id = xnewsletterRequest::getInt('protocol_id', 0); + $protocol_id = XoopsRequest::getInt('protocol_id', 0); $protocolObj = $xnewsletter->getHandler('protocol')->get($protocol_id); - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } @@ -236,8 +234,8 @@ break; case 'delete_protocols': - $field = xnewsletterRequest::getString('field', ''); - $value = xnewsletterRequest::getInt('value', 0); + $field = XoopsRequest::getString('field', ''); + $value = XoopsRequest::getInt('value', 0); switch ($field) { case 'letter_id': case 'protocol_letter_id': @@ -261,7 +259,7 @@ $title = _AM_XNEWSLETTER_PROTOCOL_DELETE_ALL; break; } - if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (XoopsRequest::getBool('ok', false, 'POST') == true) { if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/sendletter.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/sendletter.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/sendletter.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -29,8 +29,8 @@ include_once __DIR__ . '/admin_header.php'; -$op = xnewsletterRequest::getString('op', 'list'); -$letter_id = xnewsletterRequest::getInt('letter_id', 0); +$op = XoopsRequest::getString('op', 'list'); +$letter_id = XoopsRequest::getInt('letter_id', 0); $xn_send_in_packages = $xnewsletter->getConfig('xn_send_in_packages'); if ($xn_send_in_packages > 0 && $op != 'send_test') { $xn_send_in_packages_time = $xnewsletter->getConfig('xn_send_in_packages_time'); Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php 2014-12-14 11:04:17 UTC (rev 12906) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php 2014-12-16 22:28:16 UTC (rev 12907) @@ -31,17 +31,17 @@ include_once __DIR__ . '/admin_header.php'; // We recovered the value of the argument op in the URL$ -$op = xnewsletterRequest::getString('op', 'list_subscrs'); +$op = XoopsRequest::getString('op', 'list_subscrs'); switch ($op) { case 'show_catsubscr': - $subscr_id = xnewsletterRequest::getInt('subscr_id', 0); + $subscr_id = XoopsRequest::getInt('subscr_id', 0); // render start here xoops_cp_header(); // render submenu $subscrAdmin = new ModuleAdmin(); echo $subscrAdmin->addNavigation($currentFile); // - $prev_op = xnewsletterRequest::getString('prev_op', 'list_subscrs'); + $prev_op = XoopsRequest::getString('prev_op', 'list_subscrs'); $linklist = "?op=$prev_op&filter_subscr={$filter_subscr}"; $linklist .= "&filter_subscr_firstname={$filter_subscr_firstname}"; $linklist .= "&filter_subscr_lastname={$filter_subscr_lastname}"; @@ -86,7 +86,7 @@ case 'list': case 'list_subscrs': default: - $apply_filter = xnewsletterRequest::getBool('apply_filter', false); + $apply_filter = XoopsRequest::getBool('apply_filter', false); // render start here xoops_cp_header(); // render submenu @@ -104,10 +104,10 @@ $subscrCriteria = new CriteriaCompo(); // get filtered subscrs criteria // get filter parameters - $filter_subscr = xnewsletterRequest::getString('filter_subscr', '='); - $filter_subscr_firstname = xnewsletterRequest::getString('filter_subscr_firstname', ''); - $filter_subscr_lastname = xnewsletterRequest::getString('filter_subscr_lastname', ''); - $filter_subscr_email = xnewsletterRequest::getString('filter_subscr_email', ''); + $filter_subscr = XoopsRequest::getString('filter_subscr', '='); + $filter_subscr_firstname = XoopsRequest::getString('filter_subscr_firstname', ''); + $filter_subscr_lastname = XoopsRequest::getString('filter_subscr_lastname', ''); + $filter_subscr_email = XoopsRequest::getString('filter_subscr_email', ''); if ($filter_subscr == 'LIKE' && !$filter_subscr_firstname == '') { $filter_subscr_firstname = "%{$filter_subscr_firstname}%"; } @@ -139,7 +139,7 @@ $subscrCriteria->setSort('subscr_id'); $subscrCriteria->setOrder('DESC'); // - $start = xnewsletterRequest::getInt('start', 0); + $start = XoopsRequest::getInt('start', 0); $limit = $xnewsletter->getConfig('adminperpage'); $subscrCriteria->setStart($start); ... [truncated message content] |
From: <luc...@us...> - 2014-12-14 11:04:26
|
Revision: 12906 http://sourceforge.net/p/xoops/svn/12906 Author: luciorota Date: 2014-12-14 11:04:17 +0000 (Sun, 14 Dec 2014) Log Message: ----------- o Upgraded min Xoops version to Xoops 2.5.7.1. o Upgraded to Xoops 2.5.7 coding standard. o Upgraded to Xoops 2.5.7 directory structure. ! Fix strtotime bug ! Fix php 5.3+ bugs and remove some deprecates Added Paths: ----------- XoopsModules/xnews/branches/luciorota/modules/xnews/admin/ XoopsModules/xnews/branches/luciorota/modules/xnews/admin/admin_footer.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/admin_header.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/clone.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/cloner.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/export.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/functions.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/admin/index.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/menu.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/metagen.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/newsletter.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/permissions.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/prune.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/stats.php XoopsModules/xnews/branches/luciorota/modules/xnews/admin/upgrade.php XoopsModules/xnews/branches/luciorota/modules/xnews/archive.php XoopsModules/xnews/branches/luciorota/modules/xnews/article.php XoopsModules/xnews/branches/luciorota/modules/xnews/assets/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/css/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/acrobat.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/active.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/articles.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/attach.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/attach.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/bg.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/blinklist.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/cloner.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/cloner32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/close12.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/commreply.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/delete_block.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/delicious.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/diggman.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/edit_block.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/export.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/export32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/fark.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/forum.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/friend.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/furl.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/help.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/help32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/home.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/home32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/hover.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/left_both.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/leftarrow22.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/maintain.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/maintain32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/metagen.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/metagen32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/module_logo.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/newarticle32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/newsletter.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/newsletter32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/newsvine.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/open12.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/options.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/options32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/permissions.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/permissions32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/pixel.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/prefs32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/print.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/prune32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/purge.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/reddit.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/right_both.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/rightarrow22.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/rss.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/sel.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/selected.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/selectedEnd.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/selectedStart.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/selected_left_F90.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/selected_right_F90.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/simpy.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/size.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/spurl.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/statistics.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/stats32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/tcpdf32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/topics/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/topics/blank.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/topics/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/topics/xoops.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/topics.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/topics32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/unselected.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/unselectedEnd.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/unselected_left.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/unselected_right.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/update.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/upgrade.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/upgrade32.png XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/xnewsvine.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/images/yahoomyweb.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/dojo.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/pdfobject.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/a11y.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/__package__.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/color.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/common.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/display.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/iframe.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/images/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/layout.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/metrics.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/selection.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/shadow.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/style.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/html/util.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/__package__.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/array.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/assert.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/common.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/declare.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/extras.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/func.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/repr.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/timing/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/timing/Streamer.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/timing/Timer.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/timing/__package__.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lang/type.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lfx/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lfx/Animation.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lfx/__package__.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lfx/extras.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lfx/html.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lfx/rounded.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lfx/shadow.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/lfx/toggle.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/ns.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/pdfobject_source.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/uri/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/uri/Uri.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/uri/__package__.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/DomWidget.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/FisheyeList.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/HtmlWidget.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/Manager.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/Parse.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/Widget.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/__package__.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/templates/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/templates/FisheyeList.css XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/templates/images/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/widget/templates/images/tab_close.gif XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/xml/ XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/xml/Parse.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/xml/XslTransform.js XoopsModules/xnews/branches/luciorota/modules/xnews/assets/js/src/xml/__package__.js XoopsModules/xnews/branches/luciorota/modules/xnews/backendt.php XoopsModules/xnews/branches/luciorota/modules/xnews/blocks/ XoopsModules/xnews/branches/luciorota/modules/xnews/blocks/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/blocks/news_archives.php XoopsModules/xnews/branches/luciorota/modules/xnews/blocks/news_bigstory.php XoopsModules/xnews/branches/luciorota/modules/xnews/blocks/news_block_tag.php XoopsModules/xnews/branches/luciorota/modules/xnews/blocks/news_latestnews.php XoopsModules/xnews/branches/luciorota/modules/xnews/blocks/news_moderate.php XoopsModules/xnews/branches/luciorota/modules/xnews/blocks/news_randomnews.php XoopsModules/xnews/branches/luciorota/modules/xnews/blocks/news_top.php XoopsModules/xnews/branches/luciorota/modules/xnews/blocks/news_topics.php XoopsModules/xnews/branches/luciorota/modules/xnews/blocks/news_topicsnav.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/ XoopsModules/xnews/branches/luciorota/modules/xnews/class/blacklist.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/class.latestnews.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/class.mimetype.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/class.newsstory.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/class.newstopic.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/class.sfiles.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/common/ XoopsModules/xnews/branches/luciorota/modules/xnews/class/common/tree.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/deprecate/ XoopsModules/xnews/branches/luciorota/modules/xnews/class/deprecate/xnewsstory.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/deprecate/xnewstopic.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/class/keyhighlighter.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/registryfile.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/session.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/ XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/Canvas.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/Dimension.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/Exception.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/FileMapperFactory.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/Image.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/OpFactory.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/PaletteImage.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/TrueColorImage.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/WideImage.inc.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/fonts/ XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/fonts/Font_GDF.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/fonts/Font_TTF.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/mappers/ XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/mappers/ImageFileMapper_GD.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/mappers/ImageFileMapper_GD2.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/mappers/ImageFileMapper_GIF.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/mappers/ImageFileMapper_JPEG.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/mappers/ImageFileMapper_PNG.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/ XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/ApplyConvolution.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/ApplyFilter.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/ApplyMask.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/AsGrayscale.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/CopyChannelsPalette.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/CopyChannelsTrueColor.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/CorrectGamma.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/Crop.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/Flip.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/GetMask.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/Merge.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/Mirror.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/Resize.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/Rotate.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/wideimage/operations/Unsharp.class.php XoopsModules/xnews/branches/luciorota/modules/xnews/class/xnews.php XoopsModules/xnews/branches/luciorota/modules/xnews/comment_delete.php XoopsModules/xnews/branches/luciorota/modules/xnews/comment_edit.php XoopsModules/xnews/branches/luciorota/modules/xnews/comment_new.php XoopsModules/xnews/branches/luciorota/modules/xnews/comment_post.php XoopsModules/xnews/branches/luciorota/modules/xnews/comment_reply.php XoopsModules/xnews/branches/luciorota/modules/xnews/docs/ XoopsModules/xnews/branches/luciorota/modules/xnews/docs/changelog.txt XoopsModules/xnews/branches/luciorota/modules/xnews/docs/licence.txt XoopsModules/xnews/branches/luciorota/modules/xnews/docs/makepdf-samples/ XoopsModules/xnews/branches/luciorota/modules/xnews/docs/makepdf-samples/makepdf-wishcraft.php XoopsModules/xnews/branches/luciorota/modules/xnews/docs/readme.txt XoopsModules/xnews/branches/luciorota/modules/xnews/docs/seo-samples/ XoopsModules/xnews/branches/luciorota/modules/xnews/docs/seo-samples/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/docs/seo-samples/modulelevel.htaccess XoopsModules/xnews/branches/luciorota/modules/xnews/docs/seo-samples/rootlevel.htaccess XoopsModules/xnews/branches/luciorota/modules/xnews/docs/upgrade.txt XoopsModules/xnews/branches/luciorota/modules/xnews/extra/ XoopsModules/xnews/branches/luciorota/modules/xnews/extra/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/extra/modules/ XoopsModules/xnews/branches/luciorota/modules/xnews/extra/modules/tag/ XoopsModules/xnews/branches/luciorota/modules/xnews/extra/modules/tag/plugin/ XoopsModules/xnews/branches/luciorota/modules/xnews/extra/modules/tag/plugin/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/extra/modules/tag/plugin/xnews.php XoopsModules/xnews/branches/luciorota/modules/xnews/header.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/ XoopsModules/xnews/branches/luciorota/modules/xnews/include/comment_functions.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/common.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/config.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/constants.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/functions.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/include/notification.inc.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/oninstall.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/onuninstall.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/onupdate.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/search.inc.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/storyform.inc.php XoopsModules/xnews/branches/luciorota/modules/xnews/include/storyform.original.php XoopsModules/xnews/branches/luciorota/modules/xnews/index.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/admin.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/blocks.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/mail_template/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/mail_template/category_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/mail_template/global_newcategory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/mail_template/global_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/mail_template/global_storysubmit_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/mail_template/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/mail_template/story_approve_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/mail_template/topic_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/main.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/modinfo.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/english/newsletter.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/admin.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/blocks.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/mail_template/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/mail_template/category_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/mail_template/global_newcategory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/mail_template/global_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/mail_template/global_storysubmit_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/mail_template/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/mail_template/story_approve_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/mail_template/topic_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/main.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/modinfo.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/french/newsletter.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/admin.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/blocks.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/mail_template/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/mail_template/category_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/mail_template/global_newcategory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/mail_template/global_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/mail_template/global_storysubmit_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/mail_template/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/mail_template/story_approve_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/mail_template/topic_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/main.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/modinfo.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/french_iso/newsletter.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/admin.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/blocks.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/mail_template/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/mail_template/category_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/mail_template/global_newcategory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/mail_template/global_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/mail_template/global_storysubmit_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/mail_template/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/mail_template/story_approve_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/mail_template/topic_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/main.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/modinfo.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/german/newsletter.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/admin.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/blocks.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/mail_template/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/mail_template/category_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/mail_template/global_newcategory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/mail_template/global_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/mail_template/global_storysubmit_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/mail_template/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/mail_template/story_approve_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/mail_template/topic_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/main.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/modinfo.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/italian/newsletter.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/admin.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/blocks.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/mail_template/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/mail_template/category_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/mail_template/global_newcategory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/mail_template/global_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/mail_template/global_storysubmit_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/mail_template/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/mail_template/story_approve_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/mail_template/topic_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/main.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/modinfo.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/persian/newsletter.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/admin.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/blocks.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/mail_template/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/mail_template/category_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/mail_template/global_newcategory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/mail_template/global_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/mail_template/global_storysubmit_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/mail_template/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/mail_template/story_approve_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/mail_template/topic_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/main.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/modinfo.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/schinese/newsletter.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/admin.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/blocks.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/mail_template/ XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/mail_template/category_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/mail_template/global_newcategory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/mail_template/global_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/mail_template/global_storysubmit_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/mail_template/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/mail_template/story_approve_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/mail_template/topic_newstory_notify.tpl XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/main.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/modinfo.php XoopsModules/xnews/branches/luciorota/modules/xnews/language/spanish/newsletter.php XoopsModules/xnews/branches/luciorota/modules/xnews/list.tag.php XoopsModules/xnews/branches/luciorota/modules/xnews/makepdf.php XoopsModules/xnews/branches/luciorota/modules/xnews/micro_summary.php XoopsModules/xnews/branches/luciorota/modules/xnews/newsbythisauthor.php XoopsModules/xnews/branches/luciorota/modules/xnews/notification_update.php XoopsModules/xnews/branches/luciorota/modules/xnews/print.php XoopsModules/xnews/branches/luciorota/modules/xnews/ratenews.php XoopsModules/xnews/branches/luciorota/modules/xnews/seo.php XoopsModules/xnews/branches/luciorota/modules/xnews/sql/ XoopsModules/xnews/branches/luciorota/modules/xnews/sql/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/sql/mysql.sql XoopsModules/xnews/branches/luciorota/modules/xnews/submit.php XoopsModules/xnews/branches/luciorota/modules/xnews/templates/ XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/ XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/nw_news_block_archives.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/nw_news_block_bigstory.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/nw_news_block_latestnews.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/nw_news_block_moderate.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/nw_news_block_randomnews.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/nw_news_block_top.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/nw_news_block_topicnav.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/nw_news_block_topics.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/nw_news_tag_block_cloud.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/blocks/nw_news_tag_block_top.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/index.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_archive.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_article.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_article_pdf.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_by_this_author.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_by_topic.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_index.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_item.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_item_pdf.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_ratenews.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_rss.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_topics_directory.html XoopsModules/xnews/branches/luciorota/modules/xnews/templates/nw_news_whos_who.html XoopsModules/xnews/branches/luciorota/modules/xnews/topics_directory.php XoopsModules/xnews/branches/luciorota/modules/xnews/view.tag.php XoopsModules/xnews/branches/luciorota/modules/xnews/visit.php XoopsModules/xnews/branches/luciorota/modules/xnews/whoswho.php XoopsModules/xnews/branches/luciorota/modules/xnews/xoops_version.php Added: XoopsModules/xnews/branches/luciorota/modules/xnews/admin/admin_footer.php =================================================================== --- XoopsModules/xnews/branches/luciorota/modules/xnews/admin/admin_footer.php (rev 0) +++ XoopsModules/xnews/branches/luciorota/modules/xnews/admin/admin_footer.php 2014-12-14 11:04:17 UTC (rev 12906) @@ -0,0 +1,19 @@ +<?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. + */ + +echo "<div class='adminfooter'>\n"; +echo " <div style='text-align: center;'>\n"; +echo " <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"; +echo " </div>\n"; +echo "" . _AM_MODULEADMIN_ADMIN_FOOTER . "\n"; +echo "</div>"; + +xoops_cp_footer(); Added: XoopsModules/xnews/branches/luciorota/modules/xnews/admin/admin_header.php =================================================================== --- XoopsModules/xnews/branches/luciorota/modules/xnews/admin/admin_header.php (rev 0) +++ XoopsModules/xnews/branches/luciorota/modules/xnews/admin/admin_header.php 2014-12-14 11:04:17 UTC (rev 12906) @@ -0,0 +1,21 @@ +<?php +include_once dirname(dirname(dirname(__DIR__))) . '/mainfile.php'; +include_once dirname(__DIR__) . '/include/common.php'; + +// Include xoops admin header +include_once XOOPS_ROOT_PATH . '/include/cp_header.php'; + +$pathIcon16 = XOOPS_URL . '/' . $xnews->getModule()->getInfo('icons16'); +$pathIcon32 = XOOPS_URL . '/' . $xnews->getModule()->getInfo('icons32'); +$pathModuleAdmin = XOOPS_ROOT_PATH . '/' . $xnews->getModule()->getInfo('dirmoduleadmin'); +require_once $pathModuleAdmin . '/moduleadmin/moduleadmin.php'; + +// Load language files +xoops_loadLanguage('admin', $xnews->getModule()->dirname()); +xoops_loadLanguage('modinfo', $xnews->getModule()->dirname()); +xoops_loadLanguage('main', $xnews->getModule()->dirname()); + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH . '/class/template.php'); + $xoopsTpl = new XoopsTpl(); +} Added: XoopsModules/xnews/branches/luciorota/modules/xnews/admin/clone.php =================================================================== --- XoopsModules/xnews/branches/luciorota/modules/xnews/admin/clone.php (rev 0) +++ XoopsModules/xnews/branches/luciorota/modules/xnews/admin/clone.php 2014-12-14 11:04:17 UTC (rev 12906) @@ -0,0 +1,411 @@ +<?php +$currentFile = basename(__FILE__); +include_once __DIR__ . '/admin_header.php'; + +include_once XNEWS_MODULE_PATH . '/class/deprecate/xnewstopic.php'; +include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; + +include_once XNEWS_MODULE_PATH . '/class/class.newsstory.php'; +include_once XNEWS_MODULE_PATH . '/class/class.newstopic.php'; +include_once XNEWS_MODULE_PATH . '/class/class.sfiles.php'; +include_once XNEWS_MODULE_PATH . '/class/blacklist.php'; +include_once XNEWS_MODULE_PATH . '/class/registryfile.php'; + +include_once XOOPS_ROOT_PATH . '/class/uploader.php'; +xoops_load('xoopspagenav'); +include_once XOOPS_ROOT_PATH . '/class/tree.php'; + +$myts =& MyTextSanitizer::getInstance(); +$topicscount = 0; + +$storiesTableName = $GLOBALS['xoopsDB']->prefix('nw_stories'); +if(!nw_FieldExists('picture', $storiesTableName)) { + nw_AddField('`picture` VARCHAR( 50 ) NOT NULL', $storiesTableName); +} + +/** + * Cloner - DNPROSSI + */ +function NewsCloner() { + global $myts; + $xnews = XnewsXnews::getInstance(); + $nw_NewsStoryHandler = new nw_NewsStory(); + + // admin navigation + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation($currentFile); + // + xoops_load('XoopsFormLoader'); + + $clone_modulename = ''; + + $start = isset($_GET['start']) ? intval($_GET['start']) : 0; + + $result = $GLOBALS['xoopsDB']->query('SELECT * FROM ' . $GLOBALS['xoopsDB']->prefix('news_clonerdata')); + $ix = 0; + $iy = 0; + while ($clone = $GLOBALS['xoopsDB']->fetchArray($result)) { + //DNPROSSI - Control if clone dir exists + if (is_dir(XOOPS_ROOT_PATH . "/modules/" . $clone['clone_dir'])) { + $clone_arr[$ix] = $clone; + $ix++; + } else { + $nonclone_arr[$iy] = $clone; + $iy++; + } + } + // If cloned dir does not exists because deleted remove from dtb + if (isset($nonclone_arr)) { + for ($iy = 0; $iy < count($nonclone_arr); $iy++) { + $result = $GLOBALS['xoopsDB']->queryF("DELETE FROM " . $GLOBALS['xoopsDB']->prefix('news_clonerdata') . " WHERE clone_dir = '" . $nonclone_arr[$iy]['clone_dir'] . "' ;"); + } + } + + $totalclones = count($clone_arr); + $class = ''; + + xnews_collapsableBar('NewsCloner', 'topNewsCloner'); + echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='topNewsCloner' name='topNewsCloner' src='" . XNEWS_MODULE_URL . "/assets/images/close12.gif' alt='' /></a> " . _AM_NW_CLONER_CLONES . ' (' . $totalclones . ')'."</h4>"; + echo "<div id='NewsCloner'>"; + echo '<br />'; + echo "<div style='text-align: center;'>"; + echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'><tr class='bg3'><td align='center'>" . _AM_NW_CLONER_NAME . "</td><td align='center'>" . _AM_NW_CLONER_DIRFOL . "</td><td align='center'>" . _AM_XNEWS_SUBPREFIX . "</td><td align='center'>" . _AM_NW_CLONER_VERSION . "</td><td align='center'>" . _AM_NW_ACTION . "</td><td align='center'>" . _AM_NW_CLONER_ACTION_INSTALL . "</td></tr>"; + if(is_array($clone_arr) && $totalclones) { + $cpt = 1; + $tmpcpt = $start; + $ok = true; + $output = ''; + while ($ok) { + if ($tmpcpt < $totalclones) { + //DNPROSSI - Upgrade if clone version is different from original news version + //DNPROSSI - Install if cloned + if ($clone_arr[$tmpcpt]['clone_dir'] != $clone_arr[0]['clone_dir']) { + if ($clone_arr[$tmpcpt]['clone_version'] != $clone_arr[0]['clone_version']) { + $linkupgrade = XNEWS_MODULE_URL . '/admin/clone.php?op=cloneupgrade&clone_id=' . $clone_arr[$tmpcpt]['clone_id']; + $action = sprintf("<a href='%s'>%s</a>", $linkupgrade, _AM_NW_UPGRADE); + if ($clone_arr[$tmpcpt]['clone_installed'] == 1) { + $linkupgrade = XOOPS_URL . '/modules/system/admin.php?fct=modulesadmin&op=uninstall&module=' . $clone_arr[$tmpcpt]['clone_dir']; + $installaction = sprintf("<a href='%s'>%s</a>", $linkupgrade, _AM_NW_CLONER_UNINSTALL); + } else { + $linkupgrade = XOOPS_URL . '/modules/system/admin.php?fct=modulesadmin&op=install&module=' . $clone_arr[$tmpcpt]['clone_dir']; + $linkdelete = XNEWS_MODULE_URL . '/admin/clone.php?op=clonedelete&clone_id=' . $clone_arr[$tmpcpt]['clone_id']; + $installaction = sprintf("<a href='%s'>%s</a> - <a href='%s'>%s</a>", $linkupgrade, _AM_NW_CLONER_INSTALL, $linkdelete, _AM_NW_DELETE); + } + } else { + $linkforce = XNEWS_MODULE_URL . '/admin/clone.php?op=cloneupgrade&clone_id=' . $clone_arr[$tmpcpt]['clone_id']; + $action=sprintf( _AM_NW_CLONER_CLONEUPGRADED . " - <a href='%s'>%s</a>", $linkforce, _AM_NW_CLONER_UPGRADEFORCE); + if ( $clone_arr[$tmpcpt]['clone_installed'] == 1) { + $linkupgrade = XOOPS_URL . '/modules/system/admin.php?fct=modulesadmin&op=uninstall&module=' . $clone_arr[$tmpcpt]['clone_dir']; + $installaction = sprintf("<a href='%s'>%s</a>", $linkupgrade, _AM_NW_CLONER_UNINSTALL); + } else { + $linkupgrade = XOOPS_URL . '/modules/system/admin.php?fct=modulesadmin&op=install&module=' . $clone_arr[$tmpcpt]['clone_dir']; + $linkdelete = XNEWS_MODULE_URL . '/admin/clone.php?op=clonedelete&clone_id=' . $clone_arr[$tmpcpt]['clone_id']; + $installaction = sprintf("<a href='%s'>%s</a> - <a href='%s'>%s</a>", $linkupgrade, _AM_NW_CLONER_INSTALL, $linkdelete, _AM_NW_DELETE); + } + } + } else { + $linkupgrade = XOOPS_URL . '/modules/system/admin.php?fct=modulesadmin&op=update&module=' . $clone_arr[$tmpcpt]['clone_dir']; + $action = sprintf("<a href='%s'>%s</a>", $linkupgrade, _AM_NW_CLONER_UPDATE); + $installaction = ''; + } + $class = ($class == 'even') ? 'odd' : 'even'; + $output = $output . "<tr class='" . $class . "'><td align='center'>" . $clone_arr[$tmpcpt]['clone_name'] . "</td><td align='center'>" . $clone_arr[$tmpcpt]['clone_dir'] . "</td><td align='center'>" . $clone_arr[$tmpcpt]['clone_subprefix'] . "</td><td align='center'>" . round($clone_arr[$tmpcpt]['clone_version'] / 100, 2) . "</td><td>" . $action . "</td><td>" . $installaction . "</td></tr>"; + } else { + $ok = false; + } + if($cpt >= $xnews->getConfig('storycountadmin')) { + $ok = false; + } + $tmpcpt++; + $cpt++; + } + echo $output; + } + $pagenav = new XoopsPageNav($totalclones, $xnews->getConfig('storycountadmin'), $start, 'start', 'op=clonemanager'); + echo "</table><div align='right'>" . $pagenav->renderNav() . '</div><br />'; + echo "</div></div><br />\n"; + + $clone_id = isset($_GET['clone_id']) ? intval($_GET['clone_id']) : 0; + if ($clone_id > 0) { + $xtmod = new nw_NewsTopic($clone_id); + $clone_name = $xtmod->clone_name('E'); + $clone_dir = $xtmod->clone_dir('E'); + $clone_version = $xtmod->clone_version('E'); + $op = 'modClone'; + $btnlabel = _AM_NW_MODIFY; + $parent = $xtmod->topic_pid(); + $formlabel = _AM_NW_MODIFYTOPIC; + $oldnewsimport = $xtmod->menu(); + $topic_frontpage = $xtmod->topic_frontpage(); + $topic_color = $xtmod->topic_color(); + unset($xtmod); + } else { + $clone_name = ''; + $clone_frontpage = 1; + $clone_dir = ''; + $op = 'addTopic'; + $btnlabel = _AM_NW_ADD; + $parent = -1; + $oldnewsimport = 0; + $clone_version = ''; + $formlabel = _AM_NW_ADD_TOPIC; + } + + //Draw Form + $sform = new XoopsThemeForm(_AM_NW_CLONER_ADD, "clonerform", XNEWS_MODULE_URL . "/admin/clone.php", "post"); + + $filedir_tray = new XoopsFormElementTray(_AM_NW_CLONER_NEWNAME, ""); + $label = sprintf(_AM_NW_CLONER_NEWNAMEDESC, $xnews->getModule()->name()); + $filedir_tray->addElement(new XoopsFormLabel($label), false); + $filedir_tray->addElement(new XoopsFormText(_AM_NW_CLONER_NEWNAMELABEL, "clone_modulename", 50, 255, $clone_modulename), true); + $sform->addElement($filedir_tray); + + $sform->addElement(new XoopsFormHidden("op", "clonerapply"), false); + + $button_tray = new XoopsFormElementTray("", ""); + $submit_btn = new XoopsFormButton("", "post", _SUBMIT, "submit"); + $button_tray->addElement($submit_btn); + $sform->addElement($button_tray); + $sform->display(); + + //recalc original subprefix + $sub = nw_remove_numbers(XNEWS_SUBPREFIX); + $result2 = $GLOBALS['xoopsDB']->query("SELECT * FROM " . $GLOBALS['xoopsDB']->prefix($sub . '_stories')); + $count = $GLOBALS['xoopsDB']->getRowsNum($result2); + + $tmpmodule_handler =& xoops_gethandler('module'); + +} + +/** + * Cloner Apply - DNPROSSI + */ +function NewsClonerApply() { + $xnews = XnewsXnews::getInstance(); + $nw_NewsStoryHandler = new nw_NewsStory(); + + include_once __DIR__ . '/cloner.php'; + if (!empty($_POST['clone_modulename'])) { + $module_version = $xnews->getModule()->version(); + $old_dirname = $xnews->getModule()->dirname(); + $old_modulename = $xnews->getModule()->name(); + $old_subprefix = XNEWS_SUBPREFIX; + + $new_modulename = $_POST['clone_modulename']; + + $new_dirname = strtolower(str_replace(' ', '', $new_modulename)); + $new_modulename = ucwords(strtolower($new_modulename)); + + //Select last id for new sub-prefix. + $result = $GLOBALS['xoopsDB']->query("SHOW TABLE STATUS LIKE '" . $GLOBALS['xoopsDB']->prefix("news_clonerdata") . "'"); + $row = $GLOBALS['xoopsDB']->fetchArray($result); + $Auto_increment = $row['Auto_increment']; + + $new_subprefix = 'nw' . strval($Auto_increment); + //trigger_error($result. ' ---- ' .$count. ' ---- ' .$new_subprefix , E_USER_WARNING); + + $patterns = array( + $old_dirname => $new_dirname, + '$modversion["original"] = 1;' => '$modversion["original"] = 0;', + '$modversion["name"] = "' . 'x' . 'News' . '"' => '$modversion["name"] = "' . $new_modulename . '"', + $old_subprefix => strtolower($new_subprefix), + strtoupper($old_subprefix) => strtoupper($new_subprefix) + ); + + $patKeys = array_keys($patterns); + $patValues = array_values($patterns); + + $newPath = str_replace($patKeys[0], $patValues[0], XNEWS_MODULE_PATH); + $oldlogo = $newPath . "/" . $old_dirname . "_logo.png"; + $newlogo = $newPath . "/" . $new_dirname . "_logo.png"; + + if (!is_dir($newPath)) { //&& !$old_subprefix == $new_subprefix ) { + nw_cloneFileFolder(XNEWS_MODULE_PATH, $patterns); + //rename logo.png + @rename($oldlogo, $newlogo); + //trigger_error($oldlogo. ' ---- ' .$newlogo , E_USER_WARNING); + + $path_array[0] = $newPath . '/templates/'; + $path_array[1] = $newPath . '/templates/blocks/'; + + // check all files in dir, and process them + nw_clonefilename($path_array, $old_subprefix, $new_subprefix); + + //Add cloned module to cloner dtb + $sql = "INSERT"; + $sql .= " INTO " . $GLOBALS['xoopsDB']->prefix('news_clonerdata') . " (clone_name, clone_dir, clone_version, clone_subprefix, clone_installed)"; + $sql .= " VALUES ('" . $new_modulename . "', '" . $new_dirname . "', '" . $module_version . "', '" . $new_subprefix . "', 0);"; + $result = $GLOBALS['xoopsDB']->query($sql); + + $label = sprintf(_AM_NW_CLONER_CREATED, $new_modulename); + redirect_header('clone.php?op=cloner', 3, $label); + } else { + $label = sprintf(_AM_NW_CLONER_DIREXISTS, $new_dirname); + redirect_header('clone.php?op=cloner', 3, $label); + } + } +} + +/** + * Clone Upgrade - DNPROSSI + */ +function CloneUpgrade() { + $xnews = XnewsXnews::getInstance(); + $nw_NewsStoryHandler = new nw_NewsStory(); + include_once "cloner.php"; + // + if (!isset($_GET['clone_id'])) { + //trigger_error("Not set", E_USER_WARNING); + redirect_header('clone.php?op=cloner', 3, _AM_NW_CLONER_NOMODULEID); + } else { + $cloneid = $_GET['clone_id']; + $result = $GLOBALS['xoopsDB']->query("SELECT * FROM " . $GLOBALS['xoopsDB']->prefix('news_clonerdata') . " WHERE clone_id = " . $cloneid ); + $ix = 0; + while ($clone = $GLOBALS['xoopsDB']->fetchArray($result)) { + $clone_arr[$ix] = $clone; + $ix++; + } + $org_modulename = $xnews->getModule()->name(); + $org_dirname = $xnews->getModule()->dirname(); + $org_version = $xnews->getModule()->version(); + $org_subprefix = XNEWS_SUBPREFIX; + // + $upg_modulename = $clone_arr[0]['clone_name']; + $upg_dirname = $clone_arr[0]['clone_dir']; + $upg_version = $clone_arr[0]['clone_version']; + $upg_subprefix = $clone_arr[0]['clone_subprefix']; + // + $patterns = array( + $org_dirname => $upg_dirname, + '$modversion["original"] = 1;' => '$modversion["original"] = 0;', + '$modversion["name"] = "' . 'x' . 'News' . '"' => '$modversion["name"] = "' . $upg_modulename . '"', + $org_subprefix => strtolower($upg_subprefix), + strtoupper($org_subprefix) => strtoupper($upg_subprefix), + ); + // + $patKeys = array_keys($patterns); + $patValues = array_values($patterns); + // + $newPath = str_replace($patKeys[0], $patValues[0], XNEWS_MODULE_PATH); +// IN PROGRESS +// IN PROGRESS +// IN PROGRESS + $oldlogo = $newPath . "/" . $org_dirname . "_logo.png"; + $newlogo = $newPath . "/" . $upg_dirname . "_logo.png"; + // + nw_cloneFileFolder(XNEWS_MODULE_PATH, $patterns); + //rename logo.png + @rename($oldlogo, $newlogo); + $path_array[0] = $newPath . '/templates/'; + $path_array[1] = $newPath . '/templates/blocks/'; + nw_deleteclonefile($path_array, $upg_subprefix); + // check all files in dir, and process them + nw_clonefilename($path_array, $org_subprefix, $upg_subprefix); + //Update module dtb + $GLOBALS['xoopsDB']->queryF("UPDATE " . $GLOBALS['xoopsDB']->prefix('news_clonerdata') . " SET clone_version = " . $org_version . " WHERE clone_id = " . $cloneid); + $label = sprintf(_AM_NW_CLONER_UPRADED, $upg_modulename); + redirect_header('clone.php?op=cloner', 3, $label); + } +} + +/** + * Delete Clone - DNPROSSI - 1.68 RC1 + */ +function CloneDelete() +{ + $xnews = XnewsXnews::getInstance(); + $nw_NewsStoryHandler = new nw_NewsStory(); + // admin navigation + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation("clone.php?op=cloner"); + // + xoops_load('XoopsFormLoader'); + // + if (!isset($_GET['clone_id'])) { + redirect_header('clone.php?op=cloner', 3, _AM_NW_CLONER_CLONEID); + } else { + $cloneid = $_GET['clone_id']; + $result = $GLOBALS['xoopsDB']->query("SELECT * FROM " . $GLOBALS['xoopsDB']->prefix('news_clonerdata') . " WHERE clone_id = " . $cloneid); + $ix = 0; + while ($clone = $GLOBALS['xoopsDB']->fetchArray($result)) { + $clone_arr[$ix] = $clone; + $ix++; + } + $module_dirname = $clone_arr[0]['clone_dir']; + echo "<div id='NewsCloner' style='text-align: center;'>"; + echo "<h2>" . _AM_NW_CLONER_CLONEDELETION . "</h2>"; + echo "</div>"; + //echo "<div style='text-align: center;'>"; + $message = sprintf(_AM_NW_CLONER_SUREDELETE, $module_dirname); + xoops_confirm(array('op' => 'clonedeleteapply', 'clone_id' => $cloneid, 'ok' => 1, 'module_name' => $module_dirname), 'clone.php', $message); + } +} + +/** + * Apply Delete Clone - DNPROSSI - 1.68 RC1 + */ +function CloneDeleteApply() { + $xnews = XnewsXnews::getInstance(); + $nw_NewsStoryHandler = new nw_NewsStory(); + include_once "cloner.php"; + // + //trigger_error("Not set", E_USER_WARNING); + if (!isset($_POST['clone_id'])) { + redirect_header('clone.php?op=cloner', 3, _AM_NW_CLONER_CLONEID); + } else { + $del_dirname = $_POST['module_name']; + $delPath1 = XOOPS_ROOT_PATH . "/modules/" . $del_dirname; + $delPath2 = XOOPS_ROOT_PATH . "/uploads/" . $del_dirname; + if (file_exists($delPath2) && is_dir($delPath2)) { + if (nw_removewholeclone($delPath1) == true && nw_removewholeclone($delPath2) == true) { + $label = sprintf(_AM_NW_CLONER_CLONEDELETED, $del_dirname); + redirect_header('clone.php?op=cloner', 3, $label); + } else { + $label = sprintf(_AM_NW_CLONER_CLONEDELETEERR, $del_dirname); + redirect_header('clone.php?op=cloner', 3, $label); + } + } elseif (nw_removewholeclone($delPath1) == true) { + $label = sprintf(_AM_NW_CLONER_CLONEDELETED, $del_dirname); + redirect_header('clone.php?op=cloner', 3, $label); + } else { + $label = sprintf(_AM_NW_CLONER_CLONEDELETEERR, $del_dirname); + redirect_header('clone.php?op=cloner', 3, $label); + } + } +} + +// ********************************************************************************************************************************************** +// **** Main +// ********************************************************************************************************************************************** + + +$op = XoopsRequest::getString('op', 'cloner'); + +switch ($op) { + case 'cloner': + NewsCloner(); + xoops_cp_footer(); + break; + + case 'clonerapply': + NewsClonerApply(); + xoops_cp_footer(); + break; + + case 'cloneupgrade': + CloneUpgrade(); + xoops_cp_footer(); + break; + + case 'clonedelete': + CloneDelete(); + xoops_cp_footer(); + break; + + case 'clonedeleteapply': + CloneDeleteApply(); + xoops_cp_footer(); + break; +} Added: XoopsModules/xnews/branches/luciorota/modules/xnews/admin/cloner.php =================================================================== --- XoopsModules/xnews/branches/luciorota/modules/xnews/admin/cloner.php (rev 0) +++ XoopsModules/xnews/branches/luciorota/modules/xnews/admin/cloner.php 2014-12-14 11:04:17 UTC (rev 12906) @@ -0,0 +1,183 @@ +<?php +/** + * Module Cloner file + * + * Enable webmasters to clone the news module. + * + * NOTE : Please give credits if you copy this code ! + * + * @package News + * @author DNPROSSI + * @copyright (c) DNPROSSI + */ + +function nw_cloneFileFolder($path, $patterns) { + $patKeys = array_keys($patterns); + $patValues = array_values($patterns); + + // work around for PHP < 5.0.x + if (!function_exists('file_put_contents')) { + function file_put_contents($filename, $data, $file_append = false) { + $fp = fopen($filename, (!$file_append ? 'w+' : 'a+')); + if (!$fp) { + trigger_error('file_put_contents cannot write in file.', E_U... [truncated message content] |
From: <luc...@us...> - 2014-12-13 17:45:21
|
Revision: 12904 http://sourceforge.net/p/xoops/svn/12904 Author: luciorota Date: 2014-12-13 17:45:11 +0000 (Sat, 13 Dec 2014) Log Message: ----------- administrator can run the cron.php script from administrative tasks page update help files adding new features Modified Paths: -------------- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/task.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/cron.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/admin.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/help/help.html XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/modinfo.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php Added Paths: ----------- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/help/help3.html Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/task.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/task.php 2014-12-13 15:49:41 UTC (rev 12903) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/task.php 2014-12-13 17:45:11 UTC (rev 12904) @@ -46,8 +46,10 @@ $taskAdmin->addItemButton(_AM_XNEWSLETTER_TASK_SHOW_ALL, '?op=list_tasks', 'view_detailed'); } $taskCount = $xnewsletter->getHandler('task')->getCount(); - if ($taskCount) { + if ($taskCount > 0) { + $taskAdmin->addItemButton(_AM_XNEWSLETTER_TASK_RUN_CRON_NOW, '?op=run_cron_now', 'exec'); $taskAdmin->addItemButton(_AM_XNEWSLETTER_TASK_DELETE_ALL, '?op=delete_tasks', 'delete'); + } echo $taskAdmin->renderButton(); // @@ -255,7 +257,7 @@ xoops_cp_header(); // render confirm form xoops_confirm( - array('ok' => true, 'task_id' => $task_id, 'op' => 'delete_task'), + array('ok' => true, 'op' => 'delete_task', 'task_id' => $task_id), $_SERVER['REQUEST_URI'], sprintf(_AM_XNEWSLETTER_FORMSUREDEL, $taskObj->getVar('task')) ); @@ -306,4 +308,31 @@ include_once __DIR__ . '/admin_footer.php'; } break; + + case 'run_cron_now': + if (xnewsletterRequest::getBool('ok', false, 'POST') == true) { + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + // render start here + xoops_cp_header(); + include_once XOOPS_ROOT_PATH . '/modules/xnewsletter/include/functions.task.php'; + // execute all pending tasks + $result_exec = xnewsletter_executeTasks($xnewsletter->getConfig('xn_send_in_packages'), 0); + if ($result_exec != '') { + $newsletter->getHandler('protocol')->protocol(0, 0, 'Cron: ' . $result_exec, _XNEWSLETTER_PROTOCOL_STATUS_CRON, array('%result_exec' => $result_exec), true); + } + redirect_header($currentFile, 3, "result cron: {$result_exec}"); + } else { + // render start here + xoops_cp_header(); + // render confirm form + xoops_confirm( + array('ok' => true, $task_id, 'op' => 'run_cron_now'), + $_SERVER['REQUEST_URI'], + _AM_XNEWSLETTER_FORMSURERUNCRONNOW + ); + include_once __DIR__ . '/admin_footer.php'; + } + break; } Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/cron.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/cron.php 2014-12-13 15:49:41 UTC (rev 12903) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/cron.php 2014-12-13 17:45:11 UTC (rev 12904) @@ -38,24 +38,5 @@ if ($result_exec != '') { $newsletter->getHandler('protocol')->protocol(0, 0, 'Cron: ' . $result_exec, _XNEWSLETTER_PROTOCOL_STATUS_CRON, array('%result_exec' => $result_exec), true); -/* - // you can enable the block for creating protocol for cron - $protocolObj = $xnewsletter->getHandler('protocol')->create(); - $protocolObj->setVar('protocol_letter_id', 0); - $protocolObj->setVar('protocol_subscriber_id', 0); - $protocolObj->setVar('protocol_status', 'Cron: ' . $result_exec); // old style - $protocolObj->setVar('protocol_status_str_id', _XNEWSLETTER_PROTOCOL_STATUS_CRON); // new from v1.3 - $protocolObj->setVar('protocol_status_vars', array('%result_exec' => $result_exec)); // new from v1.3 - $protocolObj->setVar('protocol_success', true); - $protocolObj->setVar('protocol_submitter', 0); - $protocolObj->setVar('protocol_created', time()); - - if ($xnewsletter->getHandler('protocol')->insert($protocolObj)) { - // create protocol is ok - // NOP - } else { - echo $protocolObj->getHtmlErrors(); - } -*/ } echo "<br/>result cron: {$result_exec}"; Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/admin.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/admin.php 2014-12-13 15:49:41 UTC (rev 12903) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/admin.php 2014-12-13 17:45:11 UTC (rev 12904) @@ -405,15 +405,15 @@ <br /><br /> Available smarty-vars are: <ul> - <li><{$salutation}> or <{$sex}>: the subscriber Salutation field</li> - <li><{$firstname}>: the subscriber First name field</li> - <li><{$lastname}>: the subscriber Last name field</li> - <li><{$email}> or <{$subscr_email}>: the subscriber Email field</li> + <li><{$salutation}> or <{$sex}>: the subscriber "Salutation" (subscr_sex) field</li> + <li><{$firstname}>: the subscriber "First name" (subscr_firstname) field</li> + <li><{$lastname}>: the subscriber "Last name" (subscr_lastname) field</li> + <li><{$email}> or <{$subscr_email}>: the subscriber "Email" (subscr_email) field</li> </ul> <ul> - <li><{$letter_id}>: the newsletter id</li> - <li><{$title}>: the newsletter Title field</li> - <li><{$content}>: the newsletter Content field</li> + <li><{$letter_id}>: the newsletter "id" (letter_id) field</li> + <li><{$title}>: the newsletter "Title" (letter_title) field</li> + <li><{$content}>: the newsletter "Content" (letter_content) field</li> <li><{$attachments}>: attachments array <br /> <span style="font-size:0.9em"> @@ -512,7 +512,10 @@ define('_AM_XNEWSLETTER_TASK_ACTIONS_EXECUTE', "Execute now"); define('_AM_XNEWSLETTER_TASK_SHOW_ALL', "Show all"); define('_AM_XNEWSLETTER_TASK_DELETE_ALL', "Delete all tasks"); +define('_AM_XNEWSLETTER_TASK_RUN_CRON_NOW', "Execute now "cron.php""); +define('_AM_XNEWSLETTER_FORMSURERUNCRONNOW', "Are you sure you want to execute: <span class='bold red'>"cron.php"</span>"); + //Buttons define('_AM_XNEWSLETTER_NEWTEMPLATE', "Add New Template"); define('_AM_XNEWSLETTER_TEMPLATELIST', "List Template"); Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/help/help.html =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/help/help.html 2014-12-13 15:49:41 UTC (rev 12903) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/help/help.html 2014-12-13 17:45:11 UTC (rev 12904) @@ -44,196 +44,14 @@ - Newsletter are based on templates<br /> - Detailed handling of permissions for groups and newsletter (subscribe, write, send)<br /> - Send: send test mail, resend to all subscribers or only to subscribers, where sending failed<br /> - - Sending newsletters to unlimited number of recipients or in packages with certain number of recipients by using cronjob<br /> + - Sending newsletters to unlimited number of recipients or in packages with certain number of recipients by using <a href="http://en.wikipedia.org/wiki/Cron">cronjob</a><br /> - Bounced email handler for handling Bounced emails in case of invalid e-mail-addresses<br /> - - Optionally synchronisation with mailing lists (e.g. majordomo)<br /> + - Optionally synchronisation with mailing lists (e.g. <a href="http://en.wikipedia.org/wiki/Majordomo_%28software%29">majordomo</a>)<br /> - Maintenance function included<br /> - Creating protocol for the important steps<br /> <br /> </p> - <h4 class="odd">Install/uninstall</h4> - <p class="even"> - No special measures necessary, follow the standard installation process - extract the /xnewsletter folder into the - ../modules directory. Install the module through Admin -> Modules. If you need detailed - instructions on how to install a module, please see the <a href="http://goo.gl/adT2i">XOOPS Operations - Manual</a>.<br /><br /></p> - <h4 class="odd">Tutorial</h4> - <!-- -----Help Content ---------- --> - - - <h5 class="odd">Basic information</h5> - <p class="even">The module is based on PHPMailer and PHPMailer-BMH + <p class="even">The module is based on <a href="https://github.com/PHPMailer/PHPMailer">PHPMailer</a> and <a href="http://phpmailer.worxware.com/index.php?pg=bmh">PHPMailer-BMH</a>. <br /><br /></p> - - <h5 class="odd">(Un) subscriptions to newsletters</h5> - <p class="even"> - You can define for each newsletter and for each group, whether for (un) subscription or change a confirmation email with activation key is necessary or not (use double-option).<br /> - <br /><br /></p> - - <h5 class="odd">Accounts</h5> - <p class="even"> - You can use one or more email-account; sending with php mail, php sendmail, smtp is possible.<br /> - There is a feature for testing pop3 and imap accounts.<br /> - <br /> - Pay attention: functions like testing account, sending emails, start Bounced email handler,... work not with local server (you get white page without any error).<br /> - <br /><br /></p> - - <h5 class="odd">Newsletter categories</h5> - <p class="even"> - You can handle one or more newsletter categories.<br /> - It is possible to set permissions "read", "create", "admin" and "list subscribers" for each newsletter cat.<br /> - <br /><br /></p> - - <h5 class="odd">Create a newsletter</h5> - <p class="even"> - The newsletter can be created with each text editor which is installed in current xoops core (e.g. TinyMCE). <br /> - For each newsletter you can use different templates (see also 'Newsletter templates').<br /> - You can define one or more newsletter categories for your newsletter.<br /> - You can add 5 files maximum as attachment to each newsletter.<br /><br /> - Optionally you can also copy an older newsletter and edit or send it as a new one.<br /><br /> - The type of text editor, allows mime-types and size of mail attachments can be set in module preferences.<br /> - <br /><br /></p> - - <h5 class="odd">Newsletter templates</h5> - <p class="even"> - The newsletters are template based.<br /> - The templates are stored as files in language/{yourlanguage}/templates or stored in database.<br /> - To create a new template you can: - <ol> - <li>make a new template html-file in in language/{yourlanguage}/templates folder and to put in the smarty-vars;</li> - <li>from admin side create a new template item and to put in the smarty-vars.</li> - </ol> - <br /> - This module uses the Xoops <a href="http://www.smarty.net/">Smarty template engine</a> to render the email letter.<br /><br /> - Available smarty-vars are: - <ul> - <li><{$salutation}> or <{$sex}>: the subscriber Salutation field</li> - <li><{$firstname}>: the subscriber First name field</li> - <li><{$lastname}>: the subscriber Last name field</li> - <li><{$email}> or <{$subscr_email}>: the subscriber Email field</li> - </ul> - <ul> - <li><{$title}>: the newsletter Title field</li> - <li><{$content}>: the newsletter Content field</li> - </ul> - <ul> - <li><{$date}>: the sending date as timestamp integer <br /><span style="font-size:0.9em">(e.g.: <{$date|date_format:"%Y/%m/%d"}> will output the date formatted as 2001/01/04)</span></li> - <li><{$unsubscribe_url}>: the unsubscribe url</li> - </ul> - <ul> - <ul> - <li><{$xoops_url}>: the site main url (e.g. http://localhost/)</li> - <li><{$xoops_langcode}>: the site langcode (e.g. en)</li> - <li><{$xoops_charset}>: the site cherset (e.g. UTF-8)</li> - </ul> - <br /><br /></p> - - <h5 class="odd">Sending newsletter</h5> - <p class="even"> - You can show a preview of a newsletter before sending.<br /> - You can send the newsletter for testing to a defined email-address.<br /> - The newsletters will be sent subscriber by subscriber.<br /> - For each sending action a protocol will be created.<br /> - If one or more send failed, you can see it in the protocol.<br /> - You can restart sending procedure. You can send it again to all subscribers or send it only to the subscribers, where sending procedure failed).<br /> - <br /> - You can send all emails immediately or limit emails send in one package.<br /> - The number of emails and the minutes until next sending can be defined in module preferences (e.g. 200 emails all 60 minutes).<br /> - The first package will be sent immediately. To start the next sending procedure you need an external cronjob, which is calling "../modules/xnewsletter/cron.php". Xoops cannot do this with current version (2.5.5).<br /> - <br /> - Pay attention: functions like testing account, sending emails, start Bounced email handler,... work not with local server (you get white page).<br /> - <br /><br /></p> - - <h5 class="odd">Task list</h5> - <p class="even"> - If you limit emails send in one package, you can see all newsletters waiting for next cronjob and the time, when cronjob can send the newsletter.<br /> - If you do not use this option, this list must always be empty.<br /> - Normally the tab "Task list" is hidden, if this option is disabled.<br /> - <br /><br /></p> - - <h5 class="odd">Handle mailing lists</h5> - <p class="even"> - If you have an existing mailing list, you can synchronize the (un) subscriptions of one newsletter category with one mailing list.<br /> - I use majordomo beside this newsletter module because then I can also send an email from my email-client to the newsletter recipients.<br /> - One of the disadvantages of mailing lists is, that, if one person is registered in two or more mailing lists and you send a one newsletter to all mailing lists, this person gets the same newsletter more than one time. With xNewsletter he gets only one newsletter.<br /> - <br /> - <br />Normally the tab "Mailing list" is hidden, if this option is disabled.<br /> - <br /> - <b>xNewsletter cannot create mailing lists</b>. - <br /><br /></p> - - <h5 class="odd">Bounced email handler (BMH)</h5> - <p class="even"> - If you send newsletters, there will always be some emails not delivered to recipient (Bounced email), because email is no more valid, mailbox is full, and so on.<br /> - To handle this event and to react on this, you can use BMH.<br /> - You can activate BMH for each account.<br /> - Mails, which are detected as Bounced emails by BMH, can be deleted or moved in a special folder, you have to define.<br /> - Possible actions for Bounced emails:<br /> - -- no action (only store)<br /> - -- quit temporary the subscriptions of this email-address<br /> - -- delete the subscriptions of this email-address<br /> - <br /> - <br /> - <h6 class="odd">Types of Bounced emails</h6> - <span style="text-decoration: underline;">bounce type hard:</span> - This means that there is a permanent error when sending a mail, e.g. unknown recipient, unknown domain, and so on.<br /> - This mails will be deleted after detection, so it is recommended using the move hard option (the email will be only moved in this folder, you can check this mail later, if you want).<br /> - <br /> - <span style="text-decoration: underline;">bounce type soft:</span><br /> - This means that there is a temporary problem with sending a mail, e.g. mailbox full, server not available, and so on.<br /> - This mails will not be deleted after detection, but it is recommended using the move soft option in order to keep your basic in box clean.<br /> - <br /> - Pay attention: functions like testing account, sending emails, start Bounced email handler,... work not with local server (you get white page).<br /> - <br /><br /></p> - - <h5 class="odd">Maintenance</h5> - <p class="even"> - This module has a maintain function, which can repair several faults in the data.<br /> - <br /><br /></p> - - <h5 class="odd">Import</h5> - <p class="even"> - You can import data with various plug-ins: - <ul> - <li>csv</li> - <li>module rmbulletin</li> - <li>module smartpartner</li> - <li>module weblinks</li> - <li>module evennews</li> - <li>module subscribers</li> - <li>users from xoops users</li> - </ul> - The import tool works in this way:<br /> - - Adding email to the list of subscribers<br /> - - Subscribe this email to one newsletter cat<br /> - Before you run import tool therefore, please create first minimum one newsletter cat, otherwise the email cannot be subscribed to a cat and the import fails.<br /> - You have the possibility<br /> - - to import the E-Mail-Addresses without any check (recommended for big import data sets) or<br /> - - after reading data you can decide for each email<br /> - -- whether you want to make a subscription or not<br /> - -- to which newsletter you want to make the subscription<br /> - If an email is already registered, import of this email should be skipped (default action, do not touch existing registrations). - <br /> - Sample files (sample1col.csv, sample4col.csv) for csv-import you can find in ../xnewsletter/plugins/ - <br /><br /> - <b>Attention:</b>In case of registrations/subscription with this import tool there will not be sent an email notification to the email owner.<br /> - <br /><br /> - <b>Importation of big email lists:</b><br /> - To avoid cache overflow during importation, there are two limits:<br /> - - first limit: only 100000 lines (e.g. of a csv-file) can be stored in temporary import table<br /> - - second limit: you can finally import data from temporary import table in packages of max. 25000<br /> - <br /> - For import of more than 100k emails following procedure can be done:<br /> - - run first import email 1 to 100000 - - import finally emails in packages of 25k - - run second import emails 100001 to 200000 (select option "skip existing subscriptions") - - import finally in packages of 25k - and so on.<br /> - If file size is not too big to upload, you can repeat as often you want.<br /> - <br /><br /> - If you get somewhere a white page, it is no problem because if option "skip existing subscriptions" is selected the import procedure restart at the first not imported email-address.<br /> - Reduce number of importing emails or package size and try again.<br /> - <br /><br /></p> - </div> Added: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/help/help3.html =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/help/help3.html (rev 0) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/help/help3.html 2014-12-13 17:45:11 UTC (rev 12904) @@ -0,0 +1,232 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XNEWSLETTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * goffy ( ) + * + * 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. + * --------------------------------------------------------------------------- + * @copyright goffy ( ) + * @license gpl 2.0 + * @package xnewsletter + * @author goffy ( ) + * + * Version : 1 Mon 2012/11/05 14:31:32 : Exp $ + * **************************************************************************** + */ + +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/xnewsletter/admin/index.php" + title="Back to the administration of xNewsletter"> xNewsletter <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of xNewsletter"/> + </a></h1> + <!-- -----Help Content ---------- --> + <h4 class="odd">Tutorial</h4> + <h5 class="odd">(Un) subscriptions to newsletters</h5> + <p class="even"> + You can define for each newsletter and for each group, whether for (un) subscription or change a confirmation email with activation key is necessary or not (use double-option).<br /> + <br /><br /></p> + + <h5 class="odd">Accounts</h5> + <p class="even"> + You can use one or more email-account; sending with php mail, php sendmail, smtp is possible.<br /> + There is a feature for testing pop3 and imap accounts.<br /> + <br /> + Pay attention: functions like testing account, sending emails, start Bounced email handler,... work not with local server (you get white page without any error).<br /> + <br /><br /></p> + + <h5 class="odd">Newsletter categories</h5> + <p class="even"> + You can handle one or more newsletter categories.<br /> + It is possible to set permissions "read", "create", "admin" and "list subscribers" for each newsletter cat.<br /> + <br /><br /></p> + + <h5 class="odd">Create a newsletter</h5> + <p class="even"> + The newsletter can be created with each text editor which is installed in current xoops core (e.g. TinyMCE). <br /> + For each newsletter you can use different templates (see also 'Newsletter templates').<br /> + You can define one or more newsletter categories for your newsletter.<br /> + You can add files (as attachment or as link) to each newsletter (max number, size and type of attachments can be set in module preferences).<br /><br /> + Optionally you can also copy an older newsletter and edit or send it as a new one. + <br /><br /></p> + + <h5 class="odd">Newsletter templates</h5> + <p class="even"> + The newsletters are template based.<br /> + The templates are stored as files in language/{yourlanguage}/templates or stored in database.<br /> + To create a new template you can: + <ol> + <li>make a new template html-file in in language/{yourlanguage}/templates folder and to put in the smarty-vars;</li> + <li>from admin side create a new template item and to put in the smarty-vars.</li> + </ol> + <br /> + This module uses the Xoops <a href="http://www.smarty.net/">Smarty template engine</a> to render the email letter.<br /><br /> + Available smarty-vars are: + <ul> + <li><{$salutation}> or <{$sex}>: the subscriber "Salutation" (subscr_sex) field</li> + <li><{$firstname}>: the subscriber "First name" (subscr_firstname) field</li> + <li><{$lastname}>: the subscriber "Last name" (subscr_lastname) field</li> + <li><{$email}> or <{$subscr_email}>: the subscriber "Email" (subscr_email) field</li> + </ul> + <ul> + <li><{$letter_id}>: the newsletter "id" (letter_id) field</li> + <li><{$title}>: the newsletter "Title" (letter_title) field</li> + <li><{$content}>: the newsletter "Content" (letter_content) field</li> + <li><{$attachments}>: attachments array + <br /> + <span style="font-size:0.9em"> + e.g.: + <br> + <ul> + <br> + <{foreach item="attachment" from=$attachments}> + <br> + <li><a href="<{$attachment.attachment_url}>"><{$attachment.attachment_name}></a></li> + <br> + <{/foreach}> + <br> + </ul> + <br> + will output the linked attachments list + </span> + </li> + </ul> + <ul> + <li><{$date}>: the sending date as timestamp integer + <br /> + <span style="font-size:0.9em"> + e.g.: + <br> + <{$date|date_format:"%Y/%m/%d"}> will output the date formatted as php fuction date('Y/m/d', $date) + </span> + </li> + <li><{$unsubscribe_url}>: the unsubscribe url</li> + </ul> + <ul> + <li><{$xoops_url}>: the site main url (e.g. http://localhost/)</li> + <li><{$xoops_langcode}>: the site langcode (e.g. en)</li> + <li><{$xoops_charset}>: the site cherset (e.g. UTF-8)</li> + </ul> + <br /><br /></p> + + <h5 class="odd">Sending newsletter</h5> + <p class="even"> + You can show a preview of a newsletter before sending.<br /> + You can send the newsletter for testing to a defined email-address.<br /> + The newsletters will be sent subscriber by subscriber.<br /> + For each sending action a protocol will be created.<br /> + If one or more send failed, you can see it in the protocol.<br /> + You can restart sending procedure. You can send it again to all subscribers or send it only to the subscribers, where sending procedure failed).<br /> + <br /> + You can send all emails immediately or limit emails send in one package.<br /> + The number of emails and the minutes until next sending can be defined in module preferences (e.g. 200 emails all 60 minutes).<br /> + The first package will be sent immediately. To start the next sending procedure you need an external cronjob, which is calling "../modules/xnewsletter/cron.php". Xoops cannot do this. + Is also possible to call "../modules/xnewsletter/cron.php" from administrative Tasks page.<br /> + <br /> + Pay attention: functions like testing account, sending emails, start Bounced email handler,... work not with local server (you get white page).<br /> + <br /><br /></p> + + <h5 class="odd">Task list</h5> + <p class="even"> + If you limit emails send in one package, you can see all newsletters waiting for next cronjob and the time, when cronjob can send the newsletter.<br /> + If you do not use this option, this list must always be empty.<br /> + Normally the tab "Task list" is hidden, if this option is disabled.<br /> + <br /><br /></p> + + <h5 class="odd">Handle mailing lists</h5> + <p class="even"> + If you have an existing mailing list, you can synchronize the (un) subscriptions of one newsletter category with one mailing list.<br /> + I use majordomo beside this newsletter module because then I can also send an email from my email-client to the newsletter recipients.<br /> + One of the disadvantages of mailing lists is, that, if one person is registered in two or more mailing lists and you send a one newsletter to all mailing lists, this person gets the same newsletter more than one time. With xNewsletter he gets only one newsletter.<br /> + <br /> + <br />Normally the tab "Mailing list" is hidden, if this option is disabled.<br /> + <br /> + <b>xNewsletter cannot create mailing lists</b>. + <br /><br /></p> + + <h5 class="odd">Bounced email handler (BMH)</h5> + <p class="even"> + If you send newsletters, there will always be some emails not delivered to recipient (Bounced email), because email is no more valid, mailbox is full, and so on.<br /> + To handle this event and to react on this, you can use BMH.<br /> + You can activate BMH for each account.<br /> + Mails, which are detected as Bounced emails by BMH, can be deleted or moved in a special folder, you have to define.<br /> + Possible actions for Bounced emails:<br /> + -- no action (only store)<br /> + -- quit temporary the subscriptions of this email-address<br /> + -- delete the subscriptions of this email-address<br /> + <br /> + <br /> + <h6 class="odd">Types of Bounced emails</h6> + <span style="text-decoration: underline;">bounce type hard:</span> + This means that there is a permanent error when sending a mail, e.g. unknown recipient, unknown domain, and so on.<br /> + This mails will be deleted after detection, so it is recommended using the move hard option (the email will be only moved in this folder, you can check this mail later, if you want).<br /> + <br /> + <span style="text-decoration: underline;">bounce type soft:</span><br /> + This means that there is a temporary problem with sending a mail, e.g. mailbox full, server not available, and so on.<br /> + This mails will not be deleted after detection, but it is recommended using the move soft option in order to keep your basic in box clean.<br /> + <br /> + Pay attention: functions like testing account, sending emails, start Bounced email handler,... work not with local server (you get white page).<br /> + <br /><br /></p> + + <h5 class="odd">Maintenance</h5> + <p class="even"> + This module has a maintain function, which can repair several faults in the data.<br /> + <br /><br /></p> + + <h5 class="odd">Import</h5> + <p class="even"> + You can import data with various plug-ins: + <ul> + <li>csv</li> + <li>module rmbulletin</li> + <li>module smartpartner</li> + <li>module weblinks</li> + <li>module evennews</li> + <li>module subscribers</li> + <li>users from xoops users</li> + </ul> + The import tool works in this way:<br /> + - Adding email to the list of subscribers<br /> + - Subscribe this email to one newsletter cat<br /> + Before you run import tool therefore, please create first minimum one newsletter cat, otherwise the email cannot be subscribed to a cat and the import fails.<br /> + You have the possibility<br /> + - to import the E-Mail-Addresses without any check (recommended for big import data sets) or<br /> + - after reading data you can decide for each email<br /> + -- whether you want to make a subscription or not<br /> + -- to which newsletter you want to make the subscription<br /> + If an email is already registered, import of this email should be skipped (default action, do not touch existing registrations). + <br /> + Sample files (sample1col.csv, sample4col.csv) for csv-import you can find in ../xnewsletter/plugins/ + <br /><br /> + <b>Attention:</b>In case of registrations/subscription with this import tool there will not be sent an email notification to the email owner.<br /> + <br /><br /> + <b>Importation of big email lists:</b><br /> + To avoid cache overflow during importation, there are two limits:<br /> + - first limit: only 100000 lines (e.g. of a csv-file) can be stored in temporary import table<br /> + - second limit: you can finally import data from temporary import table in packages of max. 25000<br /> + <br /> + For import of more than 100k emails following procedure can be done:<br /> + - run first import email 1 to 100000 + - import finally emails in packages of 25k + - run second import emails 100001 to 200000 (select option "skip existing subscriptions") + - import finally in packages of 25k + and so on.<br /> + If file size is not too big to upload, you can repeat as often you want.<br /> + <br /><br /> + If you get somewhere a white page, it is no problem because if option "skip existing subscriptions" is selected the import procedure restart at the first not imported email-address.<br /> + Reduce number of importing emails or package size and try again.<br /> + <br /><br /></p> + +</div> Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/modinfo.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/modinfo.php 2014-12-13 15:49:41 UTC (rev 12903) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/modinfo.php 2014-12-13 17:45:11 UTC (rev 12904) @@ -42,7 +42,7 @@ define('_MI_XNEWSLETTER_ADMENU10', "Bounced emails "); define('_MI_XNEWSLETTER_ADMENU11', "Maintenance"); define('_MI_XNEWSLETTER_ADMENU12', "Import"); -define('_MI_XNEWSLETTER_ADMENU13', "Task list"); +define('_MI_XNEWSLETTER_ADMENU13', "Tasks"); define('_MI_XNEWSLETTER_ADMENU99', "About"); define('_MI_XNEWSLETTER_SUBSCRIBE', "(Un)Subscribe"); define('_MI_XNEWSLETTER_LIST', "Newsletter list"); Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php 2014-12-13 15:49:41 UTC (rev 12903) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php 2014-12-13 17:45:11 UTC (rev 12904) @@ -90,9 +90,11 @@ ++$i; $modversion['helpsection'][$i]['name'] = 'Install'; $modversion['helpsection'][$i]['link'] = 'page=help2'; +++$i; +$modversion['helpsection'][$i]['name'] = 'Tutorial'; +$modversion['helpsection'][$i]['link'] = 'page=help3'; - // Admin things $modversion['hasAdmin'] = true; $modversion['adminindex'] = 'admin/index.php'; |
From: <be...@us...> - 2014-12-13 15:49:56
|
Revision: 12903 http://sourceforge.net/p/xoops/svn/12903 Author: beckmi Date: 2014-12-13 15:49:41 +0000 (Sat, 13 Dec 2014) Log Message: ----------- Beta 4 (see changelog) Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/category.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/clone.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/file.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/ams.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/ams0.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/cjaycontent.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/news.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/wfsection.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/xfsection.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/xnews.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/item.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/main.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/mimetypes.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/permissions.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/pw_upload_file.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/author_items.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/blocks/category_items_sel.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/blocks/date_to_date.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/blocks/items_columns.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/blocks/items_menu.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/blocks/items_new.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/blocks/items_random_item.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/blocks/items_recent.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/blocks/items_spot.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/blocks/latest_files.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/blocks/latest_news.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/blocks/search.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/blockform.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/category.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/file.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/form/category.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/form/file.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/form/item.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/formdatetime.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/groupperm.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/item.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/metagen.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/mimetype.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/permission.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/publisher.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/rating.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/session.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/themetabform.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/uploader.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/docs/changelog.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/docs/readme.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/ajax_upload.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/comment_functions.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/common.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/functions.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/install.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/media.textsanitizer.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/notification.inc.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/plugin.tag.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/search.inc.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/seo_functions.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/update.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/index.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/language/english/admin.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/rate.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/search.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/submit.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/templates/blocks/publisher_latest_news.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/templates/publisher_item.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/thumb.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/visit.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/xoops_version.php Added Paths: ----------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/class/constants.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/tests/todo.txt Removed Paths: ------------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/fmcontent.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/include/constants.php Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/category.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/category.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/category.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -249,6 +249,10 @@ xoops_cp_footer(); +/** + * @param $categoryObj + * @param int $level + */ function publisher_displayCategory($categoryObj, $level = 0) { $publisher = PublisherPublisher::getInstance(); @@ -283,6 +287,12 @@ unset($categoryObj); } +/** + * @param bool $showmenu + * @param int $categoryid + * @param int $nb_subcats + * @param null $categoryObj + */ function publisher_editCat($showmenu = false, $categoryid = 0, $nb_subcats = 4, $categoryObj = null) { $publisher = PublisherPublisher::getInstance(); @@ -364,7 +374,7 @@ publisher_openCollapsableBar('bottomtable', 'bottomtableicon', _AM_PUBLISHER_CAT_ITEMS, _AM_PUBLISHER_CAT_ITEMS_DSC); $startitem = XoopsRequest::getInt('startitem'); // Get the total number of published ITEMS - $totalitems = $publisher->getHandler('item')->getItemsCount($sel_cat, array(_PUBLISHER_STATUS_PUBLISHED)); + $totalitems = $publisher->getHandler('item')->getItemsCount($sel_cat, array(PublisherConstants::_PUBLISHER_STATUS_PUBLISHED)); // creating the items objects that are published $itemsObj = $publisher->getHandler('item')->getAllPublished($publisher->getConfig('idxcat_perpage'), $startitem, $sel_cat); $totalitemsOnPage = count($itemsObj); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/clone.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/clone.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/clone.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -83,6 +83,11 @@ // work around for PHP < 5.0.x if (!function_exists('file_put_contents')) { + /** + * @param $filename + * @param $data + * @param bool $file_append + */ function file_put_contents($filename, $data, $file_append = false) { if ($fp = fopen($filename, (!$file_append ? 'w+' : 'a+'))) { @@ -93,6 +98,9 @@ } // recursive clonning script +/** + * @param $path + */ function publisher_cloneFileFolder($path) { global $patKeys; @@ -127,6 +135,11 @@ } } +/** + * @param $dirname + * + * @return bool + */ function publisher_createLogo($dirname) { if (!extension_loaded("gd")) { Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/file.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/file.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/file.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -23,6 +23,11 @@ $op = XoopsRequest::getString('op'); +/** + * @param bool $showmenu + * @param int $fileid + * @param int $itemid + */ function publisher_editFile($showmenu = false, $fileid = 0, $itemid = 0) { $publisher = PublisherPublisher::getInstance(); @@ -44,7 +49,7 @@ } echo "<br />\n"; - echo "<span style='color: #2F5376; font-weight: bold; font-size: 16px; margin: 6px 06 0 0; '>" . _AM_PUBLISHER_FILE_EDITING . "</span>"; + echo "<span style='color: #2F5376; font-weight: bold; font-size: 16px; margin: 6px 6px 0 0; '>" . _AM_PUBLISHER_FILE_EDITING . "</span>"; echo "<span style=\"color: #567; margin: 3px 0 12px 0; font-size: small; display: block; \">" . _AM_PUBLISHER_FILE_EDITING_DSC . "</span>"; publisher_openCollapsableBar('editfile', 'editfileicon', _AM_PUBLISHER_FILE_INFORMATIONS); } else { @@ -54,7 +59,7 @@ if ($showmenu) { //publisher_adminMenu(2, _AM_PUBLISHER_FILE . " > " . _AM_PUBLISHER_FILE_ADD); } - echo "<span style='color: #2F5376; font-weight: bold; font-size: 16px; margin: 6px 06 0 0; '>" . _AM_PUBLISHER_FILE_ADDING . "</span>"; + echo "<span style='color: #2F5376; font-weight: bold; font-size: 16px; margin: 6px 6px 0 0; '>" . _AM_PUBLISHER_FILE_ADDING . "</span>"; echo "<span style=\"color: #567; margin: 3px 0 12px 0; font-size: small; display: block; \">" . _AM_PUBLISHER_FILE_ADDING_DSC . "</span>"; publisher_openCollapsableBar('addfile', 'addfileicon', _AM_PUBLISHER_FILE_INFORMATIONS); } Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/ams.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/ams.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/ams.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -33,6 +33,10 @@ $op = $_POST['op']; } +/** + * @param $src + * @param $dst + */ function recurse_copy($src,$dst) { $dir = opendir($src); @@ -316,7 +320,7 @@ $itemObj->setVar('dohtml', !$arrArticle['nohtml']); $itemObj->setVar('dosmiley', !$arrArticle['nosmiley']); $itemObj->setVar('weight', 0); - $itemObj->setVar('status', _PUBLISHER_STATUS_PUBLISHED); + $itemObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_PUBLISHED); // $itemObj->setVar('dobr', !$arrArticle['dobr']); // $itemObj->setVar('item_tag', $arrArticle['tags']); @@ -369,7 +373,7 @@ $fileObj = $publisher->getHandler('file')->create(); $fileObj->setVar('name', $arrFile['filerealname']); $fileObj->setVar('description', $arrFile['filerealname']); - $fileObj->setVar('status', _PUBLISHER_STATUS_FILE_ACTIVE); + $fileObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_FILE_ACTIVE); $fileObj->setVar('uid', $arrArticle['uid']); $fileObj->setVar('itemid', $itemObj->itemid()); $fileObj->setVar('mimetype', $arrFile['mimetype']); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/ams0.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/ams0.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/ams0.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -166,7 +166,7 @@ $itemObj->setVar('dohtml', !$arrArticle['nohtml']); $itemObj->setVar('dosmiley', !$arrArticle['nosmiley']); $itemObj->setVar('weight', 0); - $itemObj->setVar('status', _PUBLISHER_STATUS_PUBLISHED); + $itemObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_PUBLISHED); $itemObj->setVar('rating', $arrArticle['rating']); $itemObj->setVar('votes', $arrArticle['votes']); @@ -204,7 +204,7 @@ $fileObj = $publisher_file_handler->create(); $fileObj->setVar('name', $arrFile['fileshowname']); $fileObj->setVar('description', $arrFile['filedescript']); - $fileObj->setVar('status', _PUBLISHER_STATUS_FILE_ACTIVE); + $fileObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_FILE_ACTIVE); $fileObj->setVar('uid', $arrArticle['uid']); $fileObj->setVar('itemid', $itemObj->itemid()); $fileObj->setVar('mimetype', $arrFile['minetype']); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/cjaycontent.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/cjaycontent.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/cjaycontent.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -33,6 +33,10 @@ $op = $_POST['op']; } +/** + * @param $src + * @param $dst + */ function recurse_copy($src, $dst) { $dir = opendir($src); @@ -134,7 +138,7 @@ // $itemObj->setVar('dohtml', !$arrArticle['nohtml']); // $itemObj->setVar('dosmiley', !$arrArticle['nosmiley']); $itemObj->setVar('weight', $arrArticle['weight']); - $itemObj->setVar('status', _PUBLISHER_STATUS_PUBLISHED); + $itemObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_PUBLISHED); // $itemObj->setVar('dobr', !$arrArticle['dobr']); // $itemObj->setVar('item_tag', $arrArticle['tags']); Deleted: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/fmcontent.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/fmcontent.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/fmcontent.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -1,347 +0,0 @@ -<?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 XUUPS Project http://sourceforge.net/projects/xuups/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package Publisher - * @since 1.02 Beta 4 - * @author trabis <lus...@gm...> - * @author The SmartFactory <www.smartfactory.ca> - * @author Marius Scurtescu <ma...@ro...> - * @author ZySpec <ow...@zy...> - * @version $Id$ - */ - -include_once dirname(__DIR__) . '/admin_header.php'; -$myts = MyTextSanitizer::getInstance(); - -$importFromModuleName = "FmContent " . @$_POST['fmcontent_version']; - -$scriptname = "fmcontent.php"; - -$op = 'start'; - -if (isset($_POST['op']) && ($_POST['op'] == 'go')) { - $op = $_POST['op']; -} - -if ('start' == $op) { - xoops_load('XoopsFormLoader'); - - publisher_cpHeader(); - //publisher_adminMenu(-1, _AM_PUBLISHER_IMPORT); - publisher_openCollapsableBar('fmimport', 'fmimporticon', sprintf(_AM_PUBLISHER_IMPORT_FROM, $importFromModuleName), _AM_PUBLISHER_IMPORT_INFO); - - $module_handler = xoops_gethandler('module'); - $moduleObj = $module_handler->getByDirname('fmcontent'); - $fm_module_id = $moduleObj->getVar('mid'); - - $fmTopicHdlr =& xoops_getmodulehandler('topic', 'fmcontent'); - $fmTopicCount = $fmTopicHdlr->getCount(new Criteria('topic_modid', $fm_module_id)); - - if (empty($fmTopicCount)) { - echo "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block;'>" . _AM_PUBLISHER_IMPORT_NO_CATEGORY . "</span>"; - } else { - include_once $GLOBALS['xoops']->path('www/class/xoopstree.php'); - $fmContentHdlr =& xoops_getmodulehandler('page', 'fmcontent'); - $fmContentCount = $fmContentHdlr->getCount(new Criteria('content_modid', $fm_module_id)); - - if (empty($fmContentCount)) { - echo "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block;'>" . sprintf(_AM_PUBLISHER_IMPORT_MODULE_FOUND_NO_ITEMS, $importFromModuleName, $fmContentCount) . "</span>"; - } else { -/* - echo "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block;'>" . sprintf(_AM_PUBLISHER_IMPORT_MODULE_FOUND, $importFromModuleName, $fmContentCount, $fmTopicCount) . "</span>"; - $form = new XoopsThemeForm(_AM_PUBLISHER_IMPORT_SETTINGS, 'import_form', PUBLISHER_ADMIN_URL . "/import/$scriptname"); -*/ - // Categories to be imported - $sql = "SELECT cat.topic_id, cat.topic_pid, cat.topic_title, COUNT(art.content_id) FROM " . $GLOBALS['xoopsDB']->prefix("fmcontent_topic") . " AS cat INNER JOIN " . $GLOBALS['xoopsDB']->prefix("fmcontent_content") . " AS art ON ((cat.topic_id=art.content_topic) AND (cat.topic_modid=art.content_modid)) WHERE cat.topic_modid={$fm_module_id} GROUP BY art.content_topic"; - - $result = $GLOBALS['xoopsDB']->query($sql); - $cat_cbox_options = array(); - - while (list ($cid, $pid, $cat_title, $art_count) = $GLOBALS['xoopsDB']->fetchRow($result)) { - $cat_title = $myts->displayTarea($cat_title); - $cat_cbox_options[$cid] = "{$cat_title} ($art_count)"; - } - // now get articles in the top level category (content_topic=0) - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('content_modid', $fm_module_id)); - $criteria->add(new Criteria('content_topic', 0)); - $cnt_tla_contents = $fmContentHdlr->getCount($criteria); - if ($cnt_tla_contents) { - $cat_cbox_options[0] = _AM_PUBLISHER_IMPORT_FMCONTENT_NAME . " ({$cnt_tla_contents})"; - } - natcasesort($cat_cbox_options); //put them in "alphabetical" order - - echo "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block;'>" . sprintf(_AM_PUBLISHER_IMPORT_MODULE_FOUND, $importFromModuleName, $fmContentCount, count($cat_cbox_options)) . "</span>"; - $form = new XoopsThemeForm(_AM_PUBLISHER_IMPORT_SETTINGS, 'import_form', PUBLISHER_ADMIN_URL . "/import/$scriptname"); - - $cat_label = new XoopsFormLabel(_AM_PUBLISHER_IMPORT_CATEGORIES, implode("<br />", $cat_cbox_options)); - $cat_label->setDescription(_AM_PUBLISHER_IMPORT_CATEGORIES_DSC); - $form->addElement($cat_label); - - // Publisher parent category - xoops_load('tree'); - $categoryHdlr = $publisher->getHandler('category'); - $catObjs = $categoryHdlr->getAll(); - $myObjTree = new XoopsObjectTree($catObjs, 'categoryid', 'parentid'); - $catSelBox = $myObjTree->makeSelBox('parent_category', 'name', '-', 0, true); - $parent_cat_sel = new XoopsFormLabel(_AM_PUBLISHER_IMPORT_PARENT_CATEGORY, $catSelBox); - $parent_cat_sel->setDescription(_AM_PUBLISHER_IMPORT_PARENT_CATEGORY_DSC); - $form->addElement($parent_cat_sel); -/* - $mytree = new XoopsTree($GLOBALS['xoopsDB']->prefix("publisher_categories"), "categoryid", "parentid"); - ob_start(); - $mytree->makeMySelBox("name", "weight", $preset_id = 0, $none = 1, $sel_name = "parent_category"); - - $parent_cat_sel = new XoopsFormLabel(_AM_PUBLISHER_IMPORT_PARENT_CATEGORY, ob_get_contents()); - $parent_cat_sel->setDescription(_AM_PUBLISHER_IMPORT_PARENT_CATEGORY_DSC); - $form->addElement($parent_cat_sel); - ob_end_clean(); -*/ - $form->addElement(new XoopsFormHidden('op', 'go')); - $form->addElement(new XoopsFormButton ('', 'import', _AM_PUBLISHER_IMPORT, 'submit')); - - $form->addElement(new XoopsFormHidden('from_module_version', $_POST['news_version'])); - - $form->display(); - } - } - - publisher_closeCollapsableBar('fmimport', 'fmimporticon'); - xoops_cp_footer(); -} - -if ('go' == $op) { - publisher_cpHeader(); - //publisher_adminMenu(-1, _AM_PUBLISHER_IMPORT); - publisher_openCollapsableBar('fmimportgo', 'fmimportgoicon', sprintf(_AM_PUBLISHER_IMPORT_FROM, $importFromModuleName), _AM_PUBLISHER_IMPORT_RESULT); - - $module_handler = xoops_gethandler('module'); - $moduleObj = $module_handler->getByDirname('fmcontent'); - $fm_module_id = $moduleObj->getVar('mid'); - - $gperm_handler = xoops_gethandler('groupperm'); - - $cnt_imported_cat = 0; - $cnt_imported_articles = 0; - - $parentId = (isset($_POST['parent_category'])) ? (int) $_POST['parent_category'] : 0; - - // get all FmContent Content items without a category (content_topic=0) - $fmContentHdlr =& xoops_getmodulehandler('page', 'fmcontent'); - - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('content_modid', $fm_module_id)); - $criteria->add(new Criteria('content_topic', 0)); - $fmContentObjs = $fmContentHdlr->getAll($criteria); - - if (is_array($fmContentObjs) && count($fmContentObjs)) { - ++$cnt_imported_cat; //count category if there was content to import - - // create Publsher category to hold FmContent Content items with no Topic (content_topic=0) - $categoryObj = $publisher->getHandler('category')->create(); - $categoryObj->setVars(array('parentid' => $parentId, - 'name' => _AM_PUBLISHER_IMPORT_FMCONTENT_NAME, - 'description' => _AM_PUBLISHER_IMPORT_FMCONTENT_TLT, - 'image' => '', - 'total' => 0, - 'weight' => 1, - 'created' => time(), - 'moderator', $GLOBALS['xoopsUser']->getVar('uid')) - ); - $categoryObj->store(); - - $fmTopicHdlr =& xoops_getmodulehandler('topic', 'fmcontent'); - - // insert articles for this category - foreach($fmContentObjs as $thisFmContentObj) { - $itemObj = $publisher->getHandler('item')->create(); - $itemObj->setVars(array('categoryid' => $categoryObj->categoryid(), - 'title' => $thisFmContentObj->getVar('content_title'), - 'uid' => $thisFmContentObj->getVar('content_uid'), - 'summary' => $thisFmContentObj->getVar('content_short'), - 'body' => $thisFmContentObj->getVar('content_text'), - 'datesub' => $thisFmContentObj->getVar('content_create'), - 'dohtml' => $thisFmContentObj->getVar('dohtml'), - 'dosmiley' => $thisFmContentObj->getVar('dosmiley'), - 'doxcode' => $thisFmContentObj->getVar('doxcode'), - 'doimage' => $thisFmContentObj->getVar('doimage'), - 'dobr' => $thisFmContentObj->getVar('dobr'), - 'weight' => $thisFmContentObj->getVar('content_order'), - 'status' => ($thisFmContentObj->getVar('content_status')) ? _PUBLISHER_STATUS_PUBLISHED : _PUBLISHER_STATUS_OFFLINE, - 'counter' => $thisFmContentObj->getVar('content_hits'), - 'rating' => 0, - 'votes' => 0, - 'comments' => $thisFmContentObj->getVar('content_comments'), - 'meta_keywords' => $thisFmContentObj->getVar('content_words'), - 'meta_description' => $thisFmContentObj->getVar('content_desc')) - ); - $contentImg = $thisFmContentObj->getVar('content_img'); - if (!empty($contentImg)) { - $itemObj->setVars(array('images' => 1, - 'image' => $thisFmContentObj->getVar('content_img')) - ); - } - - if (!$itemObj->store()) { - echo sprintf(" " . _AM_PUBLISHER_IMPORT_ARTICLE_ERROR, $thisFmContentObj->getVar('title')) . "<br />\n"; - continue; - } else { - $newArticleArray[$thisFmContentObj->getVar('storyid')] = $itemObj->itemid(); - echo " " . sprintf(_AM_PUBLISHER_IMPORTED_ARTICLE, $itemObj->title()) . "<br />\n"; - ++$cnt_imported_articles; - } - } - - // Saving category permissions - $groupsIds = $gperm_handler->getGroupIds('fmcontent_view', $thisFmContentObj->getVar('topic_id'), $fm_module_id); - publisher_saveCategoryPermissions($groupsIds, $categoryObj->categoryid(), 'category_read'); - $groupsIds = $gperm_handler->getGroupIds('fmcontent_submit', $thisFmContentObj->getVar('topic_id'), $fm_module_id); - publisher_saveCategoryPermissions($groupsIds, $categoryObj->categoryid(), 'item_submit'); - - unset($fmContentObjs, $itemObj, $categoryObj); - echo "<br />\n"; - } - - // Process all "normal" Topics (categories) from FmContent - $newCatArray = array(); - $newArticleArray = array(); - $oldToNew = array(); - - $fmTopicObjs = $fmTopicHdlr->getAll(new Criteria('topic_modid', $fm_module_id)); - - // first create FmContent Topics as Publisher Categories - foreach($fmTopicObjs as $thisFmTopicObj) { - $CatIds = array('oldid' => $thisFmTopicObj->getVar('topic_id'), - 'oldpid' => $thisFmTopicObj->getVar('topic_pid') - ); - - $categoryObj = $publisher->getHandler('category')->create(); - - $categoryObj->setVars(array('parentid' => $thisFmTopicObj->getVar('topic_pid'), - 'weight' => $thisFmTopicObj->getVar('topic_weight'), - 'name' => $thisFmTopicObj->getVar('topic_title'), - 'description' => $thisFmTopicObj->getVar('topic_desc')) - ); - - // Category image - if (('blank.gif' != $thisFmTopicObj->getVar('topic_img')) && ('' != $thisFmTopicObj->getVar('topic_img'))) { - if (copy($GLOBALS['xoops']->path("www/uploads/fmcontent/img/" . $thisFmTopicObj->getVar('topic_img')), $GLOBALS['xoops']->path("www/uploads/publisher/images/category/" . $thisFmTopicObj->getVar('topic_img')))) { - $categoryObj->setVar('image', $thisFmTopicObj->getVar('topic_img')); - } - } - if (!$publisher->getHandler('category')->insert($categoryObj)) { - echo sprintf(_AM_PUBLISHER_IMPORT_CATEGORY_ERROR, $thisFmTopicObj->getVar('topic_title')) . "<br />\n"; - continue; - } - - $CatIds['newid'] = $categoryObj->categoryid(); - ++$cnt_imported_cat; - - echo sprintf(_AM_PUBLISHER_IMPORT_CATEGORY_SUCCESS, $categoryObj->name()) . "<br />\n"; - - // retrieve all articles (content) for this category - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('content_modid', $fm_module_id)); //only for this instance of fmcontent - $criteria->add(new Criteria('content_topic', $thisFmTopicObj->getVar('topic_id'))); //for this category - $fmContentObjs = $fmContentHdlr->getAll($criteria); - - // insert articles for this category - foreach($fmContentObjs as $thisFmContentObj) { - $itemObj = $publisher->getHandler('item')->create(); - $itemObj->setVars(array('categoryid' => $CatIds['newid'], - 'title' => $thisFmContentObj->getVar('content_title'), - 'uid' => $thisFmContentObj->getVar('content_uid'), - 'summary' => $thisFmContentObj->getVar('content_short'), - 'body' => $thisFmContentObj->getVar('content_text'), - 'counter' => $thisFmContentObj->getVar('content_hits'), - 'datesub' => $thisFmContentObj->getVar('content_create'), - 'dohtml' => $thisFmContentObj->getVar('dohtml'), - 'dosmiley' => $thisFmContentObj->getVar('dosmiley'), - 'doxcode' => $thisFmContentObj->getVar('doxcode'), - 'doimage' => $thisFmContentObj->getVar('doimage'), - 'dobr' => $thisFmContentObj->getVar('dobr'), - 'weight' => $thisFmContentObj->getVar('content_order'), - 'status' => ($thisFmContentObj->getVar('content_status')) ? _PUBLISHER_STATUS_PUBLISHED : _PUBLISHER_STATUS_OFFLINE, - 'rating' => 0, - 'votes' => 0, - 'comments' => $thisFmContentObj->getVar('content_comments'), - 'meta_keywords' => $thisFmContentObj->getVar('content_words'), - 'meta_description' => $thisFmContentObj->getVar('content_desc')) - ); - $contentImg = $thisFmContentObj->getVar('content_img'); - if (!empty($contentImg)) { - $itemObj->setVar('images', 1); - $itemObj->setVar('image', $thisFmContentObj->getVar('content_img')); - } - - if (!$itemObj->store()) { - echo sprintf(" " . _AM_PUBLISHER_IMPORT_ARTICLE_ERROR, $thisFmContentObj->getVar('title')) . "<br />\n"; - continue; - } else { - $newArticleArray[$thisFmContentObj->getVar('storyid')] = $itemObj->itemid(); - echo " " . sprintf(_AM_PUBLISHER_IMPORTED_ARTICLE, $itemObj->title()) . "<br />\n"; - ++$cnt_imported_articles; - } - } - - // Saving category permissions - $groupsIds = $gperm_handler->getGroupIds('fmcontent_view', $thisFmContentObj->getVar('topic_id'), $fm_module_id); - publisher_saveCategoryPermissions($groupsIds, $categoryObj->categoryid(), 'category_read'); - $groupsIds = $gperm_handler->getGroupIds('fmcontent_submit', $thisFmContentObj->getVar('topic_id'), $fm_module_id); - publisher_saveCategoryPermissions($groupsIds, $categoryObj->categoryid(), 'item_submit'); - - $newCatArray[$CatIds['oldid']] = $CatIds; - unset($CatIds); - echo "<br />\n"; - } - - // Looping through cat to change the parentid to the new parentid - foreach ($newCatArray as $oldid => $CatIds) { - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('categoryid', $CatIds['newid'])); - $oldpid = $CatIds['oldpid']; - $newpid = (0 == $oldpid) ? $parentId : $newCatArray[$oldpid]['newid']; - $publisher->getHandler('category')->updateAll('parentid', $newpid, $criteria); - unset($criteria); - } - - // Looping through the comments to link them to the new articles and module - echo _AM_PUBLISHER_IMPORT_COMMENTS . "<br />\n"; - - $publisher_module_id = $publisher->getModule()->mid(); - - $comment_handler = xoops_gethandler('comment'); - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('com_modid', $fm_module_id)); - $comments = $comment_handler->getObjects($criteria); - foreach ($comments as $comment) { - $comment->setVar('com_itemid', $newArticleArray[$comment->getVar('com_itemid')]); - $comment->setVar('com_modid', $publisher_module_id); - $comment->setNew(); - if (!$comment_handler->insert($comment)) { - echo " " . sprintf(_AM_PUBLISHER_IMPORTED_COMMENT_ERROR, $comment->getVar('com_title')) . "<br />\n"; - } else { - echo " " . sprintf(_AM_PUBLISHER_IMPORTED_COMMENT, $comment->getVar('com_title')) . "<br />\n"; - } - - } - - echo "<br /><br />" . _AM_PUBLISHER_IMPORT_DONE . "<br />\n" - . "" . sprintf(_AM_PUBLISHER_IMPORTED_CATEGORIES, $cnt_imported_cat) . "<br />\n" - . "" . sprintf(_AM_PUBLISHER_IMPORTED_ARTICLES, $cnt_imported_articles) . "<br />\n" - . "<br/>\n<a href='" . PUBLISHER_URL . "/'>" . _AM_PUBLISHER_IMPORT_GOTOMODULE . "</a><br />\n"; - - publisher_closeCollapsableBar('fmimportgo', 'fmimportgoicon'); - xoops_cp_footer(); -} Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/news.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/news.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/news.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -166,7 +166,7 @@ $itemObj->setVar('dohtml', !$arrArticle['nohtml']); $itemObj->setVar('dosmiley', !$arrArticle['nosmiley']); $itemObj->setVar('weight', 0); - $itemObj->setVar('status', _PUBLISHER_STATUS_PUBLISHED); + $itemObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_PUBLISHED); $itemObj->setVar('rating', $arrArticle['rating']); $itemObj->setVar('votes', $arrArticle['votes']); @@ -204,7 +204,7 @@ $fileObj = $publisher_file_handler->create(); $fileObj->setVar('name', $arrFile['fileshowname']); $fileObj->setVar('description', $arrFile['filedescript']); - $fileObj->setVar('status', _PUBLISHER_STATUS_FILE_ACTIVE); + $fileObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_FILE_ACTIVE); $fileObj->setVar('uid', $arrArticle['uid']); $fileObj->setVar('itemid', $itemObj->itemid()); $fileObj->setVar('mimetype', $arrFile['minetype']); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/wfsection.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/wfsection.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/wfsection.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -171,7 +171,7 @@ $itemObj->setVar('dosmiley', !$arrArticle['nosmiley']); $itemObj->setVar('dobr', $arrArticle['nobreaks']); $itemObj->setVar('weight', $arrArticle['weight']); - $itemObj->setVar('status', _PUBLISHER_STATUS_PUBLISHED); + $itemObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_PUBLISHED); $itemObj->setGroups_read(explode(" ", trim($arrArticle['groupid']))); // HTML Wrap @@ -202,7 +202,7 @@ $fileObj = $publisher->getHandler('file')->create(); $fileObj->setVar('name', $arrFile['fileshowname']); $fileObj->setVar('description', $arrFile['filedescript']); - $fileObj->setVar('status', _PUBLISHER_STATUS_FILE_ACTIVE); + $fileObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_FILE_ACTIVE); $fileObj->setVar('uid', $arrArticle['uid']); $fileObj->setVar('itemid', $itemObj->itemid()); $fileObj->setVar('mimetype', $arrFile['minetype']); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/xfsection.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/xfsection.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/xfsection.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -166,9 +166,9 @@ $itemObj->setGroups_read(explode(" ", trim($arrArticle['groupid']))); // status - $status = _PUBLISHER_STATUS_PUBLISHED; + $status = PublisherConstants::_PUBLISHER_STATUS_PUBLISHED; if ($arrArticle['offline']) { - $status = _PUBLISHER_STATUS_OFFLINE; + $status = PublisherConstants::_PUBLISHER_STATUS_OFFLINE; } $itemObj->setVar('status', $status); @@ -200,7 +200,7 @@ $fileObj = $publisher->getHandler('file')->create(); $fileObj->setVar('name', $arrFile['fileshowname']); $fileObj->setVar('description', $arrFile['filedescript']); - $fileObj->setVar('status', _PUBLISHER_STATUS_FILE_ACTIVE); + $fileObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_FILE_ACTIVE); $fileObj->setVar('uid', $arrArticle['uid']); $fileObj->setVar('itemid', $itemObj->itemid()); $fileObj->setVar('mimetype', $arrFile['minetype']); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/xnews.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/xnews.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/xnews.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -33,6 +33,10 @@ $op = $_POST['op']; } +/** + * @param $src + * @param $dst + */ function recurse_copy($src, $dst) { $dir = opendir($src); @@ -173,7 +177,7 @@ ob_end_clean(); $form->addElement(new XoopsFormHidden('op', 'go')); - $form->addElement(new XoopsFormButton ('', 'import', _AM_PUBLISHER_IMPORT, 'submit')); + $form->addElement(new XoopsFormButton('', 'import', _AM_PUBLISHER_IMPORT, 'submit')); $form->addElement(new XoopsFormHidden('from_module_version', $_POST['xnews_version'])); @@ -340,7 +344,7 @@ $itemObj->setVar('dohtml', !$arrArticle['nohtml']); $itemObj->setVar('dosmiley', !$arrArticle['nosmiley']); $itemObj->setVar('weight', 0); - $itemObj->setVar('status', _PUBLISHER_STATUS_PUBLISHED); + $itemObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_PUBLISHED); $itemObj->setVar('dobr', !$arrArticle['dobr']); $itemObj->setVar('item_tag', $arrArticle['tags']); @@ -393,7 +397,7 @@ $fileObj = $publisher->getHandler('file')->create(); $fileObj->setVar('name', $arrFile['filerealname']); $fileObj->setVar('description', $arrFile['filerealname']); - $fileObj->setVar('status', _PUBLISHER_STATUS_FILE_ACTIVE); + $fileObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_FILE_ACTIVE); $fileObj->setVar('uid', $arrArticle['uid']); $fileObj->setVar('itemid', $itemObj->itemid()); $fileObj->setVar('mimetype', $arrFile['mimetype']); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -115,17 +115,6 @@ } } - // FmContent - $fmcontent_version = 0; - $moduleObj = $module_handler->getByDirname('fmcontent'); - if ($moduleObj) { - $from_module_version = round($moduleObj->getVar('version') / 100, 2); - if (($from_module_version >= 1.1)) { - $importfile_select_array["fmcontent"] = "FmContent " . $from_module_version; - $fmcontent_version = $from_module_version; - } - } - // XF-Section /*$xfs_version = 0; $moduleObj = $module_handler->getByDirname('xfsection'); @@ -174,7 +163,7 @@ $sform->display(); unset($hidden); } else { - echo "<span style='color: #567; margin: 3px 0 12px 0; font-weight: bold; font-size: small; display: block;'>" . _AM_PUBLISHER_IMPORT_NO_MODULE . "</span>"; + echo "<span style=\"color: #567; margin: 3px 0 12px 0; font-weight: bold; font-size: small; display: block; \">" . _AM_PUBLISHER_IMPORT_NO_MODULE . "</span>"; } // End of collapsable bar Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/item.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/item.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/item.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -75,11 +75,11 @@ $itemObj->setVarsFromRequest(); $old_status = $itemObj->status(); - $new_status = XoopsRequest::getInt('status', _PUBLISHER_STATUS_PUBLISHED); //_PUBLISHER_STATUS_NOTSET; + $new_status = XoopsRequest::getInt('status', PublisherConstants::_PUBLISHER_STATUS_PUBLISHED); //_PUBLISHER_STATUS_NOTSET; switch ($new_status) { - case _PUBLISHER_STATUS_SUBMITTED: - if (($old_status == _PUBLISHER_STATUS_NOTSET)) { + case PublisherConstants::_PUBLISHER_STATUS_SUBMITTED: + if (($old_status == PublisherConstants::_PUBLISHER_STATUS_NOTSET)) { $error_msg = _AM_PUBLISHER_ITEMNOTUPDATED; } else { $error_msg = _AM_PUBLISHER_ITEMNOTCREATED; @@ -87,18 +87,18 @@ $redirect_msg = _AM_PUBLISHER_ITEM_RECEIVED_NEED_APPROVAL; break; - case _PUBLISHER_STATUS_PUBLISHED: - if (($old_status == _PUBLISHER_STATUS_NOTSET) || ($old_status == _PUBLISHER_STATUS_SUBMITTED)) { + case PublisherConstants::_PUBLISHER_STATUS_PUBLISHED: + if (($old_status == PublisherConstants::_PUBLISHER_STATUS_NOTSET) || ($old_status == PublisherConstants::_PUBLISHER_STATUS_SUBMITTED)) { $redirect_msg = _AM_PUBLISHER_SUBMITTED_APPROVE_SUCCESS; - $notifToDo = array(_PUBLISHER_NOT_ITEM_PUBLISHED); + $notifToDo = array(PublisherConstants::_PUBLISHER_NOT_ITEM_PUBLISHED); } else { $redirect_msg = _AM_PUBLISHER_PUBLISHED_MOD_SUCCESS; } $error_msg = _AM_PUBLISHER_ITEMNOTUPDATED; break; - case _PUBLISHER_STATUS_OFFLINE: - if ($old_status == _PUBLISHER_STATUS_NOTSET) { + case PublisherConstants::_PUBLISHER_STATUS_OFFLINE: + if ($old_status == PublisherConstants::_PUBLISHER_STATUS_NOTSET) { $redirect_msg = _AM_PUBLISHER_OFFLINE_CREATED_SUCCESS; } else { $redirect_msg = _AM_PUBLISHER_OFFLINE_MOD_SUCCESS; @@ -106,8 +106,8 @@ $error_msg = _AM_PUBLISHER_ITEMNOTUPDATED; break; - case _PUBLISHER_STATUS_REJECTED: - if ($old_status == _PUBLISHER_STATUS_NOTSET) { + case PublisherConstants::_PUBLISHER_STATUS_REJECTED: + if ($old_status == PublisherConstants::_PUBLISHER_STATUS_NOTSET) { $error_msg = _AM_PUBLISHER_ITEMNOTUPDATED; } else { $error_msg = _AM_PUBLISHER_ITEMNOTCREATED; @@ -178,7 +178,7 @@ publisher_openCollapsableBar('submiteditemstable', 'submiteditemsicon', _AM_PUBLISHER_SUBMISSIONSMNGMT, _AM_PUBLISHER_SUBMITTED_EXP); // Get the total number of submitted ITEM - $totalitems = $publisher->getHandler('item')->getItemsCount(-1, array(_PUBLISHER_STATUS_SUBMITTED)); + $totalitems = $publisher->getHandler('item')->getItemsCount(-1, array(PublisherConstants::_PUBLISHER_STATUS_SUBMITTED)); $itemsObj = $publisher->getHandler('item')->getAllSubmitted($publisher->getConfig('idxcat_perpage'), $submittedstartitem, -1, $orderBy, $ascOrDesc); @@ -227,7 +227,7 @@ publisher_openCollapsableBar('item_publisheditemstable', 'item_publisheditemsicon', _AM_PUBLISHER_PUBLISHEDITEMS, _AM_PUBLISHER_PUBLISHED_DSC); // Get the total number of published ITEM - $totalitems = $publisher->getHandler('item')->getItemsCount(-1, array(_PUBLISHER_STATUS_PUBLISHED)); + $totalitems = $publisher->getHandler('item')->getItemsCount(-1, array(PublisherConstants::_PUBLISHER_STATUS_PUBLISHED)); $itemsObj = $publisher->getHandler('item')->getAllPublished($publisher->getConfig('idxcat_perpage'), $publishedstartitem, -1, $orderBy, $ascOrDesc); @@ -276,7 +276,7 @@ // Display Offline articles publisher_openCollapsableBar('offlineitemstable', 'offlineitemsicon', _AM_PUBLISHER_ITEMS . " " . _CO_PUBLISHER_OFFLINE, _AM_PUBLISHER_OFFLINE_EXP); - $totalitems = $publisher->getHandler('item')->getItemsCount(-1, array(_PUBLISHER_STATUS_OFFLINE)); + $totalitems = $publisher->getHandler('item')->getItemsCount(-1, array(PublisherConstants::_PUBLISHER_STATUS_OFFLINE)); $itemsObj = $publisher->getHandler('item')->getAllOffline($publisher->getConfig('idxcat_perpage'), $offlinestartitem, -1, $orderBy, $ascOrDesc); @@ -326,7 +326,7 @@ publisher_openCollapsableBar('Rejecteditemstable', 'rejecteditemsicon', _AM_PUBLISHER_REJECTED_ITEM, _AM_PUBLISHER_REJECTED_ITEM_EXP, _AM_PUBLISHER_SUBMITTED_EXP); // Get the total number of Rejected ITEM - $totalitems = $publisher->getHandler('item')->getItemsCount(-1, array(_PUBLISHER_STATUS_REJECTED)); + $totalitems = $publisher->getHandler('item')->getItemsCount(-1, array(PublisherConstants::_PUBLISHER_STATUS_REJECTED)); $itemsObj = $publisher->getHandler('item')->getAllRejected($publisher->getConfig('idxcat_perpage'), $rejectedstartitem, -1, $orderBy, $ascOrDesc); @@ -373,6 +373,11 @@ } xoops_cp_footer(); +/** + * @param bool $showmenu + * @param int $itemid + * @param bool $clone + */ function publisher_editItem($showmenu = false, $itemid = 0, $clone = false) { $publisher = PublisherPublisher::getInstance(); @@ -398,53 +403,53 @@ if ($clone) { $itemObj->setNew(); $itemObj->setVar('itemid', 0); - $itemObj->setVar('status', _PUBLISHER_STATUS_NOTSET); + $itemObj->setVar('status', PublisherConstants::_PUBLISHER_STATUS_NOTSET); $itemObj->setVar('datesub', time()); } switch ($itemObj->status()) { - case _PUBLISHER_STATUS_SUBMITTED: + case PublisherConstants::_PUBLISHER_STATUS_SUBMITTED: $breadcrumb_action1 = _CO_PUBLISHER_SUBMITTED; $breadcrumb_action2 = _AM_PUBLISHER_APPROVING; $page_title = _AM_PUBLISHER_SUBMITTED_TITLE; $page_info = _AM_PUBLISHER_SUBMITTED_INFO; $button_caption = _AM_PUBLISHER_APPROVE; - $new_status = _PUBLISHER_STATUS_PUBLISHED; + $new_status = PublisherConstants::_PUBLISHER_STATUS_PUBLISHED; break; - case _PUBLISHER_STATUS_PUBLISHED: + case PublisherConstants::_PUBLISHER_STATUS_PUBLISHED: $breadcrumb_action1 = _CO_PUBLISHER_PUBLISHED; $breadcrumb_action2 = _AM_PUBLISHER_EDITING; $page_title = _AM_PUBLISHER_PUBLISHEDEDITING; $page_info = _AM_PUBLISHER_PUBLISHEDEDITING_INFO; $button_caption = _AM_PUBLISHER_MODIFY; - $new_status = _PUBLISHER_STATUS_PUBLISHED; + $new_status = PublisherConstants::_PUBLISHER_STATUS_PUBLISHED; break; - case _PUBLISHER_STATUS_OFFLINE: + case PublisherConstants::_PUBLISHER_STATUS_OFFLINE: $breadcrumb_action1 = _CO_PUBLISHER_OFFLINE; $breadcrumb_action2 = _AM_PUBLISHER_EDITING; $page_title = _AM_PUBLISHER_OFFLINEEDITING; $page_info = _AM_PUBLISHER_OFFLINEEDITING_INFO; $button_caption = _AM_PUBLISHER_MODIFY; - $new_status = _PUBLISHER_STATUS_OFFLINE; + $new_status = PublisherConstants::_PUBLISHER_STATUS_OFFLINE; break; - case _PUBLISHER_STATUS_REJECTED: + case PublisherConstants::_PUBLISHER_STATUS_REJECTED: $breadcrumb_action1 = _CO_PUBLISHER_REJECTED; $breadcrumb_action2 = _AM_PUBLISHER_REJECTED; $page_title = _AM_PUBLISHER_REJECTED_EDIT; $page_info = _AM_PUBLISHER_REJECTED_EDIT_INFO; $button_caption = _AM_PUBLISHER_MODIFY; - $new_status = _PUBLISHER_STATUS_REJECTED; + $new_status = PublisherConstants::_PUBLISHER_STATUS_REJECTED; break; - case _PUBLISHER_STATUS_NOTSET: // Then it's a clone... + case PublisherConstants::_PUBLISHER_STATUS_NOTSET: // Then it's a clone... $breadcrumb_action1 = _AM_PUBLISHER_ITEMS; $breadcrumb_action2 = _AM_PUBLISHER_CLONE_NEW; $button_caption = _AM_PUBLISHER_CREATE; - $new_status = _PUBLISHER_STATUS_PUBLISHED; + $new_status = PublisherConstants::_PUBLISHER_STATUS_PUBLISHED; $page_title = _AM_PUBLISHER_ITEM_DUPLICATING; $page_info = _AM_PUBLISHER_ITEM_DUPLICATING_DSC; break; @@ -456,7 +461,7 @@ $page_title = _AM_PUBLISHER_PUBLISHEDEDITING; $page_info = _AM_PUBLISHER_PUBLISHEDEDITING_INFO; $button_caption = _AM_PUBLISHER_MODIFY; - $new_status = _PUBLISHER_STATUS_PUBLISHED; + $new_status = PublisherConstants::_PUBLISHER_STATUS_PUBLISHED; break; } @@ -485,7 +490,7 @@ $breadcrumb_action1 = _AM_PUBLISHER_ITEMS; $breadcrumb_action2 = _AM_PUBLISHER_CREATINGNEW; $button_caption = _AM_PUBLISHER_CREATE; - $new_status = _PUBLISHER_STATUS_PUBLISHED; + $new_status = PublisherConstants::_PUBLISHER_STATUS_PUBLISHED; if ($showmenu) { //publisher_adminMenu(2, $breadcrumb_action1 . " > " . $breadcrumb_action2); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/main.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/main.php 2014-12-13 13:16:18 UTC (rev 12902) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/main.php 2014-12-13 15:49:41 UTC (rev 12903) @@ -55,16 +55,16 @@ $totalcategories = $publisher->getHandler('category')->getCategoriesCount(-1); // Total submitted ITEMs -$totalsubmitted = $publisher->getHandler('item')->getItemsCount(-1, array(_PUBLISHER_STATUS_SUBMITTED)); +$totalsubmitted = $publisher->getHandler('item')->getItemsCount(-1, array(PublisherConstants::_PUBLISHER_STATUS_SUBMITTED)); // Total published ITEMs -$totalpublished = $publisher->getHandler('item')->getItemsCount(-1, array(_PUBLISHER_STATUS_PUBLISHED)); +$totalpublished = $publisher->getHandler('item')->getItemsCount(-1, array(PublisherConstants::_PUBLISHER_STATUS_PUBLISHED)); // Total offline ITEMs -$totaloffline = $publisher->getHandler('item')->getItemsCount(-1, array(_PUBLISHER_STATUS_OFFLINE)); +$totaloffline = $publisher->getHandler('item')->getItemsCount(-1, array(PublisherConstants::_PUBLISHER_STATUS_OFFLINE)); // Total rejected -$totalrejected = $publisher->getHandler('item')->getItemsCount(-1, array(_PUBLISHER_STATUS_REJECTED)); +$totalrejected = $publisher->getHandler('item')->getItemsCount(-1, array(PublisherConstants::_PUBLISHER_STATUS_REJECTED)); // Check Path Configuration if ((publisher_getPathStatus('root', true) < 0) || @@ -142,38 +142,38 @@ } switch ($statussel) { - case _PUBLISHER_STATUS_ALL : + case PublisherConstants::_PUBLISHER_STATUS_ALL : $selectedtxt0 = "selected='selected'"; $caption = _AM_PUBLISHER_ALL; $cond = ""; $status_explaination = _AM_PUBLISHER_ALL_EXP; break; - case _PUBLISHER_STATUS_SUBMITTED : + case PublisherConstants::_PUBLISHER_STATUS_SUBMITTED : $selectedtxt1 = "selected='selected'"; $caption = _CO_PUBLISHER_SUBMITTED; - $cond = " WHERE status = " . _PUBLISHER_STATUS_SUBMITTED . " "; + $cond = " WHERE status = " . PublisherConstants::_PUBLISHER_STATUS_SUBMITTED . " "; $status_explaination = _AM_PUBLISHER_SUBMITTED_EXP; break; - case _PUBLISHER_STATUS_PUBLISHED : + case PublisherConstants::_PUBLISHER_STATUS_PUBLISHED : $selectedtxt2 = "selected='selected'"; $caption = _CO_PUBLISHER_PUBLISHED; - $cond = " WHERE status = " . _PUBLISHER_STATUS_PUBLISHED . " "; + $cond = " WHERE status = " . PublisherConstants::_PUBLISHER_STATUS_PUBLISHED . " "; $status_explaination = _AM_PUBLISHER_PUBLISHED_EXP; break; - case _PUBLISHER_STATUS_OFFLINE : + case PublisherConstants::_PUBLISHER_STATUS_OFFLINE : $selectedtxt3 = "selected='selected'"; $caption = _CO_PUBLISHER_OFFLINE; - $cond = " WHERE status = " . _PUBLISHER_STATUS_OFFLINE . " "; + $cond = " WHERE status = " . PublisherConstants::_PUBLISHER_STATUS_OFFLINE . " "; $status_explaination = _AM_PUBLISHER_OFFLINE_EXP; break; - case _PUBLISHER_STATUS_REJECTED : + case PublisherConstants::_PUBLISHER_STATUS_REJECTED : $selectedtxt4 = "selected='selected'"; $caption = _CO_PUBLISHER_REJECTED; - $cond = " WHERE status = " . _PUBLISHER_STATUS_REJECTED . " "; + $cond = " WHERE status = " . PublisherConstants::_PUBLISHER_STATUS_REJECTED . " "; $status_explaination = _AM_PUBLISHER_REJECTED_ITEM_EXP; break; } @@ -230,7 +230,7 @@ switch ($itemsObj[$i]->status()) { - case _PUBLISHER_STATUS_SUBMITTED : + case PublisherConstants::_PUBLISHER_STATUS_SUBMITTED : $statustxt = _CO_PUBLISHER_SUBMITTED; $approve = "<a href='item.php?op=mod&itemid=" . $itemsObj[$i]->itemid() . "'><img src='" . XOOPS_URL . "/modules/" . $publisher->getModule()->dirname() . "/assets/images/links/approve.gif' title='" . _AM_PUBLISHER_SUBMISSION_MODERATE . "' alt='" . _AM_PUBLISHER_SUBMISSION_MODERATE . "' /></a> "; $clone = ''; @@ -238,7 +238,7 @@ $modify = ""; break; - case _PUBLISHER_STATUS_PUBLISHED : + case PublisherConstants::_PUBLISHER_STATUS_PUBLISHED : $statustxt = _CO_PUBLISHER_PUBLISHED; $approve = ""; $clone = "<a href='item.php?op=clone&itemid=" . $itemsObj[$i]->itemid() . "'><img src='" . XOOPS_URL . "/modules/" . $publisher->getModule()->dirname() . "/assets/images/links/clone.gif' title='" . _AM_PUBLISHER_CLONE_ITEM . "' alt='" . _AM_PUBLISHER_CLONE_ITEM . "' /></a> "; @@ -246,7 +246,7 @@ $delete = "<a href='item.php?op=del&itemid=" . $itemsObj[$i]->itemid() . "'><img src='" . XOOPS_URL . "/modules/" . $publisher->getModule()->dirname() . "/assets/images/links/delete.png' title='" . _AM_PUBLISHER_DELETEITEM . "' alt='" . _AM_PUBLISHER_DELETEITEM . "' /></a>"; break; - case _PUBLISHER_STATUS_OFFLINE : + case PublisherConstants::_PUBLISHER_STATUS_OFFLINE : $statustxt = _CO_PUBLISHER_OFFLINE; $approve = ""; $clone = "<a href='item.php?op=clone&itemid=" . $itemsObj[$i]->itemid() . "'><img src='" . XOOPS_URL . "/modules/" . $publisher->getModule()->dirname() . "/assets/images/links/clone.gif' title='" . _AM_PUBLISHER_CLONE_ITEM . "' alt='" . _AM_PUBLISHER_CLONE_ITEM . "' /></a> "; @@ -254,7 +254,7 @@ $delete = "<a href='item.php?op=del&itemid=" . $itemsObj[$i]->itemid() . "'><img src='" . XOOPS_URL . "/modules/" . $publisher->getModule()->dirname() . "/assets/images/links/delete.png' title='" . _AM_PUBLISHER_DELETEITEM . "' alt='" . _AM_PUBLISHER_DELETEITEM . "' /></a>"; break; - case _PUBLISHER_STATUS_REJECTED : + case PublisherConstants::_PUBLISHER_STATUS_REJECTED : $statustxt = _CO_PUBLISHER_REJECTED; $approve = ""; $clone = "<a href='item.php?op=clone&itemid=" . $item... [truncated message content] |
From: <luc...@us...> - 2014-12-13 13:16:32
|
Revision: 12902 http://sourceforge.net/p/xoops/svn/12902 Author: luciorota Date: 2014-12-13 13:16:18 +0000 (Sat, 13 Dec 2014) Log Message: ----------- fixed huge amount of small bugs standardize code templatize admin side improved admin size options Modified Paths: -------------- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/import.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/index.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/menu.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/sendletter.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/subscr.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/task.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/template.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/accounts.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/attachment.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/cat.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/catsubscr.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/import.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/letter.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/mailinglist.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/subscr.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/class/template.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/cron.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/docs/changelog.txt XoopsModules/xnewsletter/branches/luciorota/xnewsletter/include/constants.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/include/functions.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/admin.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/language/english/common.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/letter.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/plugins/csv.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/plugins/evennews.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/plugins/rmbulletin.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/plugins/smartpartner.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/plugins/subscribers.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/plugins/weblinks.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/plugins/xoopsuser.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/print.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/sendletter.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_attachments_list.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_letters_list.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_subscrs_list.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_templates_list.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/xNewsletter_letter_preview.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/xoops_version.php Added Paths: ----------- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/assets/images/module_logo.png XoopsModules/xnewsletter/branches/luciorota/xnewsletter/include/functions.task.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/include/onuninstall.php XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_cats_list.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_protocols_list.tpl XoopsModules/xnewsletter/branches/luciorota/xnewsletter/templates/admin/xnewsletter_admin_tasks_list.tpl Removed Paths: ------------- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/include/task.inc.php Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php 2014-12-11 16:21:06 UTC (rev 12901) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/attachment.php 2014-12-13 13:16:18 UTC (rev 12902) @@ -43,6 +43,7 @@ echo $indexAdmin->renderButton(); // $attachmentCount = $xnewsletter->getHandler('attachment')->getCount(); + $GLOBALS['xoopsTpl']->assign('attachmentCount', $attachmentCount); if ($attachmentCount > 0) { $attachmentCriteria = new CriteriaCompo(); // Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php 2014-12-11 16:21:06 UTC (rev 12901) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/cat.php 2014-12-13 13:16:18 UTC (rev 12902) @@ -37,109 +37,90 @@ switch ($op) { case 'list': + case 'list_cats': default: echo $indexAdmin->addNavigation($currentFile); $indexAdmin->addItemButton(_AM_XNEWSLETTER_NEWCAT, '?op=new_cat', 'add'); echo $indexAdmin->renderButton(); // - $start = xnewsletterRequest::getInt('start', 0); - $limit = $xnewsletter->getConfig('adminperpage'); - $catsCount = $xnewsletter->getHandler('cat')->getCount(); - $catCriteria = new CriteriaCompo(); - $catCriteria->setSort('cat_id ASC, cat_name'); - $catCriteria->setOrder('ASC'); - $catCriteria->setStart($start); - $catCriteria->setLimit($limit); - $catObjs = $xnewsletter->getHandler('cat')->getAll($catCriteria); - if ($catsCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; - $pagenav = new XoopsPageNav($catsCount, $limit, $start, 'start', 'op=list'); - $pagenav = $pagenav->renderNav(4); - } else { - $pagenav = ''; - } - - // View Table - echo "<table class='outer width100' cellspacing='1'>"; - echo "<tr>"; - echo " <th>" . _AM_XNEWSLETTER_CAT_ID . "</th>"; - echo " <th>" . _AM_XNEWSLETTER_CAT_NAME . "</th>"; - echo " <th>" . _AM_XNEWSLETTER_CAT_INFO . "</th>"; - echo " <th>" . _AM_XNEWSLETTER_CAT_GPERMS_ADMIN . "</th>"; - echo " <th>" . _AM_XNEWSLETTER_CAT_GPERMS_CREATE . "</th>"; - echo " <th>" . _AM_XNEWSLETTER_CAT_GPERMS_LIST . "</th>"; - echo " <th>" . _AM_XNEWSLETTER_CAT_GPERMS_READ . "</th>"; - if ($xnewsletter->getConfig('xn_use_mailinglist') == true) { - echo " <th>" . _AM_XNEWSLETTER_CAT_MAILINGLIST . "</th>"; - } - echo " <th>" . _AM_XNEWSLETTER_FORMACTION . "</th>"; - echo "</tr>"; - - if (count($catObjs) > 0) { - $class = 'odd'; + $catCount = $xnewsletter->getHandler('cat')->getCount(); + $GLOBALS['xoopsTpl']->assign('catCount', $catCount); + if ($catCount > 0) { + $catCriteria = new CriteriaCompo(); + // + $catCriteria->setSort('cat_id ASC, cat_name'); + $catCriteria->setOrder('ASC'); + // + $start = xnewsletterRequest::getInt('start', 0); + $limit = $xnewsletter->getConfig('adminperpage'); + $catCriteria->setStart($start); + $catCriteria->setLimit($limit); + // + if ($catCount > $limit) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $pagenav = new XoopsPageNav($catCount, $limit, $start, 'start', 'op=list'); + $pagenav = $pagenav->renderNav(4); + } else { + $pagenav = ''; + } + $GLOBALS['xoopsTpl']->assign('cats_pagenav', $pagenav); + // + $catObjs = $xnewsletter->getHandler('cat')->getAll($catCriteria); + $cats = $xnewsletter->getHandler('cat')->getObjects($catCriteria, true, false); // as array $groupNames = $member_handler->getGroupList(); $gperm_handler = xoops_gethandler('groupperm'); - foreach ($catObjs as $cat_id => $catObj) { - echo "<tr class='{$class}'>"; - $class = ($class == 'even') ? 'odd' : 'even'; - echo "<td>{$cat_id}</td>"; - echo "<td>{$catObj->getVar("cat_name")}</td>"; - echo "<td>{$catObj->getVar("cat_info")} </td>"; + foreach ($cats as $cat_id => $cat) { // cat_gperms_admin $cat_gperms_admin_groupids = $gperm_handler->getGroupIds('newsletter_admin_cat', $cat_id, $xnewsletter->getModule()->mid()); sort($cat_gperms_admin_groupids); - $cat_gperms_admin = ''; + $cat_gperms_admin = array(); foreach ($cat_gperms_admin_groupids as $groupid) { - $cat_gperms_admin .= $groupNames[$groupid] . ' | '; + $cat_gperms_admin[$groupid] = array( + 'group_id' => $groupid, + 'group_name' => $groupNames[$groupid]); } - $cat_gperms_admin = substr($cat_gperms_admin, 0, -3); - echo "<td>" . $cat_gperms_admin . "</td>"; - + $cat['cat_gperms_admin_groups'] = $cat_gperms_admin; // cat_gperms_create $cat_gperms_create_groupids = $gperm_handler->getGroupIds('newsletter_create_cat', $cat_id, $xnewsletter->getModule()->mid()); sort($cat_gperms_create_groupids); - $cat_gperms_create = ''; + $cat_gperms_create = array(); foreach ($cat_gperms_create_groupids as $groupid) { - $cat_gperms_create .= $groupNames[$groupid] . " | "; + $cat_gperms_create[$groupid] = array( + 'group_id' => $groupid, + 'group_name' => $groupNames[$groupid]); } - $cat_gperms_create = substr($cat_gperms_create, 0, -3); - echo "<td>" . $cat_gperms_create . "</td>"; - + $cat['cat_gperms_create_groups'] = $cat_gperms_create; // cat_gperms_list $cat_gperms_list_groupids = $gperm_handler->getGroupIds('newsletter_list_cat', $cat_id, $xnewsletter->getModule()->mid()); sort($cat_gperms_list_groupids); - $cat_gperms_list = ''; + $cat_gperms_list = array(); foreach ($cat_gperms_list_groupids as $groupid) { - $cat_gperms_list .= $groupNames[$groupid] . " | "; + $cat_gperms_list[$groupid] = array( + 'group_id' => $groupid, + 'group_name' => $groupNames[$groupid]); } - $cat_gperms_list = substr($cat_gperms_list, 0, -3); - echo "<td>" . $cat_gperms_list . "</td>"; - + $cat['cat_gperms_list_groups'] = $cat_gperms_list; // cat_gperms_read $cat_gperms_read_groupids = $gperm_handler->getGroupIds('newsletter_read_cat', $cat_id, $xnewsletter->getModule()->mid()); sort($cat_gperms_read_groupids); - $cat_gperms_read = ''; + $cat_gperms_read = array(); foreach ($cat_gperms_read_groupids as $groupid) { - $cat_gperms_read .= $groupNames[$groupid] . " | "; + $cat_gperms_read[$groupid] = array( + 'group_id' => $groupid, + 'group_name' => $groupNames[$groupid]); } - $cat_gperms_read = substr($cat_gperms_read, 0, -3); - echo "<td>" . $cat_gperms_read . "</td>"; - - if ($xnewsletter->getConfig('xn_use_mailinglist') == true) { - echo "<td>" . $catObj->getVar("cat_mailinglist") . "</td>"; - } - echo "<td class='center' nowrap='nowrap'>"; - echo "<a href='?op=edit_cat&cat_id={$cat_id}'><img src=" . XNEWSLETTER_ICONS_URL . "/xn_edit.png alt='" . _EDIT . "' title='" . _EDIT . "' /></a>"; - echo " "; - echo "<a href='?op=delete_cat&cat_id={$cat_id}'><img src=" . XNEWSLETTER_ICONS_URL . "/xn_delete.png alt='" . _DELETE . "' title='" . _DELETE . "' /></a>"; - echo "</td>"; - echo "</tr>"; + $cat['cat_gperms_read_groups'] = $cat_gperms_read; + // + $GLOBALS['xoopsTpl']->append('cats', $cat); } + // config + $GLOBALS['xoopsTpl']->assign('xn_use_mailinglist', $xnewsletter->getConfig('xn_use_mailinglist')); + // + $GLOBALS['xoopsTpl']->display("db:{$xnewsletter->getModule()->dirname()}_admin_cats_list.tpl"); + } else { + echo _CO_XNEWSLETTER_WARNING_NOCATS; } - echo "</table>"; - echo "<br />"; - echo "<div>" . $pagenav . "</div>"; - echo "<br />"; + include_once __DIR__ . '/admin_footer.php'; break; case 'new_cat': @@ -150,6 +131,7 @@ $catObj = $xnewsletter->getHandler('cat')->create(); $form = $catObj->getForm(); $form->display(); + include_once __DIR__ . '/admin_footer.php'; break; case 'save_cat': @@ -206,6 +188,7 @@ echo $catObj->getHtmlErrors(); $form = $catObj->getForm(); $form->display(); + include_once __DIR__ . '/admin_footer.php'; break; case 'edit_cat': @@ -217,6 +200,7 @@ $catObj = $xnewsletter->getHandler('cat')->get($cat_id); $form = $catObj->getForm(); $form->display(); + include_once __DIR__ . '/admin_footer.php'; break; case 'delete_cat': @@ -233,6 +217,6 @@ } else { xoops_confirm(array('ok' => true, 'cat_id' => $cat_id, 'op' => 'delete_cat'), $_SERVER['REQUEST_URI'], sprintf(_AM_XNEWSLETTER_FORMSUREDEL, $catObj->getVar('cat_name'))); } + include_once __DIR__ . '/admin_footer.php'; break; } -include_once __DIR__ . '/admin_footer.php'; Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/import.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/import.php 2014-12-11 16:21:06 UTC (rev 12901) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/import.php 2014-12-13 13:16:18 UTC (rev 12902) @@ -34,57 +34,54 @@ define('XNEWSLETTER_BASIC_LIMIT_IMPORT_CHECKED', 100); define('XNEWSLETTER_BASIC_LIMIT_IMPORT_AT_ONCE', 10); -$op = xnewsletterRequest::getString('op', 'default'); -$plugin = xnewsletterRequest::getString('plugin', 'csv'); -$cat_id = xnewsletterRequest::getInt('cat_id', 0, 'int'); -$action_after_read = xnewsletterRequest::getInt('action_after_read', 1); -$start = xnewsletterRequest::getInt('start', 0); -$limitcheck = xnewsletterRequest::getInt('limitcheck', XNEWSLETTER_BASIC_LIMIT_IMPORT_CHECKED); +$plugin = xnewsletterRequest::getString('plugin', 'csv'); +$cat_id = xnewsletterRequest::getInt('cat_id', 0, 'int'); +$start = xnewsletterRequest::getInt('start', 0); +$checkSubscrsAfterRead = xnewsletterRequest::getBool('checkSubscrsAfterRead', true); +$checkLimit = xnewsletterRequest::getInt('checkLimit', XNEWSLETTER_BASIC_LIMIT_IMPORT_CHECKED); $skipcatsubscrexist = xnewsletterRequest::getInt('skipcatsubscrexist', 1); -$check_import = xnewsletterRequest::getInt('check_import', 0); +$checkImport = xnewsletterRequest::getInt('checkImport', 0); echo $indexAdmin->addNavigation($currentFile); +$op = xnewsletterRequest::getString('op', 'default'); switch ($op) { case 'show_formcheck': $indexAdmin->addItemButton(_AM_XNEWSLETTER_IMPORT_PLUGINS_AVAIL, $currentFile, 'list'); echo $indexAdmin->renderButton(); // - $importCriteria = new CriteriaCompo(); - $importCriteria->setSort("import_id"); - $importCriteria->setOrder("ASC"); - $importsCount = $xnewsletter->getHandler('import')->getCount($importCriteria); - - $importCriteria->setStart($start); - $importCriteria->setLimit($limitcheck); - $importObjs = $xnewsletter->getHandler('import')->getAll($importCriteria); - - if ($importsCount > 0) { + $importCount = $xnewsletter->getHandler('import')->getCount(); + if ($importCount > 0) { + $importCriteria = new CriteriaCompo(); + $importCriteria->setSort("import_id"); + $importCriteria->setOrder("ASC"); + $importCriteria->setStart($start); + $importCriteria->setLimit($checkLimit); + $importObjs = $xnewsletter->getHandler('import')->getAll($importCriteria); + // include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; - - $action = $_SERVER['REQUEST_URI']; + $action = $_SERVER['REQUEST_URI']; $unique_id = uniqid(mt_rand()); $form = "<br/>"; - $form .= "<form name=\"form_import_{$unique_id}\" id=\"form_import_{$unique_id}\" action=\"{$currentFile}\" method=\"post\" enctype=\"multipart/form-data\">"; + $form .= "<form name='form_import_{$unique_id}' id='form_import_{$unique_id}' action='{$currentFile}' method='post' enctype='multipart/form-data'>"; $showlimit = str_replace("%s", $start + 1, _AM_XNEWSLETTER_IMPORT_SHOW); - if ($limitcheck < $importsCount) { - $showlimit = str_replace("%l", $limitcheck, $showlimit); + if ($checkLimit < $importCount) { + $showlimit = str_replace("%l", $checkLimit, $showlimit); } else { - $showlimit = str_replace("%l", $importsCount, $showlimit); + $showlimit = str_replace("%l", $importCount, $showlimit); } - $showlimit = str_replace("%n", $importsCount, $showlimit); + $showlimit = str_replace("%n", $importCount, $showlimit); - $form - .= " + $form .= " + <h3>" . _AM_XNEWSLETTER_IMPORT_AFTER_READ . "</h3> <table width='100%' cellspacing='1' class='outer'> <tr> <td align='left' colspan='8'>" . $showlimit . "</td> </tr>"; $class = "odd"; - $form - .= " + $form .= " <tr> <th> </th> <th>" . _AM_XNEWSLETTER_SUBSCR_EMAIL . "</th> @@ -107,101 +104,86 @@ foreach ($importObjs as $i => $importObj) { ++$counter; - $form .= "<tr class='{$class}'>"; + $form .= "<tr class='{$class}' >"; $class = ($class == 'even') ? 'odd' : 'even'; + // import_id $form .= "<td>" . $counter; - $form .= "<input type='hidden' name='import_id_{$counter}' title='import_id_{$counter}' id='import_id_{$counter}' value='" . $importObj->getVar('import_id') . "' />"; + $form .= "<input type='hidden' name='import_id_{$counter}' title='import_id_{$counter}' id='import_id_{$counter}' value='{$importObj->getVar('import_id')}' />"; $form .= "</td>"; + // import_email + $email_text = new XoopsFormText(_AM_XNEWSLETTER_SUBSCR_EMAIL, "email_{$counter}", 25, 255, $importObj->getVar('import_email')); + $email_text->setExtra('disabled=disabled'); $form .= "<td>"; - $form .= "<input type='text' disabled=disabled name='email_{$counter}' title='" . _AM_XNEWSLETTER_SUBSCR_EMAIL . "' id='email_{$counter}' value='" . $importObj->getVar('import_email') - . "' />"; + $form .= $email_text->render(); + unset($email_text); $form .= "</td>"; - + // import_sex + $sex_select = new XoopsFormSelect(_AM_XNEWSLETTER_SUBSCR_SEX, "sex_{$counter}", $importObj->getVar('import_sex'), 1, false); + $sex_options = array( + _AM_XNEWSLETTER_SUBSCR_SEX_EMPTY => _AM_XNEWSLETTER_SUBSCR_SEX_EMPTY, + _AM_XNEWSLETTER_SUBSCR_SEX_FEMALE => _AM_XNEWSLETTER_SUBSCR_SEX_FEMALE, + _AM_XNEWSLETTER_SUBSCR_SEX_MALE => _AM_XNEWSLETTER_SUBSCR_SEX_MALE, + _AM_XNEWSLETTER_SUBSCR_SEX_COMP => _AM_XNEWSLETTER_SUBSCR_SEX_COMP, + _AM_XNEWSLETTER_SUBSCR_SEX_FAMILY => _AM_XNEWSLETTER_SUBSCR_SEX_FAMILY + ); + $sex_select->addOptionArray($sex_options); $form .= "<td>"; - $sex = $importObj->getVar('import_sex'); - $form .= "<select size='1' name='sex_{$counter}' id='sex_{$counter}' title='" . _AM_XNEWSLETTER_SUBSCR_SEX . "' "; - $form .= "value='" . $sex . "'>"; - $form .= "<option value=''"; - if ($sex == _AM_XNEWSLETTER_SUBSCR_SEX_EMPTY) { - $form .= " selected='selected'"; - } - $form .= ">" . _AM_XNEWSLETTER_SUBSCR_SEX_EMPTY . "</option>"; - $form .= "<option value='" . _AM_XNEWSLETTER_SUBSCR_SEX_FEMALE . "'"; - if ($sex == _AM_XNEWSLETTER_SUBSCR_SEX_FEMALE) { - $form .= " selected='selected'"; - } - $form .= ">" . _AM_XNEWSLETTER_SUBSCR_SEX_FEMALE . "</option>"; - $form .= "<option value='" . _AM_XNEWSLETTER_SUBSCR_SEX_MALE . "'"; - if ($sex == _AM_XNEWSLETTER_SUBSCR_SEX_MALE) { - $form .= " selected='selected'"; - } - $form .= ">" . _AM_XNEWSLETTER_SUBSCR_SEX_MALE . "</option>"; - $form .= "<option value='" . _AM_XNEWSLETTER_SUBSCR_SEX_COMP . "'"; - if ($sex == _AM_XNEWSLETTER_SUBSCR_SEX_COMP) { - $form .= " selected='selected'"; - } - $form .= ">" . _AM_XNEWSLETTER_SUBSCR_SEX_COMP . "</option>"; - $form .= "<option value='" . _AM_XNEWSLETTER_SUBSCR_SEX_FAMILY . "'"; - if ($sex == _AM_XNEWSLETTER_SUBSCR_SEX_FAMILY) { - $form .= " selected='selected'"; - } - $form .= ">" . _AM_XNEWSLETTER_SUBSCR_SEX_FAMILY . "</option>"; - $form .= "</select>\n"; + $form .= $sex_select->render(); + unset($sex_select); $form .= "</td>"; - + // import_firstname + $firstname_text = new XoopsFormText(_AM_XNEWSLETTER_SUBSCR_FIRSTNAME, "firstname_{$counter}", 25, 255, $importObj->getVar('import_firstname')); $form .= "<td>"; - $form .= "<input type='text' name='firstname_{$counter}' title='" . _AM_XNEWSLETTER_SUBSCR_FIRSTNAME . "' id='firstname_{$counter}' value='" . $importObj->getVar("import_firstname") - . "' />"; + $form .= $firstname_text->render(); + unset($firstname_text); $form .= "</td>"; + // import_lastname + $lastname_text = new XoopsFormText(_AM_XNEWSLETTER_SUBSCR_LASTNAME, "lastname_{$counter}", 25, 255, $importObj->getVar('import_lastname')); $form .= "<td>"; - $form .= "<input type='text' name='lastname_{$counter}' title='" . _AM_XNEWSLETTER_SUBSCR_LASTNAME . "' id='lastname_{$counter}' value='" . $importObj->getVar("import_lastname") - . "' />"; + $form .= $lastname_text->render(); + unset($lastname_text); $form .= "</td>"; + // import_subscr_id $form .= "<td>"; - $subscr_id = $importObj->getVar("import_subscr_id"); - $form .= "<input type='hidden' name='subscr_id_{$counter}' title='subscr_id' id='subscr_id_{$counter}' value='" . $subscr_id . "' />"; + $subscr_id = $importObj->getVar('import_subscr_id'); + $form .= "<input type='hidden' name='subscr_id_{$counter}' title='subscr_id' id='subscr_id_{$counter}' value='{$subscr_id}' />"; if ($subscr_id > 0) { $form .= "<img src='" . XNEWSLETTER_ICONS_URL . "/xn_ok.png' alt='" . _AM_XNEWSLETTER_IMPORT_EMAIL_EXIST . "' title='" . _AM_XNEWSLETTER_IMPORT_EMAIL_EXIST . "' />"; } - $form .= "</td>"; + $form .= " </td>"; + // import_catsubscr_id $form .= "<td>"; - $catsubscr_id = $importObj->getVar("import_catsubscr_id"); - $form .= "<input type='hidden' name='catsubscr_id_{$counter}' title='catsubscr_id' id='catsubscr_id_{$counter}' value='" . $catsubscr_id . "' />"; + $catsubscr_id = $importObj->getVar('import_catsubscr_id'); + $form .= "<input type='hidden' name='catsubscr_id_{$counter}' title='catsubscr_id' id='catsubscr_id_{$counter}' value='{$catsubscr_id}' />"; if ($catsubscr_id > 0) { $form .= "<img src='" . XNEWSLETTER_ICONS_URL . "/xn_ok.png' alt='" . _AM_XNEWSLETTER_IMPORT_CATSUBSCR_EXIST . "' title='" . _AM_XNEWSLETTER_IMPORT_CATSUBSCR_EXIST . "' />"; } - $form .= "</td>"; - $form .= "</td>"; - $form .= "<td>"; - $curr_cat_id = $importObj->getVar("import_cat_id"); - $form .= "<select size='1' name='cat_id_{$counter}' id=\"cat_id_{$counter}' title='cat' "; - $form .= "value='" . $curr_cat_id . "'>"; - $cat_select = "<option value='0'"; - $cat_select .= ">" . _AM_XNEWSLETTER_IMPORT_NOIMPORT . "</option>"; + $form .= " </td>"; + // import_cat_id + $cat_id_select = new XoopsFormSelect(_AM_XNEWSLETTER_CAT_NAME, "cat_id_{$counter}", $importObj->getVar('import_cat_id'), 1, false); + $cat_id_select->addOption('0', _AM_XNEWSLETTER_IMPORT_NOIMPORT); foreach ($catObjs as $cat_id => $catObj) { - $cat_select .= "<option value='" . $cat_id . "'"; - if ($curr_cat_id == $j) { - $cat_select .= " selected='selected'"; - } - $cat_select .= ">" . $catObj->getVar("cat_name") . "</option>"; + $cat_id_select->addOption($cat_id, $catObj->getVar('cat_name')); } + $form .= "<td>"; + $form .= $cat_id_select->render(); + unset($cat_id_select); + $form .= "</td>"; - $form .= $cat_select; - $form .= "</select>\n"; - - $form .= "</td>"; $form .= "</tr>"; } $form .= "<tr class='{$class}'>"; $class = ($class == 'even') ? 'odd' : 'even'; $form .= "<td colspan='8'>"; $form .= "<input type='hidden' name='counter' title='counter' id='counter' value='{$counter}' />"; - $form .= "<input type='hidden' name='limitcheck' title='limitcheck' id='limitcheck' value='" . $limitcheck . "' />"; + $form .= "<input type='hidden' name='checkLimit' title='checkLimit' id='checkLimit' value='" . $checkLimit . "' />"; $form .= "<input type='hidden' name='op' title='op' id='op' value='apply_import_form' />"; $form .= "<input type='submit' class='formButton' name='submit' id='submit' value='" . _AM_XNEWSLETTER_IMPORT_EXEC . "' title='" . _AM_XNEWSLETTER_IMPORT_EXEC . "' />"; - $form .= "</td></tr>"; + $form .= "</td>"; + $form .= "</tr>"; - $form .= "</table></form>"; + $form .= "</table>"; + $form .= "</form>"; echo $form; } break; @@ -209,50 +191,47 @@ case 'apply_import_form': //update xnewsletter with settings form_import $counter = xnewsletterRequest::getInt('counter', 0); - for ($i = 1; $i < ($counter + 1); ++$i) { $import_id = xnewsletterRequest::getString("import_id_{$i}", 'default'); $subscr_firstname = xnewsletterRequest::getString("firstname_{$i}", ''); $subscr_lastname = xnewsletterRequest::getString("lastname_{$i}", ''); $subscr_sex = xnewsletterRequest::getString("sex_{$i}", ''); $cat_id = xnewsletterRequest::getInt("cat_id_{$i}", 0); - if ($cat_id > 0) { if ($subscr_id == 0) { //update sex, firstname, lastname $sql = "UPDATE {$GLOBALS['xoopsDB']->prefix('xnewsletter_import')}"; - $sql .= " SET `import_sex`='{$subscr_sex}', `import_firstname`='{$subscr_firstname}', `import_lastname`='{$subscr_lastname}'"; + $sql .= " SET `import_sex` = '{$subscr_sex}', `import_firstname` = '{$subscr_firstname}', `import_lastname` = '{$subscr_lastname}'"; $sql .= " WHERE `import_id`={$import_id}"; $result = $GLOBALS['xoopsDB']->queryF($sql); } } //update cat_id and import_status $sql = "UPDATE {$GLOBALS['xoopsDB']->prefix('xnewsletter_import')}"; - $sql .= " SET `import_cat_id`='{$cat_id}', `import_status`=1"; - $sql .= " WHERE `import_id`={$import_id}"; + $sql .= " SET `import_cat_id` = '{$cat_id}', `import_status` = " . _XNEWSLETTER_IMPORT_STATUS_IMPORTABLE . ""; + $sql .= " WHERE `import_id` = {$import_id}"; $result = $GLOBALS['xoopsDB']->queryF($sql); } - - redirect_header("?op=exec_import_final&check_import=1&limitcheck={$limitcheck}", 0, ''); + redirect_header("?op=exec_import_final&checkImport=1&checkLimit={$checkLimit}", 0, ''); break; case 'exec_import_final': - //execute final import of all data from xnewsletter_import, where import_status = true + //execute final import of all data from xnewsletter_import, where import_status = _XNEWSLETTER_IMPORT_STATUS_IMPORTABLE //delete data from xnewsletter_import, when imported (successful or not) $indexAdmin->addItemButton(_AM_XNEWSLETTER_IMPORT_PLUGINS_AVAIL, $currentFile, 'list'); echo $indexAdmin->renderButton(); // - $ip = xoops_getenv('REMOTE_ADDR'); + $ip = xoops_getenv('REMOTE_ADDR'); $submitter = $GLOBALS['xoopsUser']->uid(); - + // + $importCount = $xnewsletter->getHandler('import')->getCount(); $importCriteria = new CriteriaCompo(); - $importCriteria->add(new Criteria('import_status', true)); - $numrows_total = $xnewsletter->getHandler('import')->getCount(); - $numrows_act = $xnewsletter->getHandler('import')->getCount($importCriteria); - if ($numrows_act > 0) { + $importCriteria->add(new Criteria('import_status', _XNEWSLETTER_IMPORT_STATUS_IMPORTABLE)); + $importCheckedCount = $xnewsletter->getHandler('import')->getCount($importCriteria); + if ($importCheckedCount > 0) { $sql = "SELECT *"; $sql .= " FROM {$GLOBALS['xoopsDB']->prefix('xnewsletter_import')}"; - $sql .= " WHERE ((import_status)=1)"; + $sql .= " WHERE ((import_status) = " . _XNEWSLETTER_IMPORT_STATUS_IMPORTABLE . ")"; $sql .= " ORDER BY `import_id` ASC"; $counter = 0; if (!$users_import = $GLOBALS['xoopsDB']->queryF($sql)) { @@ -274,35 +253,42 @@ $status = str_replace("%e", $subscr_email, _AM_XNEWSLETTER_IMPORT_RESULT_SKIP); $xnewsletter->getHandler('protocol')->protocol(0, 0, $status, _XNEWSLETTER_PROTOCOL_STATUS_SKIP_IMPORT, array('%subscr_email' => $subscr_email), true); } else { - //register email + // register email if ($subscr_id == 0) { $subscr_uid = 0; $sql = "SELECT `uid`"; $sql .= " FROM {$GLOBALS['xoopsDB']->prefix('users')}"; - $sql .= " WHERE (`email`='{$subscr_email}') LIMIT 1"; + $sql .= " WHERE (`email` = '{$subscr_email}') LIMIT 1"; if ($user = $GLOBALS['xoopsDB']->queryF($sql)) { $row_user = mysql_fetch_array($user); $subscr_uid = $row_user[0]; } unset($row_user); unset($user); - - $sql = "INSERT"; - $sql .= " INTO `{$GLOBALS['xoopsDB']->prefix('xnewsletter_subscr')}`"; - $sql .= " (`subscr_email`, `subscr_firstname`, `subscr_lastname`, `subscr_uid`, `subscr_sex`, `subscr_submitter`, `subscr_created`, `subscr_ip`, `subscr_activated`, `subscr_actoptions`)"; - $sql .= " VALUES ('{$subscr_email}', '{$subscr_firstname}', '{$subscr_lastname}', " . (int) $subscr_uid . ", '{$subscr_sex}', {$submitter}, " . time() . ",'{$ip}', 1, '')"; - if (!$GLOBALS['xoopsDB']->queryF($sql)) { + // + $subscrObj = $xnewsletter->getHandler('subscr')->create(); + $subscrObj->setVar('subscr_email', $subscr_email); + $subscrObj->setVar('subscr_firstname', $subscr_firstname); + $subscrObj->setVar('subscr_lastname', $subscr_lastname); + $subscrObj->setVar('subscr_uid', (int) $subscr_uid); + $subscrObj->setVar('subscr_sex', $subscr_sex); + $subscrObj->setVar('subscr_submitter', $submitter); + $subscrObj->setVar('subscr_created', time()); + $subscrObj->setVar('subscr_ip', $ip); + $subscrObj->setVar('subscr_activated', 1); + // add subscriber + if (!$xnewsletter->getHandler('subscr')->insert($subscrObj)) { // IN PROGRESS $status = str_replace("%e", $subscr_email, _AM_XNEWSLETTER_IMPORT_RESULT_FAILED); $xnewsletter->getHandler('protocol')->protocol(0, 0, $status, _XNEWSLETTER_PROTOCOL_STATUS_ERROR_IMPORT, array('%subscr_email' => $subscr_email), false); } else { - //register email successful + // register email successful $resulttext = $subscr_email . ': ' . _AM_XNEWSLETTER_IMPORT_RESULT_REG_OK . ' | '; $subscr_id = $GLOBALS['xoopsDB']->getInsertId(); $subscribe = true; } } else { - //email already registered + // email already registered $resulttext = $subscr_email . ': ' . _AM_XNEWSLETTER_IMPORT_EMAIL_EXIST . ' | '; $subscribe = true; } @@ -312,7 +298,7 @@ $sql = "INSERT"; $sql .= " INTO `{$GLOBALS['xoopsDB']->prefix('xnewsletter_catsubscr')}`"; $sql .= " (`catsubscr_catid`, `catsubscr_subscrid`, `catsubscr_submitter`, `catsubscr_created`)"; - $sql .= " VALUES ({$cat_id}, {$subscr_id}, {$submitter}," . time() . ")"; + $sql .= " VALUES ({$cat_id}, {$subscr_id}, {$submitter}, " . time() . ")"; if ($GLOBALS['xoopsDB']->queryF($sql)) { // IN PROGRESS $status = $resulttext . _AM_XNEWSLETTER_IMPORT_RESULT_SUBSCR_OK; @@ -320,8 +306,8 @@ //handle mailinglists $cat_mailinglist = 0; $sql = "SELECT `cat_mailinglist`"; - $sql .= " FROM {$GLOBALS['xoopsDB']->prefix("xnewsletter_cat")}"; - $sql .= " WHERE (`cat_id`={$cat_id}) LIMIT 1"; + $sql .= " FROM {$GLOBALS['xoopsDB']->prefix('xnewsletter_cat')}"; + $sql .= " WHERE (`cat_id` = {$cat_id}) LIMIT 1"; if ($cat_mls = $GLOBALS['xoopsDB']->queryF($sql)) { $cat_ml = mysql_fetch_array($cat_mls); $cat_mailinglist = $cat_ml[0]; @@ -347,39 +333,47 @@ } } } - $sql_del = "DELETE"; - $sql_del .= " FROM {$GLOBALS['xoopsDB']->prefix('xnewsletter_import')}"; - $sql_del .= " WHERE `import_id`={$import_id}"; - $result = $GLOBALS['xoopsDB']->queryF($sql_del); + $sql_delete = "DELETE"; + $sql_delete .= " FROM {$GLOBALS['xoopsDB']->prefix('xnewsletter_import')}"; + $sql_delete .= " WHERE `import_id` = {$import_id}"; + $result = $GLOBALS['xoopsDB']->queryF($sql_delete); } echo "<div style='margin-top:20px;margin-bottom:20px;color:#ff0000;font-weight:bold;font-size:14px'>"; - $resulttext = str_replace("%p", $numrows_act, _AM_XNEWSLETTER_IMPORT_FINISHED); - $resulttext = str_replace("%t", $numrows_total, $resulttext); + $resulttext = str_replace("%p", $importCheckedCount, _AM_XNEWSLETTER_IMPORT_FINISHED); + $resulttext = str_replace("%t", $importCount, $resulttext); echo XNEWSLETTER_IMG_OK . $resulttext; echo "</div>"; - $numrows_pend = $xnewsletter->getHandler('xnewsletter_import')->getCount(); - if ($numrows_pend > 0) { + $importPendingCount = $xnewsletter->getHandler('import')->getCount(); + if ($importPendingCount > 0) { $form_continue = "<form id='form_continue' enctype='multipart/form-data' method='post' action='{$currentFile}' name='form_continue'>"; $form_continue .= "<input id='submit' class='formButton' type='submit' title='" . _AM_XNEWSLETTER_IMPORT_CONTINUE . "' value='" . _AM_XNEWSLETTER_IMPORT_CONTINUE . "' name='submit'>"; - $form_continue .= '<input id="limitcheck" type="hidden" value="' . $limitcheck . '" name="limitcheck">'; - if ($check_import == 1) { + $form_continue .= "<input type='hidden' id='checkLimit' name='checkLimit' value='{$checkLimit}'>"; + if ($checkImport === 1) { //show next form for check settings - $form_continue .= '<input id="op" type="hidden" value="show_formcheck" name="op">'; + $form_continue .= "<input type='hidden' id='op' name='op' value='show_formcheck'>"; } else { - // set import_status = 1 for next package - $sql_update = "UPDATE " . $GLOBALS['xoopsDB']->prefix("xnewsletter_import") . " SET `import_status`=1 ORDER BY import_id LIMIT " . $limitcheck; + // set import_status = _XNEWSLETTER_IMPORT_STATUS_IMPORTABLE for next package + $sql_update = "UPDATE {$GLOBALS['xoopsDB']->prefix('xnewsletter_import')}"; + $sql_update .= " SET `import_status` = " . _XNEWSLETTER_IMPORT_STATUS_IMPORTABLE . ""; + $sql_update .= " ORDER BY import_id LIMIT " . $checkLimit; $GLOBALS['xoopsDB']->queryF($sql_update); //execute import for the next package - $form_continue .= '<input id="op" type="hidden" value="exec_import_final" name="op">'; + $form_continue .= "<input type='hidden' id='op' name='op' value='exec_import_final' >"; } - $form_continue .= '<input id="action_after_read" type="hidden" value="' . $action_after_read . '" name="action_after_read">'; - $form_continue .= '<input id="limitcheck" type="hidden" value="' . $limitcheck . '" name="limitcheck">'; - $form_continue .= '<input id="plugin" type="hidden" value="' . $plugin . '" name="plugin">'; - $form_continue .= '<input id="check_import" type="hidden" value="' . $check_import . '" name="check_import">'; + $form_continue .= "<input type='hidden' id='checkSubscrsAfterRead' name='checkSubscrsAfterRead' value='{$checkSubscrsAfterRead}'>"; + $form_continue .= "<input type='hidden' id='checkLimit' name='checkLimit' value='{$checkLimit}'>"; + $form_continue .= "<input type='hidden' id='plugin' name='plugin' value='{$plugin}'>"; + $form_continue .= "<input type='hidden' id='checkImport' name='checkImport' value='{$checkImport}' >"; $form_continue .= "</form>"; echo $form_continue; + } else { + $form_continue = "<form id='form_continue' enctype='multipart/form-data' method='post' action='{$currentFile}' name='form_continue'>"; + $form_continue .= "<input id='submit' class='formButton' type='submit' title='" . _AM_XNEWSLETTER_IMPORT_END . "' value='" . _AM_XNEWSLETTER_IMPORT_END . "' name='submit'>"; + $form_continue .= "<input type='hidden' id='op' name='op' value='default'>"; + $form_continue .= "</form>"; + echo $form_continue; } } else { echo _AM_XNEWSLETTER_IMPORT_NODATA; @@ -387,53 +381,51 @@ break; case 'searchdata': - //delete all existing data, import data into xnewsletter_import with plugin - //set cat_id as preselected, update information about existing registration/subscriptions - //if ($action_after_read==1) execute import else show form for check before executing import + // delete all existing import data + // import data into xnewsletter_import table with plugin + // set cat_id as preselected, update information about existing registration/subscriptions + // if ($checkSubscrsAfterRead === true) execute import else show form for check before executing import + // delete all existing data + $sql = "TRUNCATE TABLE " . $GLOBALS['xoopsDB']->prefix('xnewsletter_import'); + $result = $GLOBALS['xoopsDB']->queryF($sql); + // check and load plugin $pluginFile = XNEWSLETTER_ROOT_PATH . "/plugins/{$plugin}.php"; if (!file_exists($pluginFile)) { echo str_replace("%p", $plugin, _AM_XNEWSLETTER_IMPORT_ERROR_NO_PLUGIN); break; } require_once $pluginFile; - $function = 'xnewsletter_plugin_getdata_' . $plugin; if (!function_exists($function)) { echo "Error: require function 'xnewsletter_plugin_getdata_{$plugin}' doesn't exist"; echo str_replace("%f", $plugin, _AM_XNEWSLETTER_IMPORT_ERROR_NO_FUNCTION); break; } - - //delete all existing data - $sql = "TRUNCATE TABLE " . $GLOBALS['xoopsDB']->prefix('xnewsletter_import'); - $result = $GLOBALS['xoopsDB']->queryF($sql); - //import data into xnewsletter_import with plugin if ($plugin == 'csv') { - $csv_file = $_FILES['csv_file']['tmp_name']; - $csv_header = xnewsletterRequest::getInt('csv_header', 0); - $csv_delimiter = xnewsletterRequest::getString('csv_delimiter', ','); - //$numData = $function($cat_id, $action_after_read, $limitcheck, $skipcatsubscrexist, $csv_file, $csv_delimiter, $csv_header); - $numData = call_user_func($function, $cat_id, $action_after_read, $limitcheck, $skipcatsubscrexist, $csv_file, $csv_delimiter, $csv_header); + $csv_file = $_FILES['csv_file']['tmp_name']; + $csvSkipHeader = xnewsletterRequest::getBool('csvSkipHeader', false); + $csvDelimiter = xnewsletterRequest::getString('csvDelimiter', ','); + //$numData = $function($cat_id, $checkSubscrsAfterRead, $checkLimit, $skipcatsubscrexist, $csv_file, $csvDelimiter, $csvSkipHeader); + $numData = call_user_func($function, $cat_id, $checkSubscrsAfterRead, $checkLimit, $skipcatsubscrexist, $csv_file, $csvDelimiter, $csvSkipHeader); } else { if ($plugin == 'xoopsuser') { $arr_groups = $_POST['xoopsuser_group']; - //$numData = $function($cat_id, $action_after_read, $limitcheck, $skipcatsubscrexist, $arr_groups); - $numData = call_user_func($function, $cat_id, $action_after_read, $limitcheck, $skipcatsubscrexist, $arr_groups); + //$numData = $function($cat_id, $checkSubscrsAfterRead, $checkLimit, $skipcatsubscrexist, $arr_groups); + $numData = call_user_func($function, $cat_id, $checkSubscrsAfterRead, $checkLimit, $skipcatsubscrexist, $arr_groups); } else { - //$numData = $function($cat_id, $action_after_read, $limitcheck, $skipcatsubscrexist); - $numData = call_user_func($function, $cat_id, $action_after_read, $limitcheck, $skipcatsubscrexist); + //$numData = $function($cat_id, $checkSubscrsAfterRead, $checkLimit, $skipcatsubscrexist); + $numData = call_user_func($function, $cat_id, $checkSubscrsAfterRead, $checkLimit, $skipcatsubscrexist); } } - if ($numData > 0) { - if ($action_after_read == 0) { + if ($checkSubscrsAfterRead === false) { //execute import without check - redirect_header("{$currentFile}?op=exec_import_final&action_after_read=0&limitcheck={$limitcheck}", 0, ''); + redirect_header("{$currentFile}?op=exec_import_final&checkSubscrsAfterRead=0&checkLimit={$checkLimit}", 3, ''); } else { //show form for check before executing import - redirect_header("{$currentFile}?op=show_formcheck&action_after_read=1&plugin={$plugin}&limitcheck={$limitcheck}", 0, ''); + redirect_header("{$currentFile}?op=show_formcheck&checkSubscrsAfterRead=1&plugin={$plugin}&checkLimit={$checkLimit}", 3, ''); } } else { redirect_header($currentFile, 3, _AM_XNEWSLETTER_IMPORT_NODATA); @@ -457,8 +449,8 @@ echo str_replace("%f", $plugin, _AM_XNEWSLETTER_IMPORT_ERROR_NO_FUNCTION); break; } - //$form = $function( $cat_id, $action_after_read, $limitcheck, $skipcatsubscrexist ); - $form = call_user_func($function, $cat_id, $action_after_read, $limitcheck, $skipcatsubscrexist); + //$form = $function( $cat_id, $checkSubscrsAfterRead, $checkLimit, $skipcatsubscrexist ); + $form = call_user_func($function, $cat_id, $checkSubscrsAfterRead, $checkLimit, $skipcatsubscrexist); $form->display(); break; @@ -466,7 +458,7 @@ default: //show basic search form $importObj = $xnewsletter->getHandler('import')->create(); - $form = $importObj->getSearchForm($plugin, $action_after_read, $limitcheck); + $form = $importObj->getSearchForm($plugin, $checkSubscrsAfterRead, $checkLimit); $form->display(); break; } Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/index.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/index.php 2014-12-11 16:21:06 UTC (rev 12901) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/index.php 2014-12-13 13:16:18 UTC (rev 12902) @@ -39,6 +39,7 @@ $letterCount = $xnewsletter->getHandler('letter')->getCount(); $protocolCount = $xnewsletter->getHandler('protocol')->getCount(); $attachmentCount = $xnewsletter->getHandler('attachment')->getCount(); +$templateCount = $xnewsletter->getHandler('template')->getCount(); if ($xnewsletter->getConfig('xn_use_mailinglist') == true) { $mailinglistCount = $xnewsletter->getHandler('mailinglist')->getCount(); } @@ -60,6 +61,7 @@ $indexAdmin->addInfoBoxLine(_AM_XNEWSLETTER_LETTER, _AM_XNEWSLETTER_THEREARE_SUBSCR, $subscrCount, ($subscrCount == 0) ? _RED : _GREEN); $indexAdmin->addInfoBoxLine(_AM_XNEWSLETTER_LETTER, _AM_XNEWSLETTER_THEREARE_CATSUBSCR, $catsubscrCount, ($catsubscrCount == 0) ? _RED : _GREEN); $indexAdmin->addInfoBoxLine(_AM_XNEWSLETTER_LETTER, _AM_XNEWSLETTER_THEREARE_LETTER, $letterCount, ($letterCount == 0) ? _RED : _GREEN); +$indexAdmin->addInfoBoxLine(_AM_XNEWSLETTER_LETTER, _AM_XNEWSLETTER_THEREARE_TEMPLATE, $templateCount, ($templateCount == 0) ? _RED : _GREEN); $indexAdmin->addInfoBoxLine(_AM_XNEWSLETTER_LETTER, _AM_XNEWSLETTER_THEREARE_ATTACHMENT, $attachmentCount, ($attachmentCount == 0) ? _RED : _GREEN); $indexAdmin->addInfoBoxLine(_AM_XNEWSLETTER_LETTER, _AM_XNEWSLETTER_THEREARE_PROTOCOL, $protocolCount, ($protocolCount == 0) ? _RED : _GREEN); if ($xnewsletter->getConfig('xn_use_mailinglist') == true) { Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php 2014-12-11 16:21:06 UTC (rev 12901) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/letter.php 2014-12-13 13:16:18 UTC (rev 12902) @@ -55,6 +55,7 @@ $letterTpl->assign('subscr_email', _AM_XNEWSLETTER_SUBSCR_EMAIL_PREVIEW); $letterTpl->assign('email', _AM_XNEWSLETTER_SUBSCR_EMAIL_PREVIEW); // new from v1.3 // letter data + $letterTpl->assign('letter_id', $letter_id); // new from v1.3 $letterTpl->assign('title', $letterObj->getVar('letter_title', 'n')); // new from v1.3 $letterTpl->assign('content', $letterObj->getVar('letter_content', 'n')); // letter attachments as link @@ -92,10 +93,10 @@ echo "<h2>{$letterObj->getVar("letter_title")}</h2>"; echo "<div style='clear:both'>"; - echo "<div style='padding:10px;border:1px solid black'>"; + echo "<div style='padding:0px; margin:0px; border:none;'>"; echo $htmlBody; echo "</div>"; - echo "<div style='padding:10px;border:1px solid black; font-family: monospace;'>"; + echo "<div style='padding:10px; margin:0px; border:1px solid black; font-family: monospace;'>"; echo nl2br(utf8_encode($textBody)); echo "</div>"; echo "</div>"; @@ -116,6 +117,7 @@ $letterCriteria->setSort('letter_id'); $letterCriteria->setOrder('DESC'); $letterCount = $xnewsletter->getHandler('letter')->getCount(); + $GLOBALS['xoopsTpl']->assign('letterCount', $letterCount); if ($letterCount > 0) { $limit = $xnewsletter->getConfig('adminperpage'); $start = xnewsletterRequest::getInt('start', 0); @@ -140,9 +142,10 @@ $letter_cat_ids = explode('|', $letter['letter_cats']); unset($letter['letter_cats']); foreach ($letter_cat_ids as $letter_cat_id) { - $catObj = $xnewsletter->getHandler('cat')->get($letter_cat_id); - $cat = $catObj->toArray(); - $letter['letter_cats']['letter_cat_id'] = $cat; + if ($catObj = $xnewsletter->getHandler('cat')->get($letter_cat_id)) { + $cat = $catObj->toArray(); + $letter['letter_cats']['letter_cat_id'] = $cat; + } } // $letter['letter_submitter_uname'] = XoopsUser::getUnameFromId($letter['letter_submitter'], 's'); Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/menu.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/menu.php 2014-12-11 16:21:06 UTC (rev 12901) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/menu.php 2014-12-13 13:16:18 UTC (rev 12902) @@ -64,18 +64,18 @@ $adminmenu[$i]['title'] = _MI_XNEWSLETTER_ADMENU8; $adminmenu[$i]['link'] = 'admin/protocol.php'; $adminmenu[$i]['icon'] = $pathImageAdmin . '/xn_protocol.png'; +if ($xnewsletter->getConfig('xn_send_in_packages') > 0) { + ++$i; + $adminmenu[$i]['title'] = _MI_XNEWSLETTER_ADMENU13; + $adminmenu[$i]['link'] = 'admin/task.php'; + $adminmenu[$i]['icon'] = $pathImageAdmin . '/xn_task.png'; +} if ($xnewsletter->getConfig('xn_use_mailinglist') == 1) { ++$i; $adminmenu[$i]['title'] = _MI_XNEWSLETTER_ADMENU9; $adminmenu[$i]['link'] = 'admin/mailinglist.php'; $adminmenu[$i]['icon'] = $pathImageAdmin . '/xn_mailinglist.png'; } -if ($xnewsletter->getConfig('xn_send_in_packages') > 0) { - ++$i; - $adminmenu[$i]['title'] = _MI_XNEWSLETTER_ADMENU13; - $adminmenu[$i]['link'] = 'admin/task.php'; - $adminmenu[$i]['icon'] = $pathImageAdmin . '/xn_task.png'; -} ++$i; $adminmenu[$i]['title'] = _MI_XNEWSLETTER_ADMENU10; $adminmenu[$i]['link'] = 'admin/bmh.php'; Modified: XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php =================================================================== --- XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php 2014-12-11 16:21:06 UTC (rev 12901) +++ XoopsModules/xnewsletter/branches/luciorota/xnewsletter/admin/protocol.php 2014-12-13 13:16:18 UTC (rev 12902) @@ -29,202 +29,190 @@ $currentFile = basename(__FILE__); include_once __DIR__ . '/admin_header.php'; -xoops_cp_header(); // We recovered the value of the argument op in the URL$ -$op = xnewsletterRequest::getString('op', 'list'); - -$protocolAdmin = new ModuleAdmin(); -$letterAdmin = new ModuleAdmin(); - +$op = xnewsletterRequest::getString('op', 'list_protocols'); switch ($op) { case 'list': case 'list_protocols': - echo $letterAdmin->addNavigation($currentFile); + default: + $apply_filter = xnewsletterRequest::getBool('apply_filter', false); + // render start here + xoops_cp_header(); + // render submenu + $protocolAdmin = new ModuleAdmin(); + echo $protocolAdmin->addNavigation($currentFile); + if ($apply_filter == true) { + $protocolAdmin->addItemButton(_AM_XNEWSLETTER_PROTOCOL_SHOW_ALL, '?op=list_protocols', 'view_detailed'); + } + $protocolCount = $xnewsletter->getHandler('protocol')->getCount(); + if ($protocolCount > 0) { + $protocolAdmin->addItemButton(_AM_XNEWSLETTER_PROTOCOL_DELETE_ALL, '?op=delete_protocols', 'delete'); + } + echo $protocolAdmin->renderButton(); // - $limit = $xnewsletter->getConfig('adminperpage'); - $letterCriteria = new CriteriaCompo(); - $letterCriteria->setSort('letter_id'); - $letterCriteria->setOrder('DESC'); - $letterCount = $xnewsletter->getHandler('letter')->getCount(); - $start = xnewsletterRequest::getInt('start', 0); - $letterCriteria->setStart($start); - $letterCriteria->setLimit($limit); - $letterObjs = $xnewsletter->getHandler('letter')->getAll($letterCriteria); - if ($letterCount > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; - $pagenav = new XoopsPageNav($letterCount, $limit, $start, 'start', 'op=list'); - $pagenav = $pagenav->renderNav(4); - } else { - $pagenav = ''; - } - - // View Table - echo " - <table class='outer width100' cellspacing='1'> - <tr> - <th>" . _AM_XNEWSLETTER_LETTER_ID . "</th> - <th>" . _AM_XNEWSLETTER_LETTER_TITLE . "</th> - <th>" . _AM_XNEWSLETTER_PROTOCOL_LAST_STATUS . "</th> - <th>" . _AM_XNEWSLETTER_PROTOCOL_CREATED . "</th> - <th>" . _AM_XNEWSLETTER_FORMACTION . "</th> - </tr>"; - if ($letterCount > 0) { - $class = 'odd'; - //first show misc protocol items - echo "<tr class='{$class}'>"; - $class = ($class == 'even') ? 'odd' : 'even'; - echo "<td> - </td>"; - echo "<td>" . _AM_XNEWSLETTER_PROTOCOL_MISC . "</td>"; - + $protocolCount = $xnewsletter->getHandler('protocol')->getCount(); + $GLOBALS['xoopsTpl']->assign('protocolCount', $protocolCount); + if ($protocolCount > 0) { $protocolCriteria = new CriteriaCompo(); - $protocolCriteria->add(new Criteria('protocol_letter_id', '0')); - $protocolCriteria->setSort('protocol_id'); + // get filter parameters + $filter_protocol_letter_ids = xnewsletterRequest::getArray('filter_protocol_letter_ids', array()); + // + $filter_protocol_success = xnewsletterRequest::getInt('filter_protocol_success', 2); // all + // + if (isset($_REQUEST['filter_protocol_created_from']['date'])) { + $dateTimeObj = DateTime::createFromFormat(_SHORTDATESTRING, $_REQUEST['filter_protocol_created_from']['date']); + $dateTimeObj->setTime(0, 0, 0); + $filter_protocol_created_from = (int) ($dateTimeObj->getTimestamp() + $_REQUEST['filter_protocol_created_from']['time']); + unset($dateTimeObj); + } elseif (isset($_REQUEST['filter_protocol_created_from'])) { + $filter_protocol_created_from = $_REQUEST['filter_protocol_created_from']; + } else { + $filter_protocol_created_from = 3600; + } + if (isset($_REQUEST['filter_protocol_created_to']['date'])) { + $dateTimeObj = DateTime::createFromFormat(_SHORTDATESTRING, $_REQUEST['filter_protocol_created_to']['date']); + $dateTimeObj->setTime(0, 0, 0); + $filter_protocol_created_to = (int) ($dateTimeObj->getTimestamp() + $_REQUEST['filter_protocol_created_to']['time']); + unset($dateTimeObj); + } elseif (isset($_REQUEST['filter_protocol_created_to'])) { + $filter_protocol_created_to = $_REQUEST['filter_protocol_created_to']; + } else { + $filter_protocol_created_to = time(); + } + if ($apply_filter == true) { + // apply filter + if (count($filter_protocol_letter_ids) > 0) { + $protocolCriteria->add(new Criteria('protocol_letter_id', '(' . implode(',', $filter_protocol_letter_ids) . ')', 'IN')); + } + // + if ($filter_protocol_success == 0 or $filter_protocol_success == 1) { + $protocolCriteria->add(new Criteria('protocol_success', $filter_protocol_success)); + } + // + if ($filter_protocol_created_from != 0) { + $protocolCriteria->add(new Criteria('protocol_created', $filter_protocol_created_from, '>=')); + } + if ($filter_protocol_created_to != 0) { + $protocolCriteria->add(new Criteria('p... [truncated message content] |
From: <wis...@us...> - 2014-12-11 16:21:12
|
Revision: 12901 http://sourceforge.net/p/xoops/svn/12901 Author: wishcraft Date: 2014-12-11 16:21:06 +0000 (Thu, 11 Dec 2014) Log Message: ----------- Identity API for Session Handling Added Paths: ----------- ThirdParty/api/labs.coop/v1.1/*/identity/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/.htaccess ThirdParty/api/labs.coop/v1.1/*/identity/identity/cache/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/.htaccess ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/400.shtml ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/401.shtml ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/403.shtml ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/404.shtml ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/500.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/500.shtml ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/cgi-bin/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/apc.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/file.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/identitycache.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/memcache.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/model.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/xcache.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/file/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/file/file.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/file/folder.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/file/identityfile.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/file/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/identityHashes.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/identityhash.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/md5/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/md5/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/md5/md5.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp135/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp135/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp135/qcp135.base.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp135/qcp135.class.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp135/qcp135.enumerator.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp135/qcp135.leaver.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp135/qcp135.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp64/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp64/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp64/qcp64.base.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp64/qcp64.class.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp64/qcp64.enumerator.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp64/qcp64.leaver.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp64/qcp64.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp71/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp71/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp71/qcp71.base.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp71/qcp71.class.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp71/qcp71.enumerator.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp71/qcp71.leaver.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/qcp71/qcp71.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/sha1/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/sha1/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/sha1/sha1.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/xoopscrc/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/xoopscrc/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/xoopscrc/xoops.crc.base.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/xoopscrc/xoops.crc.class.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/xoopscrc/xoops.crc.enumerator.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/xoopscrc/xoops.crc.leaver.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/hashes/xoopscrc/xoopscrc.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/identity.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/preset.diz ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/default.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/.htaccess ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/Md5HashAPI.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/Qcp135HashAPI.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/Qcp64HashAPI.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/Qcp71HashAPI.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/Sha1HashAPI.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/XmlDomConstruct.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/XoopscrcHashAPI.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identity.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identityCache.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identityCacheApc.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identityCacheEngine.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identityCacheFile.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identityCacheMemcache.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identityCacheXcache.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identityFile.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identityFileHandler.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identityFolderHandler.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identityHashAPI.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/identityHashesAPI.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp135.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp135_base.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp135_enumerator.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp135_leaver.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp64.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp64_base.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp64_enumerator.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp64_leaver.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp71.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp71_base.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp71_enumerator.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/qcp71_leaver.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/xoops_crc.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/xoops_crc_base.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/xoops_crc_enumerator.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/classes/xoops_crc_leaver.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/bootstrap-combined.no-icons.min.css ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/font-awesome.min.css ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/jquery.iviewer.css ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/phpdocumentor-clean-icons/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/phpdocumentor-clean-icons/Read Me.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/phpdocumentor-clean-icons/fonts/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.dev.svg ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.eot ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.svg ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.ttf ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.woff ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/phpdocumentor-clean-icons/lte-ie7.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/phpdocumentor-clean-icons/style.css ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/prism.css ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/css/template.css ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/500.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/500.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fcache%2Fapc.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fcache%2Ffile.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fcache%2Fidentitycache.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fcache%2Fmemcache.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fcache%2Fmodel.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fcache%2Fxcache.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Ffile%2Ffile.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Ffile%2Ffolder.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Ffile%2Fidentityfile.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2FidentityHashes.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fidentityhash.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fmd5%2Fmd5.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp135%2Fqcp135.base.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp135%2Fqcp135.class.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp135%2Fqcp135.enumerator.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp135%2Fqcp135.leaver.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp135%2Fqcp135.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp64%2Fqcp64.base.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp64%2Fqcp64.class.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp64%2Fqcp64.enumerator.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp64%2Fqcp64.leaver.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp64%2Fqcp64.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp71%2Fqcp71.base.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp71%2Fqcp71.class.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp71%2Fqcp71.enumerator.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp71%2Fqcp71.leaver.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fqcp71%2Fqcp71.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fsha1%2Fsha1.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fxoopscrc%2Fxoops.crc.base.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fxoopscrc%2Fxoops.crc.class.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fxoopscrc%2Fxoops.crc.enumerator.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fxoopscrc%2Fxoops.crc.leaver.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fhashes%2Fxoopscrc%2Fxoopscrc.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class%2Fidentity.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.cache.apc.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.cache.file.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.cache.identitycache.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.cache.memcache.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.cache.model.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.cache.xcache.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.file.file.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.file.folder.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.file.identityfile.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.identityHashes.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.identityhash.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.md5.md5.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp135.qcp135.base.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp135.qcp135.class.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp135.qcp135.enumerator.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp135.qcp135.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp135.qcp135.leaver.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp64.qcp64.base.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp64.qcp64.class.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp64.qcp64.enumerator.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp64.qcp64.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp64.qcp64.leaver.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp71.qcp71.base.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp71.qcp71.class.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp71.qcp71.enumerator.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp71.qcp71.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.qcp71.qcp71.leaver.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.sha1.sha1.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.xoopscrc.xoops.crc.base.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.xoopscrc.xoops.crc.class.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.xoopscrc.xoops.crc.enumerator.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.xoopscrc.xoops.crc.leaver.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.hashes.xoopscrc.xoopscrc.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/class.identity.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/functions.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/functions.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/help.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/help.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/files/index.php.txt ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/font/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/font/FontAwesome.otf ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/font/fontawesome-webfont.eot ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/font/fontawesome-webfont.svg ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/font/fontawesome-webfont.ttf ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/font/fontawesome-webfont.woff ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/graphs/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/graphs/class.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/graphs/classes.svg ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/apple-touch-icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/apple-touch-icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/apple-touch-icon.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/custom-icons.svg ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/favicon.ico ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/hierarchy-item.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/icon-class-13x13.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/icon-class.svg ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/icon-interface-13x13.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/icon-interface.svg ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/icon-trait-13x13.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/icon-trait.svg ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/iviewer/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/iviewer/grab.cur ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/iviewer/hand.cur ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/iviewer/iviewer.rotate_left.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/iviewer/iviewer.rotate_right.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/iviewer/iviewer.zoom_fit.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/iviewer/iviewer.zoom_in.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/iviewer/iviewer.zoom_out.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/images/iviewer/iviewer.zoom_zero.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/index.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/bootstrap.min.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/html5.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/jquery-1.11.0.min.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/jquery.dotdotdot-1.5.9.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/jquery.dotdotdot-1.5.9.min.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/jquery.iviewer.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/jquery.iviewer.min.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/jquery.mousewheel.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/jquery.smooth-scroll.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/prism.min.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/ui/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/ui/1.10.4/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/js/ui/1.10.4/jquery-ui.min.js ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/namespaces/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/namespaces/default.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/reports/ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/reports/deprecated.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/reports/errors.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/docs/reports/markers.html ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/favicon.ico ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/functions.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/help.php ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/icon.png ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/index.php Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/.htaccess =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/.htaccess (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/.htaccess 2014-12-11 16:21:06 UTC (rev 12901) @@ -0,0 +1 @@ +Rewriteengine on \ No newline at end of file Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/.htaccess =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/.htaccess (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/.htaccess 2014-12-11 16:21:06 UTC (rev 12901) @@ -0,0 +1,12 @@ +RewriteEngine On +RewriteCond %{SERVER_PORT} !^80$ +RewriteRule .* http://%{SERVER_NAME}%{REQUEST_URI} [R,L=301] + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^v1/([a-z]+)/(.*?)/([a-z]+)/([0-9]+)/([a-z]+).api$ /index.php?unique=$2&algorithm=$3&length=$4&output=$5&type=$1 [L,NC,QSA] +RewriteRule ^v1/(.*?)/([a-z]+)/([0-9]+)/([a-z]+).api$ /index.php?unique=$1&algorithm=$2&length=$3&output=$4 [L,NC,QSA] +RewriteRule ^v1/([a-z]+)/(.*?)/([a-z]+).api$ /index.php?unique=$2&output=$3&type=$1 [L,NC,QSA] +RewriteRule ^v1/(.*?)/([a-z]+).api$ /index.php?unique=$1&type=default&output=$2 [L,NC,QSA] Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/400.shtml =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/400.shtml (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/400.shtml 2014-12-11 16:21:06 UTC (rev 12901) @@ -0,0 +1,6 @@ +<html> + <head> + <meta http-equiv="Refresh" content="0; url=https://400-bad-request.labs.coop/" /> + <title>400 Bad Request</title></head> + </head> +</html> Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/401.shtml =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/401.shtml (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/401.shtml 2014-12-11 16:21:06 UTC (rev 12901) @@ -0,0 +1,6 @@ +<html> + <head> + <meta http-equiv="Refresh" content="0; url=https://401-authorization-required.labs.coop/" /> + <title>401 Authorization Required</title></head> + </head> +</html> \ No newline at end of file Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/403.shtml =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/403.shtml (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/403.shtml 2014-12-11 16:21:06 UTC (rev 12901) @@ -0,0 +1,6 @@ +<html> + <head> + <meta http-equiv="Refresh" content="0; url=https://403-permission-denied.labs.coop/" /> + <title>403 Permission Denied</title></head> + </head> +</html> Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/404.shtml =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/404.shtml (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/404.shtml 2014-12-11 16:21:06 UTC (rev 12901) @@ -0,0 +1,6 @@ +<html> + <head> + <meta http-equiv="Refresh" content="0; url=https://404-not-found.labs.coop/" /> + <title>404 Not Found</title></head> + </head> +</html> Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/500.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/500.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/500.php 2014-12-11 16:21:06 UTC (rev 12901) @@ -0,0 +1,6 @@ +<html> + <head> + <meta http-equiv="Refresh" content="0; url=https://500-server-error.labs.coop/" /> + <title>500 Server Error</title></head> + </head> +</html> Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/500.shtml =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/500.shtml (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/500.shtml 2014-12-11 16:21:06 UTC (rev 12901) @@ -0,0 +1,6 @@ +<html> + <head> + <meta http-equiv="Refresh" content="0; url=https://500-server-error.labs.coop/" /> + <title>500 Server Error</title></head> + </head> +</html> Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-114x114.png =================================================================== (Binary files differ) Index: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-114x114.png =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-114x114.png 2014-12-11 13:19:58 UTC (rev 12900) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-114x114.png 2014-12-11 16:21:06 UTC (rev 12901) Property changes on: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-114x114.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-56x56.png =================================================================== (Binary files differ) Index: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-56x56.png =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-56x56.png 2014-12-11 13:19:58 UTC (rev 12900) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-56x56.png 2014-12-11 16:21:06 UTC (rev 12901) Property changes on: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-56x56.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-72x72.png =================================================================== (Binary files differ) Index: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-72x72.png =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-72x72.png 2014-12-11 13:19:58 UTC (rev 12900) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-72x72.png 2014-12-11 16:21:06 UTC (rev 12901) Property changes on: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/apple-touch-icon-72x72.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/apc.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/apc.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/apc.php 2014-12-11 16:21:06 UTC (rev 12901) @@ -0,0 +1,125 @@ +<?php +/** + * Chronolabs Digital Signature Generation & API Services + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Cooperative http://labs.coop + * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html) + * @package identity + * @since 1.0.1 + * @author Simon Roberts <me...@la...> + * @subpackage cache + * @description Digital Signature Generation & API Services + * @link https://identity.labs.coop Digital Signature Generation & API Services + */ + +defined('PATH_CACHE') or die('Restricted access'); + +/** + * APC storage engine for cache. + * + * + * PHP versions 4 and 5 + * + * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> + * Copyright 2005-2008, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The MIT License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. + * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project + * @package cake + * @subpackage cake.cake.libs.cache + * @since CakePHP(tm) v 1.2.0.4933 + * @version $Revision: 8066 $ + * @modifiedby $LastChangedBy: beckmi $ + * @lastmodified $Date: 2011-11-06 01:09:33 -0400 (Sun, 06 Nov 2011) $ + * @license http://www.opensource.org/licenses/mit-license.php The MIT License + */ + +/** + * APC storage engine for cache + * + * @package cake + * @subpackage cake.cake.libs.cache + */ +class identityCacheApc extends identityCacheEngine +{ + /** + * Initialize the Cache Engine + * + * Called automatically by the cache frontend + * To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array()); + * + * @param array $setting array of setting for the engine + * @return boolean True if the engine has been successfully initialized, false if not + * @see CacheEngine::__defaults + * @access public + */ + function init($settings = array()) + { + parent::init($settings); + return function_exists('apc_cache_info'); + } + + /** + * Write data for key into cache + * + * @param string $key Identifier for the data + * @param mixed $value Data to be cached + * @param integer $duration How long to cache the data, in seconds + * @return boolean True if the data was succesfully cached, false on failure + * @access public + */ + function write($key, &$value, $duration) + { + return apc_store($key, $value, $duration); + } + + /** + * Read a key from the cache + * + * @param string $key Identifier for the data + * @return mixed The cached data, or false if the data doesn't exist, has expired, or if there was an error fetching it + * @access public + */ + function read($key) + { + return apc_fetch($key); + } + + /** + * Delete a key from the cache + * + * @param string $key Identifier for the data + * @return boolean True if the value was succesfully deleted, false if it didn't exist or couldn't be removed + * @access public + */ + function delete($key) + { + return apc_delete($key); + } + + /** + * Delete all keys from the cache + * + * @return boolean True if the cache was succesfully cleared, false otherwise + * @access public + */ + function clear() + { + return apc_clear_cache('user'); + } +} + +?> \ No newline at end of file Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/file.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/file.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/file.php 2014-12-11 16:21:06 UTC (rev 12901) @@ -0,0 +1,308 @@ +<?php +/** + * Chronolabs Digital Signature Generation & API Services + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Cooperative http://labs.coop + * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html) + * @package identity + * @since 1.0.1 + * @author Simon Roberts <me...@la...> + * @subpackage cache + * @description Digital Signature Generation & API Services + * @link https://identity.labs.coop Digital Signature Generation & API Services + */ + +defined('PATH_CACHE') or die('Restricted access'); + +/** + * File Storage engine for cache + * + * + * PHP versions 4 and 5 + * + * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> + * Copyright 2005-2008, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The MIT License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. + * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project + * @package cake + * @subpackage cake.cake.libs.cache + * @since CakePHP(tm) v 1.2.0.4933 + * @version $Revision: 10686 $ + * @modifiedby $LastChangedBy: beckmi $ + * @lastmodified $Date: 2013-01-06 14:07:24 -0500 (Sun, 06 Jan 2013) $ + * @license http://www.opensource.org/licenses/mit-license.php The MIT License + */ + +/** + * File Storage engine for cache + * + * @todo use the File and Folder classes (if it's not a too big performance hit) + * @package cake + * @subpackage cake.cake.libs.cache + */ +class identityCacheFile extends identityCacheEngine +{ + /** + * Instance of File class + * + * @var object + * @access private + */ + var $file = null; + + /** + * settings + * path = absolute path to cache directory, default => CACHE + * prefix = string prefix for filename, default => identity_ + * lock = enable file locking on write, default => false + * serialize = serialize the data, default => false + * + * @var array + * @see CacheEngine::__defaults + * @access public + */ + var $settings = array(); + + /** + * Set to true if FileEngine::init(); and FileEngine::active(); do not fail. + * + * @var boolean + * @access private + */ + var $active = false; + + /** + * True unless FileEngine::active(); fails + * + * @var boolean + * @access private + */ + var $init = true; + + /** + * Initialize the Cache Engine + * + * Called automatically by the cache frontend + * To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array()); + * + * @param array $setting array of setting for the engine + * @return boolean True if the engine has been successfully initialized, false if not + * @access public + */ + function init($settings = array()) + { + parent::init($settings); + $defaults = array('path' => PATH_CACHE , 'extension' => '.php' , 'prefix' => 'identity_' , 'lock' => false , 'serialize' => false , 'duration' => 31556926); + $this->settings = array_merge($defaults, $this->settings); + if (!isset($this->file)) { + include_once PATH_CACHE . _DS_ . 'class' . _DS_ . 'file' . _DS_ . 'identityfile.php'; + $this->file = identityFile::getHandler('file', $this->settings['path'] . '/index.html', true); + } + $this->settings['path'] = $this->file->folder->cd($this->settings['path']); + if (empty($this->settings['path'])) { + return false; + } + return $this->active(); + } + + /** + * Garbage collection. Permanently remove all expired and deleted data + * + * @return boolean True if garbage collection was succesful, false on failure + * @access public + */ + function gc() + { + return $this->clear(true); + } + + /** + * Write data for key into cache + * + * @param string $key Identifier for the data + * @param mixed $data Data to be cached + * @param mixed $duration How long to cache the data, in seconds + * @return boolean True if the data was succesfully cached, false on failure + * @access public + */ + function write($key, $data = null, $duration = null) + { + if (!isset($data) || ! $this->init) { + return false; + } + + if ($this->setKey($key) === false) { + return false; + } + + if ($duration == null) { + $duration = $this->settings['duration']; + } + $windows = false; + $lineBreak = "\n"; + + if (substr(PHP_OS, 0, 3) == "WIN") { + $lineBreak = "\r\n"; + $windows = true; + } + $expires = time() + $duration; + if (!empty($this->settings['serialize'])) { + if ($windows) { + $data = str_replace('\\', '\\\\\\\\', serialize($data)); + } else { + $data = serialize($data); + } + $contents = $expires . $lineBreak . $data . $lineBreak; + } else { + $contents = $expires . $lineBreak . "return " . var_export($data, true) . ";" . $lineBreak; + } + + if ($this->settings['lock']) { + $this->file->lock = true; + } + $success = $this->file->write($contents); + $this->file->close(); + return $success; + } + + /** + * Read a key from the cache + * + * @param string $key Identifier for the data + * @return mixed The cached data, or false if the data doesn't exist, has expired, or if there was an error fetching it + * @access public + */ + function read($key) + { + if ($this->setKey($key) === false || ! $this->init) { + return false; + } + if ($this->settings['lock']) { + $this->file->lock = true; + } + $cachetime = $this->file->read(11); + + if ($cachetime !== false && intval($cachetime) < time()) { + $this->file->close(); + $this->file->delete(); + return false; + } + + $data = $this->file->read(true); + if (!empty($data) && !empty($this->settings['serialize'])) { + $data = stripslashes($data); + $data = preg_replace('!s:(\d+):"(.*?)";!se', "'s:'.strlen('$2').':\"$2\";'", $data); + $data = unserialize($data); + } else if ($data && empty($this->settings['serialize'])) { + $data = eval($data); + } + $this->file->close(); + return $data; + } + + /** + * Delete a key from the cache + * + * @param string $key Identifier for the data + * @return boolean True if the value was successfully deleted, false if it didn't exist or couldn't be removed + * @access public + */ + function delete($key) + { + if ($this->setKey($key) === false || ! $this->init) { + return false; + } + return $this->file->delete(); + } + + /** + * Delete all values from the cache + * + * @param boolean $check Optional - only delete expired cache items + * @return boolean True if the cache was succesfully cleared, false otherwise + * @access public + */ + function clear($check = true) + { + if (!$this->init) { + return false; + } + $dir = dir($this->settings['path']); + if ($check) { + $now = time(); + $threshold = $now - $this->settings['duration']; + } + while (($entry = $dir->read()) !== false) { + if ($this->setKey(str_replace($this->settings['prefix'], '', $entry)) === false) { + continue; + } + if ($check) { + $mtime = $this->file->lastChange(); + + if ($mtime === false || $mtime > $threshold) { + continue; + } + + $expires = $this->file->read(11); + $this->file->close(); + + if ($expires > $now) { + continue; + } + } + $this->file->delete(); + } + $dir->close(); + return true; + } + + /** + * Get absolute file for a given key + * + * @param string $key The key + * @return mixed Absolute cache file for the given key or false if erroneous + * @access private + */ + function setKey($key) + { + $this->file->folder->cd($this->settings['path']); + $this->file->name = $this->settings['prefix'] . $key . $this->settings['extension']; + $this->file->handle = null; + $this->file->info = null; + if (!$this->file->folder->inPath($this->file->pwd(), true)) { + return false; + } + } + /** + * Determine is cache directory is writable + * + * @return boolean + * @access private + */ + function active() + { + if (!$this->active && $this->init && ! is_writable($this->settings['path'])) { + $this->init = false; + trigger_error(sprintf('%s is not writable', $this->settings['path']), E_USER_WARNING); + } else { + $this->active = true; + } + return true; + } +} + +?> \ No newline at end of file Added: ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/identitycache.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/identitycache.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/identity/identity/public_html/class/cache/identitycache.php 2014-12-11 16:21:06 UTC (rev 12901) @@ -0,0 +1,520 @@ +<?php +/** + * Chronolabs Digital Signature Generation & API Services + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Cooperative http://labs.coop + * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html) + * @package identity + * @since 1.0.1 + * @author Simon Roberts <me...@la...> + * @subpackage cache + * @description Digital Signature Generation & API Services + * @link https://identity.labs.coop Digital Signature Generation & API Services + */ + +defined('PATH_CACHE') or die('Restricted access'); + +/** + * Caching for CakePHP. + * + * @package cake + * @subpackage cake.cake.libs + */ +class identityCache +{ + /** + * Cache engine to use + * + * @var object + * @access protected + */ + var $engine = null; + // static $engine = null; + + + /** + * Cache configuration stack + * + * @var array + * @access private + */ + var $configs = array(); + + /** + * Holds name of the current configuration being used + * + * @var array + * @access private + */ + var $name = null; + + /** + * identityCache::__construct() + */ + function __construct() + { + } + + + function __destruct() + { + if (!$caches = self::read('caches-identitytypes')) + $caches = array(); + $caches[$key] = time().$duration; + foreach($caches as $key => $time) + { + if (time()>$time) { + self::delete($key); + unset($caches[$key]); + } + } + $this->write('caches-identitytypes', $caches, 3600 * 24 * 7 * 4 * 12); + } + + /** + * Returns a singleton instance + * + * @return object + * @access public + */ + static function &getInstance() + { + static $instance; + if (!isset($instance)) { + $class = __CLASS__; + $instance = new $class(); + } + return $instance; + } + + /** + * Tries to find and include a file for a cache engine and returns object instance + * + * @param $name Name of the engine + * @return mixed $engine object or null + * @access private + */ + function loadEngine($name) + { + if (!class_exists('identityCache' . ucfirst($name))) { + if (file_exists($file = dirname(__FILE__) . '/' . strtolower($name) . '.php')) { + include $file; + } else { + trigger_error('File :' . $file . ' not found in file : ' . __FILE__ . ' at line: ' . __LINE__, E_USER_WARNING); + return false; + } + } + return true; + } + + /** + * Set the cache configuration to use + * + * @param string $name Name of the configuration + * @param array $settings Optional associative array of settings passed to the engine + * @return array (engine, settings) on success, false on failure + * @access public + */ + function config($name = 'default', $settings = array()) + { + $_this =& identityCache::getInstance(); + if (is_array($name)) { + extract($name); + } + + if (isset($_this->configs[$name])) { + $settings = array_merge($_this->configs[$name], $settings); + } else if (!empty($settings)) { + $_this->configs[$name] = $settings; + } else if ($_this->configs !== null && isset($_this->configs[$_this->name])) { + $name = $_this->name; + $settings = $_this->configs[$_this->name]; + } else { + $name = 'default'; + if (!empty($_this->configs['default'])) { + $settings = $_this->configs['default']; + } else { + $settings = array( + 'engine' => 'file'); + } + } + $engine = 'file'; + if (!empty($settings['engine'])) { + $engine = $settings['engine']; + } + + if ($name !== $_this->name) { + if ($_this->engine($engine, $settings) === false) { + trigger_error("Cache Engine {$engine} is not set", E_USER_WARNING); + return false; + } + $_this->name = $name; + $_this->configs[$name] = $_this->settings($engine); + } + + $settings = $_this->configs[$name]; + return compact('engine', 'settings'); + } + + /** + * Set the cache engine to use or modify settings for one instance + * + * @param string $name Name of the engine (without 'Engine') + * @param array $settings Optional associative array of settings passed to the engine + * @return boolean True on success, false on failure + * @access public + */ + function engine($name = 'file', $settings = array()) + { + if (!$name) { + return false; + } + + $cacheClass = 'identityCache' . ucfirst($name); + $_this =& identityCache::getInstance(); + if (!isset($_this->engine[$name])) { + if ($_this->loadEngine($name) === false) { + trigger_error("Cache Engine {$name} is not loaded", E_USER_WARNING); + return false; + } + $_this->engine[$name] = new $cacheClass(); + } + + if ($_this->engine[$name]->init($settings)) { + if (time() % $_this->engine[$name]->settings['probability'] == 0) { + $_this->engine[$name]->gc(); + } + return true; + } + $_this->engine[$name] = null; + trigger_error("Cache Engine {$name} is not initialized", E_USER_WARNING); + return false; + } + + /** + * Garbage collection + * + * Permanently remove all expired and deleted data + * + * @access public + */ + function gc() + { + $_this =& identityCache::getInstance(); + $config = $_this->config(); + extract($config); + $_this->engine[$engine]->gc(); + } + + /** + * Write data for key into cache + * + * @param string $key Identifier for the data + * @param mixed $value Data to be cached - anything except a resource + * @param mixed $duration Optional - string configuration name OR how long to cache the data, either in seconds or a + * string that can be parsed by the strtotime() function OR array('config' => 'default', 'duration' => '3600') + * @return boolean True if the data was successfully cached, false on failure + * @access public + */ + function write($key, $value, $duration = null) + { + if ($key!='caches-identitytypes') { + if (!$caches = self::read('caches-identitytypes')) + $caches = array(); + $caches[$key] = time().$duration; + self::write('caches-identitytypes', $caches, 3600 * 24 * 7 * 4 * 12); + } + if ($key!='caches-identitytypes') { + $key = substr(sha1($_SERVER['HTTP_HOST']), 8, 19) . '_' . $key; + } + $_this =& identityCache::getInstance(); + $config = null; + if (is_array($duration)) { + extract($duration); + } else if (isset($_this->configs[$duration])) { + $config = $duration; + $duration = null; + } + $config = $_this->config($config); + + if (!is_array($config)) { + return null; + } + extract($config); + + if (!$_this->isInitialized($engine)) { + trigger_error('Cache write not initialized: ' . $engine); + return false; + } + + if (!$key = $_this->key($key)) { + return false; + } + + if (is_resource($value)) { + return false; + } + + if (!$duration) { + $duration = $settings['duration']; + } + $duration = is_numeric($duration) ? intval($duration) : strtotime($duration) - time(); + + if ($duration < 1) { + return false; + } + $_this->engine[$engine]->init($settings); + $success = $_this->engine[$engine]->write($key, $value, $duration); + return $success; + } + + /** + * Read a key from the cache + * + * @param string $key Identifier for the data + * @param string $config name of the configuration to use + * @return mixed The cached data, or false if the data doesn't exist, has expired, or if there was an error fetching it + * @access public + */ + static function read($key, $config = null) + { + if ($key!='caches-identitytypes') + $key = substr(sha1($_SERVER['HTTP_HOST']), 8, 19) . '_' . $key; + $_this =& identityCache::getInstance(); + $config = $_this->config($config); + + if (!is_array($config)) { + return null; + } + + extract($config); + + if (!$_this->isInitialized($engine)) { + return false; + } + if (!$key = $_this->key($key)) { + return false; + } + $_this->engine[$engine]->init($settings); + $success = $_this->engine[$engine]->read($key); + return $success; + } + + /** + * Delete a key from the cache + * + * @param string $key Identifier for the data + * @param string $config name of the configuration to use + * @return boolean True if the value was succesfully deleted, false if it didn't exist or couldn't be removed + * @access public + */ + function delete($key, $config = null) + { + if ($key!='caches-identitytypes') + $key = substr(sha1($_SERVER['HTTP_HOST']), 8, 19) . '_' . $key; + $_this =& identityCache::getInstance(); + + $config = $_this->config($config); + extract($config); + + if (!$_this->isInitialized($engine)) { + return false; + } + + if (!$key = $_this->key($key)) { + return false; + } + + $_this->engine[$engine]->init($settings); + $success = $_this->engine[$engine]->delete($key); + return $success; + } + + /** + * Delete all keys from the cache + * + * @param boolean $check if true will check expiration, otherwise delete all + * @param string $config name of the configuration to use + * @return boolean True if the cache was succesfully cleared, false otherwise + * @access public + */ + function clear($check = false, $config = null) + { + $_this =& identityCache::getInstance(); + $config = $_this->config($config); + extract($config); + + if (!$_this->isInitialized($engine)) { + return false; + } + $success = $_this->engine[$engine]->clear($check); + $_this->engine[$engine]->init($settings); + return $success; + } + + /** + * Check if Cache has initialized a working storage engine + * + * @param string $engine Name of the engine + * @param string $config Name of the configuration setting + * @return bool + * @access public + */ + function isInitialized($engine = null) + { + $_this =& identityCache::getInstance(); + if (!$engine && isset($_this->configs[$_this->name]['engine'])) { + $engine = $_this->configs[$_this->name]['engine']; + } + + return isset($_this->engine[$engine]); + } + + /** + * Return the settings for current cache engine + * + * @param string $... [truncated message content] |
From: <wis...@us...> - 2014-12-11 13:20:12
|
Revision: 12900 http://sourceforge.net/p/xoops/svn/12900 Author: wishcraft Date: 2014-12-11 13:19:58 +0000 (Thu, 11 Dec 2014) Log Message: ----------- Subjected API for Conversion to XoopsAPI -- Xoops 2.x Added Paths: ----------- ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/index.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.base.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.class.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.enumerator.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.leaver.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/index.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.base.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.class.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.enumerator.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.leaver.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp71/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp71/index.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp71/qcp71.base.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp71/qcp71.class.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp71/qcp71.enumerator.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp71/qcp71.leaver.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp71/qcp71.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/xoopscrc/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/xoopscrc/index.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/xoopscrc/xoops.crc.base.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/xoopscrc/xoops.crc.class.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/xoopscrc/xoops.crc.enumerator.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/xoopscrc/xoops.crc.leaver.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/xoopscrc/xoopscrc.php Added: ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/index.html =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/index.html (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/index.html 2014-12-11 13:19:58 UTC (rev 12900) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.base.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.base.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.base.php 2014-12-11 13:19:58 UTC (rev 12900) @@ -0,0 +1,553 @@ +<?php +// $Id: qcp135.base.php 1.1.0 - QCP135 2008-08-15 9:22:20 wishcraft $ +// ------------------------------------------------------------------------ // +// CLORA - Chronolabs Australia // +// Copyright (c) 2008 // +// <http://www.chronolabs.org.au/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the SDPL Source Directive Public Licence // +// as published by Chronolabs Australia; either version 2 of the License, // +// (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 Chronolab Australia // +// Chronolabs International PO BOX 699, DULWICH HILL, NSW, 2203, Australia // +// ------------------------------------------------------------------------ // + +if (!class_exists('qcp135_base')) +{ + // error_reporting(0); + + class qcp135_base extends qcp135 + { + + var $base; + var $seed; + var $mode; + var $roll; + var $num_evr; + + function __construct ($seed = 127) + { + if ($seed<1) + { + $this->seed = 1; + } elseif ($seed>255) { + $this->seed = 256; + } else { + $this->seed = $seed; + } + $base = $this->_set_base(); + return $this->get_base(); + } + + private function _set_base() + { + + if ($this->seed < 65) + { + $case=true; + } else { + $case=false; + } + + $this->roll = ($this->seed / (3+(1/6))); + $this->num_evr = floor((34.32 / ($this->roll/$this->seed))/($this->seed*($this->roll/17.8))); + + if ($this->roll<16) + { + $this->mode = '1'; + } elseif ($this->roll >15 && $this->roll<32) { + $this->mode = '2'; + } elseif ($this->roll >32 && $this->roll<48) { + $this->mode = '3'; + } elseif ($this->roll >48 ) { + $this->mode = '4'; + } + + if ($this->num_evr==0) + { + $this->num_evr = floor((($this->seed/$this->mode)/($this->mode*3.015))); + } elseif ($this->num_evr>8) { + $this->num_evr = $this->num_evr - floor($this->mode*1.35); + } + + + + $this->base = array(); + switch ($this->mode){ + case 1: + $ii = 0; + $num = 0; + $letter = "a"; + for ($qcb=1;$qcb<32;$qcb++) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; + if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=64;$qcb>31;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; + if (strlen($letter++)>1) { $letter="a"; } + } + } + break; + case 2: + $ii = 0; + $num = 0; + $letter = "a"; + for ($qcb=32;$qcb>0;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; + if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=32;$qcb<65;$qcb++) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; + if (strlen($letter++)>1) { $letter="a"; } + } + } + break; + case 3: + $ii = 0; + $num = 0; + $letter = "a"; + for ($qcb=1;$qcb<17;$qcb++) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; + if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=64;$qcb>47;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; + if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=32;$qcb>16;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; + if (strlen($letter++)>1) { $letter="a"; } + } + } + + + for ($qcb=32;$qcb<48;$qcb++) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; + if (strlen($letter++)>1) { $letter="a"; } + } + } + break; + case 4: + $ii = 0; + $num = 0; + $letter = "a"; + + for ($qcb=17;$qcb>0;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; + if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=17;$qcb<49;$qcb++) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; + if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=64;$qcb>48;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; + if (strlen($letter++)>1) { $letter="a"; } + } + } + break; + } + } + + function get_base() + { + return $this->base; + + } + + function debug_base() + { + $base = array(); + foreach ($this->base as $key => $data) + { + $base[$key] = array("char" => $data, + "ord" => ord($data), + "bin" => decbin(ord($data))); + } + + return array("mode" => $this->mode, "roll" => $this->roll, + "seed" => $this->seed, "mode" => $this->mode, + "num_evr" => $this->num_evr, "base" => $this->base, + "debug" => $base); + } + } +} + +?> \ No newline at end of file Added: ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.class.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.class.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.class.php 2014-12-11 13:19:58 UTC (rev 12900) @@ -0,0 +1,75 @@ +<?php +// $Id: qcp135.class.php 1.1.0 - QCP135 2008-08-15 9:22:20 wishcraft $ +// ------------------------------------------------------------------------ // +// CLORA - Chronolabs Australia // +// Copyright (c) 2008 // +// <http://www.chronolabs.org.au/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the SDPL Source Directive Public Licence // +// as published by Chronolabs Australia; either version 2 of the License, // +// (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 Chronolab Australia // +// Chronolabs International PO BOX 699, DULWICH HILL, NSW, 2203, Australia // +// ------------------------------------------------------------------------ // + +if (!class_exists('qcp135')) +{ + + // error_reporting(E_ERROR); + + class qcp135 + { + var $base; + var $enum; + var $seed; + var $crc; + + function __construct($data, $seed, $len=29) + { + $this->seed = $seed; + $this->length = $len; + $this->base = new qcp135_base((int)$seed); + $this->enum = new qcp135_enumerator($this->base); + + if (!empty($data)) + { + for ($i=1; $i<strlen($data); $i++) + { + $enum_calc = $this->enum->enum_calc(substr($data,$i,1),$enum_calc); + } + $qcp135_crc = new qcp135_leaver($enum_calc, $this->base, $this->length); + $this->crc = $qcp135_crc->crc; + } + + } + + function calc($data) + { + for ($i=1; $i<strlen($data); $i++) + { + $enum_calc = $this->enum->enum_calc(substr($data,$i,1),$enum_calc); + } + $qcp135_crc = new qcp135_leaver($enum_calc, $this->base, $this->length); + return $qcp135_crc->crc; + } + } +} + +require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'qcp135.base.php'); +require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'qcp135.enumerator.php'); +require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'qcp135.leaver.php'); + + Added: ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.enumerator.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.enumerator.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.enumerator.php 2014-12-11 13:19:58 UTC (rev 12900) @@ -0,0 +1,325 @@ +<?php +// $Id: qcp135.enumerator.php 1.1.0 - QCP135 2008-08-15 9:22:20 wishcraft $ +// ------------------------------------------------------------------------ // +// CLORA - Chronolabs Australia // +// Copyright (c) 2008 // +// <http://www.chronolabs.org.au/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the SDPL Source Directive Public Licence // +// as published by Chronolabs Australia; either version 2 of the License, // +// (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 Chronolab Australia // +// Chronolabs International PO BOX 699, DULWICH HILL, NSW, 2203, Australia // +// ------------------------------------------------------------------------ // + +if (!class_exists('qcp135_enumerator')) +{ + // error_reporting(0); + + class qcp135_enumerator extends qcp135 + { + + var $elekey; + var $base; + var $len; + + function __construct ($base, $len) + { + @$this->len = $len; + @$this->setElements($base); + } + + private function setElements($base) + { + @$this->base = $base; + @$this->elekey = array(); + + foreach ($base->base as $key => $data) + { + if (strlen((string)$data)==1) + { + if (strlen(bindec(ord($data)))==5) + { + $offset = array("ice" => (int)substr(decbin(ord($data)),5,1), + "icd" => (int)substr(decbin(ord($data)),4,1), + "icc" => (int)substr(decbin(ord($data)),3,1), + "icb" => (int)substr(decbin(ord($data)),2,1), + "ica" => (int)substr(decbin(ord($data)),1,1)); + if (substr(decbin(ord($data)),5,1)==1) + { + $offset['icf'] = 0; + } else { + $offset['icf'] = 1; + } + } elseif (strlen(decbin(ord($data)))==6) + { + $offset = array("icf" => (int)substr(decbin(ord($data)),6,1), + "ice" => (int)substr(decbin(ord($data)),5,1), + "icd" => (int)substr(decbin(ord($data)),4,1), + "icc" => (int)substr(decbin(ord($data)),3,1), + "icb" => (int)substr(decbin(ord($data)),2,1), + "ica" => (int)substr(decbin(ord($data)),1,1)); + } elseif (strlen(decbin(ord($data)))==7) + { + $offset = array("ica" => (int)substr(decbin(ord($data)),6,1), + "icb" => (int)substr(decbin(ord($data)),5,1), + "icc" => (int)substr(decbin(ord($data)),4,1), + "icd" => (int)substr(decbin(ord($data)),3,1), + "ice" => (int)substr(decbin(ord($data)),2,1), + "icf" => (int)substr(decbin(ord($data)),1,1)); + } + } else { + $offset = array("ica" => (int)substr(decbin(ord(substr($key,strlen($key)-1,1))),6,1), + "icb" => (int)substr(decbin(ord(substr($key,strlen($key)-1,1))),5,1), + "icc" => (int)substr(decbin(ord(substr($key,strlen($key)-1,1))),4,1), + "icd" => (int)substr(decbin(ord(substr($key,strlen($key)-1,1))),2,1), + "ice" => (int)substr(decbin(ord(substr($key,strlen($key)-1,1))),1,1), + "icf" => (int)substr(decbin(ord(substr($key,strlen($key)-1,1))),0,1)); + + } + + if (strlen(decbin(ord($data)))==7) + { + if (strlen($data)==1) + { + $cycle = array("icf", "ice", "icd", "icc", "icb", "ica"); + foreach ($cycle as $element) + { + if ($done==false) + { + if ($offset[$element]=='0') + { + if ($prev_ele!='') + { + if ($offset[$prev_ele] == '1') + { + $offset[$prev_ele] = '0'; + } else { + $offset[$prev_ele] = '1'; + } + } + $offset[$element]= '1'; + $done=true; + } + } + } + + } else { + $cycle = array("ica", "icb", "icc", "icd", "ice", "icf"); + foreach ($cycle as $element) + { + if ($done==false) + { + if ($offset[$element]=='0') + { + if ($prev_ele!='') + { + if ($offset[$prev_ele] == '1') + { + $offset[$prev_ele] = '0'; + } else { + $offset[$prev_ele] = '1'; + } + } + $offset[$element]= '1'; + $done=true; + } + } + } + } + } + $done=false; + if (strlen($data)==1) + { + @$this->elekey[$key] = array("key" => $data, + "bin" => decbin(ord($data)), + "offset" => $offset, + "flip" => 0); + } else { + @$this->elekey[$key] = array("key" => $data, + "bin" => decbin(ord($data)), + "offset" => $offset, + "flip" => 1); + } + } + + } + + private function getBytePos($char) + { + return floor((ord($char)+1)/4); + } + + function enum_calc ($char, $enum_calc, $debug=false) + { + static $flip; + + foreach ($enum_calc as $key => $value) + { + ${$key} = $value; + } + + static $charnum; + $charnum++; + if ($charnum>3) + { + $charnum=1; + } + + $nx_key.= $char; + + if ($this->len>15) + { + if (strlen($nx_key)>$this->len) + { + $nx_key = substr($nx_key, strlen($nx_key)/($charnum+1), strlen($nx_key) - (strlen($nx_key)/($charnum+1))).substr($nx_key, 1, strlen($nx_key)-(strlen($nx_key) - (strlen($nx_key)/($charnum+1)))); + } + } else { + if (strlen($nx_key)>32) + { + $nx_key = substr($nx_key, strlen($nx_key)/($charnum+1), strlen($nx_key) - (strlen($nx_key)/($charnum+1))).substr($nx_key, 1, strlen($nx_key)-(strlen($nx_key) - (strlen($nx_key)/($charnum+1)))); + } + } + + if ($this->elekey[$this->getBytePos($char)]['flip']==0) + { + $ica = $this->elekey[$this->getBytePos($char)]['offset']['ica']; + $icb = $this->elekey[$this->getBytePos($char)]['offset']['icb']; + $icc = $this->elekey[$this->getBytePos($char)]['offset']['icc']; + $icd = $this->elekey[$this->getBytePos($char)]['offset']['icd']; + $ice = $this->elekey[$this->getBytePos($char)]['offset']['ice']; + $icf = $this->elekey[$this->getBytePos($char)]['offset']['icf']; + } else { + if ($charnum==1) + { + $icf = $this->elekey[$this->getBytePos($char)]['offset']['ica']; + $ice = $this->elekey[$this->getBytePos($char)]['offset']['icb']; + $icd = $this->elekey[$this->getBytePos($char)]['offset']['icc']; + $icc = $this->elekey[$this->getBytePos($char)]['offset']['icd']; + $icb = $this->elekey[$this->getBytePos($char)]['offset']['ice']; + $ica = $this->elekey[$this->getBytePos($char)]['offset']['icf']; + } elseif ($charnum==2) + { + $icf = $this->elekey[$this->getBytePos($char)]['offset']['ica']; + $ice = $this->elekey[$this->getBytePos($char)]['offset']['icb']; + $icd = $this->elekey[$this->getBytePos($char)]['offset']['icc']; + $icc = $this->elekey[$this->getBytePos($char)]['offset']['icf']; + $icb = $this->elekey[$this->getBytePos($char)]['offset']['ice']; + $ica = $this->elekey[$this->getBytePos($char)]['offset']['icd']; + } else + { + $icf = $this->elekey[$this->getBytePos($char)]['offset']['icc']; + $ice = $this->elekey[$this->getBytePos($char)]['offset']['icb']; + $icd = $this->elekey[$this->getBytePos($char)]['offset']['ica']; + $icc = $this->elekey[$this->getBytePos($char)]['offset']['icd']; + $icb = $this->elekey[$this->getBytePos($char)]['offset']['ice']; + $ica = $this->elekey[$this->getBytePos($char)]['offset']['icf']; + } + } + for ($icount=1; $icount<65; $icount++) + { + if ($this->elekey[$icount]['offset']['ica'] == $icb && $this->elekey[$icount]['offset']['icb'] == $icc && $this->elekey[$icount]['offset']['icc'] == $icd) { + $nuclear .= '10'; + if ($icb = $this->elekey[$icount]['flip']) { + $nuclear .= '0'; + } else { + $nuclear .= '1'; + } + if ($icc = $this->elekey[$icount]['flip']) { + $nuclear .= '0'; + } else { + $nuclear .= '1'; + } + if ($icd = $this->elekey[$icount]['flip']) { + $nuclear .= '0'; + } else { + $nuclear .= '1'; + } + } + + if ($this->elekey[$icount]['offset']['ica'] == $icc && $this->elekey[$icount]['offset']['icb'] == $icd && $this->elekey[$icount]['offset']['icc'] == $ice) { + $nuclear .= '01'; + if ($icb = $this->elekey[$icount]['flip']) { + $nuclear .= '0'; + } else { + $nuclear .= '1'; + } + if ($icc = $this->elekey[$icount]['flip']) { + $nuclear .= '0'; + } else { + $nuclear .= '1'; + } + if ($icd = $this->elekey[$icount]['flip']) { + $nuclear .= '0'; + } else { + $nuclear .= '1'; + } + } + } + + // Change in version 1.6.4 + if (strlen($nuclear)>32768) + $nuclear = substr($nuclear,strlen($nuclear)-32768,32768); + + $result = $result + $ica; + $prince = $prince + $icb; + $karma = $karma + $icc; + $motivation = $motivation + $icd; + $official = $official + $ice; + $outsidecause = $outsidecause + $icf; + + if ($ica == '0') {$yang = $yang + 1;} else {$yin = $yin + 1;} + if ($icb == '0') {$yang = yang + 1;} else {$yin = $yin + 1;} + if ($icc == '0') {$yang = $yang+ 1;} else {$yin = $yin + 1;} + if ($icd == '0') {$yang = $yang + 1;} else {$yin = $yin + 1;} + if ($ice == '0') {$yang = yang + 1;} else {$yin = $yin + 1;} + if ($icf == '0') {$yang = $yang+ 1;} else {$yin = $yin + 1;} + + if ($debug==true) + { + + $data[sizeof($data)+1] = array("pos" => $this->getBytePos($char), + "elements" => $this->elekey); + + $result = array("result" => $result, + "prince" => $prince, + "karma" => $karma, + "motivation" => $motivation, + "official" => $official, + "outsidecause" => $outsidecause, + "nuclear" => $nuclear, + "yin" => $yin, + "yang" => $yang, + "nx_key" => $nx_key, + "data"=> $data); + } else { + $result = array("result" => $result, + "prince" => $prince, + "karma" => $karma, + "motivation" => $motivation, + "official" => $official, + "outsidecause" => $outsidecause, + "nuclear" => $nuclear, + "yin" => $yin, + "yang" => $yang, + "nx_key" => $nx_key); + + } + + return $result; + } + } +} \ No newline at end of file Added: ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.leaver.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.leaver.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.leaver.php 2014-12-11 13:19:58 UTC (rev 12900) @@ -0,0 +1,162 @@ +<?php +// $Id: qcp135.leaver.php 1.1.0 - QCP135 2008-08-15 9:22:20 wishcraft $ +// ------------------------------------------------------------------------ // +// CLORA - Chronolabs Australia // +// Copyright (c) 2008 // +// <http://www.chronolabs.org.au/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the SDPL Source Directive Public Licence // +// as published by Chronolabs Australia; either version 2 of the License, // +// (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 Chronolab Australia // +// Chronolabs International PO BOX 699, DULWICH HILL, NSW, 2203, Australia // +// ------------------------------------------------------------------------ // + +if (!class_exists('qcp135_leaver')) +{ + // error_reporting(E_ERROR); + + class qcp135_leaver extends qcp135 + { + var $crc; + + function __construct($enum_calc, $base, $len=29) + { + @$this->crc = $this->calc_crc($enum_calc, $base, $len); + } + + function calc_crc ($enum_calc, $base, $len) + { + for ($qi=0; $qi<$len+1; $qi++) + { + $da = floor(9*($qi/$len)); + $pos = $this->GetPosition($enum_calc, $len, $qi); + $pos = ceil($pos / ($len/ ($qi-1))); + for($v=-$qi;$v<$pos;$v++) + { + if ($c>64) + $c=0; + + $c++; + } + if (strlen($base->base[$c])>1) + { + $crc .= $da; + } else { + $crc .= $base->base[$c]; + } + + + if ($qi<ceil($len/3)) + { + $crc = $this->nux_cycle($crc, $enum_calc['result'], $len); + $crc = $this->nux_cycle($crc, $enum_calc['prince'], $len); + } elseif ($qi<(ceil($len/3)*2)) { + $crc = $this->nux_cycle($crc, $enum_calc['karma'], $len); + $crc = $this->nux_cycle($crc, $enum_calc['motivation'], $len); + } else { + $crc = $this->nux_cycle($crc, $enum_calc['official'], $len); + $crc = $this->nux_cycle($crc, $enum_calc['outsidecause'], $len); + } + + $crc = $this->nux_cycle($crc, $enum_calc['yang'], $len); + } + + $crc = $this->nux_cycle($crc, $enum_calc['yin'], $len); + + $crc = $this->nux_xor($crc, $enum_calc['nx_key']); + + for ($qi=0; $qi<$len+1; $qi++) + { + $da = $len-floor(9*($qi/$len)); + $pos = ceil(ord($crc{$qi}) / 4); + for($v=-$qi;$v<$pos;$v++) + { + if ($c>64) + $c=0; + + $c++; + } + if (strlen($base->base[$c])>1) + { + $final_crc .= $da; + } else { + $final_crc .= $base->base[$c]; + } + } + return $final_crc; + } + + private function GetPosition($enum_calc, $len, $qi) + { + if ($enum_calc['yin']>$enum_calc['yang']) + { + $cycle = floor((256*($enum_calc['yin']/$enum_calc['yang']))/(256*($enum_calc['yang']/$enum_calc['yin'])))+($len - $qi); + } else { + $cycle = ceil((256*($enum_calc['yang']/$enum_calc['yin']))/(256*($enum_calc['yin']/$enum_calc['yang'])))+($len - $qi); + } + + $result = $this->nuc_step($enum_calc['nuclear'], $enum_calc['result'], $cycle+$qi); + $prince = $this->nuc_step($enum_calc['nuclear'], $enum_calc['prince'], $cycle+$qi); + $karma = $this->nuc_step($enum_calc['nuclear'], $enum_calc['karma'], $cycle+$qi); + $motivation = $this->nuc_step($enum_calc['nuclear'], $enum_calc['motivation'], $cycle+$qi); + $official = $this->nuc_step($enum_calc['nuclear'], $enum_calc['official'], $cycle+$qi); + $outsidecause = $this->nuc_step($enum_calc['nuclear'], $enum_calc['outsidecause'], $cycle+$qi); + + $char = decbin($result.$prince.$karma.$motivation.$official.$outsidecause); + + return (ord($char)); + } + + private function nuc_step($nuclear, $var, $cycle) + { + $c=1; + for($v=0;$v<($var+$cycle);$v++) + { + if ($c>strlen($nuclear)) + $c=0; + + $c++; + } + return substr($nuclear,$c,1); + } + + private function nux_cycle($crc, $var, $len) + { + for($v=0;$v<($var+1);$v++) + { + for($y=1;$y<$len;$y++) + { + $crc = substr($crc, $y, $len - $y).substr($crc, 0, $len-($len - $y)); + } + } + return $crc; + } + + private function nux_xor($text_crc, $key) + { + for($i=0;$i<strlen($text_crc);) // Dont need to increment here + { + for($j=0;$j<strlen($key);$j++,$i++) + { + $crc .= $text_crc{$i} ^ $key{$j}; + } + } + return $crc; + } + + } +} \ No newline at end of file Added: ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp135/qcp135.php 2014-12-11 13:19:58 UTC (rev 12900) @@ -0,0 +1,121 @@ +<?php +/** + * XOOPS checksum handler + * + * 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 GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package kernel + * @since 2.5.5 + * @author Simon Roberts (AKA wishcraft) http://www.chronolabs.com.au/ + * @version $Id: xoopscrc.php 8066 2012-09-08 12:19:00Z wishcraft $ + */ + +include_once dirname(__FILE__).'/qcp135.class.php'; + + +if (!class_exists('Qcp135HashAPI')) { + class Qcp135HashAPI extends hashAPI { + + /** + * 3rd Party class/function to use for generation of checksum + * + */ + var $_class = 'qcp135'; + + /** + * method name for calculation of checksum + * + */ + var $_method = 'calc'; + + /** + * generate seed for calculation of checksum + * + */ + var $_selfseed = true; + + /** + * default seed when not provided calculation of checksum + * min = 0, max = 254 + */ + var $_defaultseed = "$"; + + /** + * generate seed for calculation of checksum + * + */ + var $_length = 29; + + + function __construct() { + parent::setInfo(array('function'=>'getQcp135', 'author'=>'Simon Roberts', 'description'=>'QCP135 Hashinfo/Checksum')); + parent::setVariables(array('selfseed'=>$this->_selfseed, 'length' => $this->_length, 'defines' => array(), 'class' => __CLASS__, 'static' => false)); + } + + static public function getInstance($single = false, $class = __CLASS__) + { + if ($single==true) { + static $_object; + if (!is_a($_object, $class)) + $_object = new $class(); + return $_object; + } + return new $class(); + } + + public function calc($data, $options) { + if (!isset($options['seed']) && !isset($options['selfseed']) || $options['selfseed'] = false) { + if(is_string($this->_defaultseed)) + $options['seed'] = ord(substr($this->_defaultseed, 0, 1)); + elseif(is_numeric($this->_defaultseed) && $this->_defaultseed >= 0 && $this->_defaultseed <= 254 ) + $options['seed'] = $this->_defaultseed; + } elseif (isset($options['selfseed'])) { + $options['seed'] = ord(substr($data, strlen($data)/2, 1)); + } + if (!isset($options['length'])) { + $options['length'] = $this->_length; + } + if (!isset($options['seed']) && empty($options['seed']) && $options['seed'] < 0 && $options['seed'] > 254) + die("Seed Incorrect or Missing for Function: " . __FUNCTION__ . ' in class: ' . __CLASS__); + if (!isset($options['length']) && empty($options['length']) && $options['length'] < 2) + die("CRC Output Length Incorrect or Missing for Function: " . __FUNCTION__ . ' in class: ' . __CLASS__); + set_time_limit(120); + $crc = new $this->_class($data, $options['seed'], $options['length']); + return $crc->crc; + } + } +} + +/** + * function calc + * For Calculating an Checksum from Parent Class + * + * @param string $data + * @param array $options + */ +if (!function_exists('getQcp135')) +{ + function getQcp135($data = NULL, $options = array()) + { + if (isset($options['class']) && class_exists($options['class'])) + $_class = $options['class']; + else + $_class = 'Qcp135HashAPI'; + if (isset($options['static'])) + { + $_hasher = $_class::getInstance($options['static'], $_class); + } else { + $_hasher = $_class::getInstance(false, $_class); + } + return $_hasher->calc($data, $options); + } +} + +?> \ No newline at end of file Added: ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/index.html =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/index.html (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/index.html 2014-12-11 13:19:58 UTC (rev 12900) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.base.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.base.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.base.php 2014-12-11 13:19:58 UTC (rev 12900) @@ -0,0 +1,553 @@ +<?php +// $Id: qcp64.base.php 1.6.4 2008-08-15 13:40:00 (final) wishcraft $ +// ------------------------------------------------------------------------ // +// CLORA - Chronolabs Australia // +// Copyright (c) 2008 // +// <http://www.chronolabs.org.au/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the SDPL Source Directive Public Licence // +// as published by Chronolabs Australia; either version 2 of the License, // +// (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 Chronolab Australia // +// Chronolabs International PO BOX 699, DULWICH HILL, NSW, 2203, Australia // +// ------------------------------------------------------------------------ // + +if (!class_exists('qcp64_base')) +{ + // error_reporting(E_ERROR); + + class qcp64_base extends qcp64 + { + + var $base; + var $seed; + var $mode; + var $roll; + var $num_evr; + + function __construct ($seed = 127) + { + if ($seed<1) + { + $this->seed = 1; + } elseif ($seed>255) { + $this->seed = 256; + } else { + $this->seed = $seed; + } + $base = $this->_set_base(); + return $this->get_base(); + } + + private function _set_base() + { + + if ($this->seed < 65) + { + $case=true; + } else { + $case=false; + } + + $this->roll = ($this->seed / (3+(1/6))); + $this->num_evr = floor((34.32 / ($this->roll/$this->seed))/($this->seed*($this->roll/17.8))); + + if ($this->roll<16) + { + $this->mode = '1'; + } elseif ($this->roll >15 && $this->roll<32) { + $this->mode = '2'; + } elseif ($this->roll >32 && $this->roll<48) { + $this->mode = '3'; + } elseif ($this->roll >48 ) { + $this->mode = '4'; + } + + if ($this->num_evr==0) + { + $this->num_evr = floor((($this->seed/$this->mode)/($this->mode*3.015))); + } elseif ($this->num_evr>8) { + $this->num_evr = $this->num_evr - floor($this->mode*1.35); + } + + + + $this->base = array(); + switch ($this->mode){ + case 1: + $ii = 0; + $num = 0; + $letter = "a"; + for ($qcb=1;$qcb<32;$qcb++) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; +if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=64;$qcb>31;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; +if (strlen($letter++)>1) { $letter="a"; } + } + } + break; + case 2: + $ii = 0; + $num = 0; + $letter = "a"; + for ($qcb=32;$qcb>0;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; +if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=32;$qcb<65;$qcb++) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; +if (strlen($letter++)>1) { $letter="a"; } + } + } + break; + case 3: + $ii = 0; + $num = 0; + $letter = "a"; + for ($qcb=1;$qcb<17;$qcb++) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; +if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=64;$qcb>47;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; +if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=32;$qcb>16;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; +if (strlen($letter++)>1) { $letter="a"; } + } + } + + + for ($qcb=32;$qcb<48;$qcb++) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; +if (strlen($letter++)>1) { $letter="a"; } + } + } + break; + case 4: + $ii = 0; + $num = 0; + $letter = "a"; + + for ($qcb=17;$qcb>0;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; +if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=17;$qcb<49;$qcb++) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; +if (strlen($letter++)>1) { $letter="a"; } + } + } + + for ($qcb=64;$qcb>48;$qcb--) + { + $ii++; + $done = false; + if ($sofar == $this->num_evr) + { + if ($num < 9) + { + $this->base[$qcb] = $num; + $num++; + $sofar = 0; + $done = true; + } + } else { + $sofar++; + } + + if ($done == false) + { + if (floor($qcb / ($this->roll/$this->num_evr))>$this->mode) + { + switch ($case) + { + case true: + $this->base[$qcb] = $letter; + break; + case false: + $this->base[$qcb] = strtoupper($letter); + break; + } + } else { + $this->base[$qcb] = $letter; + } + $letter++; +if (strlen($letter++)>1) { $letter="a"; } + } + } + break; + } + } + + function get_base() + { + return $this->base; + + } + + function debug_base() + { + $base = array(); + foreach ($this->base as $key => $data) + { + $base[$key] = array("char" => $data, + "ord" => ord($data), + "bin" => decbin(ord($data))); + } + + return array("mode" => $this->mode, "roll" => $this->roll, + "seed" => $this->seed, "mode" => $this->mode, + "num_evr" => $this->num_evr, "base" => $this->base, + "debug" => $base); + } + } +} + +?> \ No newline at end of file Added: ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.class.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.class.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.class.php 2014-12-11 13:19:58 UTC (rev 12900) @@ -0,0 +1,77 @@ +<?php +// $Id: qcp64.class.php 1.6.4 2008-08-15 13:40:00 (final) wishcraft $ +// ------------------------------------------------------------------------ // +// CLORA - Chronolabs Australia // +// Copyright (c) 2008 // +// <http://www.chronolabs.org.au/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the SDPL Source Directive Public Licence // +// as published by Chronolabs Australia; either version 2 of the License, // +// (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 Chronolab Australia // +// Chronolabs International PO BOX 699, DULWICH HILL, NSW, 2203, Australia // +// ------------------------------------------------------------------------ // + +if (!class_exists('qcp64')) +{ + + + class qcp64 + { + var $base; + var $enum; + var $seed; + var $crc; + + function __construct($data, $seed, $len=29) + { + $this->seed = $seed; + $this->length = $len; + $this->base = new qcp64_base((int)$seed); + $this->enum = new qcp64_enumerator($this->base); + + if (!empty($data)) + { + for ($i=1; $i<strlen($data); $i++) + { + $enum_calc = $this->enum->enum_calc(substr($data,$i,1),$enum_calc); + } + $qcp64_crc = new qcp64_leaver($enum_calc, $this->base, $this->length); + $qcp64_crc->reset_leaver(); + $this->crc = $qcp64_crc->crc; + } + + } + + function calc($data) + { + for ($i=1; $i<strlen($data); $i++) + { + $enum_calc = $this->enum->enum_calc(substr($data,$i,1),$enum_calc); + } + $qcp64_crc = new qcp64_leaver($enum_calc, $this->base, $this->length); + $qcp64_crc->reset_leaver(); + return $qcp64_crc->crc; + } + + } +} + +require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'qcp64.base.php'); +require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'qcp64.enumerator.php'); +require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'qcp64.leaver.php'); + + Added: ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.enumerator.php =================================================================== --- ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.enumerator.php (rev 0) +++ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/qcp64/qcp64.enumerator.php 2014-12-11 13:19:58 UTC (rev 12900) @@ -0,0 +1,323 @@ +<?php +// $Id: qcp64.enumerator.php 1.6.4 2008-08-15 13:40:00 (final) wishcraft $ +// ------------------------------------------------------------------------ // +// CLORA - Chronolabs Australia // +// Copyright (c) 2008 // +// <http://www.chronolabs.org.au/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the SDPL Source Directive Public Licence // +// as published by Chronolabs Australia; either version 2 of the License, // +// (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 ho... [truncated message content] |
From: <wis...@us...> - 2014-12-11 12:09:47
|
Revision: 12899 http://sourceforge.net/p/xoops/svn/12899 Author: wishcraft Date: 2014-12-11 12:09:01 +0000 (Thu, 11 Dec 2014) Log Message: ----------- Subjected API for Conversion to XoopsAPI -- Xoops 2.x Added Paths: ----------- ThirdParty/api/ ThirdParty/api/labs.coop/ ThirdParty/api/labs.coop/v1.1/ ThirdParty/api/labs.coop/v1.1/*/ ThirdParty/api/labs.coop/v1.1/*/agents/ ThirdParty/api/labs.coop/v1.1/*/agents/.buildpath ThirdParty/api/labs.coop/v1.1/*/agents/.htaccess ThirdParty/api/labs.coop/v1.1/*/agents/.project ThirdParty/api/labs.coop/v1.1/*/agents/.settings/ ThirdParty/api/labs.coop/v1.1/*/agents/.settings/org.eclipse.php.core.prefs ThirdParty/api/labs.coop/v1.1/*/agents/index.php ThirdParty/api/labs.coop/v1.1/*/agents/public_html/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/.htaccess ThirdParty/api/labs.coop/v1.1/*/agents/public_html/400.shtml ThirdParty/api/labs.coop/v1.1/*/agents/public_html/401.shtml ThirdParty/api/labs.coop/v1.1/*/agents/public_html/403.shtml ThirdParty/api/labs.coop/v1.1/*/agents/public_html/404.shtml ThirdParty/api/labs.coop/v1.1/*/agents/public_html/500.php ThirdParty/api/labs.coop/v1.1/*/agents/public_html/500.shtml ThirdParty/api/labs.coop/v1.1/*/agents/public_html/apple-touch-icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/apple-touch-icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/apple-touch-icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/cgi-bin/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/default.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/classes/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/classes/XmlDomConstruct.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/jquery.iviewer.css ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/phpdocumentor-clean-icons/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/phpdocumentor-clean-icons/Read Me.txt ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/phpdocumentor-clean-icons/fonts/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.dev.svg ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.eot ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.svg ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.ttf ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.woff ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/phpdocumentor-clean-icons/lte-ie7.js ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/phpdocumentor-clean-icons/style.css ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/prism.css ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/css/template.css ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/files/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/files/500.php.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/files/500.php.txt ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/files/functions.php.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/files/functions.php.txt ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/files/help.php.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/files/help.php.txt ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/files/index.php.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/files/index.php.txt ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/graphs/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/graphs/class.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/apple-touch-icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/apple-touch-icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/apple-touch-icon.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/custom-icons.svg ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/favicon.ico ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/hierarchy-item.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/icon-class-13x13.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/icon-class.svg ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/icon-interface-13x13.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/icon-interface.svg ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/icon-trait-13x13.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/icon-trait.svg ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/iviewer/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/iviewer/grab.cur ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/iviewer/hand.cur ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/iviewer/iviewer.rotate_left.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/iviewer/iviewer.rotate_right.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/iviewer/iviewer.zoom_fit.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/iviewer/iviewer.zoom_in.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/iviewer/iviewer.zoom_out.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/images/iviewer/iviewer.zoom_zero.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/index.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/js/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/js/jquery.dotdotdot-1.5.9.js ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/js/jquery.dotdotdot-1.5.9.min.js ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/js/jquery.iviewer.js ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/js/jquery.iviewer.min.js ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/js/jquery.smooth-scroll.js ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/js/prism.min.js ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/namespaces/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/namespaces/default.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/phpdoc-cache-2e/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/phpdoc-cache-2e/phpdoc-cache-settings.dat ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/phpdoc-cache-37/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/phpdoc-cache-37/phpdoc-cache-file_46b398daa7c44ff50dd738cfacf60c76.dat ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/phpdoc-cache-56/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/phpdoc-cache-56/phpdoc-cache-file_e284326ddaed0f318554fabb21af2831.dat ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/phpdoc-cache-b5/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/phpdoc-cache-b5/phpdoc-cache-file_78cd5aa3783a74555c9938a2a81d01c6.dat ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/phpdoc-cache-c8/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/phpdoc-cache-c8/phpdoc-cache-file_828e0013b8f3bc1bb22b4f57172b019d.dat ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/reports/ ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/reports/deprecated.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/reports/errors.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/docs/reports/markers.html ThirdParty/api/labs.coop/v1.1/*/agents/public_html/error_log ThirdParty/api/labs.coop/v1.1/*/agents/public_html/favicon.ico ThirdParty/api/labs.coop/v1.1/*/agents/public_html/functions.php ThirdParty/api/labs.coop/v1.1/*/agents/public_html/help.php ThirdParty/api/labs.coop/v1.1/*/agents/public_html/icon.png ThirdParty/api/labs.coop/v1.1/*/agents/public_html/index.php ThirdParty/api/labs.coop/v1.1/*/agents/wurfl.xml ThirdParty/api/labs.coop/v1.1/*/css/ ThirdParty/api/labs.coop/v1.1/*/css/.htaccess ThirdParty/api/labs.coop/v1.1/*/css/index.php ThirdParty/api/labs.coop/v1.1/*/css/public_html/ ThirdParty/api/labs.coop/v1.1/*/css/public_html/1/ ThirdParty/api/labs.coop/v1.1/*/css/public_html/1/index.php ThirdParty/api/labs.coop/v1.1/*/css/public_html/2/ ThirdParty/api/labs.coop/v1.1/*/css/public_html/2/index.php ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/ ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/gradientee/ ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/gradientee/.htaccess ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/gradientee/error_log ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/gradientee/index.php ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/icognitio/ ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/icognitio/.htaccess ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/icognitio/index.php ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/index.php ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/kirrillea/ ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/kirrillea/.htaccess ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/kirrillea/index.php ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/shadowing/ ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/shadowing/.htaccess ThirdParty/api/labs.coop/v1.1/*/css/public_html/3/shadowing/index.php ThirdParty/api/labs.coop/v1.1/*/css/public_html/index.php ThirdParty/api/labs.coop/v1.1/*/hashing/ ThirdParty/api/labs.coop/v1.1/*/hashing/.htaccess ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/.htaccess ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/400.shtml ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/401.shtml ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/403.shtml ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/404.shtml ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/500.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/500.shtml ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/apple-touch-icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/apple-touch-icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/apple-touch-icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/cgi-bin/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/default.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/classes/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/classes/Md5HashAPI.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/classes/Sha1HashAPI.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/classes/XmlDomConstruct.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/classes/hashAPI.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/classes/hashesAPI.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/jquery.iviewer.css ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/phpdocumentor-clean-icons/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/phpdocumentor-clean-icons/Read Me.txt ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/phpdocumentor-clean-icons/fonts/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.dev.svg ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.eot ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.svg ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.ttf ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.woff ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/phpdocumentor-clean-icons/lte-ie7.js ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/phpdocumentor-clean-icons/style.css ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/prism.css ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/css/template.css ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/500.php.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/500.php.txt ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/error_log ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/functions.php.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/functions.php.txt ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes/error_log ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes/hash.php.txt ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes/hashes.php.txt ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes/md5/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes/md5/error_log ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes/md5/md5.php.txt ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes/sha1/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes/sha1/error_log ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes/sha1/sha1.php.txt ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes.hash.php.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes.hashes.php.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes.md5.md5.php.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/hashes.sha1.sha1.php.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/help.php.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/help.php.txt ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/index.php.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/files/index.php.txt ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/graphs/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/graphs/class.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/apple-touch-icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/apple-touch-icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/apple-touch-icon.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/custom-icons.svg ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/favicon.ico ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/hierarchy-item.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/icon-class-13x13.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/icon-class.svg ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/icon-interface-13x13.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/icon-interface.svg ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/icon-trait-13x13.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/icon-trait.svg ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/iviewer/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/iviewer/grab.cur ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/iviewer/hand.cur ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/iviewer/iviewer.rotate_left.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/iviewer/iviewer.rotate_right.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/iviewer/iviewer.zoom_fit.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/iviewer/iviewer.zoom_in.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/iviewer/iviewer.zoom_out.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/images/iviewer/iviewer.zoom_zero.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/index.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/js/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/js/jquery.dotdotdot-1.5.9.js ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/js/jquery.dotdotdot-1.5.9.min.js ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/js/jquery.iviewer.js ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/js/jquery.iviewer.min.js ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/js/jquery.smooth-scroll.js ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/js/prism.min.js ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/namespaces/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/namespaces/default.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-1b/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-1b/phpdoc-cache-file_79b9ce023a262e7dd255bb3db002cb7e.dat ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-2e/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-2e/phpdoc-cache-settings.dat ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-37/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-37/phpdoc-cache-file_46b398daa7c44ff50dd738cfacf60c76.dat ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-3b/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-3b/phpdoc-cache-file_259d4e2317729e9a41a0b2a3b7f767c1.dat ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-56/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-56/phpdoc-cache-file_e284326ddaed0f318554fabb21af2831.dat ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-6b/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-6b/phpdoc-cache-file_5ef3d39e86058628c50af5a73d0890a0.dat ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-af/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-af/phpdoc-cache-file_336336c10643aad0c8a5d7d8883efb74.dat ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-b5/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-b5/phpdoc-cache-file_78cd5aa3783a74555c9938a2a81d01c6.dat ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-c8/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/phpdoc-cache-c8/phpdoc-cache-file_828e0013b8f3bc1bb22b4f57172b019d.dat ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/reports/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/reports/deprecated.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/reports/errors.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/docs/reports/markers.html ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/favicon.ico ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/functions.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/hash.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/hashes.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/md5/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/md5/md5.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/sha1/ ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/hashes/sha1/sha1.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/help.php ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/icon.png ThirdParty/api/labs.coop/v1.1/*/hashing/public_html/index.php ThirdParty/api/labs.coop/v1.1/*/icons/ ThirdParty/api/labs.coop/v1.1/*/icons/index.html ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/.htaccess ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/index.php ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/beige/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/beige/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/beige/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/beige/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/beige/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/beige/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/beige/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/beige/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/beige/icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/beige/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/beige/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/blue/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/blue/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/blue/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/blue/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/blue/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/blue/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/blue/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/blue/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/blue/icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/blue/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/blue/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/charcoal/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/charcoal/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/charcoal/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/charcoal/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/charcoal/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/charcoal/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/charcoal/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/charcoal/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/charcoal/icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/charcoal/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/charcoal/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/cyan/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/cyan/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/cyan/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/cyan/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/cyan/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/cyan/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/cyan/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/cyan/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/cyan/icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/cyan/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/cyan/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/flared/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/flared/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/flared/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/flared/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/flared/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/flared/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/flared/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/flared/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/flared/icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/flared/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/flared/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/green/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/green/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/green/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/green/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/green/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/green/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/green/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/green/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/green/icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/green/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/green/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/index.php ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/orange/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/orange/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/orange/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/orange/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/orange/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/orange/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/orange/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/orange/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/orange/icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/orange/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/orange/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/peuce/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/peuce/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/peuce/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/peuce/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/peuce/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/peuce/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/peuce/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/peuce/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/peuce/icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/peuce/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/peuce/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/pink/index.php ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/purple/index.php ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/red/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/red/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/red/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/red/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/red/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/red/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/red/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/red/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/red/icon-52x52.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/red/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/red/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/rose/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/rose/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/rose/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/rose/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/rose/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/rose/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/rose/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/rose/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/rose/icon-52x52.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/rose/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/rose/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/yellow/ ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/yellow/icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/yellow/icon-128x128.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/yellow/icon-16x16.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/yellow/icon-24x24.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/yellow/icon-256x256.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/yellow/icon-32x32.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/yellow/icon-48x48.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/yellow/icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/yellow/icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/invaders/yellow/icon.ico ThirdParty/api/labs.coop/v1.1/*/icons/pubic_html/random.php ThirdParty/api/labs.coop/v1.1/*/life/ ThirdParty/api/labs.coop/v1.1/*/life/.htaccess ThirdParty/api/labs.coop/v1.1/*/life/cache/ ThirdParty/api/labs.coop/v1.1/*/life/cache/index.html ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_genre_feff2ed808a9e8ccdb85682abf27fe0748863e1f.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_identity_keys.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_004e26de8e54b0688248510c5cb65ba8.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_00f7793cf0103f3b49e0ab300b3879a7.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_015a02589706132c04ac2111d4d43db9.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_03a4db050ccdb9ae5659b5dab165eb26.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_04a5cc458d018124c4119e5a0addeae9.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_068830d37ba7b112bb53a3766ca2fc84.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_06d166e6ceb01bd403b99c7e05283a74.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_08d2d5f53a2bed04e140117b5f2bc9c1.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_0b0c98fd211a20f745dc7c0123179268.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_0b700aea4b6d2c371981245e1e0b5269.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_0c531b362173f65425d03dce56946170.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_0df7e5c368b1bc065ec24bb92da074a5.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_0e5061a92a81459e2f3f3b9fba5f36b2.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_0f394596a85b960b64ebdc5727ce92ad.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_1160f286d14528d1b17cd70791525d35.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_11d1626e69f2431d7bce69353fe3372b.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_125ec9195911075961fa8682c5d4ad16.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_14b441aac15333db81e2861b52981b78.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_161c18cd8db0a759116f2bf7af9e2d37.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_17b5f668dc6f45ae953b59fe32c8a732.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_1a69c08b45087844a689a9fb6fd82386.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_1c128281b05b5f0b59022bbfc1117379.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_1f3caa03bd1782690f6fd70e32dd3b67.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_235c9e613ba02272aa7dfc920d288e4f.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_2a3ca9b4ad10a6718613ad463711b35e.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_2daf803759613b0715a607c5cfb7aa1c.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_3045dab47e65fb304c5d53389f4bd347.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_305cc9735fafb2cc10dd7496cbb44b93.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_33c1c356a60b2cd64190726e3555bdf9.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_359eda3812b0a2701c1f1fb16413d45d.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_38a4ceedcc22fcb1a160b8c9e7f1b65b.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_3946dd5a68a6bdedba7dc8b1c453369a.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_3b82ff9ff4222dbebbfd64e11d93cbbe.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_3c67b0b188a2a833d94262d91fc0b548.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_3e25281906f6acce8fbf1b4b3cd1e0d5.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_43dc257707f08d10e1f39e7d3e3644e1.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_46f7000f1af31831783c359420d86114.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_46faeacfaadade5736899ef87701b101.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_495b1ba4865d46c85535d3f045d341de.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_4d3aabed08332e08e6b4d10dd4528b09.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_4d9c750abafd9a488a0313be2f22d735.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_4e9151979ad688058f2783333332ebb6.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_51c8c38c0b9a860791546fd9e5fbc65b.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_531d506e5b55f7e12554c047c2881df2.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_5431986386544722cd3031b106afdc3a.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_5820123d047c260c5523745e1e1af891.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_64094f81c1c288b81b842e0d57bbc9be.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_64d626e1d3179343a495c39f37f01c72.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_6a3ea34c053ae97ae223805f3ffa14de.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_6ab53258bf2f8a0f7b0efb97517825a4.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_6b3c107e8e235ab565eb1dc591e17a3b.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_6b431173e12c6a8d3b48f3aa73927eb0.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_6b574492556475788333959f3d80525c.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_6b9ae712348f78e85adaf900b3dcd1c8.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_6ca27b7552f46526af42b64b248a5cf4.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_6e63c61801090e96daf295f799a821de.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_726d9ba02db4cec3029d66495db24289.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_72a8126ac1d753f40cdbdb3abac3c538.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_739581af74c8b4168d181f79503e6965.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_75298ff0ccee6855e7a06c0a905e9f28.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_75ff735a536ac2318d8e50221ed4f36f.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_7710b82723d05185b1228e1f0673a8fb.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_77ca8bdb7a71d29677976b897176e190.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_7930f0eaefd7baa955a0c22762a9c0ea.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_7e4912d0579b290c6749feb268dcab3e.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_7e61fb8f2afffc4e8f72d2966408a85a.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_7e7afb580af4a2acb772f3582499cd67.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_7f86b8c73270647f122435818136dcdf.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_809eaba51e56b99a2b4c402c866c608f.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_80f9572dc9f1aa40e36660643e4ae501.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_812f7047d52f741364852de38f0f093e.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_81cc032c99566e4d91e78ac860a6836a.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_82756f0ac54be350f9509b2636c1a208.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_8290ac82709574f395e3822fbb1770f1.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_842e01748b857f25ed87cb77469b3abe.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_85c070f7931768cd26760d23718cf95b.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_88b1ea31f8436e9e4b658fb4476d894b.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_892efcf493f3c2486a15ccdf32736080.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_893f207d586ff617100ac06f6044d037.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_8950441083dadf2ef7a6d82d924a9a1b.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_8ab5b11a7b50ca03113a60e2861b8a4f.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_8be4cbefcc45914c41796580adb4faf5.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_8be9842816fbe93fbb9f013df897d1b9.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_8c2b4987ee52af238338fc79d63f46de.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_8cbf513c81d1ff2562e82793be7113cd.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_9065918f973a75e831b338bc0ef6b6b3.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_91e04adac55cbe761fe3e1de7b25c53e.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_9465548da185378039bc5b465f17c549.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_94ee354a020ce26f0e63f54a55c96079.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_96250f8457de0835c898ded4afbc1246.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_9879a271fce12123d67e7f072cde8e4d.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_9bd3131336e74761f5456b03cf2415f5.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_9ded30ac0fdeb551cd0a73a810c1f3b3.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_9f0f2338203b003782f82a372a377ee3.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_a2e94fdb02f5bba18feaecf1339ef9a4.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_a3b2ff7246d29150747bfe76a5472179.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_a4632426167248c089f045bdfa97753a.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_a4f4f42e5609e136be22e56e98847201.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_a5ad4c1e6be6053adcd50f402d376ea8.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_ab2b07930f40298e10d91148cf2c8b08.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_ac53499bef2eda7aab8469f02ac729e6.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_ae2583add4cef4165e63679afeea11d9.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_afcf0578f507a5615556943d9ce1e193.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_b18ea4dbffdd5ba4abac2b8e25b2ea74.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_b1be3bc3980cd238d8009db929bafa1c.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_b47e13d087c329f0cede955e73d426bf.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_b71200f72be1dfd0afc3790f5cdb8153.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_b7cb224e56f605a150b820d16a5de970.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_b916fa2434d39d0c29b85c629f0fe939.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_bd5875a1197d9aedbb8753cc5f8cfc05.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_bec9d68053ddb6b42bcc5ca8136124cd.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_bed65f788a39f409367cd146d53ccbc3.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_c1a428a8855a7f2e2976e255d372eb8f.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_c1f8495dedaa15836e7872e2130d9e52.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_c53c767eba9865901fc17bc6f0527fea.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_c74bad763ddd2a85e1fc772d59f9287e.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_c78df68926e1daa0278d68f5803cdfa3.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_cb79eb4d902fe091d730ebcd177b76b5.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_ccd3fe477285e03cbda6fc82480d9a26.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_cd2ab982c23a0a42fdcd35deeb2ef653.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_d0cc093e68ed775019b10dc5811d700d.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_d43e6268d91ae37b88ac53c0e81a959f.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_d499729c39ddcc67a79a3e8c0d51d18d.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_d910b5068d925b884a73d060e86e0cc4.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_d9ef155be418bbd1804dd34a4ad0fce0.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_da546ab21d0bdfeefabe343fd9f1649a.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_dbebbe1fd89594dc3bb03b2ae826edd5.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_dc70e8952f89a2416dd0ea949ac83c1f.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_df3b0bb407cb738cc14aa176ad29a828.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_dff14bfb6d7bf38542f27b1b77dd77c0.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_e139ae0f4a30fcf2648bf6eb26458c6d.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_e313217a33e7aa7bdc208256d57ad6fa.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_e3a32e141a98c658df3978e7378a2085.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_e3d4dd7e47bf868317c29e3ca4fdb798.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_e44f27e48129e0f74c230a6d5b9add74.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_e522c1451302950c69cdfbd3fd7dd0d3.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_e8bfe047a2c67fdb1daf0571bbb4a7d4.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_eb80a1e8d50a2634cf914b5240dd4907.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_eb86249a68765c40a8dca474a9d3ff85.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_ecaf6b702b3d6d12c246b29a724c6b07.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_f10e1a715885290e15846ac3e84d314f.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_f2f5cb424b8b78c697e7fa74d1dd42cf.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_f526a825c734054ca29293eabbd3a090.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_fcb0b2d26d0de9b1ac4e0b47efb8baa4.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_random_fdfd5de225d0955f81ee377a4467d16a.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_search_424ab04b562c86b7f5b25aa56d792eb395906b5f.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_streams_2955a2bf001660bad916356270cadde670c76bfa.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_radio_top500.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_317b36a959572e47343_life_user_agents_d52a06db317b36a959572e47343e4dc95fc82774.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_82d27786ef9634e4b0e_life_radio_identity_keys.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_82d27786ef9634e4b0e_life_radio_random_aa4c128fc96d80288186da2e47f63965.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_82d27786ef9634e4b0e_life_user_agents_e361d64b82d27786ef9634e4b0e36acc5eb134ad.php ThirdParty/api/labs.coop/v1.1/*/life/cache/life_caches-lifetypes.php ThirdParty/api/labs.coop/v1.1/*/life/index.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/.buildpath ThirdParty/api/labs.coop/v1.1/*/life/public_html/.htaccess ThirdParty/api/labs.coop/v1.1/*/life/public_html/.project ThirdParty/api/labs.coop/v1.1/*/life/public_html/.settings/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/.settings/org.eclipse.php.core.prefs ThirdParty/api/labs.coop/v1.1/*/life/public_html/400.shtml ThirdParty/api/labs.coop/v1.1/*/life/public_html/401.shtml ThirdParty/api/labs.coop/v1.1/*/life/public_html/403.shtml ThirdParty/api/labs.coop/v1.1/*/life/public_html/404.shtml ThirdParty/api/labs.coop/v1.1/*/life/public_html/500.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/500.shtml ThirdParty/api/labs.coop/v1.1/*/life/public_html/apple-touch-icon-114x114.png ThirdParty/api/labs.coop/v1.1/*/life/public_html/apple-touch-icon-56x56.png ThirdParty/api/labs.coop/v1.1/*/life/public_html/apple-touch-icon-72x72.png ThirdParty/api/labs.coop/v1.1/*/life/public_html/cgi-bin/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/agents.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/cache/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/cache/apc.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/cache/file.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/cache/index.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/cache/lifecache.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/cache/memcache.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/cache/model.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/cache/xcache.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/file/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/file/file.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/file/folder.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/file/index.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/file/lifefile.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/genres-radio.diz ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/genres-vision.diz ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/genres.diz ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/index.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/radio.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/cycling.diz ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/duties.diz ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/genres/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/genres/index.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/genres/streamtvguide.com.xml ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/genres/tvpc.com.xml ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/index.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/sources/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/sources/index.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/sources/streamtvguide.com.xml ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/sources/tvpc.com.xml ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/targets.diz ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/visions/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/visions/datatypal.diz ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/visions/index.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/visions/streamtvguide.com.xml ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider/visions/tvpc.com.xml ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/spider.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/vision.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/class/xtractor.php ThirdParty/api/labs.coop/v1.1/*/life/public_html/cronjobs/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/cronjobs/index.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/default.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/XmlDomConstruct.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/lifeCache.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/lifeCacheApc.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/lifeCacheEngine.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/lifeCacheFile.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/lifeCacheMemcache.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/lifeCacheXcache.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/lifeFile.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/lifeFileHandler.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/lifeFolderHandler.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/classes/lifeRadio.html ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/jquery.iviewer.css ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/phpdocumentor-clean-icons/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/phpdocumentor-clean-icons/Read Me.txt ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/phpdocumentor-clean-icons/fonts/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.dev.svg ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.eot ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.svg ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.ttf ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.woff ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/phpdocumentor-clean-icons/lte-ie7.js ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/phpdocumentor-clean-icons/style.css ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/prism.css ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/css/template.css ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/files/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/files/class/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/files/class/cache/ ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/files/class/cache/apc.php.txt ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/files/class/cache/file.php.txt ThirdParty/api/labs.coop/v1.1/*/life/public_html/docs/files/class/cache/lifecache.php.txt ThirdParty/api/lab... [truncated message content] |
From: <zy...@us...> - 2014-12-08 22:05:26
|
Revision: 12898 http://sourceforge.net/p/xoops/svn/12898 Author: zyspec Date: 2014-12-08 22:05:21 +0000 (Mon, 08 Dec 2014) Log Message: ----------- + minor code cleanup * moved some hardcoded language strings to language files * file formatting (tabs-> 4 spaces) * improved PSRx coding compliance - cannot completely comply without breaking plugins distributed with other modules * replaced dirname(__FILE__) with __DIR__ + eliminated /Frameworks/art/functions.admin.php alternative since should be present in all versions of XOOPS >= 2.5.7 + utilize XoopsRequest for input vars + normalized Frameworks icons directory to be similar to other XOOPS modules + deprecated XoopsFormTag (modules should not create classes beginning with 'Xoops'). Created class TagFormTag to replace it. + merged Cumulus module for flash cloud block - Cumulus module no longer needed + fixed bug in display limit in .list.tag.php for both list and cloud + removed support for MySQL < 4.1.0 + added TagConstant class to improve code maintainability + improved HTML rendering (admin side) + modified module defines naming to standardize with other XOOPS modules + added randomquote ./plugin Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/about.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/admin.tag.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/admin_footer.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/admin_header.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/index.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/menu.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/syn.tag.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/css/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/images/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/js/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/blocks/block.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/blocks/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/class/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/class/link.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/class/tag.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/docs/changelog.txt XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/docs/credits.txt XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/docs/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/docs/install.txt XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/docs/readme.txt XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/footer.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/header.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/action.module.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/formtag.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/functions.ini.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/functions.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/functions.recon.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/plugin.dist.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/plugin.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/search.inc.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/tagbar.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/include/vars.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/index.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/language/english/admin.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/language/english/blocks.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/language/english/config.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/language/english/help/help.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/language/english/help/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/language/english/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/language/english/main.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/language/english/modinfo.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/language/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/list.tag.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/TDMDownloads.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/article.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/extgallery.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/myalbum.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/myalbum0.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/myalbum1.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/myalbum2.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/newbb.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/publisher.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/smartfaq.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/xfaq.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/xforum.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/sample.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/sql/mysql.150.sql XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/sql/mysql.sql XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/templates/index.html XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/templates/tag_view.tpl XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/view.tag.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/xoops_version.php Added Paths: ----------- XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/class/blockform.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/class/constants.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/class/formtag.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/class/formvalidatedinput.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/plugin/randomquote.php XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/templates/blocks/tag_block_cumulus.tpl Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/about.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/admin/about.php 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/about.php 2014-12-08 22:05:21 UTC (rev 12898) @@ -1,23 +1,28 @@ <?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. +*/ + /** - * Tag module + * XOOPS tag management module * - * You may not change or alter any portion of this comment or credits - * of supporting developers from this source code or any supporting source code - * which is considered copyrighted (c) material of the original comment or credit authors. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * @copyright The XOOPS Project (http://www.xoops.org) - * @license GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html) - * @package Tag - * @since 2.5.0 - * @author Mage, Mamba - * @version $Id $ - **/ -include_once dirname(__FILE__) . '/admin_header.php'; + * @package tag + * @copyright {@link http://sourceforge.net/projects/xoops/ The XOOPS Project} + * @license {@link http://www.fsf.org/copyleft/gpl.html GNU public license} + * @author Mage + * @author Mamba + * @since 2.31 + * @version $Id$ + */ +include_once __DIR__ . '/admin_header.php'; + xoops_cp_header(); $aboutAdmin = new ModuleAdmin(); @@ -25,4 +30,4 @@ echo $aboutAdmin->addNavigation('about.php'); echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); -include 'admin_footer.php'; +include __DIR__ . '/admin_footer.php'; Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/admin.tag.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/admin/admin.tag.php 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/admin.tag.php 2014-12-08 22:05:21 UTC (rev 12898) @@ -12,41 +12,40 @@ /** * XOOPS tag management module * - * @copyright The XOOPS project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @since 1.0.0 + * @package tag + * @copyright {@link http://sourceforge.net/projects/xoops/ The XOOPS Project} + * @license {@link http://www.fsf.org/copyleft/gpl.html GNU public license} * @author Taiwen Jiang <ph...@us...> + * @since 1.00 * @version $Id$ - * @package tag */ -include_once 'admin_header.php'; -require_once XOOPS_ROOT_PATH . "/class/xoopsformloader.php"; +require_once __DIR__ . '/admin_header.php'; +require_once $GLOBALS['xoops']->path("/class/xoopsformloader.php"); +xoops_load('xoopsrequest'); + $indexAdmin = new ModuleAdmin(); xoops_cp_header(); -include XOOPS_ROOT_PATH . "/modules/tag/include/vars.php"; -//echo function_exists("loadModuleAdminMenu") ? loadModuleAdminMenu(1) : ""; - echo $indexAdmin->addNavigation('admin.tag.php'); +include $GLOBALS['xoops']->path("/modules/tag/include/vars.php"); +echo $indexAdmin->addNavigation('admin.tag.php'); -global $xoopsModuleConfig; +$limit = $GLOBALS['xoopsModuleConfig']['items_perpage']; +$modid = XoopsRequest::getInt('modid', TagConstants::DEFAULT_ID); +$start = XoopsRequest::getInt('start', TagConstants::BEGINNING); +$status = XoopsRequest::getInt('status', TagConstants::STATUS_ALL, 'GET'); -$limit = $xoopsModuleConfig['items_perpage']; -$modid = intval( empty($_GET['modid']) ? @$_POST['modid'] : $_GET['modid'] ); -$start = intval( empty($_GET['start']) ? @$_POST['start'] : $_GET['start'] ); -//$status = intval( empty($_GET['status']) ? @$_POST['status'] : $_GET['status']); +$tag_handler =& xoops_getmodulehandler('tag', $thisModuleDir); +$link_handler =& xoops_getmodulehandler('link', $thisModuleDir); -$status = intval( (isset($_GET['status']) && $_GET['status'] >-1) ? $_GET['status'] : -1); - -$tag_handler =& xoops_getmodulehandler("tag", $xoopsModule->getVar("dirname")); - -if (!empty($_POST['tags'])) { +$postTags = XoopsRequest::getArray('tags', array(), 'POST'); +if (!empty($postTags)) { $msgDBUpdated=''; - foreach ($_POST['tags'] as $tag => $tag_status) { + foreach ($postTags as $tag => $tag_status) { $tag_obj =& $tag_handler->get($tag); - if (!is_object($tag_obj) || !$tag_obj->getVar("tag_id")) continue; - if ($tag_status < 0) { + if (!($tag_obj instanceof TagTag) || !$tag_obj->getVar("tag_id")) continue; + if ($tag_status < TagConstants::STATUS_ACTIVE) { $tag_handler->delete($tag_obj); } elseif ($tag_status != $tag_obj->getVar("tag_status")) { $tag_obj->setVar("tag_status", $tag_status); @@ -54,19 +53,20 @@ $msgDBUpdated = _AM_TAG_DB_UPDATED; } } - redirect_header("admin.tag.php?modid={$modid}&start={$start}&status={$status}", 2, $msgDBUpdated); + redirect_header("admin.tag.php?modid={$modid}&start={$start}&status={$status}", TagConstants::REDIRECT_DELAY_MEDIUM, $msgDBUpdated); exit(); } -$sql = " SELECT tag_modid, COUNT(DISTINCT tag_id) AS count_tag"; -$sql .= " FROM " . $xoopsDB->prefix("tag_link"); -$sql .= " GROUP BY tag_modid"; +$sql = "SELECT tag_modid, COUNT(DISTINCT tag_id) AS count_tag"; +$sql .= " FROM " . $GLOBALS['xoopsDB']->prefix("tag_link"); +$sql .= " GROUP BY tag_modid"; $counts_module = array(); $module_list = array(); -if ( ($result = $xoopsDB->query($sql)) == false) { - xoops_error($xoopsDB->error()); +$result = $GLOBALS['xoopsDB']->query($sql); +if (false === $result) { + xoops_error($GLOBALS['xoopsDB']->error()); } else { - while ($myrow = $xoopsDB->fetchArray($result)) { + while ($myrow = $GLOBALS['xoopsDB']->fetchArray($result)) { $counts_module[$myrow["tag_modid"]] = $myrow["count_tag"]; } if (!empty($counts_module)) { @@ -84,9 +84,9 @@ } $tray->addElement($mod_select); $status_select = new XoopsFormRadio("", 'status', $status); -$status_select->addOption(-1, _ALL); -$status_select->addOption(1, TAG_AM_ACTIVE); -$status_select->addOption(0, TAG_AM_INACTIVE); +$status_select->addOption(TagConstants::STATUS_ALL, _ALL); +$status_select->addOption(TagConstants::STATUS_ACTIVE, _AM_TAG_ACTIVE); +$status_select->addOption(TagConstants::STATUS_INACTIVE, _AM_TAG_INACTIVE); $tray->addElement($status_select); $tray->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); $opform->addElement($tray); @@ -97,52 +97,62 @@ $criteria->setOrder("ASC"); $criteria->setStart($start); $criteria->setLimit($limit); -if ($status >= 0) { - $criteria->add( new Criteria("o.tag_status", $status) ); +if ($status >= TagConstants::STATUS_ACTIVE) { + $criteria->add(new Criteria("o.tag_status", $status)); } if (!empty($modid)) { - $criteria->add( new Criteria("l.tag_modid", $modid) ); + $criteria->add(new Criteria("l.tag_modid", $modid)); } $tags = $tag_handler->getByLimit($criteria, false); -$form_tags = "<form name='tags' method='post' action='" . xoops_getenv("PHP_SELF") . "'>"; -$form_tags .= "<table border='0' cellpadding='4' cellspacing='1' width='100%' class='outer'>"; -$form_tags .= "<tr align='center'>"; -$form_tags .= "<th class='bg3'>" . TAG_AM_TERM . "</td>"; -$form_tags .= "<th class='bg3' width='10%'>" . TAG_AM_ACTIVE . "</td>"; -$form_tags .= "<th class='bg3' width='10%'>" . TAG_AM_INACTIVE . "</td>"; -$form_tags .= "<th class='bg3' width='10%'>" . _DELETE . "</td>"; -$form_tags .= "</tr>"; +$form_tags = "<form name='tags' method='post' action='" . xoops_getenv("PHP_SELF") . "'>\n" + . "<table style='border-width: 0px; margin: 1px; padding: 4px;' cellspacing='1' class='outer width100'>\n" + . " <thead>\n" + . " <tr class='txtcenter'>\n" + . " <th class='bg3'>" . _AM_TAG_TERM . "</th>\n" + . " <th class='bg3 width10'>" . _AM_TAG_INACTIVE . "</th>\n" + . " <th class='bg3 width10'>" . _AM_TAG_ACTIVE . "</th>\n" + . " <th class='bg3 width10'>" . _DELETE . "</th>\n" + . " </tr>\n" + . " </thead>\n" + . " <tbody>\n"; if (empty($tags)) { - $form_tags .= "<tr><td colspan='4'>" . _NONE . "</td></tr>"; + $form_tags .= " <tr><td colspan='4'>" . _NONE . "</td></tr>\n"; } else { - $class_tr = array("odd", "even"); + $class_tr = 'odd'; $i = 0; foreach (array_keys($tags) as $key) { - $form_tags .= "<tr class='" . $class_tr[(++$i) % 2] . "'>"; - $form_tags .= "<td>" . $tags[$key]["term"] . "</td>"; - $form_tags .= "<td align='center'><input type='radio' name='tags[{$key}]' value='1' " . ( $tags[$key]["status"] ? "checked" : " '' ") . "></td>"; - $form_tags .= "<td align='center'><input type='radio' name='tags[{$key}]' value='0' " . ( $tags[$key]["status"] ? " '' " : "checked") . "></td>"; - $form_tags .= "<td align='center'><input type='radio' name='tags[{$key}]' value='-1'></td>"; - $form_tags .= "</tr>"; + $form_tags .= " <tr class='{$class_tr}'>\n" + . " <td>" . $tags[$key]["term"] . "</td>\n" + . " <td class='txtcenter'><input type='radio' name='tags[{$key}]' value='" . TagConstants::STATUS_INACTIVE . "'" . ( $tags[$key]["status"] ? " checked" : " '' ") . "></td>\n" + . " <td class='txtcenter'><input type='radio' name='tags[{$key}]' value='" . TagConstants::STATUS_ACTIVE . "'" . ( $tags[$key]["status"] ? " '' " : " checked") . "></td>\n" + . " <td class='txtcenter'><input type='radio' name='tags[{$key}]' value='" . TagConstants::STATUS_DELETE . "'></td>\n" + . " </tr>\n"; + $class_tr = ('even' == $class_tr) ? 'odd' : 'even'; } - if ( !empty($start) || count($tags) >= $limit ) { + if (!empty($start) || (count($tags) >= $limit)) { $count_tag = $tag_handler->getCount($criteria); - include XOOPS_ROOT_PATH . "/class/pagenav.php"; + include $GLOBALS['xoops']->path("/class/pagenav.php"); $nav = new XoopsPageNav($count_tag, $limit, $start, "start", "modid={$modid}&status={$status}"); - $form_tags .= "<tr><td colspan='4' align='right'>" . $nav->renderNav(4) . "</td></tr>"; + $form_tags .= " <tr><td colspan='4' class='txtright'>" . $nav->renderNav(4) . "</td></tr>\n"; } - $form_tags .= "<tr><td colspan='4' align='center'>"; - $form_tags .= "<input type='hidden' name='status' value='{$status}'> "; - $form_tags .= "<input type='hidden' name='start' value='{$start}'> "; - $form_tags .= "<input type='hidden' name='modid' value='{$modid}'> "; - $form_tags .= "<input type='submit' name='submit' value='" . _SUBMIT . "'> "; - $form_tags .= "<input type='reset' name='submit' value='" . _CANCEL . "'>"; - $form_tags .= "</td></tr>"; + $form_tags .= " </tbody>\n" + . " <tfoot>\n" + . " <tr>\n" + . " <td class='txtcenter' colspan='4'>\n" + . " <input type='hidden' name='status' value='{$status}' /> \n" + . " <input type='hidden' name='start' value='{$start}' /> \n" + . " <input type='hidden' name='modid' value='{$modid}' /> \n" + . " <input type='submit' name='submit' value='" . _SUBMIT . "' /> \n" + . " <input type='reset' name='submit' value='" . _CANCEL . "' />\n" + . " </td>\n" + . " </tr>\n" + . " </tfoot>\n"; } -$form_tags .= "</table>"; -$form_tags .= "</form>"; +$form_tags .= " </tbody>\n" + . "</table>\n" + . "</form>\n"; echo $form_tags; -include 'admin_footer.php'; +include __DIR__ . '/admin_footer.php'; Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/admin_footer.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/admin/admin_footer.php 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/admin_footer.php 2014-12-08 22:05:21 UTC (rev 12898) @@ -1,27 +1,41 @@ <?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. +*/ + /** - * Tag module + * XOOPS tag management module * - * You may not change or alter any portion of this comment or credits - * of supporting developers from this source code or any supporting source code - * which is considered copyrighted (c) material of the original comment or credit authors. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package XOOPS Tag - * @since 2.5.0 - * @author Mamba (www.xoops.org) - * @version $Id $ -**/ - + * @package tag + * @copyright {@link http://sourceforge.net/projects/xoops/ The XOOPS Project} + * @license {@link http://www.fsf.org/copyleft/gpl.html GNU public license} + * @author Mamba {@link http://www.xoops.org} + * @since 2.31 + * @version $Id$ + */ +/* echo "<div class='adminfooter'>\n" - ." <div style='text-align: center;'>\n" + ." <div class='txtcenter'>\n" ." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" ." </div>\n" ." " . _AM_TAG_FOOTER . "\n" ."</div>"; + */ +echo "<div class='adminfooter'>\n" + . " <div class='center'>\n" + . " <a href='" . $GLOBALS['xoopsModule']->getInfo('author_website_url') . "' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='" . $GLOBALS['xoopsModule']->getInfo('author_website_name') . "' title='" . $GLOBALS['xoopsModule']->getInfo('author_website_name') . "' /></a>\n" + . " </div>\n" + . " <div class='center smallsmall italic pad5'>\n" + . " " . _AM_TAG_MAINTAINED_BY + . " <a class='tooltip' rel='external' href='http://" . $GLOBALS['xoopsModule']->getInfo('module_website_url') . "' " + . "title='" . _AM_TAG_MAINTAINED_TITLE . "'>" . _AM_TAG_MAINTAINED_TEXT . "</a>\n" + . " </div>\n" + . "</div>"; xoops_cp_footer(); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/admin_header.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/admin/admin_header.php 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/admin_header.php 2014-12-08 22:05:21 UTC (rev 12898) @@ -14,91 +14,32 @@ * * @copyright The XOOPS project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @since 1.0.0 + * @since 1.00 * @author Taiwen Jiang <ph...@us...> * @version $Id$ - * @package tag - */ + * */ -$path = dirname(dirname(dirname(dirname(__FILE__)))); +$path = dirname(dirname(dirname(__DIR__))); require_once $path . '/include/cp_header.php'; -require_once dirname(dirname(__FILE__)) . '/include/vars.php'; -require_once dirname(dirname(__FILE__)) . '/include/functions.php'; +require_once dirname(__DIR__) . '/include/vars.php'; +require_once dirname(__DIR__) . '/include/functions.php'; +xoops_load('constants', 'tag'); $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'); +$pathIcon16 = $GLOBALS['xoops']->url('www/' . $GLOBALS['xoopsModule']->getInfo('icons16')); +$pathIcon32 = $GLOBALS['xoops']->url('www/' . $GLOBALS['xoopsModule']->getInfo('icons32')); +$pathModuleAdmin = $GLOBALS['xoops']->path('www/' . $GLOBALS['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); - } - -IF (!@ include_once XOOPS_ROOT_PATH . "/Frameworks/art/functions.admin.php"): - -function loadModuleAdminMenu($currentoption, $breadcrumb = "") -{ - if (!$adminmenu = $GLOBALS["xoopsModule"]->getAdminMenu()) { - return false; - } - - $breadcrumb = empty($breadcrumb) ? $adminmenu[$currentoption]["title"] : $breadcrumb; - $module_link = XOOPS_URL . "/modules/" . $GLOBALS["xoopsModule"]->getVar("dirname") . "/"; - $image_link = XOOPS_URL . "/modules/" . $GLOBALS["xoopsModule"]->getVar("dirname") . "/images"; - - $adminmenu_text =' - <style type="text/css"> - <!-- - #buttontop { float:left; width:100%; background: #e7e7e7; font-size:93%; line-height:normal; border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; margin: 0;} - #buttonbar { float:left; width:100%; background: #e7e7e7 url("'.$image_link.'/modadminbg.gif") repeat-x left bottom; font-size:93%; line-height:normal; border-left: 1px solid black; border-right: 1px solid black; margin-bottom: 12px;} - #buttonbar ul { margin:0; margin-top: 15px; padding:10px 10px 0; list-style:none; } - #buttonbar li { display:inline; margin:0; padding:0; } - #buttonbar a { float:left; background:url("'.$image_link.'/left_both.gif") no-repeat left top; margin:0; padding:0 0 0 9px; border-bottom:1px solid #000; text-decoration:none; } - #buttonbar a span { float:left; display:block; background:url("'.$image_link.'/right_both.gif") no-repeat right top; padding:5px 15px 4px 6px; font-weight:bold; color:#765; } - /* Commented Backslash Hack hides rule from IE5-Mac \*/ - #buttonbar a span {float:none;} - /* End IE5-Mac hack */ - #buttonbar a:hover span { color:#333; } - #buttonbar .current a { background-position:0 -150px; border-width:0; } - #buttonbar .current a span { background-position:100% -150px; padding-bottom:5px; color:#333; } - #buttonbar a:hover { background-position:0% -150px; } - #buttonbar a:hover span { background-position:100% -150px; } - //--> - </style> - <div id="buttontop"> - <table style="width: 100%; padding: 0; " cellspacing="0"> - <tr> - <td style="width: 70%; font-size: 10px; text-align: left; color: #2F5376; padding: 0 6px; line-height: 18px;"> - <a href="../index.php">' . $GLOBALS["xoopsModule"]->getVar("name") . '</a> - </td> - <td style="width: 30%; font-size: 10px; text-align: right; color: #2F5376; padding: 0 6px; line-height: 18px;"> - <strong>' . $GLOBALS["xoopsModule"]->getVar("name") . '</strong> ' . $breadcrumb . ' - </td> - </tr> - </table> - </div> - <div id="buttonbar"> - <ul> - '; - foreach (array_keys($adminmenu) as $key) { - $adminmenu_text .= (($currentoption == $key) ? '<li class="current">' : '<li>') . '<a href="' . $module_link . $adminmenu[$key]["link"] . '"><span>' . $adminmenu[$key]["title"] . '</span></a></li>'; - } - $adminmenu_text .= '<li><a href="' . XOOPS_URL . '/modules/system/admin.php?fct=preferences&op=showmod&mod=' . $GLOBALS["xoopsModule"]->getVar("mid") . '"><span>' . _PREFERENCES . '</span></a></li>'; - $adminmenu_text .= ' - </ul> - </div> - <br style="clear:both;" />'; - - echo $adminmenu_text; +if ( file_exists("{$pathModuleAdmin}/moduleadmin/moduleadmin.php")) { + include_once "{$pathModuleAdmin}/moduleadmin/moduleadmin.php"; +} else { + redirect_header("{$path}/admin.php", TagConstants::REDIRECT_DELAY_LONG, _AM_MODULEADMIN_MISSING, false); } -ENDIF; +include_once $GLOBALS['xoops']->path("/Frameworks/art/functions.admin.php"); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/index.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/admin/index.php 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/index.php 2014-12-08 22:05:21 UTC (rev 12898) @@ -12,59 +12,71 @@ /** * XOOPS tag management module * - * @copyright The XOOPS project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @since 1.0.0 - * @author Taiwen Jiang <ph...@us...> - * @version $Id$ - * @package tag + * @package tag + * @subpackage admin + * @copyright {@link http://sourceforge.net/projects/xoops/ The XOOPS Project} + * @license {@link http://www.fsf.org/copyleft/gpl.html GNU public license} + * @author Taiwen Jiang <ph...@us...> + * @since 1.00 + * @version $Id$ */ -include_once 'admin_header.php'; + +require_once __DIR__ . '/admin_header.php'; xoops_cp_header(); +include $GLOBALS['xoops']->path("/modules/tag/include/vars.php"); -include XOOPS_ROOT_PATH . "/modules/tag/include/vars.php"; -//echo function_exists("loadModuleAdminMenu") ? loadModuleAdminMenu(0) : ""; - $indexAdmin = new ModuleAdmin(); -$tag_handler =& xoops_getmodulehandler("tag", $xoopsModule->getVar("dirname")); +$tag_handler =& xoops_getmodulehandler("tag", $thisModuleDir); $count_tag = $tag_handler->getCount(); $count_item = 0; -$sql = " SELECT COUNT(DISTINCT tl_id) FROM " . $xoopsDB->prefix("tag_link"); -if ( ($result = $xoopsDB->query($sql)) == false) { - xoops_error($xoopsDB->error()); +$sql = "SELECT COUNT(DISTINCT tl_id) FROM " . $GLOBALS['xoopsDB']->prefix("tag_link"); +if (false === ($result = $GLOBALS['xoopsDB']->query($sql))) { + xoops_error($GLOBALS['xoopsDB']->error()); } else { - list($count_item) = $xoopsDB->fetchRow($result); + list($count_item) = $GLOBALS['xoopsDB']->fetchRow($result); } -$sql = " SELECT tag_modid, SUM(tag_count) AS count_item, COUNT(DISTINCT tag_id) AS count_tag"; -$sql .= " FROM " . $xoopsDB->prefix("tag_stats"); -$sql .= " GROUP BY tag_modid"; +$sql = "SELECT tag_modid, SUM(tag_count) AS count_item, COUNT(DISTINCT tag_id) AS count_tag"; +$sql .= " FROM " . $GLOBALS['xoopsDB']->prefix("tag_stats"); +$sql .= " GROUP BY tag_modid"; $counts_module = array(); -if ( ($result = $xoopsDB->query($sql)) == false) { - xoops_error($xoopsDB->error()); +if (false === ($result = $GLOBALS['xoopsDB']->query($sql))) { + xoops_error($GLOBALS['xoopsDB']->error()); } else { - while ($myrow = $xoopsDB->fetchArray($result)) { + while ($myrow = $GLOBALS['xoopsDB']->fetchArray($result)) { $counts_module[$myrow["tag_modid"]] = array("count_item" => $myrow["count_item"], "count_tag" => $myrow["count_tag"]); } if (!empty($counts_module)) { $module_handler =& xoops_gethandler("module"); $module_list = $module_handler->getList(new Criteria("mid", "(" . implode(", ", array_keys($counts_module)) . ")", "IN")); + } else { + } } -$indexAdmin->addInfoBox(TAG_AM_STATS) ; -$indexAdmin->addInfoBoxLine(TAG_AM_STATS, "<infolabel>" .TAG_AM_COUNT_TAG. "</infolabel>" , $count_tag) ; -$indexAdmin->addInfoBoxLine(TAG_AM_STATS, "<infolabel>" .TAG_AM_COUNT_ITEM. "</infolabel>" , $count_item ."<br /><br />") ; -$indexAdmin->addInfoBoxLine(TAG_AM_STATS, "<infolabel>" . TAG_AM_COUNT_MODULE. "</infolabel><infotext>" .TAG_AM_COUNT_MODULE_TITLE."</infotext>") ; +$indexAdmin->addInfoBox(_AM_TAG_STATS) ; +$indexAdmin->addInfoBoxLine(_AM_TAG_STATS, "<infolabel>" . _AM_TAG_COUNT_TAG . "</infolabel>" , $count_tag) ; +$indexAdmin->addInfoBoxLine(_AM_TAG_STATS, "<infolabel>" . _AM_TAG_COUNT_ITEM . "</infolabel>" , $count_item ."<br /><br />") ; +$indexAdmin->addInfoBoxLine(_AM_TAG_STATS, "<infolabel>" . _AM_TAG_COUNT_MODULE . "</infolabel>" . "<infotext>" . _AM_TAG_COUNT_MODULE_TITLE . "</infotext>") ; foreach ($counts_module as $module => $count) { - $indexAdmin->addInfoBoxLine( TAG_AM_STATS,("<infolabel>" . $module_list[$module] . ":</infolabel><infotext>" . $count["count_tag"] . " / " . $count["count_item"] . " [<a href=\"" . XOOPS_URL . "/modules/tag/admin/admin.tag.php?modid={$module}\">" . TAG_AM_EDIT . "</a>] [<a href=\"" . XOOPS_URL . "/modules/tag/admin/syn.tag.php?modid={$module}\">" . TAG_AM_SYNCHRONIZATION . "</a>]</infotext> ")); + $moduleStat = "<infolabel>" . $module_list[$module] . ":</infolabel>\n" + . "<infotext>" . $count["count_tag"] . " / " . $count["count_item"] . "\n" + . " [<a href='" . $GLOBALS['xoops']->url("www/modules/tag/admin/admin.tag.php?modid={$module}") . "'>" . _AM_TAG_EDIT . "</a>]\n" + . " [<a href='" . $GLOBALS['xoops']->url("www/modules/tag/admin/syn.tag.php?modid={$module}") . "'>" . _AM_TAG_SYNCHRONIZATION . "</a>]\n" + . "</infotext> \n"; + $indexAdmin->addInfoBoxLine( _AM_TAG_STATS, $moduleStat); } +if (empty($counts_module)) { // there aren't any so just display "none" + $moduleStat = "<infolabel>%s</infolabel><infotext>0 / 0</infotext> \n"; + $indexAdmin->addInfoBoxLine( _AM_TAG_STATS, $moduleStat, _NONE); +} + echo $indexAdmin->addNavigation('index.php'); echo $indexAdmin->renderIndex(); -include 'admin_footer.php'; +include __DIR__ . '/admin_footer.php'; //xoops_cp_footer(); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/menu.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/admin/menu.php 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/menu.php 2014-12-08 22:05:21 UTC (rev 12898) @@ -12,40 +12,38 @@ /** * XOOPS tag management module * - * @copyright The XOOPS project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @since 1.0.0 + * @package tag + * @copyright {@link http://sourceforge.net/projects/xoops/ The XOOPS Project} + * @license {@link http://www.fsf.org/copyleft/gpl.html GNU public license} * @author Taiwen Jiang <ph...@us...> + * @since 1.00 * @version $Id$ - * @package tag */ -defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined'); +defined('XOOPS_ROOT_PATH') || exit('Restricted access'); $module_handler =& xoops_gethandler('module'); -$xoopsModule =& XoopsModule::getByDirname('tag'); -$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); -$pathIcon32 = $moduleInfo->getInfo('icons32'); +$module =& XoopsModule::getByDirname('tag'); +$moduleInfo =& $module_handler->get($module->getVar('mid')); +$pathIcon32 = '../../' . $module->getInfo('icons32'); -$adminmenu = array(); +$adminmenu = array(array("title" => _MI_TAG_ADMENU_INDEX, + "link" => "admin/index.php", + "desc" => _MI_TAG_ADMIN_HOME_DESC, + "icon" => "{$pathIcon32}/home.png"), -$i = 1; -$adminmenu[$i]["title"] = TAG_MI_ADMENU_INDEX; -$adminmenu[$i]["link"] = "admin/index.php"; -$adminmenu[$i]["desc"] = _TAG_ADMIN_HOME_DESC; -$adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; -++$i; -$adminmenu[$i]["title"] = TAG_MI_ADMENU_EDIT; -$adminmenu[$i]["link"] = "admin/admin.tag.php"; -$adminmenu[$i]["desc"] = _TAG_ADMIN_ABOUT_DESC; -$adminmenu[$i]["icon"] = $pathIcon32.'/administration.png'; -++$i; -$adminmenu[$i]["title"] = TAG_MI_ADMENU_SYNCHRONIZATION; -$adminmenu[$i]["link"] = "admin/syn.tag.php"; -$adminmenu[$i]["desc"] = _TAG_ADMIN_HELP_DESC; -$adminmenu[$i]["icon"] = $pathIcon32.'/synchronized.png'; -++$i; -$adminmenu[$i]["title"] = _TAG_ADMIN_ABOUT; -$adminmenu[$i]["link"] = "admin/about.php"; -$adminmenu[$i]["desc"] = _TAG_ADMIN_ABOUT_DESC; -$adminmenu[$i]["icon"] = $pathIcon32.'/about.png'; + array("title" => _MI_TAG_ADMENU_EDIT, + "link" => "admin/admin.tag.php", + "desc" => _MI_TAG_ADMENU_EDIT_DESC, + "icon" => "{$pathIcon32}/administration.png"), + + array("title" => _MI_TAG_ADMENU_SYNCHRONIZATION, + "link" => "admin/syn.tag.php", + "desc" => _MI_TAG_HELP_DESC, + "icon" => "{$pathIcon32}/synchronized.png"), + + array("title" => _MI_TAG_ADMIN_ABOUT, + "link" => "admin/about.php", + "desc" => _MI_TAG_ADMIN_HELP_DESC, + "icon" => "{$pathIcon32}/about.png") +); Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/syn.tag.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/admin/syn.tag.php 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/admin/syn.tag.php 2014-12-08 22:05:21 UTC (rev 12898) @@ -12,36 +12,37 @@ /** * XOOPS tag management module * - * @copyright The XOOPS project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @since 1.0.0 + * @package tag + * @copyright {@link http://sourceforge.net/projects/xoops/ The XOOPS Project} + * @license {@link http://www.fsf.org/copyleft/gpl.html GNU public license} * @author Taiwen Jiang <ph...@us...> + * @since 1.00 * @version $Id$ - * @package tag */ -include_once 'admin_header.php'; -require_once XOOPS_ROOT_PATH . "/class/xoopsformloader.php"; -//include_once XOOPS_ROOT_PATH."/modules/" . $xoopsModule->getVar("dirname") . "/class/admin.php"; -$index_admin = new ModuleAdmin(); +require_once __DIR__ . '/admin_header.php'; +require_once $GLOBALS['xoops']->path("/class/xoopsformloader.php"); +xoops_load('xoopsrequest'); +//include_once $GLOBALS['xoops']->path("/modules/" . $GLOBALS['xoopsModule']->getVar("dirname") . "/class/admin.php"); + +include $GLOBALS['xoops']->path("/modules/tag/include/vars.php"); + xoops_cp_header(); -include XOOPS_ROOT_PATH . "/modules/tag/include/vars.php"; -//echo function_exists("loadModuleAdminMenu") ? loadModuleAdminMenu(2) : ""; - echo $index_admin->addNavigation('syn.tag.php'); +$index_admin = new ModuleAdmin(); +echo $index_admin->addNavigation('syn.tag.php'); -$limit = 10; -$modid = intval( @$_GET['modid'] ); -$start = intval( @$_GET['start'] ); -$limit = isset($_GET['limit']) ? intval( $_GET['limit'] ) : 100; +$modid = XoopsRequest::getInt('modid', TagConstants::DEFAULT_ID); +$start = XoopsRequest::getInt('start', TagConstants::BEGINNING); +$limit = XoopsRequest::getInt('limit', TagConstants::DEFAULT_LIMIT); -$sql = " SELECT tag_modid, COUNT(DISTINCT tag_id) AS count_tag"; -$sql .= " FROM " . $xoopsDB->prefix("tag_link"); -$sql .= " GROUP BY tag_modid"; +$sql = "SELECT tag_modid, COUNT(DISTINCT tag_id) AS count_tag"; +$sql .= " FROM " . $GLOBALS['xoopsDB']->prefix("tag_link"); +$sql .= " GROUP BY tag_modid"; $counts_module = array(); $module_list = array(); -if ( $result = $xoopsDB->query($sql)) { - while ($myrow = $xoopsDB->fetchArray($result)) { +if ( $result = $GLOBALS['xoopsDB']->query($sql)) { + while ($myrow = $GLOBALS['xoopsDB']->fetchArray($result)) { $counts_module[$myrow["tag_modid"]] = $myrow["count_tag"]; } if (!empty($counts_module)) { @@ -53,43 +54,37 @@ $opform = new XoopsSimpleForm('', 'moduleform', xoops_getenv("PHP_SELF"), "get"); $tray = new XoopsFormElementTray(''); $mod_select = new XoopsFormSelect(_SELECT, 'modid', $modid); -$mod_select->addOption(-1, TAG_AM_GLOBAL); -$mod_select->addOption(0, TAG_AM_ALL); +$mod_select->addOption(-1, _AM_TAG_GLOBAL); +$mod_select->addOption(0, _AM_TAG_ALL); foreach ($module_list as $module => $module_name) { $mod_select->addOption($module, $module_name . " (" . $counts_module[$module] . ")"); } $tray->addElement($mod_select); -$num_select = new XoopsFormSelect(TAG_AM_NUM, 'limit', $limit); -foreach (array(10, 50, 100, 500) as $_num) { - $num_select->addOption($_num); -} -$num_select->addOption(0, _ALL); +$num_select = new XoopsFormSelect(_AM_TAG_NUM, 'limit', $limit); +$num_select->addOptionArray(array(0 => _ALL, 10 => 10, 50 => 50, 100 => 100, 500 => 500)); $tray->addElement($num_select); $tray->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); $tray->addElement(new XoopsFormHidden("start", $start)); $opform->addElement($tray); $opform->display(); -if ( isset($_GET['start']) ) { +if (isset($_GET['start'])) { + $tag_handler =& xoops_getmodulehandler("tag", $thisModuleDir); - $tag_handler =& xoops_getmodulehandler("tag", $xoopsModule->getVar("dirname")); - $criteria = new CriteriaCompo(); $criteria->setStart($start); $criteria->setLimit($limit); - if ($modid > 0) { - $criteria->add( new Criteria("l.tag_modid", $modid) ); + if ($modid > TagConstants::DEFAULT_ID) { + $criteria->add(new Criteria("l.tag_modid", $modid)); } $tags = $tag_handler->getByLimit($criteria, false); if (empty($tags)) { - echo "<h2>" . TAG_AM_FINISHED . "</h2>"; + echo "<h2>" . _AM_TAG_FINISHED . "</h2>\n"; } else { - foreach (array_keys($tags) as $tag_id) { - $tag_handler->update_stats($tag_id, ( $modid == -1 ) ? 0 : $tags[$tag_id]["modid"]); + $tag_handler->update_stats($tag_id, (-1 == $modid) ? TagConstants::DEFAULT_ID : $tags[$tag_id]["modid"]); } - redirect_header("syn.tag.php?modid={$modid}&start=" . ($start + $limit) . "&limit={$limit}", 2, TAG_AM_IN_PROCESS); + redirect_header("syn.tag.php?modid={$modid}&start=" . ($start + $limit) . "&limit={$limit}", TagConstants::REDIRECT_DELAY_SHORT, _AM_TAG_IN_PROCESS); } } -include 'admin_footer.php'; -//xoops_cp_footer(); +include __DIR__ . '/admin_footer.php'; Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/css/index.html =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/assets/css/index.html 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/css/index.html 2014-12-08 22:05:21 UTC (rev 12898) @@ -1 +1 @@ - <script>history.go(-1);</script> \ No newline at end of file +<script>history.go(-1);</script> Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/images/index.html =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/assets/images/index.html 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/images/index.html 2014-12-08 22:05:21 UTC (rev 12898) @@ -1 +1 @@ - <script>history.go(-1);</script> \ No newline at end of file +<script>history.go(-1);</script> Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/index.html =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/assets/index.html 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/index.html 2014-12-08 22:05:21 UTC (rev 12898) @@ -1 +1 @@ - <script>history.go(-1);</script> \ No newline at end of file +<script>history.go(-1);</script> Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/js/index.html =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/assets/js/index.html 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/assets/js/index.html 2014-12-08 22:05:21 UTC (rev 12898) @@ -1 +1 @@ - <script>history.go(-1);</script> \ No newline at end of file +<script>history.go(-1);</script> Modified: XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/blocks/block.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/tag/blocks/block.php 2014-11-30 21:34:06 UTC (rev 12881) +++ XoopsModules/modulepacks/x257basicmodulepack/branches/zyspec/tag/blocks/block.php 2014-12-08 22:05:21 UTC (rev 12898) @@ -12,19 +12,21 @@ /** * XOOPS tag management module * - * @copyright The XOOPS project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @since 1.0.0 + * @package tag + * @copyright {@link http://sourceforge.net/projects/xoops/ The XOOPS Project} + * @license {@link http://www.fsf.org/copyleft/gpl.html GNU public license} * @author Taiwen Jiang <ph...@us...> + * @since 1.00 * @version $Id$ - * @package tag */ -defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined'); -include XOOPS_ROOT_PATH . "/modules/tag/include/vars.php"; -include_once XOOPS_ROOT_PATH . "/modules/tag/include/functions.php"; +defined('XOOPS_ROOT_PATH') || exit('Restricted access'); +include $GLOBALS['xoops']->path("/modules/tag/include/vars.php"); +include_once $GLOBALS['xoops']->path("/modules/tag/include/functions.php"); + xoops_loadLanguage("blocks", "tag"); +xoops_load('constants', 'tag'); /**#@+ * Function to display tag cloud @@ -36,7 +38,7 @@ * <code> * function newbb_block_tag_cloud_show($options) { * $catid = $options[4]; // Not used by newbb, Only for demonstration - * if (!@include_once XOOPS_ROOT_PATH."/modules/tag/blocks/block.php") { + * if (!@include_once $GLOBALS['xoops']->path("/modules/tag/blocks/block.php")) { * return null; * } * $block_content = tag_block_cloud_show($options, "newbb", $catid); @@ -48,7 +50,7 @@ * <li>Call the tag_block_cloud_edit in your defined block function:<br /> * <code> * function newbb_block_tag_cloud_edit($options) { - * if (!@include_once XOOPS_ROOT_PATH."/modules/tag/blocks/block.php") { + * if (!@include_once $GLOBALS['xoops']->path("/modules/tag/blocks/block.php")) { * return null; * } * $form = tag_block_cloud_edit($options); @@ -73,14 +75,17 @@ * $options[2] - max font size (px or %) * $options[3] - min font size (px or %) */ -function tag_block_cloud_show( $options, $dirname = "", $catid = 0 ) +function tag_block_cloud_show($options, $dirname = "", $catid = 0) { - global $xoTheme, $xoopsDB; - $xoTheme->addStylesheet(XOOPS_URL . '/modules/tag/assets/css/style.css'); + global $xoTheme; + $xoTheme->addStylesheet($GLOBALS['xoops']->url('www/modules/tag/assets/css/style.css')); if (empty($dirname)) { $modid = 0; - } elseif (isset($GLOBALS["xoopsModule"]) && is_object($GLOBALS["xoopsModule"]) && $GLOBALS["xoopsModule"]->getVar("dirname") == $dirname) { + } elseif (isset($GLOBALS["xoopsModule"]) + && ($GLOBALS["xoopsModule"] instanceof XoopsModule) + && ($GLOBALS["xoopsModule"]->getVar("dirname") == $dirname)) + { $modid = $GLOBALS["xoopsModule"]->getVar("mid"); } else { $module_handler =& xoops_gethandler("module"); @@ -96,11 +101,11 @@ $criteria->setSort("count"); $criteria->setOrder("DESC"); $criteria->setLimit($options[0]); - $criteria->add( new Criteria("o.tag_status", 0) ); + $criteria->add(new Criteria("o.tag_status", TagConstants::STATUS_ACTIVE)); if (!empty($modid)) { - $criteria->add( new Criteria("l.tag_modid", $modid) ); - if ($catid >= 0) { - $criteria->add( new Criteria("l.tag_catid", $catid) ); + $criteria->add(new Criteria("l.tag_modid", $modid)); + if ($catid >= TagConstants::DEFAULT_ID) { + $criteria->add(new Criteria("l.tag_catid", $catid)); } } if (!$tags = $tag_handler->getByLimit($criteria, empty($options[1]))) { @@ -111,11 +116,13 @@ $count_min = 0; $tags_term = array(); foreach (array_keys($tags) as $key) { - if ($tags[$key]["count"] > $count_max) $count_max = $tags[$key]["count"]; - if ($tags[$key]["count"] < $count_min || $count_min == 0) $count_min = $tags[$key]["count"]; - $tags_term[] = strtolower($tags[$key]["term"]); + $count_max = max($count_max, $tags[$key]["count"]); // set counter to the max tag count + $count_min = min(0, $count_min, $tags[$key]["count"]); //set counter to the minimum for tag count + $tags_term[] = mb_strtolower($tags[$key]["term"]); } - array_multisort($tags_term, SORT_ASC, $tags); + if (!empty($tags_term)) { + array_multisort($tags_term, SORT_ASC, $tags); + } $count_interval = $count_max - $count_min; $level_limit = 5; @@ -125,14 +132,13 @@ $tags_data = array(); foreach (array_keys($tags) as $key) { - $tags_data[] = array( - "id" => $tags[$key]["id"], - "font" => ($count_interval) ? floor( ($tags[$key]["count"] - $count_min) * $font_ratio + $font_min ) : 100, - "level" => empty($count_max) ? 0 : floor( ($tags[$key]["count"] - $count_min) * $level_limit / $count_max ), - "term" => urlencode($tags[$key]["term"]), - "title" => htmlspecialchars($tags[$key]["term"]), - "count" => $tags[$key]["count"], - ); + $tags_data[] = array("id" => $tags[$key]["id"], + "font" => ($count_interval) ? floor(($tags[$key]["count"] - $count_min) * $font_ratio + $font_min) : 100, + "level" => empty($count_max) ? 0 : floor(($tags[$key]["count"] - $count_min) * $level_limit / $count_max), + "term" => urlencode($tags[$key]["term"]), + "title" => htmlspecialchars($tags[$key]["term"]), + "count" => $tags[$key]["count"], + ); } unset($tags, $tags_term); @@ -150,10 +156,10 @@ function tag_block_cloud_edit($options) { - $form = TAG_MB_ITEMS . ": <input type=\"text\" name=\"options[0]\" value=\"" . $options[0] . "\" /><br />"; - $form .= TAG_MB_TIME_DURATION . ": <input type=\"text\" name=\"options[1]\" value=\"" . $options[1] . "\" /><br />"; - $form .= TAG_MB_FONTSIZE_MAX . ": <input type=\"text\" name=\"options[2]\" value=\"" . $options[2] . "\" /><br />"; - $form .= TAG_MB_FONTSIZE_MIN . ": <input type=\"text\" name=\"options[3]\" value=\"" . $options[3] . "\" /><br />"; + $form = _MB_TAG_ITEMS . ": <input type='number' name='options[0]' value='{$options[0]}' min='0' /><br />\n"; + $form .= _MB_TAG_TIME_DURATION . ": <input type='number' name='options[1]' value='{$options[1]}' min='0' /><br />\n"; + $form .= _MB_TAG_FONTSIZE_MAX . ": <input type='number' name='options[2]' value='{$options[2]}' min='0' /><br />\n"; + $form .= _MB_TAG_FONTSIZE_MIN . ": <input type='number' name='options[3]' value='{$options[3]}' min='0' /><br />\n"; return $form; } @@ -168,7 +174,7 @@ * <code> * function newbb_block_tag_top_show($options) { * $catid = $options[3]; // Not used by newbb, Only for demonstration - * if (!@include_once XOOPS_ROOT_PATH."/modules/tag/blocks/block.php") { + * if (!@include_once $GLOBALS['xoops']->path("/modules/tag/blocks/block.php")) { * return null; * } * $block_content = tag_block_top_show($options, "newbb", $catid); @@ -180,7 +186,7 @@ * <li>Call the tag_block_top_edit in your defined block function:<br /> * <code> * function newbb_block_tag_top_edit($options) { - * if (!@include_once XOOPS_ROOT_PATH."/modules/tag/blocks/block.php") { + * if (!@include_once $GLOBALS['xoops']->path("/modules/tag/blocks/block.php")) { * return null; * } * $form = tag_block_cloud_edit($options); @@ -204,13 +210,14 @@ * $options[1] - time duration, in days, 0 for all the time * $options[2] - sort: a - alphabet; c - count; t - time */ -function tag_block_top_show( $options, $dirname = "", $catid = 0 ) +function tag_block_top_show($options, $dirname = "", $catid = 0) { - global $xoopsDB; - if (empty($dirname)) { $modid = 0; - } elseif (isset($GLOBALS["xoopsModule"]) && is_object($GLOBALS["xoopsModule"]) && $GLOBALS["xoopsModule"]->getVar("dirname") == $dirname) { + } elseif (isset($GLOBALS["xoopsModule"]) + && ($GLOBALS["xoopsModule"] instanceof XoopsModule) + && $GLOBALS["xoopsModule"]->getVar("dirname") == $dirname) + { $modid = $GLOBALS["xoopsModule"]->getVar("mid"); } else { $module_handler =& xoops_gethandler("module"); @@ -223,18 +230,20 @@ tag_define_url_delimiter(); $criteria = new CriteriaCompo(); - $sort = ($options[2] == "a" || $options[2] == "alphabet") ? "count" : $options[2]; - $criteria->setSort("count"); + $sort = (("a" == $options[2]) || ("alphabet" == $options[2])) ? "count" : $options[2]; +// $criteria->setSort("count"); + $criteria->setSort($sort); $criteria->setOrder("DESC"); - $criteria->setLimit($options[0]); - $criteria->add( new Criteria("o.tag_status", 0) ); + $criteria->setLimit((int) $options[0]); + $criteria->add(new Criteria("o.tag_status", TagConstants::STATUS_ACTIVE)); if (!empty($options[1])) { - $criteria->add( new Criteria("l.tag_time", time() - $options[1] * 24 * 3600, ">") ); + $criteria->add(new Criteria("l.tag_time", time() - floatval($options[1]) * 24 * 3600, ">")); } if (!empty($modid)) { - $criteria->add( new Criteria("l.tag_modid", $modid) ); + $criteria->add(new Criteria("l.tag_modid", $modid)); + $catid = (int) $catid; if ($catid >= 0) { - $criteria->add( new Criteria("l.tag_catid", $catid) ); + $criteria->add(new Criteria("l.tag_catid", $catid)); } } if (!$tags = $tag_handler->getByLimit($criteria, empty($options[1]))) { @@ -245,10 +254,10 @@ $count_min = 0; $tags_sort = array(); foreach (array_keys($tags) as $key) { - if ($tags[$key]["count"] > $count_max) $count_max = $tags[$key]["count"]; - if ($tags[$key]["count"] < $count_min) $count_min = $tags[$key]["count"]; - if ($options[2] == "a" || $options[2] == "alphabet") { - $tags_sort[] = strtolower($tags[$key]["term"]); + $count_max = max($count_max, $tags[$key]["count"]); // set counter to the max tag count + $count_min = min(0, $count_min, $tags[$key]["count"]); //set counter to the minimum for tag count + if (("a" == $options[2]) || ("alphabet" == $options[2])) { + $tags_sort[] = mb_strtolower($tags[$key]["term"]); } } $count_interval = $count_max - $count_min; @@ -264,16 +273,15 @@ $tags_data = array(); foreach (array_keys($tags) as $key) { - $tags_data[] = array( - "id" => $tags[$key]["id"], - //"level" => ($tags[$key]["count"] - $count_min) * $font_ratio + $font_min, - "term" => $tags[$key]["term"], - "count" => $tags[$key]["count"], - ); + $tags_data[] = array("id" => $tags[$key]["id"], + "term" => $tags[$key]["term"], + "count" => $tags[$key]["count"], +// "level" => ($tags[$key]["count"] - $count_min) * $font_ratio + $font_min, + ); } unset($tags, $tags_term); - $block["tags"] =& $tags_data; + $block["tags"] =& $tags_data; $block["tag_dirname"] = "tag"; if (!empty($modid)) { $module_handler =& xoops_gethandler('module'); @@ -287,19 +295,196 @@ function tag_block_top_edit($options) { - $form = TAG_MB_ITEMS . ": <input type=\"text\" name=\"options[0]\" value=\"" . $options[0] . "\" /><br />"; - $form .= TAG_MB_TIME_DURATION . ": <input type=\"text\" name=\"options[1]\" value=\"" . $options[1] . "\" /><br />"; - $form .= TAG_MB_SORT . ": <select name='options[2]'>"; + $form = _MB_TAG_ITEMS . ": <input type='number' name='options[0]' value='{$options[0]}' min='0' /><br />\n"; + $form .= _MB_TAG_TIME_DURATION . ": <input type='number' name='options[1]' value=\"{$options[1]}' min='0' /><br />\n"; + $form .= _MB_TAG_SORT . ": <select name='options[2]'>\n"; $form .= "<option value='a'"; - if ($options[2] == "a") $form .= " selected='selected' "; - $form .= ">" . TAG_MB_ALPHABET . "</option>"; + if ("a" == $options[2]) { + $form .= " selected='selected' "; + } + $form .= ">" . _MB_TAG_ALPHABET . "</option>\n"; $form .= "<option value='c'"; - if ($options[2] == "c") $form .= " selected='selected' "; - $form .= ">" . TAG_MB_COUNT . "</option>"; + if ("c" == $options[2]) { + $form .= " selected='selected' "; + } + $form .= ">" . _MB_TAG_COUNT . "</option>\n"; $form .= "<option value='t'"; - if ($options[2] == "t") $form .= " selected='selected' "; - $form .= ">" . TAG_MB_TIME . "</option>"; - $form .= "</select>"; + if ("t" == $options[2]) { + $form .= " selected='selected' "; + } + $form .= ">" . _MB_TAG_TIME . "</option>\n"; + $form .= "</select>\n"; return $form; } + +/* + * $options for cumulus: + * $options[0] - number of tags to display + * $options[1] - time duration + * $options[2] - max font size (px or %) + * $options[3] - min font size (px or %) + * $options[4] - cumulus_flash_width + * $options[5] - cumulus_flash_height + * $options[6] - cumulus_flash_background + * $options[7] - cumulus_flash_transparency + * $options[8] - cumulus_flash_min_font_color + * $options[9] - cumulus_flash_max_font_color + * $options[10] - cumulus_flash_hicolor + * $options[11] - cumulus_flash_speed + */ +/** + * + * Prepare output for Cumulus block display + * + * @param array { + * @type int - 0 number of tags to display + * @type int - 1 time duration + * @type int - 2 max font size (px or %) + * @type int - 3 min font size (px or %) + * @type int - 4 cumulus_flash_width + * @type int - 5 cumulus_flash_height + * @type st... [truncated message content] |
From: <wis...@us...> - 2014-12-08 21:15:29
|
Revision: 12897 http://sourceforge.net/p/xoops/svn/12897 Author: wishcraft Date: 2014-12-08 21:15:22 +0000 (Mon, 08 Dec 2014) Log Message: ----------- Comitting(ed):: Self Signed Version 1.14 ~ MINOR FINAL RELEASE Modified Paths: -------------- XoopsModules/signed/releases/1.14/modules/signed/include/constants.php XoopsModules/signed/trunk/modules/signed/include/constants.php Modified: XoopsModules/signed/releases/1.14/modules/signed/include/constants.php =================================================================== --- XoopsModules/signed/releases/1.14/modules/signed/include/constants.php 2014-12-08 21:08:11 UTC (rev 12896) +++ XoopsModules/signed/releases/1.14/modules/signed/include/constants.php 2014-12-08 21:15:22 UTC (rev 12897) @@ -86,7 +86,7 @@ define('_SIGNED_BANNING_COOKIE', $_SESSION["signed"]['configurations']['banning_cookie']); //Versioning - define('_SIGNED_VERSION', '1.12 ( FINAL MINOR )'); + define('_SIGNED_VERSION', '1.14 ( FINAL MINOR )'); define('_SIGNED_SYSTEM_TYPE', 'Digital-Signature-Signing'); define('_SIGNED_SYSTEM_KEY', 'signed-self-xoops'); define('_SIGNED_API_VERSION', '1.0.9'); Modified: XoopsModules/signed/trunk/modules/signed/include/constants.php =================================================================== --- XoopsModules/signed/trunk/modules/signed/include/constants.php 2014-12-08 21:08:11 UTC (rev 12896) +++ XoopsModules/signed/trunk/modules/signed/include/constants.php 2014-12-08 21:15:22 UTC (rev 12897) @@ -86,7 +86,7 @@ define('_SIGNED_BANNING_COOKIE', $_SESSION["signed"]['configurations']['banning_cookie']); //Versioning - define('_SIGNED_VERSION', '1.12 ( FINAL MINOR )'); + define('_SIGNED_VERSION', '1.14 ( FINAL MINOR )'); define('_SIGNED_SYSTEM_TYPE', 'Digital-Signature-Signing'); define('_SIGNED_SYSTEM_KEY', 'signed-self-xoops'); define('_SIGNED_API_VERSION', '1.0.9'); |
From: <wis...@us...> - 2014-12-08 21:08:19
|
Revision: 12896 http://sourceforge.net/p/xoops/svn/12896 Author: wishcraft Date: 2014-12-08 21:08:11 +0000 (Mon, 08 Dec 2014) Log Message: ----------- Comitting(ed):: Self Signed Version 1.14 ~ MINOR FINAL RELEASE Added Paths: ----------- XoopsModules/signed/releases/1.14/htaccess.dist XoopsModules/signed/releases/1.14/modules/ XoopsModules/signed/releases/1.14/modules/index.html XoopsModules/signed/releases/1.14/modules/signed/ XoopsModules/signed/releases/1.14/modules/signed/.htaccess XoopsModules/signed/releases/1.14/modules/signed/admin/ XoopsModules/signed/releases/1.14/modules/signed/admin/about.php XoopsModules/signed/releases/1.14/modules/signed/admin/admin.php XoopsModules/signed/releases/1.14/modules/signed/admin/admin_footer.php XoopsModules/signed/releases/1.14/modules/signed/admin/admin_header.php XoopsModules/signed/releases/1.14/modules/signed/admin/events.php XoopsModules/signed/releases/1.14/modules/signed/admin/index.html XoopsModules/signed/releases/1.14/modules/signed/admin/menu.php XoopsModules/signed/releases/1.14/modules/signed/admin/signatures.php XoopsModules/signed/releases/1.14/modules/signed/api/ XoopsModules/signed/releases/1.14/modules/signed/api/banned/ XoopsModules/signed/releases/1.14/modules/signed/api/banned/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/banned/index.php XoopsModules/signed/releases/1.14/modules/signed/api/classes/ XoopsModules/signed/releases/1.14/modules/signed/api/classes/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/classes/index.php XoopsModules/signed/releases/1.14/modules/signed/api/descriptions/ XoopsModules/signed/releases/1.14/modules/signed/api/descriptions/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/descriptions/index.php XoopsModules/signed/releases/1.14/modules/signed/api/enumerators/ XoopsModules/signed/releases/1.14/modules/signed/api/enumerators/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/enumerators/index.php XoopsModules/signed/releases/1.14/modules/signed/api/fields/ XoopsModules/signed/releases/1.14/modules/signed/api/fields/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/fields/index.php XoopsModules/signed/releases/1.14/modules/signed/api/fieldtypes/ XoopsModules/signed/releases/1.14/modules/signed/api/fieldtypes/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/fieldtypes/index.php XoopsModules/signed/releases/1.14/modules/signed/api/identifications/ XoopsModules/signed/releases/1.14/modules/signed/api/identifications/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/identifications/index.php XoopsModules/signed/releases/1.14/modules/signed/api/index.php XoopsModules/signed/releases/1.14/modules/signed/api/language/ XoopsModules/signed/releases/1.14/modules/signed/api/language/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/language/index.php XoopsModules/signed/releases/1.14/modules/signed/api/languages/ XoopsModules/signed/releases/1.14/modules/signed/api/languages/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/languages/index.php XoopsModules/signed/releases/1.14/modules/signed/api/processes/ XoopsModules/signed/releases/1.14/modules/signed/api/processes/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/processes/index.php XoopsModules/signed/releases/1.14/modules/signed/api/prompts/ XoopsModules/signed/releases/1.14/modules/signed/api/prompts/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/prompts/index.php XoopsModules/signed/releases/1.14/modules/signed/api/providers/ XoopsModules/signed/releases/1.14/modules/signed/api/providers/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/providers/index.php XoopsModules/signed/releases/1.14/modules/signed/api/request/ XoopsModules/signed/releases/1.14/modules/signed/api/request/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/request/index.php XoopsModules/signed/releases/1.14/modules/signed/api/sign/ XoopsModules/signed/releases/1.14/modules/signed/api/sign/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/sign/index.php XoopsModules/signed/releases/1.14/modules/signed/api/signatures/ XoopsModules/signed/releases/1.14/modules/signed/api/signatures/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/signatures/index.php XoopsModules/signed/releases/1.14/modules/signed/api/sites/ XoopsModules/signed/releases/1.14/modules/signed/api/sites/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/sites/index.php XoopsModules/signed/releases/1.14/modules/signed/api/states/ XoopsModules/signed/releases/1.14/modules/signed/api/states/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/states/index.php XoopsModules/signed/releases/1.14/modules/signed/api/validate.php XoopsModules/signed/releases/1.14/modules/signed/api/validations/ XoopsModules/signed/releases/1.14/modules/signed/api/validations/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/validations/index.php XoopsModules/signed/releases/1.14/modules/signed/api/verification/ XoopsModules/signed/releases/1.14/modules/signed/api/verification/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/verification/index.php XoopsModules/signed/releases/1.14/modules/signed/api/verify/ XoopsModules/signed/releases/1.14/modules/signed/api/verify/.htaccess XoopsModules/signed/releases/1.14/modules/signed/api/verify/index.php XoopsModules/signed/releases/1.14/modules/signed/class/ XoopsModules/signed/releases/1.14/modules/signed/class/cache/ XoopsModules/signed/releases/1.14/modules/signed/class/cache/apc.php XoopsModules/signed/releases/1.14/modules/signed/class/cache/file.php XoopsModules/signed/releases/1.14/modules/signed/class/cache/index.html XoopsModules/signed/releases/1.14/modules/signed/class/cache/memcache.php XoopsModules/signed/releases/1.14/modules/signed/class/cache/model.php XoopsModules/signed/releases/1.14/modules/signed/class/cache/signedcache.php XoopsModules/signed/releases/1.14/modules/signed/class/cache/xcache.php XoopsModules/signed/releases/1.14/modules/signed/class/captcha/ XoopsModules/signed/releases/1.14/modules/signed/class/captcha/index.html XoopsModules/signed/releases/1.14/modules/signed/class/captcha/signedcaptcha.php XoopsModules/signed/releases/1.14/modules/signed/class/event_links.php XoopsModules/signed/releases/1.14/modules/signed/class/events.php XoopsModules/signed/releases/1.14/modules/signed/class/file/ XoopsModules/signed/releases/1.14/modules/signed/class/file/index.html XoopsModules/signed/releases/1.14/modules/signed/class/file/signedfile.php XoopsModules/signed/releases/1.14/modules/signed/class/index.html XoopsModules/signed/releases/1.14/modules/signed/class/mail/ XoopsModules/signed/releases/1.14/modules/signed/class/mail/index.html XoopsModules/signed/releases/1.14/modules/signed/class/mail/signedmultimailer.php XoopsModules/signed/releases/1.14/modules/signed/class/mobile/ XoopsModules/signed/releases/1.14/modules/signed/class/mobile/handlers/ XoopsModules/signed/releases/1.14/modules/signed/class/mobile/handlers/index.html XoopsModules/signed/releases/1.14/modules/signed/class/mobile/handlers/sms.cardboardfish.php XoopsModules/signed/releases/1.14/modules/signed/class/mobile/index.html XoopsModules/signed/releases/1.14/modules/signed/class/mobile/plugin/ XoopsModules/signed/releases/1.14/modules/signed/class/mobile/plugin/index.html XoopsModules/signed/releases/1.14/modules/signed/class/mobile/signedsmscontroller.php XoopsModules/signed/releases/1.14/modules/signed/class/mobile/signedsmsmobile.php XoopsModules/signed/releases/1.14/modules/signed/class/qcp/ XoopsModules/signed/releases/1.14/modules/signed/class/qcp/index.html XoopsModules/signed/releases/1.14/modules/signed/class/qcp/qcp.base.php XoopsModules/signed/releases/1.14/modules/signed/class/qcp/qcp.class.php XoopsModules/signed/releases/1.14/modules/signed/class/qcp/qcp.enumerator.php XoopsModules/signed/releases/1.14/modules/signed/class/qcp/qcp.leaver-beaver.php XoopsModules/signed/releases/1.14/modules/signed/class/signatures.php XoopsModules/signed/releases/1.14/modules/signed/class/signedapi.php XoopsModules/signed/releases/1.14/modules/signed/class/signedarrays.php XoopsModules/signed/releases/1.14/modules/signed/class/signedcanvas.php XoopsModules/signed/releases/1.14/modules/signed/class/signedciphers.php XoopsModules/signed/releases/1.14/modules/signed/class/signededitor/ XoopsModules/signed/releases/1.14/modules/signed/class/signededitor/index.html XoopsModules/signed/releases/1.14/modules/signed/class/signededitor/readme.txt XoopsModules/signed/releases/1.14/modules/signed/class/signededitor/signededitor.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/ XoopsModules/signed/releases/1.14/modules/signed/class/signedform/form.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formbutton.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formbuttontray.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formcaptcha.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formcheckbox.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formcolorpicker.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formdatetime.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formdhtmltextarea.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formeditor.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formelement.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formelementtray.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formfile.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formhidden.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formhiddentoken.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formlabel.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formpassword.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formradio.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formradioyn.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formselect.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formselectcheckgroup.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formselectcountry.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formselecteditor.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formselectenumerator.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formselectmatchoption.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formselectmonths.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formselecttimezone.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formselectyears.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formtext.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formtextarea.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/formtextdateselect.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/index.html XoopsModules/signed/releases/1.14/modules/signed/class/signedform/simpleform.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/tableform.php XoopsModules/signed/releases/1.14/modules/signed/class/signedform/themeform.php XoopsModules/signed/releases/1.14/modules/signed/class/signedformloader.php XoopsModules/signed/releases/1.14/modules/signed/class/signedlists.php XoopsModules/signed/releases/1.14/modules/signed/class/signedlogger.php XoopsModules/signed/releases/1.14/modules/signed/class/signedmailer.php XoopsModules/signed/releases/1.14/modules/signed/class/signedmobile.php XoopsModules/signed/releases/1.14/modules/signed/class/signedobject.php XoopsModules/signed/releases/1.14/modules/signed/class/signedpackages.php XoopsModules/signed/releases/1.14/modules/signed/class/signedprocesses.php XoopsModules/signed/releases/1.14/modules/signed/class/signedprompts.php XoopsModules/signed/releases/1.14/modules/signed/class/signedsecurity.php XoopsModules/signed/releases/1.14/modules/signed/class/signedsession.php XoopsModules/signed/releases/1.14/modules/signed/class/signedstorage.php XoopsModules/signed/releases/1.14/modules/signed/class/uploader.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/ XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Canvas.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Coordinate.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Exception.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Font/ XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Font/GDF.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Font/PS.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Font/TTF.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Image.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Mapper/ XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Mapper/BMP.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Mapper/GD.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Mapper/GD2.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Mapper/GIF.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Mapper/JPEG.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Mapper/PNG.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Mapper/TGA.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/MapperFactory.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/ XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/AddNoise.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/ApplyConvolution.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/ApplyFilter.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/ApplyMask.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/AsGrayscale.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/AsNegative.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/AutoCrop.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/CopyChannelsPalette.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/CopyChannelsTrueColor.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/CorrectGamma.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/Crop.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/Flip.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/GetMask.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/Merge.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/Mirror.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/Resize.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/ResizeCanvas.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/Rotate.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/RoundCorners.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/Operation/Unsharp.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/OperationFactory.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/PaletteImage.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/TrueColorImage.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/WideImage.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/index.html XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/vendor/ XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/vendor/de77/ XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/vendor/de77/BMP.php XoopsModules/signed/releases/1.14/modules/signed/class/wideimage/vendor/de77/TGA.php XoopsModules/signed/releases/1.14/modules/signed/class/xmlarray.php XoopsModules/signed/releases/1.14/modules/signed/class/xmlwrapper.php XoopsModules/signed/releases/1.14/modules/signed/crons/ XoopsModules/signed/releases/1.14/modules/signed/crons/.htaccess XoopsModules/signed/releases/1.14/modules/signed/crons/callbacks.php XoopsModules/signed/releases/1.14/modules/signed/crons/expires.php XoopsModules/signed/releases/1.14/modules/signed/crons/expiry.php XoopsModules/signed/releases/1.14/modules/signed/crons/index.html XoopsModules/signed/releases/1.14/modules/signed/crons/request.php XoopsModules/signed/releases/1.14/modules/signed/css/ XoopsModules/signed/releases/1.14/modules/signed/css/calendar-blue.css XoopsModules/signed/releases/1.14/modules/signed/css/index.html XoopsModules/signed/releases/1.14/modules/signed/css/signed.css XoopsModules/signed/releases/1.14/modules/signed/css/style.css XoopsModules/signed/releases/1.14/modules/signed/docs/ XoopsModules/signed/releases/1.14/modules/signed/docs/changelog.txt XoopsModules/signed/releases/1.14/modules/signed/docs/credits.txt XoopsModules/signed/releases/1.14/modules/signed/docs/index.html XoopsModules/signed/releases/1.14/modules/signed/docs/install.txt XoopsModules/signed/releases/1.14/modules/signed/docs/lang_diff.txt XoopsModules/signed/releases/1.14/modules/signed/dojsonids.php XoopsModules/signed/releases/1.14/modules/signed/dojsonoperations.php XoopsModules/signed/releases/1.14/modules/signed/fonts/ XoopsModules/signed/releases/1.14/modules/signed/fonts/COOPBL.eot XoopsModules/signed/releases/1.14/modules/signed/fonts/COOPBL.otf XoopsModules/signed/releases/1.14/modules/signed/fonts/COOPBL.svg XoopsModules/signed/releases/1.14/modules/signed/fonts/COOPBL.ttf XoopsModules/signed/releases/1.14/modules/signed/fonts/COOPBL.woff XoopsModules/signed/releases/1.14/modules/signed/fonts/ERASMD.eot XoopsModules/signed/releases/1.14/modules/signed/fonts/ERASMD.otf XoopsModules/signed/releases/1.14/modules/signed/fonts/ERASMD.svg XoopsModules/signed/releases/1.14/modules/signed/fonts/ERASMD.ttf XoopsModules/signed/releases/1.14/modules/signed/fonts/ERASMD.woff XoopsModules/signed/releases/1.14/modules/signed/fonts/index.html XoopsModules/signed/releases/1.14/modules/signed/footer.php XoopsModules/signed/releases/1.14/modules/signed/generator.php XoopsModules/signed/releases/1.14/modules/signed/go/ XoopsModules/signed/releases/1.14/modules/signed/go/.htaccess XoopsModules/signed/releases/1.14/modules/signed/go/index.php XoopsModules/signed/releases/1.14/modules/signed/header.php XoopsModules/signed/releases/1.14/modules/signed/image/ XoopsModules/signed/releases/1.14/modules/signed/image/icons/ XoopsModules/signed/releases/1.14/modules/signed/image/icons/16/ XoopsModules/signed/releases/1.14/modules/signed/image/icons/16/index.html XoopsModules/signed/releases/1.14/modules/signed/image/icons/32/ XoopsModules/signed/releases/1.14/modules/signed/image/icons/32/about.png XoopsModules/signed/releases/1.14/modules/signed/image/icons/32/event.png XoopsModules/signed/releases/1.14/modules/signed/image/icons/32/identity.png XoopsModules/signed/releases/1.14/modules/signed/image/icons/32/index.html XoopsModules/signed/releases/1.14/modules/signed/image/icons/32/security.png XoopsModules/signed/releases/1.14/modules/signed/image/icons/index.html XoopsModules/signed/releases/1.14/modules/signed/image/index.html XoopsModules/signed/releases/1.14/modules/signed/image/signed.png XoopsModules/signed/releases/1.14/modules/signed/image/watermark.gif XoopsModules/signed/releases/1.14/modules/signed/image/watermark.php XoopsModules/signed/releases/1.14/modules/signed/include/ XoopsModules/signed/releases/1.14/modules/signed/include/common.php XoopsModules/signed/releases/1.14/modules/signed/include/configs.php XoopsModules/signed/releases/1.14/modules/signed/include/constants.php XoopsModules/signed/releases/1.14/modules/signed/include/form-edit-object.php XoopsModules/signed/releases/1.14/modules/signed/include/form-generic-edit-form.php XoopsModules/signed/releases/1.14/modules/signed/include/form-generic-form.php XoopsModules/signed/releases/1.14/modules/signed/include/form-identification-edit-form.php XoopsModules/signed/releases/1.14/modules/signed/include/form-identification-form.php XoopsModules/signed/releases/1.14/modules/signed/include/form-object.php XoopsModules/signed/releases/1.14/modules/signed/include/functions.php XoopsModules/signed/releases/1.14/modules/signed/include/index.html XoopsModules/signed/releases/1.14/modules/signed/include/language.php XoopsModules/signed/releases/1.14/modules/signed/index.php XoopsModules/signed/releases/1.14/modules/signed/js/ XoopsModules/signed/releases/1.14/modules/signed/js/calendar.js XoopsModules/signed/releases/1.14/modules/signed/js/color-picker.js XoopsModules/signed/releases/1.14/modules/signed/js/formdhtmltextarea.js XoopsModules/signed/releases/1.14/modules/signed/js/index.html XoopsModules/signed/releases/1.14/modules/signed/js/json.validation.js XoopsModules/signed/releases/1.14/modules/signed/js/layersmenu.js XoopsModules/signed/releases/1.14/modules/signed/js/signed.js XoopsModules/signed/releases/1.14/modules/signed/language/ XoopsModules/signed/releases/1.14/modules/signed/language/english/ XoopsModules/signed/releases/1.14/modules/signed/language/english/admin.php XoopsModules/signed/releases/1.14/modules/signed/language/english/calendar.php XoopsModules/signed/releases/1.14/modules/signed/language/english/captcha.php XoopsModules/signed/releases/1.14/modules/signed/language/english/content.php XoopsModules/signed/releases/1.14/modules/signed/language/english/countries.php XoopsModules/signed/releases/1.14/modules/signed/language/english/errors.php XoopsModules/signed/releases/1.14/modules/signed/language/english/formdhtmltextarea.php XoopsModules/signed/releases/1.14/modules/signed/language/english/global.php XoopsModules/signed/releases/1.14/modules/signed/language/english/help/ XoopsModules/signed/releases/1.14/modules/signed/language/english/help/help.html XoopsModules/signed/releases/1.14/modules/signed/language/english/help/index.html XoopsModules/signed/releases/1.14/modules/signed/language/english/index.html XoopsModules/signed/releases/1.14/modules/signed/language/english/mail.php XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/ XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/html/ XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/html/expired-identification.html XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/html/expired-signature.html XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/html/index.html XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/html/signature-email.html XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/html/update-request.html XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/html/verify-email.html XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/index.html XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/text/ XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/text/expired-identification.txt XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/text/expired-signature.txt XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/text/index.html XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/text/signature-email.txt XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/text/update-request.txt XoopsModules/signed/releases/1.14/modules/signed/language/english/mail_template/text/verify-email.txt XoopsModules/signed/releases/1.14/modules/signed/language/english/main.php XoopsModules/signed/releases/1.14/modules/signed/language/english/modinfo.php XoopsModules/signed/releases/1.14/modules/signed/language/english/months.php XoopsModules/signed/releases/1.14/modules/signed/language/english/signedmailerlocal.php XoopsModules/signed/releases/1.14/modules/signed/language/english/signedmobilelocal.php XoopsModules/signed/releases/1.14/modules/signed/language/english/sms_template/ XoopsModules/signed/releases/1.14/modules/signed/language/english/sms_template/index.html XoopsModules/signed/releases/1.14/modules/signed/language/english/sms_template/verify-mobile.txt XoopsModules/signed/releases/1.14/modules/signed/language/english/style.css XoopsModules/signed/releases/1.14/modules/signed/language/english/timezone.php XoopsModules/signed/releases/1.14/modules/signed/language/english/titles.php XoopsModules/signed/releases/1.14/modules/signed/language/english/uploader.php XoopsModules/signed/releases/1.14/modules/signed/language/index.html XoopsModules/signed/releases/1.14/modules/signed/preloads/ XoopsModules/signed/releases/1.14/modules/signed/preloads/api.php XoopsModules/signed/releases/1.14/modules/signed/preloads/index.html XoopsModules/signed/releases/1.14/modules/signed/request.php XoopsModules/signed/releases/1.14/modules/signed/reset.php XoopsModules/signed/releases/1.14/modules/signed/sql/ XoopsModules/signed/releases/1.14/modules/signed/sql/index.html XoopsModules/signed/releases/1.14/modules/signed/sql/mysql.sql XoopsModules/signed/releases/1.14/modules/signed/templates/ XoopsModules/signed/releases/1.14/modules/signed/templates/admin/ XoopsModules/signed/releases/1.14/modules/signed/templates/admin/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/admin/signed_events.html XoopsModules/signed/releases/1.14/modules/signed/templates/admin/signed_signatures.html XoopsModules/signed/releases/1.14/modules/signed/templates/common/ XoopsModules/signed/releases/1.14/modules/signed/templates/common/api.php XoopsModules/signed/releases/1.14/modules/signed/templates/common/canvas.php XoopsModules/signed/releases/1.14/modules/signed/templates/common/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/common/no-url.php XoopsModules/signed/releases/1.14/modules/signed/templates/common/reset.php XoopsModules/signed/releases/1.14/modules/signed/templates/common/start.php XoopsModules/signed/releases/1.14/modules/signed/templates/common/update-identification.php XoopsModules/signed/releases/1.14/modules/signed/templates/common/verify-email.php XoopsModules/signed/releases/1.14/modules/signed/templates/common/verify-mobile.php XoopsModules/signed/releases/1.14/modules/signed/templates/deployed/ XoopsModules/signed/releases/1.14/modules/signed/templates/deployed/entity/ XoopsModules/signed/releases/1.14/modules/signed/templates/deployed/entity/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/deployed/entity/send-email.php XoopsModules/signed/releases/1.14/modules/signed/templates/deployed/entity/update-email.php XoopsModules/signed/releases/1.14/modules/signed/templates/deployed/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/deployed/personal/ XoopsModules/signed/releases/1.14/modules/signed/templates/deployed/personal/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/deployed/personal/send-email.php XoopsModules/signed/releases/1.14/modules/signed/templates/deployed/personal/update-email.php XoopsModules/signed/releases/1.14/modules/signed/templates/fields/ XoopsModules/signed/releases/1.14/modules/signed/templates/fields/entity/ XoopsModules/signed/releases/1.14/modules/signed/templates/fields/entity/generic-edit-form.php XoopsModules/signed/releases/1.14/modules/signed/templates/fields/entity/generic-form.php XoopsModules/signed/releases/1.14/modules/signed/templates/fields/entity/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/fields/identification/ XoopsModules/signed/releases/1.14/modules/signed/templates/fields/identification/identification-edit-form.php XoopsModules/signed/releases/1.14/modules/signed/templates/fields/identification/identification-form.php XoopsModules/signed/releases/1.14/modules/signed/templates/fields/identification/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/fields/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/fields/personal/ XoopsModules/signed/releases/1.14/modules/signed/templates/fields/personal/generic-edit-form.php XoopsModules/signed/releases/1.14/modules/signed/templates/fields/personal/generic-form.php XoopsModules/signed/releases/1.14/modules/signed/templates/fields/personal/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/help/ XoopsModules/signed/releases/1.14/modules/signed/templates/help/entity/ XoopsModules/signed/releases/1.14/modules/signed/templates/help/entity/finished.php XoopsModules/signed/releases/1.14/modules/signed/templates/help/entity/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/help/entity/introduction.php XoopsModules/signed/releases/1.14/modules/signed/templates/help/identification/ XoopsModules/signed/releases/1.14/modules/signed/templates/help/identification/finished-update.php XoopsModules/signed/releases/1.14/modules/signed/templates/help/identification/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/help/identification/needed.php XoopsModules/signed/releases/1.14/modules/signed/templates/help/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/help/personal/ XoopsModules/signed/releases/1.14/modules/signed/templates/help/personal/finished.php XoopsModules/signed/releases/1.14/modules/signed/templates/help/personal/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/help/personal/introduction.php XoopsModules/signed/releases/1.14/modules/signed/templates/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/signed_wrapper.html XoopsModules/signed/releases/1.14/modules/signed/templates/update/ XoopsModules/signed/releases/1.14/modules/signed/templates/update/identification/ XoopsModules/signed/releases/1.14/modules/signed/templates/update/identification/identification-form.php XoopsModules/signed/releases/1.14/modules/signed/templates/update/identification/index.html XoopsModules/signed/releases/1.14/modules/signed/templates/update/index.html XoopsModules/signed/releases/1.14/modules/signed/updator.php XoopsModules/signed/releases/1.14/modules/signed/verifor.php XoopsModules/signed/releases/1.14/modules/signed/xoops_version.php XoopsModules/signed/releases/1.14/xoops_data/ XoopsModules/signed/releases/1.14/xoops_data/.htaccess XoopsModules/signed/releases/1.14/xoops_data/caches/ XoopsModules/signed/releases/1.14/xoops_data/caches/index.html XoopsModules/signed/releases/1.14/xoops_data/caches/signed/ XoopsModules/signed/releases/1.14/xoops_data/caches/signed/.htaccess XoopsModules/signed/releases/1.14/xoops_data/caches/signed/index.html XoopsModules/signed/releases/1.14/xoops_data/index.html XoopsModules/signed/releases/1.14/xoops_data/readme.txt XoopsModules/signed/releases/1.14/xoops_data/signed/ XoopsModules/signed/releases/1.14/xoops_data/signed/calendar/ XoopsModules/signed/releases/1.14/xoops_data/signed/calendar/.htaccess XoopsModules/signed/releases/1.14/xoops_data/signed/calendar/expires/ XoopsModules/signed/releases/1.14/xoops_data/signed/calendar/expires/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/calendar/expiry/ XoopsModules/signed/releases/1.14/xoops_data/signed/calendar/expiry/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/calendar/generated/ XoopsModules/signed/releases/1.14/xoops_data/signed/calendar/generated/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/calendar/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/logs/ XoopsModules/signed/releases/1.14/xoops_data/signed/logs/.htaccess XoopsModules/signed/releases/1.14/xoops_data/signed/logs/delivery/ XoopsModules/signed/releases/1.14/xoops_data/signed/logs/delivery/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/logs/emails/ XoopsModules/signed/releases/1.14/xoops_data/signed/logs/emails/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/logs/errors/ XoopsModules/signed/releases/1.14/xoops_data/signed/logs/errors/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/logs/execution/ XoopsModules/signed/releases/1.14/xoops_data/signed/logs/execution/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/logs/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/logs/polling/ XoopsModules/signed/releases/1.14/xoops_data/signed/logs/polling/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/pathways/ XoopsModules/signed/releases/1.14/xoops_data/signed/pathways/.htaccess XoopsModules/signed/releases/1.14/xoops_data/signed/pathways/certificate/ XoopsModules/signed/releases/1.14/xoops_data/signed/pathways/codes/ XoopsModules/signed/releases/1.14/xoops_data/signed/pathways/dates/ XoopsModules/signed/releases/1.14/xoops_data/signed/pathways/emails/ XoopsModules/signed/releases/1.14/xoops_data/signed/pathways/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/pathways/names/ XoopsModules/signed/releases/1.14/xoops_data/signed/pathways/request/ XoopsModules/signed/releases/1.14/xoops_data/signed/pathways/serials/ XoopsModules/signed/releases/1.14/xoops_data/signed/pathways/signed/ XoopsModules/signed/releases/1.14/xoops_data/signed/respository/ XoopsModules/signed/releases/1.14/xoops_data/signed/respository/.htaccess XoopsModules/signed/releases/1.14/xoops_data/signed/respository/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/respository/signatures/ XoopsModules/signed/releases/1.14/xoops_data/signed/respository/signatures/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/respository/signed/ XoopsModules/signed/releases/1.14/xoops_data/signed/respository/signed/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/respository/validation/ XoopsModules/signed/releases/1.14/xoops_data/signed/respository/validation/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/uploads/ XoopsModules/signed/releases/1.14/xoops_data/signed/uploads/.htaccess XoopsModules/signed/releases/1.14/xoops_data/signed/uploads/index.html XoopsModules/signed/releases/1.14/xoops_data/signed/urls/ XoopsModules/signed/releases/1.14/xoops_data/signed/urls/.htaccess XoopsModules/signed/releases/1.14/xoops_data/signed/urls/index.html XoopsModules/signed/releases/1.14/xoops_lib/ XoopsModules/signed/releases/1.14/xoops_lib/.htaccess XoopsModules/signed/releases/1.14/xoops_lib/index.html XoopsModules/signed/releases/1.14/xoops_lib/modules/ XoopsModules/signed/releases/1.14/xoops_lib/modules/index.html XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/ XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/ XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/.htaccess XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/api-calls.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/apis-and-sites-available.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/banned-hostnames-for-urls-and-emails.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/banned-ips-for-urls-and-emails.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/certificate.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/emails-bcc.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/emails-cc.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/ XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/class-entity.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/class-personal.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/descriptions-fields.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/email-template-types.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/enumerator-gender.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/enumerator-im-type.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/enumerator-suffix.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/enumerator-titled.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-countries.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-dates.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-emails.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-enumerators.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-images.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-logos.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-months.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-numeric.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-photos.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-strings.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-urls.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fieldnames-years.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fields-entity.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fields-identification.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/fields-personal.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/identifications-entity.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/identifications-personal.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/language-files-entity.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/language-files-personal.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/prompts-entity.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/prompts-personal.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/prompts-request-entity.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/prompts-request-personal.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/provided-entity.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/provided-personal.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/request-states.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/resize-dimensions.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/signatures.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/upload-dimensions.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/validations-entity.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/validations-personal.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/english/watermark.gif XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/index.html XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/language-files.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/languages.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/paired-peer-review-services.txt XoopsModules/signed/releases/1.14/xoops_lib/modules/signed/processes/si...@la....txt XoopsModules/signed/releases/1.14/xoops_lib/readme.txt Added: XoopsModules/signed/releases/1.14/htaccess.dist =================================================================== --- XoopsModules/signed/releases/1.14/htaccess.dist (rev 0) +++ XoopsModules/signed/releases/1.14/htaccess.dist 2014-12-08 21:08:11 UTC (rev 12896) @@ -0,0 +1,19 @@ + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +# Client Signature Service Mod Rewrite +RewriteRule ^signer/=([a-zA-Z0-9]+)=/?(.*?)$ modules/signed/$1.php?$2 +RewriteRule ^signer/index.html modules/signed/index.php +RewriteRule ^signer/=([a-zA-Z0-9]+)=/?(.*?)$ modules/signed/$1.php?$2 +RewriteRule ^signer/=([a-zA-Z0-9]+)=/index(.*?)?(.*?)$ modules/signed/$1.php?$3 +RewriteRule ^signer/=([a-zA-Z0-9]+)=/index(.*?)$ modules/signed/$1.php +RewriteRule ^signer modules/signed/index.php [L=301] + +# API Service Mod Rewrite +RewriteRule ^signing/(.*?)/(.*?)?(.*?)$ modules/signed/api/$1/$2.php?$3 +RewriteRule ^signing/(.*?)/(.*?)$ modules/signed/api/$1/$2.php +RewriteRule ^signing/(.*?)/$ modules/signed/api/$1/index.php +RewriteRule ^signing modules/signed/api/index.php [L=301] + Added: XoopsModules/signed/releases/1.14/modules/index.html =================================================================== --- XoopsModules/signed/releases/1.14/modules/index.html (rev 0) +++ XoopsModules/signed/releases/1.14/modules/index.html 2014-12-08 21:08:11 UTC (rev 12896) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/signed/releases/1.14/modules/signed/.htaccess =================================================================== --- XoopsModules/signed/releases/1.14/modules/signed/.htaccess (rev 0) +++ XoopsModules/signed/releases/1.14/modules/signed/.htaccess 2014-12-08 21:08:11 UTC (rev 12896) @@ -0,0 +1,10 @@ +<IfModule mod_rewrite.c> + + RewriteEngine On + RewriteRule ^=([a-zA-Z0-9]+)=/ $1.php + RewriteRule ^=([a-zA-Z0-9]+)=/finished/([a-zA-Z0-9]+).(.*?)$ $1.php?op=finished&serial=$2 + RewriteRule ^=([a-zA-Z0-9]+)=/index(.*?)?(.*?)$ $1.php?$3 + RewriteRule ^=([a-zA-Z0-9]+)=/index(.*?)$ $1.php + RewriteRule ^=([a-zA-Z0-9]+)=/?(.*?)$ $1.php?$2 + +</IfModule> Property changes on: XoopsModules/signed/releases/1.14/modules/signed/.htaccess ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/signed/releases/1.14/modules/signed/admin/about.php =================================================================== --- XoopsModules/signed/releases/1.14/modules/signed/admin/about.php (rev 0) +++ XoopsModules/signed/releases/1.14/modules/signed/admin/about.php 2014-12-08 21:08:11 UTC (rev 12896) @@ -0,0 +1,34 @@ +<?php +/** + * Chronolabs Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Cooperative http://labs.coop + * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html) + * @package signed + * @since 1.14 + * @author Simon Roberts <wis...@us...> + * @author Antony Cipher <ci...@la...> + * @subpackage administration + * @description Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + * @link https://signed.labs.coop Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + */ + + include_once dirname(__FILE__) . '/../../../include/cp_header.php'; + include '../../../class/xoopsformloader.php'; + include_once dirname(__FILE__) . '/admin_header.php'; + xoops_cp_header(); + + $aboutAdmin = new ModuleAdmin(); + + echo $aboutAdmin->addNavigation('about.php'); + echo $aboutAdmin->renderabout('-------------', false); + + include_once dirname(__FILE__) . '/admin_footer.php'; +?> \ No newline at end of file Property changes on: XoopsModules/signed/releases/1.14/modules/signed/admin/about.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/signed/releases/1.14/modules/signed/admin/admin.php =================================================================== --- XoopsModules/signed/releases/1.14/modules/signed/admin/admin.php (rev 0) +++ XoopsModules/signed/releases/1.14/modules/signed/admin/admin.php 2014-12-08 21:08:11 UTC (rev 12896) @@ -0,0 +1,77 @@ +<?php +/** + * Chronolabs Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Cooperative http://labs.coop + * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html) + * @package signed + * @since 1.14 + * @author Simon Roberts <wis...@us...> + * @author Antony Cipher <ci...@la...> + * @subpackage administration + * @description Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + * @link https://signed.labs.coop Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + */ + + include_once dirname(__FILE__) . '/admin_header.php'; + xoops_cp_header(); + + $indexAdmin = new ModuleAdmin(); + + echo $indexAdmin->addNavigation('admin.php'); + $signaturesHandler = xoops_getmodulehandler('signatures', 'signed'); + + $indexAdmin->addInfoBox(_SIGNED_AM_DASHBOARD); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_TOTAL. "</infolabel>", $signaturesHandler->getCount(new Criteria('1', '1')), 'Green'); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_PROGRESS. "</infolabel>", $signaturesHandler->getCount(new Criteria('state', 'progress')), 'Purple'); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_ACTIVE. "</infolabel>", $signaturesHandler->getCount(new Criteria('state', 'active')), 'Blue'); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_INACTIVE. "</infolabel>", $signaturesHandler->getCount(new Criteria('state', 'inactive'))."</infotext>", 'Orange'); + $criteria = new CriteriaCompo(new Criteria('state', 'active')); + $criteria->add(new Criteria('expires', time(), '>=')); + $criteria->add(new Criteria('expires', time() + (3600 * 24 * 7), '<=')); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_EXPIRE_NEXT_WEEK. "</infolabel>", $signaturesHandler->getCount($criteria), 'Red'); + $criteria = new CriteriaCompo(new Criteria('state', 'active')); + $criteria->add(new Criteria('expires', time(), '>=')); + $criteria->add(new Criteria('expires', time() + (3600 * 24 * 14), '<=')); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_EXPIRE_NEXT_FORTNIGHT. "</infolabel>", $signaturesHandler->getCount($criteria), 'Red'); + $criteria = new CriteriaCompo(new Criteria('1', '1')); + $criteria->add(new Criteria('expires', 0, '>')); + $criteria->add(new Criteria('expires', time(), '<=')); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_EXPIRED. "</infolabel>", $signaturesHandler->getCount($criteria), 'Red'); + $criteria = new CriteriaCompo(new Criteria('1', '1')); + $criteria->add(new Criteria('issued', time(), '<=')); + $criteria->add(new Criteria('issued', time() - (3600 * 24 * 7), '>=')); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_ISSUED_LAST_WEEK. "</infolabel>", $signaturesHandler->getCount($criteria), 'Green'); + $criteria = new CriteriaCompo(new Criteria('1', '1')); + $criteria->add(new Criteria('saved', time(), '<=')); + $criteria->add(new Criteria('saved', time() - (3600 * 24 * 7), '>=')); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_CREATED_LAST_WEEK. "</infolabel>", $signaturesHandler->getCount($criteria), 'Cyan'); + $criteria = new CriteriaCompo(new Criteria('1', '1')); + $criteria->add(new Criteria('used', time(), '<=')); + $criteria->add(new Criteria('used', time() - (3600 * 24 * 7), '>=')); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_ACCESSED_LAST_WEEK. "</infolabel>", $signaturesHandler->getCount($criteria), 'Black'); + $criteria = new CriteriaCompo(new Criteria('1', '1')); + $criteria->add(new Criteria('issued', time(), '<=')); + $criteria->add(new Criteria('issued', time() - (3600 * 24 * 14), '>=')); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_ISSUED_LAST_FORTNIGHT. "</infolabel>", $signaturesHandler->getCount($criteria), 'Green'); + $criteria = new CriteriaCompo(new Criteria('1', '1')); + $criteria->add(new Criteria('saved', time(), '<=')); + $criteria->add(new Criteria('saved', time() - (3600 * 24 * 14), '>=')); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_CREATED_LAST_FORTNIGHT. "</infolabel>", $signaturesHandler->getCount($criteria), 'Cyan'); + $criteria = new CriteriaCompo(new Criteria('1', '1')); + $criteria->add(new Criteria('used', time(), '<=')); + $criteria->add(new Criteria('used', time() - (3600 * 24 * 14), '>=')); + $indexAdmin->addInfoBoxLine(_SIGNED_AM_DASHBOARD, "<infolabel>" ._SIGNED_AM_ACCESSED_LAST_FORTNIGHT. "</infolabel>", $signaturesHandler->getCount($criteria), 'Black'); + + echo $indexAdmin->renderIndex(); + + include_once dirname(__FILE__) . '/admin_footer.php'; + +?> \ No newline at end of file Property changes on: XoopsModules/signed/releases/1.14/modules/signed/admin/admin.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/signed/releases/1.14/modules/signed/admin/admin_footer.php =================================================================== --- XoopsModules/signed/releases/1.14/modules/signed/admin/admin_footer.php (rev 0) +++ XoopsModules/signed/releases/1.14/modules/signed/admin/admin_footer.php 2014-12-08 21:08:11 UTC (rev 12896) @@ -0,0 +1,26 @@ +<?php +/** + * Chronolabs Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Cooperative http://labs.coop + * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html) + * @package signed + * @since 1.14 + * @author Simon Roberts <wis...@us...> + * @author Antony Cipher <ci...@la...> + * @subpackage administration + * @description Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + * @link https://signed.labs.coop Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + */ + + echo "<div class='adminfooter'>\n" . _SIGNED_AM_ADMIN_FOOTER . "\n" ."</div>"; + + xoops_cp_footer(); +?> \ No newline at end of file Property changes on: XoopsModules/signed/releases/1.14/modules/signed/admin/admin_footer.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/signed/releases/1.14/modules/signed/admin/admin_header.php =================================================================== --- XoopsModules/signed/releases/1.14/modules/signed/admin/admin_header.php (rev 0) +++ XoopsModules/signed/releases/1.14/modules/signed/admin/admin_header.php 2014-12-08 21:08:11 UTC (rev 12896) @@ -0,0 +1,65 @@ +<?php +/** + * Chronolabs Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Chronolabs Cooperative http://labs.coop + * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html) + * @package signed + * @since 1.14 + * @author Simon Roberts <wis...@us...> + * @author Antony Cipher <ci...@la...> + * @subpackage administration + * @description Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + * @link https://signed.labs.coop Digital Signature Generation & API Services (Psuedo-legal correct binding measure) + */ + + + $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); + + xoops_load('pagenav'); + + $pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); + $pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); + $pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + + if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar('mid'), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } + } else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); + } + + if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); + } + + if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once XOOPS_ROOT_PATH . '/class/template.php'; + $GLOBALS['xoopsTpl'] = new XoopsTpl(); + } +?> \ No newline at end of file Property changes on: XoopsModules/signed/releases/1.14/modules/signed/admin/admin_header.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/signed/releases/1.14/modules/signed/admin/events.php =================================================================== --- XoopsModules/signed/releases/1.14/modules/signed/admin/events.php (rev 0) +++ XoopsModules/signed/releases/1.14/modules/signed/admin/events.php 2014-12-08 21:08:11 UTC (rev 12896) @@ -0,0 +1,39 @@ +<?php +/** + * Private message + * + * 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 GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package pm + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: prune.php 12593 2014-06-14 16:04:02Z beckmi $ + */ + + include_once dirname(__FILE__) . '/admin_header.php'; + xoops_cp_header(); + + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation('events.php'); + + $start = intval(isset($_REQUEST['start']) ? $_REQUEST['start'] : "0"); + $limit = intval(isset($_REQUEST['limit']) ? $_REQUEST['limit'] : "42"); + + $eventsHandler = xoops_getmodulehandler('events', 'signed'); + $pageNav = new XoopsPageNav($eventsHandler->getCount(new Criteria("1","1")), $limit, $start, 'start', 'limit='.$limit); + + $GLOBALS['xoopsTpl']->assign('pagenav', $pageNav->renderNav(5)); + $GLOBALS['xoopsTpl']->append('signatures', ... [truncated message content] |