You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(361) |
Oct
(65) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(798) |
Feb
(694) |
Mar
(586) |
Apr
(145) |
May
(24) |
Jun
(24) |
Jul
(56) |
Aug
(11) |
Sep
(138) |
Oct
(107) |
Nov
(58) |
Dec
(39) |
2004 |
Jan
(157) |
Feb
(24) |
Mar
(13) |
Apr
(14) |
May
(73) |
Jun
(106) |
Jul
(217) |
Aug
(91) |
Sep
(116) |
Oct
(357) |
Nov
(27) |
Dec
(272) |
2005 |
Jan
(97) |
Feb
(40) |
Mar
(167) |
Apr
(365) |
May
(344) |
Jun
(357) |
Jul
(407) |
Aug
(529) |
Sep
(204) |
Oct
(52) |
Nov
(80) |
Dec
(1) |
2006 |
Jan
(2) |
Feb
(1) |
Mar
(11) |
Apr
(112) |
May
(121) |
Jun
(86) |
Jul
(51) |
Aug
(48) |
Sep
(107) |
Oct
(20) |
Nov
(50) |
Dec
(11) |
2007 |
Jan
(7) |
Feb
(11) |
Mar
(8) |
Apr
(11) |
May
(2) |
Jun
(25) |
Jul
(67) |
Aug
(134) |
Sep
(54) |
Oct
(69) |
Nov
(10) |
Dec
(74) |
2008 |
Jan
(73) |
Feb
(81) |
Mar
(64) |
Apr
(98) |
May
(157) |
Jun
(68) |
Jul
(80) |
Aug
(108) |
Sep
(176) |
Oct
(107) |
Nov
(265) |
Dec
(60) |
2009 |
Jan
(149) |
Feb
(140) |
Mar
(195) |
Apr
(141) |
May
(53) |
Jun
(45) |
Jul
(98) |
Aug
(153) |
Sep
(160) |
Oct
(138) |
Nov
(139) |
Dec
(104) |
2010 |
Jan
(188) |
Feb
(259) |
Mar
(133) |
Apr
(104) |
May
(42) |
Jun
(121) |
Jul
(38) |
Aug
(223) |
Sep
(259) |
Oct
(255) |
Nov
(106) |
Dec
(157) |
2011 |
Jan
(202) |
Feb
(110) |
Mar
(261) |
Apr
(272) |
May
(218) |
Jun
(108) |
Jul
(141) |
Aug
(205) |
Sep
(326) |
Oct
(279) |
Nov
(368) |
Dec
(238) |
2012 |
Jan
(239) |
Feb
(3) |
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
(3) |
Aug
(6) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
(1) |
Feb
(3) |
Mar
(9) |
Apr
(10) |
May
|
Jun
(1) |
Jul
(3) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <dj...@us...> - 2012-01-16 12:17:18
|
Revision: 8741 http://xoops.svn.sourceforge.net/xoops/?rev=8741&view=rev Author: djculex Date: 2012-01-16 12:17:07 +0000 (Mon, 16 Jan 2012) Log Message: ----------- removed print_r Modified Paths: -------------- XoopsModules/smallworld/trunk/preloads/core.php Modified: XoopsModules/smallworld/trunk/preloads/core.php =================================================================== --- XoopsModules/smallworld/trunk/preloads/core.php 2012-01-16 12:15:21 UTC (rev 8740) +++ XoopsModules/smallworld/trunk/preloads/core.php 2012-01-16 12:17:07 UTC (rev 8741) @@ -67,9 +67,6 @@ $fieldstoshow = array_flip(smallworld_GetModuleOption('smallworldusethesefields', $repmodule='smallworld')); $useverification = array_flip(smallworld_GetModuleOption('smallworldmandatoryfields', $repmodule='smallworld')); $smallworldUV = implode(',', $useverification); - if (in_array('realname',$fieldstoshow)) { - print_r ($fieldstoshow); - } // Get users messages count based on users followerArray $getUserMsgNum = smallworld_getCountFriendMessagesEtc (); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-16 12:15:27
|
Revision: 8740 http://xoops.svn.sourceforge.net/xoops/?rev=8740&view=rev Author: djculex Date: 2012-01-16 12:15:21 +0000 (Mon, 16 Jan 2012) Log Message: ----------- Added usefields and useverification on fields to initial load Modified Paths: -------------- XoopsModules/smallworld/trunk/preloads/core.php Modified: XoopsModules/smallworld/trunk/preloads/core.php =================================================================== --- XoopsModules/smallworld/trunk/preloads/core.php 2012-01-16 12:14:29 UTC (rev 8739) +++ XoopsModules/smallworld/trunk/preloads/core.php 2012-01-16 12:15:21 UTC (rev 8740) @@ -64,6 +64,12 @@ // Check to see if smallworld should use username links to point to default xoops or smallworld $takeoverlinks = $moduleConfig['takeoveruserlinks']; + $fieldstoshow = array_flip(smallworld_GetModuleOption('smallworldusethesefields', $repmodule='smallworld')); + $useverification = array_flip(smallworld_GetModuleOption('smallworldmandatoryfields', $repmodule='smallworld')); + $smallworldUV = implode(',', $useverification); + if (in_array('realname',$fieldstoshow)) { + print_r ($fieldstoshow); + } // Get users messages count based on users followerArray $getUserMsgNum = smallworld_getCountFriendMessagesEtc (); @@ -78,6 +84,7 @@ var smallworldTakeOverLinks = $takeoverlinks; var geoL = $geolocate; var geocomplete = ''; + var smallworlduseverification = new Array($smallworldUV); var hasmessages = $count_invit; var smallworldvalidationstrenght = $validate; var smallworld_getFriendsMsgComCount = $getUserMsgNum; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-16 12:14:35
|
Revision: 8739 http://xoops.svn.sourceforge.net/xoops/?rev=8739&view=rev Author: djculex Date: 2012-01-16 12:14:29 +0000 (Mon, 16 Jan 2012) Log Message: ----------- Enable user to change his profile while under inspection by admin Modified Paths: -------------- XoopsModules/smallworld/trunk/editprofile.php XoopsModules/smallworld/trunk/register.php Modified: XoopsModules/smallworld/trunk/editprofile.php =================================================================== --- XoopsModules/smallworld/trunk/editprofile.php 2012-01-16 10:22:09 UTC (rev 8738) +++ XoopsModules/smallworld/trunk/editprofile.php 2012-01-16 12:14:29 UTC (rev 8739) @@ -32,11 +32,12 @@ $profile = $check->CheckIfProfile($id); // Check if inspected userid -> redirect to userprofile and show admin countdown + /* $inspect = isInspected ($id); if ($inspect['inspect'] == 'yes') { redirect_header("userprofile.php?username=".$xoopsUser->getVar('uname'), 1); } - + */ if ($profile > 0) { $xoopsTpl->assign('check',1); $item = new SmallWorldForm; Modified: XoopsModules/smallworld/trunk/register.php =================================================================== --- XoopsModules/smallworld/trunk/register.php 2012-01-16 10:22:09 UTC (rev 8738) +++ XoopsModules/smallworld/trunk/register.php 2012-01-16 12:14:29 UTC (rev 8739) @@ -33,10 +33,12 @@ $profile = $check->CheckIfProfile($id); // Check if inspected userid -> redirect to userprofile and show admin countdown + /* $inspect = isInspected ($id); if ($inspect['inspect'] == 'yes') { redirect_header("userprofile.php?username=".$xoopsUser->getVar('uname'), 1); } + */ if ($profile >= 1) { // Create basic user in db & redirect to editProfile.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-16 10:22:20
|
Revision: 8738 http://xoops.svn.sourceforge.net/xoops/?rev=8738&view=rev Author: djculex Date: 2012-01-16 10:22:09 +0000 (Mon, 16 Jan 2012) Log Message: ----------- Select multi fields for configs Modified Paths: -------------- XoopsModules/smallworld/trunk/language/english/modinfo.php XoopsModules/smallworld/trunk/xoops_version.php Modified: XoopsModules/smallworld/trunk/language/english/modinfo.php =================================================================== --- XoopsModules/smallworld/trunk/language/english/modinfo.php 2012-01-16 08:27:54 UTC (rev 8737) +++ XoopsModules/smallworld/trunk/language/english/modinfo.php 2012-01-16 10:22:09 UTC (rev 8738) @@ -51,4 +51,36 @@ define ("_MI_SMALLWORLD_BOOKMARSAVATARS","Use Smallworld Logo when bookmarking ? "); define ("_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC","When posts are public and you want to share on social networks. You can here descide weather to use<br>smallworld logo as shared image or 'no' = the posting users avatar.<br><br>Default is 'yes' = smallworld logo."); + +// Select fields & Mandetory fields +define ('_MI_SMALLWORLD_VIEWFIELDS','Use fields in registration and profile'); +define ('_MI_SMALLWORLD_VIEWFIELDS_DESC','Select fields to use in registration form and in profile viewing<br>Use control + mouse to multiselect'); +define ('_MI_SMALLWORLD_VERIFYFIELDS','Use verification on fields in registration'); +define ('_MI_SMALLWORLD_VERIFYFIELDS_DESC','Select (*) mandatory fields in registration form<br>Use control + mouse to multiselect'); + +define ('_MI_SMALLWORLD_REALNAME','Real name'); +define ('_MI_SMALLWORLD_INTERESTEDIN','Interested in'); +define ('_MI_SMALLWORLD_PARTNER','Partner'); +define ('_MI_SMALLWORLD_LOOKINGFOR','Looking for'); +define ('_MI_SMALLWORLD_BIRTHDAY','Birthday'); +define ('_MI_SMALLWORLD_BIRTHPLACE','Birth place'); +define ('_MI_SMALLWORLD_POLITICALVIEWS','Political views'); +define ('_MI_SMALLWORLD_RELIGIOUSVIEWS','Religious view'); +define ('_MI_SMALLWORLD_EMAILS','Emails'); +define ('_MI_SMALLWORLD_SCREENNAMES','screennames'); +define ('_MI_SMALLWORLD_MOBILE','mobile'); +define ('_MI_SMALLWORLD_LANDPHONE','landphone'); +define ('_MI_SMALLWORLD_STREETADRESS','street adress'); +define ('_MI_SMALLWORLD_PRESENTCITY','present city'); +define ('_MI_SMALLWORLD_COUNTRY','country'); +define ('_MI_SMALLWORLD_WEBSITE','website'); +define ('_MI_SMALLWORLD_INTERESTS','Interests'); +define ('_MI_SMALLWORLD_FAVOURITEMUSIC','Favourite music'); +define ('_MI_SMALLWORLD_FAVOURITETVSHOWS','Favourite tvshows'); +define ('_MI_SMALLWORLD_FAVOURITEMOVIES','Favourite movie'); +define ('_MI_SMALLWORLD_FAVOURITEBOOKS','Favourite books'); +define ('_MI_SMALLWORLD_ABOUTME','About me'); +define ('_MI_SMALLWORLD_EDUCATION','Education'); +define ('_MI_SMALLWORLD_EMPLOYMENT','Employment'); + ?> \ No newline at end of file Modified: XoopsModules/smallworld/trunk/xoops_version.php =================================================================== --- XoopsModules/smallworld/trunk/xoops_version.php 2012-01-16 08:27:54 UTC (rev 8737) +++ XoopsModules/smallworld/trunk/xoops_version.php 2012-01-16 10:22:09 UTC (rev 8738) @@ -64,83 +64,214 @@ $modversion['tables'][8] = "smallworld_complaints"; // Templates -$modversion['templates'][1]['file'] = 'smallworld_index.html'; -$modversion['templates'][1]['description'] = ''; -$modversion['templates'][2]['file'] = 'smallworld_userprofile_template.html'; -$modversion['templates'][2]['description'] = ''; -$modversion['templates'][3]['file'] = 'smallworld_userprofile_regtemplate.html'; -$modversion['templates'][3]['description'] = ''; -$modversion['templates'][4]['file'] = 'smallworld_userprofile_edittemplate.html'; -$modversion['templates'][4]['description'] = ''; -$modversion['templates'][5]['file'] = 'smallworld_userprofile_imgupload.html'; -$modversion['templates'][5]['description'] = ''; -$modversion['templates'][6]['file'] = 'smallworld_galleryshow.html'; -$modversion['templates'][6]['description'] = ''; -$modversion['templates'][7]['file'] = 'smallworld_images_edittemplate.html'; -$modversion['templates'][7]['description'] = ''; -$modversion['templates'][8]['file'] = 'smallworld_friends_template.html'; -$modversion['templates'][8]['description'] = ''; -$modversion['templates'][9]['file'] = 'smallworld_permalink.html'; -$modversion['templates'][9]['description'] = ''; -$modversion['templates'][10]['file'] = 'smallworld_admin.html'; -$modversion['templates'][10]['description'] = ''; -$modversion['templates'][11]['file'] = 'smallworld_share.html'; -$modversion['templates'][11]['description'] = ''; +$i = 1; +$modversion['templates'][$i]['file'] = 'smallworld_index.html'; +$modversion['templates'][$i]['description'] = ''; +$i++; +$modversion['templates'][$i]['file'] = 'smallworld_userprofile_template.html'; +$modversion['templates'][$i]['description'] = ''; +$i++; +$modversion['templates'][$i]['file'] = 'smallworld_userprofile_regtemplate.html'; +$modversion['templates'][$i]['description'] = ''; +$i++; +$modversion['templates'][$i]['file'] = 'smallworld_userprofile_edittemplate.html'; +$modversion['templates'][$i]['description'] = ''; +$i++; +$modversion['templates'][$i]['file'] = 'smallworld_userprofile_imgupload.html'; +$modversion['templates'][$i]['description'] = ''; +$i++; +$modversion['templates'][$i]['file'] = 'smallworld_galleryshow.html'; +$modversion['templates'][$i]['description'] = ''; +$i++; +$modversion['templates'][$i]['file'] = 'smallworld_images_edittemplate.html'; +$modversion['templates'][$i]['description'] = ''; +$i++; +$modversion['templates'][$i]['file'] = 'smallworld_friends_template.html'; +$modversion['templates'][$i]['description'] = ''; +$i++; +$modversion['templates'][$i]['file'] = 'smallworld_permalink.html'; +$modversion['templates'][$i]['description'] = ''; +$i++; +$modversion['templates'][$i]['file'] = 'smallworld_admin.html'; +$modversion['templates'][$i]['description'] = ''; +$i++; +$modversion['templates'][$i]['file'] = 'smallworld_share.html'; +$modversion['templates'][$i]['description'] = ''; + // Blocks -$modversion['blocks'][1]['file'] = "smallworld_block.php"; -$modversion['blocks'][1]['name'] = 'Block for empty module'; -$modversion['blocks'][1]['description'] = 'This is a Block for the empty module'; -$modversion['blocks'][1]['show_func'] = "smallworld_block"; -$modversion['blocks'][1]['template'] = 'smallworld_block.html'; +$i = 1; +$modversion['blocks'][$i]['file'] = "smallworld_block.php"; +$modversion['blocks'][$i]['name'] = 'Block for empty module'; +$modversion['blocks'][$i]['description'] = 'This is a Block for the empty module'; +$modversion['blocks'][$i]['show_func'] = "smallworld_block"; +$modversion['blocks'][$i]['template'] = 'smallworld_block.html'; //Module Configs +$i = 0; +$modversion['config'][$i]['name'] = 'geolocate'; +$modversion['config'][$i]['title'] = '_MI_SMALLWORLD_USEGOOGLE'; +$modversion['config'][$i]['description'] = '_MI_SMALLWORLD_USEGOOGLE_DESC'; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 1; -$modversion['config'][0]['name'] = 'geolocate'; -$modversion['config'][0]['title'] = '_MI_SMALLWORLD_USEGOOGLE'; -$modversion['config'][0]['description'] = '_MI_SMALLWORLD_USEGOOGLE_DESC'; -$modversion['config'][0]['formtype'] = 'yesno'; -$modversion['config'][0]['valuetype'] = 'int'; -$modversion['config'][0]['default'] = 1; +$i++; +$modversion['config'][$i]['name'] = 'msgtoshow'; +$modversion['config'][$i]['title'] = '_MI_SMALLWORLD_MSGTOSHOW'; +$modversion['config'][$i]['description'] = '_MI_SMALLWORLD_MSGTOSHOW_DESC'; +$modversion['config'][$i]['formtype'] = 'textbox'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 5; -$modversion['config'][1]['name'] = 'msgtoshow'; -$modversion['config'][1]['title'] = '_MI_SMALLWORLD_MSGTOSHOW'; -$modversion['config'][1]['description'] = '_MI_SMALLWORLD_MSGTOSHOW_DESC'; -$modversion['config'][1]['formtype'] = 'textbox'; -$modversion['config'][1]['valuetype'] = 'int'; -$modversion['config'][1]['default'] = 5; +$i++; +$modversion['config'][$i]['name'] = 'msgtoshow'; +$modversion['config'][$i]['title'] = '_MI_SMALLWORLD_MSGTOSHOW'; +$modversion['config'][$i]['description'] = '_MI_SMALLWORLD_MSGTOSHOW_DESC'; +$modversion['config'][$i]['formtype'] = 'textbox'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 5; -$modversion['config'][1]['name'] = 'msgtoshow'; -$modversion['config'][1]['title'] = '_MI_SMALLWORLD_MSGTOSHOW'; -$modversion['config'][1]['description'] = '_MI_SMALLWORLD_MSGTOSHOW_DESC'; -$modversion['config'][1]['formtype'] = 'textbox'; -$modversion['config'][1]['valuetype'] = 'int'; -$modversion['config'][1]['default'] = 5; +$i++; +$modversion['config'][$i]['name'] = 'validationstrenght'; +$modversion['config'][$i]['title'] = '_MI_SMALLWORLD_VALIDATIONSTRENGHT'; +$modversion['config'][$i]['description'] = '_MI_SMALLWORLD_VALIDATIONSTRENGHT_DESC'; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 1; -$modversion['config'][2]['name'] = 'validationstrenght'; -$modversion['config'][2]['title'] = '_MI_SMALLWORLD_VALIDATIONSTRENGHT'; -$modversion['config'][2]['description'] = '_MI_SMALLWORLD_VALIDATIONSTRENGHT_DESC'; -$modversion['config'][2]['formtype'] = 'yesno'; -$modversion['config'][2]['valuetype'] = 'int'; -$modversion['config'][2]['default'] = 1; +$i++; +$modversion['config'][$i]['name'] = 'takeoveruserlinks'; +$modversion['config'][$i]['title'] = '_MI_SMALLWORLD_TAKEOVERLINKS'; +$modversion['config'][$i]['description'] = '_MI_SMALLWORLD_TAKEOVERLINKS_DESC'; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 0; -$modversion['config'][3]['name'] = 'takeoveruserlinks'; -$modversion['config'][3]['title'] = '_MI_SMALLWORLD_TAKEOVERLINKS'; -$modversion['config'][3]['description'] = '_MI_SMALLWORLD_TAKEOVERLINKS_DESC'; -$modversion['config'][3]['formtype'] = 'yesno'; -$modversion['config'][3]['valuetype'] = 'int'; -$modversion['config'][3]['default'] = 0; +$i++; +$modversion['config'][$i]['name'] = 'usersownpostscount'; +$modversion['config'][$i]['title'] = '_MI_SMALLWORLD_USERSOWNMSGCOUNTS'; +$modversion['config'][$i]['description'] = '_MI_SMALLWORLD_USERSOWNMSGCOUNTS_DESC'; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 0; -$modversion['config'][4]['name'] = 'usersownpostscount'; -$modversion['config'][4]['title'] = '_MI_SMALLWORLD_USERSOWNMSGCOUNTS'; -$modversion['config'][4]['description'] = '_MI_SMALLWORLD_USERSOWNMSGCOUNTS_DESC'; -$modversion['config'][4]['formtype'] = 'yesno'; -$modversion['config'][4]['valuetype'] = 'int'; -$modversion['config'][4]['default'] = 0; +$i++; +$modversion['config'][$i]['name'] = 'smallworldbookmarkavatar'; +$modversion['config'][$i]['title'] = '_MI_SMALLWORLD_BOOKMARSAVATARS'; +$modversion['config'][$i]['description'] = '_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC'; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 0; -$modversion['config'][5]['name'] = 'smallworldbookmarkavatar'; -$modversion['config'][5]['title'] = '_MI_SMALLWORLD_BOOKMARSAVATARS'; -$modversion['config'][5]['description'] = '_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC'; -$modversion['config'][5]['formtype'] = 'yesno'; -$modversion['config'][5]['valuetype'] = 'int'; -$modversion['config'][5]['default'] = 0; +$i++; +$modversion['config'][$i]['name'] = 'smallworldusethesefields'; +$modversion['config'][$i]['title'] = '_MI_SMALLWORLD_VIEWFIELDS'; +$modversion['config'][$i]['description'] = '_MI_SMALLWORLD_VIEWFIELDS_DESC'; +$modversion['config'][$i]['formtype'] = 'select_multi'; +$modversion['config'][$i]['valuetype'] = 'array'; +$modversion['config'][$i]['options'] = array( '_MI_SMALLWORLD_REALNAME' => 'realname', + '_MI_SMALLWORLD_INTERESTEDIN' => 'interestedin', + '_MI_SMALLWORLD_PARTNER' => 'partner', + '_MI_SMALLWORLD_LOOKINGFOR' => 'lookingfor', + '_MI_SMALLWORLD_BIRTHDAY' => 'birthday', + '_MI_SMALLWORLD_BIRTHPLACE' => 'birthplace', + '_MI_SMALLWORLD_POLITICALVIEWS' => 'politicalview', + '_MI_SMALLWORLD_RELIGIOUSVIEWS' => 'religiousview', + '_MI_SMALLWORLD_EMAILS' => 'emails', + '_MI_SMALLWORLD_SCREENNAMES' => 'screennames', + '_MI_SMALLWORLD_MOBILE' => 'mobile', + '_MI_SMALLWORLD_LANDPHONE' => 'landphone', + '_MI_SMALLWORLD_STREETADRESS' => 'streetadress', + '_MI_SMALLWORLD_PRESENTCITY' => 'presentcity', + '_MI_SMALLWORLD_COUNTRY' => 'country', + '_MI_SMALLWORLD_WEBSITE' => 'website', + '_MI_SMALLWORLD_INTERESTS' => 'interests', + '_MI_SMALLWORLD_FAVOURITEMUSIC' => 'favouritemusic', + '_MI_SMALLWORLD_FAVOURITETVSHOWS' => 'favouritetvshows', + '_MI_SMALLWORLD_FAVOURITEMOVIES' => 'favouritemovies', + '_MI_SMALLWORLD_FAVOURITEBOOKS' => 'favouritebooks', + '_MI_SMALLWORLD_ABOUTME' => 'aboutme', + '_MI_SMALLWORLD_EDUCATION' => 'education', + '_MI_SMALLWORLD_EMPLOYMENT' => 'employment',); +$modversion['config'][$i]['default'] = array( 'realname', + 'interestedin', + 'partner', + 'lookingfor', + 'birthday', + 'birthplace', + 'politicalview', + 'religiousview', + 'emails', + 'screennames', + 'mobile', + 'landphone', + 'streetadress', + 'presentcity', + 'country', + 'website', + 'interests', + 'favouritemusic', + 'favouritetvshows', + 'favouritemovies', + 'favouritebooks', + 'aboutme', + 'education', + 'employment'); + +// Mandatory fields +$i++; +$modversion['config'][$i]['name'] = 'smallworldmandatoryfields'; +$modversion['config'][$i]['title'] = '_MI_SMALLWORLD_VERIFYFIELDS'; +$modversion['config'][$i]['description'] = '_MI_SMALLWORLD_VERIFYFIELDS_DESC'; +$modversion['config'][$i]['formtype'] = 'select_multi'; +$modversion['config'][$i]['valuetype'] = 'array'; +$modversion['config'][$i]['options'] = array( '_MI_SMALLWORLD_REALNAME' => 'realname', + '_MI_SMALLWORLD_INTERESTEDIN' => 'interestedin', + '_MI_SMALLWORLD_PARTNER' => 'partner', + '_MI_SMALLWORLD_LOOKINGFOR' => 'lookingfor', + '_MI_SMALLWORLD_BIRTHDAY' => 'birthday', + '_MI_SMALLWORLD_BIRTHPLACE' => 'birthplace', + '_MI_SMALLWORLD_POLITICALVIEWS' => 'politicalview', + '_MI_SMALLWORLD_RELIGIOUSVIEWS' => 'religiousview', + '_MI_SMALLWORLD_EMAILS' => 'emails', + '_MI_SMALLWORLD_SCREENNAMES' => 'screennames', + '_MI_SMALLWORLD_MOBILE' => 'mobile', + '_MI_SMALLWORLD_LANDPHONE' => 'landphone', + '_MI_SMALLWORLD_STREETADRESS' => 'streetadress', + '_MI_SMALLWORLD_PRESENTCITY' => 'presentcity', + '_MI_SMALLWORLD_COUNTRY' => 'country', + '_MI_SMALLWORLD_WEBSITE' => 'website', + '_MI_SMALLWORLD_INTERESTS' => 'interests', + '_MI_SMALLWORLD_FAVOURITEMUSIC' => 'favouritemusic', + '_MI_SMALLWORLD_FAVOURITETVSHOWS' => 'favouritetvshows', + '_MI_SMALLWORLD_FAVOURITEMOVIES' => 'favouritemovies', + '_MI_SMALLWORLD_FAVOURITEBOOKS' => 'favouritebooks', + '_MI_SMALLWORLD_ABOUTME' => 'aboutme', + '_MI_SMALLWORLD_EDUCATION' => 'education', + '_MI_SMALLWORLD_EMPLOYMENT' => 'employment',); +$modversion['config'][$i]['default'] = array( 'realname', + 'interestedin', + 'partner', + 'lookingfor', + 'birthday', + 'birthplace', + 'politicalview', + 'religiousview', + 'emails', + 'screennames', + 'mobile', + 'landphone', + 'streetadress', + 'presentcity', + 'country', + 'website', + 'interests', + 'favouritemusic', + 'favouritetvshows', + 'favouritemovies', + 'favouritebooks', + 'aboutme', + 'education', + 'employment'); + ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-16 08:28:05
|
Revision: 8737 http://xoops.svn.sourceforge.net/xoops/?rev=8737&view=rev Author: djculex Date: 2012-01-16 08:27:54 +0000 (Mon, 16 Jan 2012) Log Message: ----------- default index page for admin Modified Paths: -------------- XoopsModules/smallworld/trunk/xoops_version.php Modified: XoopsModules/smallworld/trunk/xoops_version.php =================================================================== --- XoopsModules/smallworld/trunk/xoops_version.php 2012-01-15 21:16:52 UTC (rev 8736) +++ XoopsModules/smallworld/trunk/xoops_version.php 2012-01-16 08:27:54 UTC (rev 8737) @@ -49,7 +49,7 @@ // Menu $modversion['hasMain'] = 1; -$modversion['adminindex'] = "admin/index.php"; +$modversion['adminindex'] = "admin/moduleinfo.php"; $modversion['adminmenu'] = "admin/menu.php"; $modversion['sqlfile']['mysql'] = "sql/mysql.sql"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-01-15 21:16:58
|
Revision: 8736 http://xoops.svn.sourceforge.net/xoops/?rev=8736&view=rev Author: mageg Date: 2012-01-15 21:16:52 +0000 (Sun, 15 Jan 2012) Log Message: ----------- small error with the help link Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php 2012-01-15 14:20:41 UTC (rev 8735) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php 2012-01-15 21:16:52 UTC (rev 8736) @@ -231,7 +231,7 @@ } if ($this->_obj->getInfo('help')) { $help = array(); - $help['link'] = 'modules/system/help.php?mid=' . $this->_obj->getVar('mid', 's') . "&" . $this->_obj->getInfo('help'); + $help['link'] = '../../modules/system/help.php?mid=' . $this->_obj->getVar('mid', 's') . "&" . $this->_obj->getInfo('help'); $help['icon'] = XOOPS_URL . "/media/xoops/images/icons/32/help.png"; $help['title'] = _AM_SYSTEM_HELP; $xoops->tpl->append('xo_admin_index_menu', $help); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-15 14:20:47
|
Revision: 8735 http://xoops.svn.sourceforge.net/xoops/?rev=8735&view=rev Author: djculex Date: 2012-01-15 14:20:41 +0000 (Sun, 15 Jan 2012) Log Message: ----------- ajusted font-size in jquery.ui.datepicker.css to 1.0em Modified Paths: -------------- XoopsModules/smallworld/trunk/css/base/jquery.ui.datepicker.css Modified: XoopsModules/smallworld/trunk/css/base/jquery.ui.datepicker.css =================================================================== --- XoopsModules/smallworld/trunk/css/base/jquery.ui.datepicker.css 2012-01-15 14:14:25 UTC (rev 8734) +++ XoopsModules/smallworld/trunk/css/base/jquery.ui.datepicker.css 2012-01-15 14:20:41 UTC (rev 8735) @@ -7,69 +7,188 @@ * * http://docs.jquery.com/UI/Datepicker#theming */ -.ui-datepicker { width: 12em; padding: .2em .2em 0; display: none; } -.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } -.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } -.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } -.ui-datepicker .ui-datepicker-prev { left:2px; } -.ui-datepicker .ui-datepicker-next { right:2px; } -.ui-datepicker .ui-datepicker-prev-hover { left:1px; } -.ui-datepicker .ui-datepicker-next-hover { right:1px; } -.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } -.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; font-size:0.8em;} -.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; font-size:0.8em;} -.ui-datepicker select.ui-datepicker-month-year {width: 100%;font-size:0.8em;} -.ui-datepicker select.ui-datepicker-month, -.ui-datepicker select.ui-datepicker-year { width: 49%;font-size:0.8em;} -.ui-datepicker table {width: 100%; font-size: .8em; border-collapse: collapse; margin:0 0 .4em; } -.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; font-size:0.8em; } -.ui-datepicker td { border: 0; padding: 1px; font-size:0.8em;} -.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; font-size:0.8em;} -.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } -.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } -.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } - -/* with multiple calendars */ -.ui-datepicker.ui-datepicker-multi { width:auto; } -.ui-datepicker-multi .ui-datepicker-group { float:left; } -.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } -.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } -.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } -.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; } - -/* RTL support */ -.ui-datepicker-rtl { direction: rtl; } -.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } -.ui-datepicker-rtl .ui-datepicker-group { float:right; } -.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } -.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } - -/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ +.ui-datepicker { + display: none; + padding: 0.2em 0.2em 0; + width: 20em; +} +.ui-datepicker .ui-datepicker-header { + padding: 0.2em 0; + position: relative; +} +.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { + height: 1.8em; + position: absolute; + top: 2px; + width: 1.8em; +} +.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { + top: 1px; +} +.ui-datepicker .ui-datepicker-prev { + left: 2px; +} +.ui-datepicker .ui-datepicker-next { + right: 2px; +} +.ui-datepicker .ui-datepicker-prev-hover { + left: 1px; +} +.ui-datepicker .ui-datepicker-next-hover { + right: 1px; +} +.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { + display: block; + left: 50%; + margin-left: -8px; + margin-top: -8px; + position: absolute; + top: 50%; +} +.ui-datepicker .ui-datepicker-title { + font-size: 1.2em; + line-height: 1.8em; + margin: 0 2.3em; + text-align: center; +} +.ui-datepicker .ui-datepicker-title select { + font-size: 0.8em; + margin: 1px 0; +} +.ui-datepicker select.ui-datepicker-month-year { + font-size: 1.0em; + width: 100%; +} +.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year { + font-size: 1.0em; + width: 49%; +} +.ui-datepicker table { + border-collapse: collapse; + font-size: 1.0em; + margin: 0 0 0.4em; + width: 100%; +} +.ui-datepicker th { + border: 0 none; + font-size: 1.0em; + font-weight: bold; + padding: 0.7em 0.3em; + text-align: center; +} +.ui-datepicker td { + border: 0 none; + font-size: 1.0em; + padding: 1px; +} +.ui-datepicker td span, .ui-datepicker td a { + display: block; + font-size: 1.0em; + padding: 0.2em; + text-align: right; + text-decoration: none; +} +.ui-datepicker .ui-datepicker-buttonpane { + background-image: none; + border-bottom: 0 none; + border-left: 0 none; + border-right: 0 none; + margin: 0.7em 0 0; + padding: 0 0.2em; +} +.ui-datepicker .ui-datepicker-buttonpane button { + cursor: pointer; + float: right; + margin: 0.5em 0.2em 0.4em; + overflow: visible; + padding: 0.2em 0.6em 0.3em; + width: auto; +} +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { + float: left; +} +.ui-datepicker.ui-datepicker-multi { + width: auto; +} +.ui-datepicker-multi .ui-datepicker-group { + float: left; +} +.ui-datepicker-multi .ui-datepicker-group table { + margin: 0 auto 0.4em; + width: 95%; +} +.ui-datepicker-multi-2 .ui-datepicker-group { + width: 50%; +} +.ui-datepicker-multi-3 .ui-datepicker-group { + width: 33.3%; +} +.ui-datepicker-multi-4 .ui-datepicker-group { + width: 25%; +} +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { + border-left-width: 0; +} +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { + border-left-width: 0; +} +.ui-datepicker-multi .ui-datepicker-buttonpane { + clear: left; +} +.ui-datepicker-row-break { + clear: both; + width: 100%; +} +.ui-datepicker-rtl { + direction: rtl; +} +.ui-datepicker-rtl .ui-datepicker-prev { + left: auto; + right: 2px; +} +.ui-datepicker-rtl .ui-datepicker-next { + left: 2px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-prev:hover { + left: auto; + right: 1px; +} +.ui-datepicker-rtl .ui-datepicker-next:hover { + left: 1px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane { + clear: right; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button { + float: left; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { + float: right; +} +.ui-datepicker-rtl .ui-datepicker-group { + float: right; +} +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { + border-left-width: 1px; + border-right-width: 0; +} +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { + border-left-width: 1px; + border-right-width: 0; +} .ui-datepicker-cover { - display: none; /*sorry for IE5*/ - display/**/: block; /*sorry for IE5*/ - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ + display: block; + height: 200px; + left: -4px; + position: absolute; + top: -4px; + width: 200px; + z-index: -1; } - -/*Hack to place icon on date select*/ .ui-datepicker-trigger { float: left; margin-top: 3px; width: 13px; -} \ No newline at end of file +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-15 14:14:31
|
Revision: 8734 http://xoops.svn.sourceforge.net/xoops/?rev=8734&view=rev Author: djculex Date: 2012-01-15 14:14:25 +0000 (Sun, 15 Jan 2012) Log Message: ----------- some ajustments to css Modified Paths: -------------- XoopsModules/smallworld/trunk/css/smallworld.css Modified: XoopsModules/smallworld/trunk/css/smallworld.css =================================================================== --- XoopsModules/smallworld/trunk/css/smallworld.css 2012-01-15 14:13:51 UTC (rev 8733) +++ XoopsModules/smallworld/trunk/css/smallworld.css 2012-01-15 14:14:25 UTC (rev 8734) @@ -10,7 +10,7 @@ .smallworld_index_headmenu { margin: 0; padding: 0; list-style-type: none; list-style-image: none; - width:140%; + /*width:140%;*/ } .smallworld_index_headmenu li { @@ -179,7 +179,7 @@ .smallworld_biotable { border-collapse: collapse; background-image:none; - width: 570px + width: 95%; } #userbio { @@ -659,8 +659,15 @@ text-align:left; background-color:#FFFFFF; padding:10px; + width:95%; } +#smallworld_updateboxarea h4{ + font-weight: bold; + margin: 2px 5px; + padding: 0 0 0 0; +} + #smallworld_update { border-color: Thistle; border-style: solid; @@ -718,6 +725,7 @@ .smallworld_stimg{ float:left; height:50px; + margin: 0 5px; width:50px; border:solid 1px #dedede; padding:3px; @@ -731,7 +739,7 @@ padding:5px; display:block; font-size:11px; - width:450px; + width:80%; } .smallworld_sttext b{ @@ -752,7 +760,7 @@ } #smallworld_stexpandbox { - margin-top:10px; + margin-top:15px; } #smallworld_stexpandbox img { @@ -763,9 +771,10 @@ /* Comment */ .smallworld_stcommentbody { border-bottom:solid 1px #fff; + margin:0 15px; background-color:#f2f2f2; padding:5px; - width:460px; + width:95%; overflow:auto; } @@ -785,7 +794,7 @@ padding:3px; display:block; font-size:11px; - width:400px; + width:80%; } .smallworld_stcommenttext b { @@ -805,7 +814,7 @@ float: right; font-weight: bold; position: relative; - right: 10px; + right: 5px; } .smallworld_commentupdate { @@ -843,7 +852,7 @@ } .comm_holder { -width:95%; +width:85%; } .comm_holder a{ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-15 14:13:57
|
Revision: 8733 http://xoops.svn.sourceforge.net/xoops/?rev=8733&view=rev Author: djculex Date: 2012-01-15 14:13:51 +0000 (Sun, 15 Jan 2012) Log Message: ----------- removed <br> Modified Paths: -------------- XoopsModules/smallworld/trunk/templates/smallworld_index.html Modified: XoopsModules/smallworld/trunk/templates/smallworld_index.html =================================================================== --- XoopsModules/smallworld/trunk/templates/smallworld_index.html 2012-01-15 14:13:11 UTC (rev 8732) +++ XoopsModules/smallworld/trunk/templates/smallworld_index.html 2012-01-15 14:13:51 UTC (rev 8733) @@ -75,7 +75,7 @@ <input type="radio" name="updatePublic" id="updatePublic" value="1"/> </div> - <br><br><br> + <br><br> <input type="submit" value=" Update " id="smallworld_update_button" class="smallworld_update_button"/> </form> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-15 14:13:17
|
Revision: 8732 http://xoops.svn.sourceforge.net/xoops/?rev=8732&view=rev Author: djculex Date: 2012-01-15 14:13:11 +0000 (Sun, 15 Jan 2012) Log Message: ----------- ups forgotten templates Added Paths: ----------- XoopsModules/smallworld/trunk/templates/admin_help.html XoopsModules/smallworld/trunk/templates/admin_moduleinfo.html XoopsModules/smallworld/trunk/templates/admin_statistics.html XoopsModules/smallworld/trunk/templates/admin_useradmin.html Added: XoopsModules/smallworld/trunk/templates/admin_help.html =================================================================== --- XoopsModules/smallworld/trunk/templates/admin_help.html (rev 0) +++ XoopsModules/smallworld/trunk/templates/admin_help.html 2012-01-15 14:13:11 UTC (rev 8732) @@ -0,0 +1,36 @@ +<div class="smallworldadmin_tab_container"> + <div class="smallworldadmin_tab_content"> + <fieldset> + <legend class="smallworldadmin_legend"><{$lang_hlp_about}></legend> + <p class="smallworldadmin"><{$lang_hlp_preface}></p> + </fieldset> + + <fieldset> + <legend class="smallworldadmin_legend"><{$lang_hlp_requirements_t}></legend> + <p class="smallworldadmin"><{$lang_hlp_requirements}></p> + </fieldset> + <fieldset> + <legend class="smallworldadmin_legend"><{$lang_hlp_recommended_t}></legend> + <p class="smallworldadmin"><{$lang_hlp_recommended}></p> + </fieldset> + <fieldset> + <legend class="smallworldadmin_legend"><{$lang_hlp_installation_t}></legend> + <p class="smallworldadmin"><{$lang_hlp_firsttime}></p> + <h2><{$lang_hlp_hostedplatform_t}></h2> + <p class="smallworldadmin"><{$lang_hlp_hostedplatform}></p> + <h2><{$lang_hlp_upgrading_t}></h2> + <p class="smallworldadmin"><{$lang_hlp_upgrading}></p> + </fieldset> + <fieldset> + <legend class="smallworldadmin_legend"><{$lang_hlp_faq_t}></legend> + <h2><{$lang_hlp_commen1_t}></h2> + <p class="smallworldadmin"><{$lang_hlp_commen1}></p> + </fieldset> + <fieldset> + <legend class="smallworldadmin_legend"><{$lang_hlp_contacts_t}></legend> + <p class="smallworldadmin"><{$lang_hlp_otherhelp}></p> + </fieldset> + </div> + + <span style="margin: 27%; height: 50px; position: relative;"><{$smarty.const._AM_SMALLWORLD_SP}></span> +</div> \ No newline at end of file Added: XoopsModules/smallworld/trunk/templates/admin_moduleinfo.html =================================================================== --- XoopsModules/smallworld/trunk/templates/admin_moduleinfo.html (rev 0) +++ XoopsModules/smallworld/trunk/templates/admin_moduleinfo.html 2012-01-15 14:13:11 UTC (rev 8732) @@ -0,0 +1,15 @@ +<div class="smallworldadmin_tab_container"> + <div id="smallworldadmin_tab1" class="smallworldadmin_tab_content"> + <fieldset> + <legend class="smallworldadmin_legend"><{$lang_moduleinfo}></legend> + <p class="smallworldadmin"><{$lang_installversion}> : <{$installversion}></p> + <p class="smallworldadmin"><{$lang_installdate}> : <{$installdate}></p> + </fieldset> + <fieldset> + <legend class="smallworldadmin_legend"><{$lang_installversion_status}></legend> + <p class="smallworldadmin"><{$installversion_status}></p> + </fieldset> + </div> + <span style="margin: 27%; height: 50px; position: relative;"><{$smarty.const._AM_SMALLWORLD_SP}></span> +</div> +<!-- end smallworld Admin --> \ No newline at end of file Added: XoopsModules/smallworld/trunk/templates/admin_statistics.html =================================================================== --- XoopsModules/smallworld/trunk/templates/admin_statistics.html (rev 0) +++ XoopsModules/smallworld/trunk/templates/admin_statistics.html 2012-01-15 14:13:11 UTC (rev 8732) @@ -0,0 +1,61 @@ +<div class="smallworldadmin_tab_container"> + <div class="smallworldadmin_tab_content"> + <fieldset> + <legend class="smallworldadmin_legend"><{$lang_userstats}></legend> + <p class="smallworldadmin"><{$lang_dateoffirstmessage}> : <{$dateoffirstmessage}></p> + <p class="smallworldadmin"><{$lang_totalusers}> : <{$totalusers}></p> + <p class="smallworldadmin"><{$lang_averagemsgperday}> : <{$averagemsgperday}></p> + <p class="smallworldadmin"><{$lang_topchatterstoday}></p> + <table class="smallworldadmin"> + <{section name=i loop=$topusertoday}> + <tr> + <td class="smallworldadmin"><{$topusertoday[i].img}></td> + <td class="smallworldadmin"><{$topusertoday[i].counter}></td> + <td class="smallworldadmin"><{$topusertoday[i].from}></td> + <td class="smallworldadmin"><{$topusertoday[i].cnt}></td> + <td class="smallworldadmin"><{$lang_messages}></td> + </tr> + <{/section}> + </table> + <p class="smallworldadmin"><{$lang_topchatters}></p> + <table class="smallworldadmin"> + <{section name=i loop=$topuser}> + <tr> + <td class="smallworldadmin"><{$topuser[i].img}></td> + <td class="smallworldadmin"><{$topuser[i].counter}></td> + <td class="smallworldadmin"><{$topuser[i].from}></td> + <td class="smallworldadmin"><{$topuser[i].cnt}></td> + <td class="smallworldadmin"><{$lang_messages}></td> + </tr> + <{/section}> + </table> + <p class="smallworldadmin"><{$lang_toprated}></p> + <table class="smallworldadmin"> + <{section name=i loop=$topratedusers}> + <tr> + <td class="smallworldadmin"><{$topratedusers[i].img}></td> + <td class="smallworldadmin"><{$topratedusers[i].counter}></td> + <td class="smallworldadmin"><{$topratedusers[i].user}></td> + <td class="smallworldadmin"><{$topratedusers[i].cnt}></td> + <td class="smallworldadmin"><img height = "8px" width="8px" src="../images/like.png"/></td> + </tr> + <{/section}> + </table> + <p class="smallworldadmin"><{$lang_bottomrated}></p> + <table class="smallworldadmin"> + <{section name=i loop=$bottomratedusers}> + <tr> + <td class="smallworldadmin"><{$bottomratedusers[i].img}></td> + <td class="smallworldadmin"><{$bottomratedusers[i].counter}></td> + <td class="smallworldadmin"><{$bottomratedusers[i].user}></td> + <td class="smallworldadmin"><{$bottomratedusers[i].cnt}></td> + <td class="smallworldadmin"><img height = "8px" width="8px" src="../images/dislike.png"/></td> + </tr> + <{/section}> + </table> + + </fieldset> + </div> + <span style="margin: 27%; height: 50px; position: relative;"><{$smarty.const._AM_SMALLWORLD_SP}></span> +</div> +<!-- end smallworld Admin --> \ No newline at end of file Added: XoopsModules/smallworld/trunk/templates/admin_useradmin.html =================================================================== --- XoopsModules/smallworld/trunk/templates/admin_useradmin.html (rev 0) +++ XoopsModules/smallworld/trunk/templates/admin_useradmin.html 2012-01-15 14:13:11 UTC (rev 8732) @@ -0,0 +1,121 @@ +<div class="smallworldadmin_tab_container"> + <div class="smallworldadmin_tab_content"> + <fieldset> + <legend class="smallworldadmin_legend"><{$lang_useradmin}></legend> + <p class="smallworldadmin"><{$smarty.const._AM_SMALLWORLD_USERADMIN_TITLE}></p> + <div id = "smallworld_admin_allusers"> + <{if $allusersinspectcounter > 0}> + <legend class="smallworldadmin_legend"><{$smarty.const._AM_SMALLWORLD_USERADMININSPECT_TITLE}></legend> + <table id ="smallworld_admin_allusers_table"> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_IMAGE}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_USERNAME}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_REALNAME}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_IP}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_COMPLAINTS}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_INSPECTTIME}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_INSPECTADD}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_INSPECTDELETE}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_DELETEUSER}></th> + <{foreach item=post from=$allusersinspect}> + <tr> + <td> + <img height="50px" width="60px" src="<{$post.userimage}>"/> + </td> + <td><{$post.username}></td> + <td><{$post.realname}></td> + <td><{$post.ip}></td> + <td><{$post.complaint}></td> + <td> + <span id = "clock-<{$post.userid}>"> + </span> + <script type='text/javascript'> + ( function($) { + $(function () { + $('#clock-<{$post.userid}>').countdown({onExpiry:SmallworldCountdownliftOff, until: +<{$post.userinspect_timetotal}>}); + }); + })( jQuery ); + </script> + + </td> + + <td> + <span id ="smallworld_addmoretime"> + <select rel="<{$post.userid}>" id="smallworld_addmoretime_options<{$post.userid}>"> + <option id="<{$post.userid}>" value="0"><{$smarty.const._AM_SMALLWORLD_ADDTIMEDROPDOWN_NOCHANGE}></option> + <{section name=addtimevalue start=1 loop=61 step=1}> + <option rel="<{$post.userid}>" value="<{$smarty.section.addtimevalue.index}>"> + <{$smarty.section.addtimevalue.index}><{$smarty.const._AM_SMALLWORLD_ADDTIMEDROPDOWN_MINUTES}> + </option> + <{/section}> + </select> + </span> + <img id="smallworld_addtime_img" rel = "<{$post.userid}>" height = "16px" width="16px" src="../images/time_add.png"/> + </td> + <td> + <img id="smallworld_deletetime_img" rel = "<{$post.userid}>" height = "16px" width="16px" src="../images/time_delete.png"/> + </td> + <td> + <img id="smallworld_accountdelete_img" name="<{$post.username}>" rel="<{$post.userid}>" height = "16px" width="16px" src="../images/accountdelete.png"/> + </td> + + </tr> + <{/foreach}> + </table> + <{/if}> + + <br/> + + <{if $allusersnoinspectcounter > 0}> + <table id ="smallworld_admin_allusers_table"> + <legend class="smallworldadmin_legend"><{$smarty.const._AM_SMALLWORLD_USERADMINNOINSPECT_TITLE}></legend> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_IMAGE}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_USERNAME}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_REALNAME}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_IP}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_COMPLAINTS}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_INSPECTTIME}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_INSPECTADD}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_INSPECTDELETE}></th> + <th><{$smarty.const._AM_SMALLWORLD_TITLE_DELETEUSER}></th> + + <{foreach item=posts from=$allusersnoinspect}> + <tr> + <td> + <img height="50px" width="60px" src="<{$posts.userimage}>"/> + </td> + <td><{$posts.username}></td> + <td><{$posts.realname}></td> + <td><{$posts.ip}></td> + <td><{$posts.complaint}></td> + <td> + </td> + + <td> + <span id ="smallworld_addmoretime"> + <select rel="<{$posts.userid}>" id="smallworld_addmoretime_options<{$posts.userid}>"> + <option value="0"><{$smarty.const._AM_SMALLWORLD_ADDTIMEDROPDOWN_NOCHANGE}></option> + <{section name=addtimevalue start=1 loop=61 step=1}> + <option value="<{$smarty.section.addtimevalue.index}>"> + <{$smarty.section.addtimevalue.index}><{$smarty.const._AM_SMALLWORLD_ADDTIMEDROPDOWN_MINUTES}> + </option> + <{/section}> + </select> + </span> + <img id="smallworld_addtime_img" rel = "<{$posts.userid}>" height = "16px" width="16px" src="../images/time_add.png"/> + </td> + <td> + <img id="smallworld_deletetime_img" rel = "<{$posts.userid}>" height = "16px" width="16px" src="../images/time_delete.png"/> + </td> + <td> + <img id="smallworld_accountdelete_img" name="<{$posts.username}>" rel = "<{$posts.userid}>" height = "16px" width="16px" src="../images/accountdelete.png"/> + </td> + + </tr> + <{/foreach}> + </table> + <{/if}> + </div> + </fieldset> + </div> + <span style="margin: 27%; height: 50px; position: relative;"><{$smarty.const._AM_SMALLWORLD_SP}></span> +</div> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-15 13:26:27
|
Revision: 8731 http://xoops.svn.sourceforge.net/xoops/?rev=8731&view=rev Author: djculex Date: 2012-01-15 13:26:20 +0000 (Sun, 15 Jan 2012) Log Message: ----------- avoid distorded resizing in picture gallery Modified Paths: -------------- XoopsModules/smallworld/trunk/css/galleriffic-5.css Modified: XoopsModules/smallworld/trunk/css/galleriffic-5.css =================================================================== --- XoopsModules/smallworld/trunk/css/galleriffic-5.css 2012-01-15 07:41:11 UTC (rev 8730) +++ XoopsModules/smallworld/trunk/css/galleriffic-5.css 2012-01-15 13:26:20 UTC (rev 8731) @@ -88,8 +88,8 @@ div.slideshow img { border-style: solid; border-width: 1px; -width:500px; -height:500px; + width:500px; + /*height:500px;*/ } div.caption-container { float: right; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-01-15 07:41:17
|
Revision: 8730 http://xoops.svn.sourceforge.net/xoops/?rev=8730&view=rev Author: voltan1 Date: 2012-01-15 07:41:11 +0000 (Sun, 15 Jan 2012) Log Message: ----------- Fix index Modified Paths: -------------- XoopsModules/fmcontent/branches/news/index.php XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php XoopsModules/fmcontent/branches/news/language/english/modinfo.php XoopsModules/fmcontent/branches/news/language/persian/modinfo.php XoopsModules/fmcontent/branches/news/xoops_version.php Modified: XoopsModules/fmcontent/branches/news/index.php =================================================================== --- XoopsModules/fmcontent/branches/news/index.php 2012-01-15 07:08:34 UTC (rev 8729) +++ XoopsModules/fmcontent/branches/news/index.php 2012-01-15 07:41:11 UTC (rev 8730) @@ -119,7 +119,7 @@ } else { // get all topic informations - $topics = $topic_handler->getall ( $story_topic ); + $topics = $topic_handler->getall (); $default_title = xoops_getModuleOption ( 'static_name', $NewsModule->getVar ( 'dirname' ) ); $default_alias = NewsUtils::News_AliasFilter($default_title); $topic_id = $default_id = '0'; Modified: XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php 2012-01-15 07:08:34 UTC (rev 8729) +++ XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php 2012-01-15 07:41:11 UTC (rev 8730) @@ -42,7 +42,10 @@ define("_NEWS_MI_FORM_EDITOR_DESC", "تحدید محرر للاستخدام في صفحة إرسال المواضیع."); // Admin groups define("_NEWS_MI_ADMINGROUPS", "Admin Group Permissions"); - define("_NEWS_MI_ADMINGROUPS_DESC", "Which groups have access to tools and permissions page"); + define("_NEWS_MI_ADMINGROUPS_DESC", "Which groups have access to tools and permissions page"); +// Group Access + define('_NEWS_MI_GROUPS','اتاحة المجموعات'); + define('_NEWS_MI_GROUPS_DESC', 'عین الإتاحة الکلیة للمجموعات.'); // Urls define('_NEWS_MI_FRIENDLYURL','تحدید عنوان مفضل للمستخدمین'); define('_NEWS_MI_FRIENDLYURL_DESC', 'Select the URL rewrite mode you want to use.<ul> Modified: XoopsModules/fmcontent/branches/news/language/english/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/english/modinfo.php 2012-01-15 07:08:34 UTC (rev 8729) +++ XoopsModules/fmcontent/branches/news/language/english/modinfo.php 2012-01-15 07:41:11 UTC (rev 8730) @@ -42,7 +42,10 @@ define("_NEWS_MI_FORM_EDITOR_DESC", "Select the editor to use for editing your article."); // Admin groups define("_NEWS_MI_ADMINGROUPS", "Admin Group Permissions"); - define("_NEWS_MI_ADMINGROUPS_DESC", "Which groups have access to tools and permissions page"); + define("_NEWS_MI_ADMINGROUPS_DESC", "Which groups have access to tools and permissions page"); +// Group Access + define('_NEWS_MI_GROUPS', 'Groups access'); + define('_NEWS_MI_GROUPS_DESC', 'Select general access permission for groups.'); // Urls define('_NEWS_MI_FRIENDLYURL', 'URL rewrite method'); define('_NEWS_MI_FRIENDLYURL_DESC', 'Select the URL rewrite mode you want to use.<ul> Modified: XoopsModules/fmcontent/branches/news/language/persian/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/persian/modinfo.php 2012-01-15 07:08:34 UTC (rev 8729) +++ XoopsModules/fmcontent/branches/news/language/persian/modinfo.php 2012-01-15 07:41:11 UTC (rev 8730) @@ -42,7 +42,10 @@ define("_NEWS_MI_FORM_EDITOR_DESC", "انتخاب ویرایشگر برای استفاده در صفحه ارسال مطلب."); // Admin groups define("_NEWS_MI_ADMINGROUPS", "Admin Group Permissions"); - define("_NEWS_MI_ADMINGROUPS_DESC", "Which groups have access to tools and permissions page"); + define("_NEWS_MI_ADMINGROUPS_DESC", "Which groups have access to tools and permissions page"); +// Group Access + define('_NEWS_MI_GROUPS', 'دسترسی گروه ها'); + define('_NEWS_MI_GROUPS_DESC', 'دسترسی سراسری گروه ها را مشخص کنید.'); // Urls define('_NEWS_MI_FRIENDLYURL', 'انتخاب آدرس کاربر پسند'); define('_NEWS_MI_FRIENDLYURL_DESC', 'Select the URL rewrite mode you want to use.<ul> Modified: XoopsModules/fmcontent/branches/news/xoops_version.php =================================================================== --- XoopsModules/fmcontent/branches/news/xoops_version.php 2012-01-15 07:08:34 UTC (rev 8729) +++ XoopsModules/fmcontent/branches/news/xoops_version.php 2012-01-15 07:41:11 UTC (rev 8730) @@ -150,22 +150,36 @@ 'default' => 'dhtmltextarea'); // Get groups - -$criteria = new CriteriaCompo (); -$criteria->add ( new Criteria ( 'group_type', 'Admin' ) ); $member_handler =& xoops_gethandler('member'); -$xoopsgroups = $member_handler->getGroupList($criteria); +$xoopsgroups = $member_handler->getGroupList(); foreach ($xoopsgroups as $key => $group) { $groups[$group] = $key; } $modversion['config'][] = array( + 'name' => 'groups', + 'title' => '_NEWS_MI_GROUPS', + 'description' => '_NEWS_MI_GROUPS_DESC', + 'formtype' => 'select_multi', + 'valuetype' => 'array', + 'options' => $groups, + 'default' => $groups); + +// Get Admin groups +$criteria = new CriteriaCompo (); +$criteria->add ( new Criteria ( 'group_type', 'Admin' ) ); +$member_handler =& xoops_gethandler('member'); +$admin_xoopsgroups = $member_handler->getGroupList($criteria); +foreach ($admin_xoopsgroups as $key => $admin_group) { + $admin_groups[$admin_group] = $key; +} +$modversion['config'][] = array( 'name' => 'admin_groups', 'title' => '_NEWS_MI_ADMINGROUPS', 'description' => '_NEWS_MI_ADMINGROUPS_DESC', 'formtype' => 'select_multi', 'valuetype' => 'array', - 'options' => $groups, - 'default' => $groups); + 'options' => $admin_groups, + 'default' => $admin_groups); $modversion['config'][] = array( 'name' => 'editinplace', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-01-15 07:08:42
|
Revision: 8729 http://xoops.svn.sourceforge.net/xoops/?rev=8729&view=rev Author: voltan1 Date: 2012-01-15 07:08:34 +0000 (Sun, 15 Jan 2012) Log Message: ----------- Add some updates Modified Paths: -------------- XoopsModules/fmcontent/branches/news/admin/permissions.php XoopsModules/fmcontent/branches/news/admin/tools.php XoopsModules/fmcontent/branches/news/article.php XoopsModules/fmcontent/branches/news/include/functions_update.php XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php XoopsModules/fmcontent/branches/news/language/english/modinfo.php XoopsModules/fmcontent/branches/news/language/persian/modinfo.php XoopsModules/fmcontent/branches/news/rss.php XoopsModules/fmcontent/branches/news/xoops_version.php Modified: XoopsModules/fmcontent/branches/news/admin/permissions.php =================================================================== --- XoopsModules/fmcontent/branches/news/admin/permissions.php 2012-01-14 18:03:21 UTC (rev 8728) +++ XoopsModules/fmcontent/branches/news/admin/permissions.php 2012-01-15 07:08:34 UTC (rev 8729) @@ -25,7 +25,15 @@ include_once XOOPS_ROOT_PATH . '/modules/news/class/topic.php'; // Display Admin header -xoops_cp_header(); +xoops_cp_header(); + +// Check admin have access to this page +$group = $xoopsUser->getGroups (); +$groups = xoops_getModuleOption ( 'admin_groups', $NewsModule->getVar ( 'dirname' ) ); +if (count ( array_intersect ( $group, $groups ) ) <= 0) { + redirect_header ( 'index.php', 3, _NOPERM ); +} + // Add module stylesheet $xoTheme->addStylesheet(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/css/admin.css'); $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/admin.css'); Modified: XoopsModules/fmcontent/branches/news/admin/tools.php =================================================================== --- XoopsModules/fmcontent/branches/news/admin/tools.php 2012-01-14 18:03:21 UTC (rev 8728) +++ XoopsModules/fmcontent/branches/news/admin/tools.php 2012-01-15 07:08:34 UTC (rev 8729) @@ -23,7 +23,15 @@ if (!isset($NewsModule)) exit('Module not found'); // Display Admin header -xoops_cp_header(); +xoops_cp_header(); + +// Check admin have access to this page +$group = $xoopsUser->getGroups (); +$groups = xoops_getModuleOption ( 'admin_groups', $NewsModule->getVar ( 'dirname' ) ); +if (count ( array_intersect ( $group, $groups ) ) <= 0) { + redirect_header ( 'index.php', 3, _NOPERM ); +} + // Define default value $op = NewsUtils::News_CleanVars($_REQUEST, 'op', 'display', 'string'); // Add module stylesheet Modified: XoopsModules/fmcontent/branches/news/article.php =================================================================== --- XoopsModules/fmcontent/branches/news/article.php 2012-01-14 18:03:21 UTC (rev 8728) +++ XoopsModules/fmcontent/branches/news/article.php 2012-01-15 07:08:34 UTC (rev 8729) @@ -45,7 +45,7 @@ // Add Stylesheet $xoTheme->addStylesheet ( XOOPS_URL . '/modules/' . $NewsModule->getVar ( 'dirname' ) . '/css/style.css' ); -if (! $story_id) { +if (empty($story_id)) { $criteria = new CriteriaCompo (); $criteria->add ( new Criteria ( 'story_modid', $NewsModule->getVar ( 'mid' ) ) ); $criteria->add ( new Criteria ( 'story_default', 1 ) ); Modified: XoopsModules/fmcontent/branches/news/include/functions_update.php =================================================================== --- XoopsModules/fmcontent/branches/news/include/functions_update.php 2012-01-14 18:03:21 UTC (rev 8728) +++ XoopsModules/fmcontent/branches/news/include/functions_update.php 2012-01-15 07:08:34 UTC (rev 8729) @@ -24,294 +24,281 @@ */ function xoops_module_update_news($module, $version) { - $modsDirname = basename(dirname(dirname(__FILE__))); - if($modsDirname != 'news') { - return false; - } - - $indexFile = XOOPS_ROOT_PATH . "/uploads/index.html"; - $blankFile = XOOPS_ROOT_PATH . "/uploads/blank.gif"; - - //Creation du fichier creator dans uploads - $module_uploads = XOOPS_ROOT_PATH . "/uploads/news"; - if (!is_dir($module_uploads)) { - mkdir($module_uploads, 0777); - chmod($module_uploads, 0777); - copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/index.html"); - } - - //Creation du fichier price dans uploads - $module_uploads = XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image"; - if (!is_dir($module_uploads)) { - mkdir($module_uploads, 0777); - chmod($module_uploads, 0777); - copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/index.html"); - copy($blankFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/blank.gif"); - } - - //Creation du fichier price dans uploads - $module_uploads = XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/original"; - if (!is_dir($module_uploads)) { - mkdir($module_uploads, 0777); - chmod($module_uploads, 0777); - copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/original/index.html"); - copy($blankFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/original/blank.gif"); - } - - //Creation du fichier price dans uploads - $module_uploads = XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/medium"; - if (!is_dir($module_uploads)) { - mkdir($module_uploads, 0777); - chmod($module_uploads, 0777); - copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/medium/index.html"); - copy($blankFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/medium/blank.gif"); - } - - //Creation du fichier price dans uploads - $module_uploads = XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/thumb"; - if (!is_dir($module_uploads)) { - mkdir($module_uploads, 0777); - chmod($module_uploads, 0777); - copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/thumb/index.html"); - copy($blankFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/thumb/blank.gif"); - } - - //Creation du fichier price dans uploads - $module_uploads = XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/file"; - if (!is_dir($module_uploads)) { - mkdir($module_uploads, 0777); - chmod($module_uploads, 0777); - copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/file/index.html"); - copy($blankFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/file/blank.gif"); - } - - $db = $GLOBALS["xoopsDB"]; - $error = false; - - include_once XOOPS_ROOT_PATH . '/modules/news/include/functions.php'; - include_once XOOPS_ROOT_PATH . '/modules/news/class/perm.php'; - include_once XOOPS_ROOT_PATH . '/modules/news/class/utils.php'; - include_once XOOPS_ROOT_PATH . '/class/template.php'; - include_once XOOPS_ROOT_PATH . '/class/xoopstree.php'; - - - - if(!NewsUtils::News_TableExists($db->prefix('news_story'))) - { - $sql = "CREATE TABLE " . $db->prefix('news_story') . " ( - `story_id` int(10) NOT NULL auto_increment, - `story_title` varchar(255) NOT NULL, - `story_subtitle` varchar(255) NOT NULL, - `story_titleview` tinyint(1) NOT NULL default '1', - `story_topic` int(11) NOT NULL, - `story_type` varchar(25) NOT NULL, - `story_short` text NOT NULL, - `story_text` text NOT NULL, - `story_link` varchar(255) NOT NULL, - `story_words` varchar(255) NOT NULL, - `story_desc` varchar(255) NOT NULL, - `story_alias` varchar(255) NOT NULL, - `story_important` tinyint(1) NOT NULL, - `story_default` tinyint(1) NOT NULL, - `story_status` tinyint(1) NOT NULL, - `story_create` int (10) NOT NULL default '0', - `story_update` int (10) NOT NULL default '0', - `story_publish` int (10) NOT NULL default '0', - `story_expire` int (10) NOT NULL default '0', - `story_uid` int(11) NOT NULL, - `story_author` varchar(255) NOT NULL, - `story_source` varchar(255) NOT NULL, - `story_groups` varchar(255) NOT NULL, - `story_order` int(11) NOT NULL, - `story_next` int(11) NOT NULL default '0', - `story_prev` int(11) NOT NULL default '0', - `story_modid` int(11) NOT NULL, - `story_hits` int(11) NOT NULL, - `story_img` varchar(255) NOT NULL, - `story_comments` int(11) unsigned NOT NULL default '0', - `story_file` tinyint(3) NOT NULL, - `dohtml` tinyint(1) NOT NULL, - `dobr` tinyint(1) NOT NULL, - `doimage` tinyint(1) NOT NULL, - `dosmiley` tinyint(1) NOT NULL, - `doxcode` tinyint(1) NOT NULL, - PRIMARY KEY (`story_id`), - KEY `idxstoriestopic` (`story_topic`), - KEY `story_title` (`story_title`), - KEY `story_create` (`story_create`), - FULLTEXT KEY `search` (`story_title`,`story_short`,`story_text`,`story_subtitle`) - ) ENGINE=MyISAM;"; - if (!$db->queryF($sql)) { - echo 'd2'; - return false; - } - } + // start update to version 1.80 + if($version < 180) { + + $modsDirname = basename(dirname(dirname(__FILE__))); + if($modsDirname != 'news') { + return false; + } + + $indexFile = XOOPS_ROOT_PATH . "/uploads/index.html"; + $blankFile = XOOPS_ROOT_PATH . "/uploads/blank.gif"; + + //Creation du fichier creator dans uploads + $module_uploads = XOOPS_ROOT_PATH . "/uploads/news"; + if (!is_dir($module_uploads)) { + mkdir($module_uploads, 0777); + chmod($module_uploads, 0777); + copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/index.html"); + } + + //Creation du fichier price dans uploads + $module_uploads = XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image"; + if (!is_dir($module_uploads)) { + mkdir($module_uploads, 0777); + chmod($module_uploads, 0777); + copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/index.html"); + copy($blankFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/blank.gif"); + } + + //Creation du fichier price dans uploads + $module_uploads = XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/original"; + if (!is_dir($module_uploads)) { + mkdir($module_uploads, 0777); + chmod($module_uploads, 0777); + copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/original/index.html"); + copy($blankFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/original/blank.gif"); + } + + //Creation du fichier price dans uploads + $module_uploads = XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/medium"; + if (!is_dir($module_uploads)) { + mkdir($module_uploads, 0777); + chmod($module_uploads, 0777); + copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/medium/index.html"); + copy($blankFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/medium/blank.gif"); + } + + //Creation du fichier price dans uploads + $module_uploads = XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/thumb"; + if (!is_dir($module_uploads)) { + mkdir($module_uploads, 0777); + chmod($module_uploads, 0777); + copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/thumb/index.html"); + copy($blankFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/image/thumb/blank.gif"); + } + + //Creation du fichier price dans uploads + $module_uploads = XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/file"; + if (!is_dir($module_uploads)) { + mkdir($module_uploads, 0777); + chmod($module_uploads, 0777); + copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/file/index.html"); + copy($blankFile, XOOPS_ROOT_PATH . "/uploads/" . $modsDirname . "/file/blank.gif"); + } + + $db = $GLOBALS["xoopsDB"]; + $error = false; + + include_once XOOPS_ROOT_PATH . '/modules/news/include/functions.php'; + include_once XOOPS_ROOT_PATH . '/modules/news/class/perm.php'; + include_once XOOPS_ROOT_PATH . '/modules/news/class/utils.php'; + include_once XOOPS_ROOT_PATH . '/class/template.php'; + include_once XOOPS_ROOT_PATH . '/class/xoopstree.php'; - if(!NewsUtils::News_TableExists($db->prefix('news_topic'))) - { - $sql = "CREATE TABLE " . $db->prefix('news_topic') . " ( - `topic_id` int (11) unsigned NOT NULL auto_increment, - `topic_pid` int (5) unsigned NOT NULL , - `topic_title` varchar (255) NOT NULL , - `topic_desc` text NOT NULL , - `topic_img` varchar (255) NOT NULL , - `topic_weight` int (5) NOT NULL , - `topic_showtype` tinyint (4) NOT NULL , - `topic_perpage` tinyint (4) NOT NULL , - `topic_columns` tinyint (4) NOT NULL , - `topic_submitter` int (10) NOT NULL default '0', - `topic_date_created` int (10) NOT NULL default '0', - `topic_date_update` int (10) NOT NULL default '0', - `topic_asmenu` tinyint (1) NOT NULL default '1', - `topic_online` tinyint (1) NOT NULL default '1', - `topic_modid` int(11) NOT NULL, - `topic_showtopic` tinyint (1) NOT NULL default '0', - `topic_showauthor` tinyint (1) NOT NULL default '1', - `topic_showdate` tinyint (1) NOT NULL default '1', - `topic_showpdf` tinyint (1) NOT NULL default '1', - `topic_showprint` tinyint (1) NOT NULL default '1', - `topic_showmail` tinyint (1) NOT NULL default '1', - `topic_shownav` tinyint (1) NOT NULL default '1', - `topic_showhits` tinyint (1) NOT NULL default '1', - `topic_showcoms` tinyint (1) NOT NULL default '1', - `topic_alias` varchar(255) NOT NULL, - `topic_homepage` tinyint (4) NOT NULL , - `topic_show` tinyint (1) NOT NULL default '1', - PRIMARY KEY (`topic_id`,`topic_modid`), - UNIQUE KEY `file_id` (`topic_id`,`topic_modid`) - ) ENGINE=MyISAM;"; - if (!$db->queryF($sql)) { - echo 'd3'; - return false; - } - } + - if(!NewsUtils::News_TableExists($db->prefix('news_file'))) - { - $sql = "CREATE TABLE " . $db->prefix('news_file') . " ( - `file_id` int (11) unsigned NOT NULL auto_increment, - `file_modid` int(11) NOT NULL, - `file_title` varchar (255) NOT NULL , - `file_name` varchar (255) NOT NULL , - `file_content` int(11) NOT NULL, - `file_date` int(10) NOT NULL default '0', - `file_type` varchar(64) NOT NULL default '', - `file_status` tinyint(1) NOT NULL, - `file_hits` int(11) NOT NULL, - PRIMARY KEY (`file_id`,`file_modid`), - UNIQUE KEY `file_id` (`file_id`,`file_modid`) - ) ENGINE=MyISAM;"; - if (!$db->queryF($sql)) { - echo 'd4'; - return false; + if(!NewsUtils::News_TableExists($db->prefix('news_story'))) + { + $sql = "CREATE TABLE " . $db->prefix('news_story') . " ( + `story_id` int(10) NOT NULL auto_increment, + `story_title` varchar(255) NOT NULL, + `story_subtitle` varchar(255) NOT NULL, + `story_titleview` tinyint(1) NOT NULL default '1', + `story_topic` int(11) NOT NULL, + `story_type` varchar(25) NOT NULL, + `story_short` text NOT NULL, + `story_text` text NOT NULL, + `story_link` varchar(255) NOT NULL, + `story_words` varchar(255) NOT NULL, + `story_desc` varchar(255) NOT NULL, + `story_alias` varchar(255) NOT NULL, + `story_important` tinyint(1) NOT NULL, + `story_default` tinyint(1) NOT NULL, + `story_status` tinyint(1) NOT NULL, + `story_create` int (10) NOT NULL default '0', + `story_update` int (10) NOT NULL default '0', + `story_publish` int (10) NOT NULL default '0', + `story_expire` int (10) NOT NULL default '0', + `story_uid` int(11) NOT NULL, + `story_author` varchar(255) NOT NULL, + `story_source` varchar(255) NOT NULL, + `story_groups` varchar(255) NOT NULL, + `story_order` int(11) NOT NULL, + `story_next` int(11) NOT NULL default '0', + `story_prev` int(11) NOT NULL default '0', + `story_modid` int(11) NOT NULL, + `story_hits` int(11) NOT NULL, + `story_img` varchar(255) NOT NULL, + `story_comments` int(11) unsigned NOT NULL default '0', + `story_file` tinyint(3) NOT NULL, + `dohtml` tinyint(1) NOT NULL, + `dobr` tinyint(1) NOT NULL, + `doimage` tinyint(1) NOT NULL, + `dosmiley` tinyint(1) NOT NULL, + `doxcode` tinyint(1) NOT NULL, + PRIMARY KEY (`story_id`), + KEY `idxstoriestopic` (`story_topic`), + KEY `story_title` (`story_title`), + KEY `story_create` (`story_create`), + FULLTEXT KEY `search` (`story_title`,`story_short`,`story_text`,`story_subtitle`) + ) ENGINE=MyISAM;"; + if (!$db->queryF($sql)) { + return false; + } } - } - - //load needed handler - $module_handler = xoops_gethandler('module'); - $comment_handler = xoops_gethandler('comment'); - $notification_handler = xoops_gethandler('notification'); - $topic_handler = xoops_getmodulehandler('topic', 'news'); - $story_handler = xoops_getmodulehandler('story', 'news'); - $file_handler = xoops_getmodulehandler('file', 'news'); - $newsModule = $module_handler->getByDirname('news'); - $news_mid = $newsModule->getVar('mid'); - - $old_topics = $db->prefix('topics'); - $old_articles = $db->prefix('stories'); - $old_files = $db->prefix('stories_files'); - $old_rating = $db->prefix('stories_votedata'); - - $new_news_topics = array(); - $mytree = new XoopsTree($old_topics,'topic_id','topic_pid'); - $old_topics = $mytree->getChildTreeArray(0,'topic_id'); - - // start - foreach($old_topics as $topic) { - - $topicobj = $topic_handler->create (); - $topicobj->setVar ( 'topic_id', $topic['topic_id'] ); - $topicobj->setVar ( 'topic_pid', $topic['topic_pid'] ); - $topicobj->setVar ( 'topic_title', $topic['topic_title'] ); - $topicobj->setVar ( 'topic_img', $topic['topic_imgurl'] ); - $topicobj->setVar ( 'topic_desc', $topic['topic_description'] ); - $topicobj->setVar ( 'topic_modid', $news_mid); - $topicobj->setVar ( 'topic_alias', NewsUtils::News_AliasFilter($topic['topic_title'])); - if (! $topic_handler->insert ( $topicobj )) { - return false; + if(!NewsUtils::News_TableExists($db->prefix('news_topic'))) + { + $sql = "CREATE TABLE " . $db->prefix('news_topic') . " ( + `topic_id` int (11) unsigned NOT NULL auto_increment, + `topic_pid` int (5) unsigned NOT NULL , + `topic_title` varchar (255) NOT NULL , + `topic_desc` text NOT NULL , + `topic_img` varchar (255) NOT NULL , + `topic_weight` int (5) NOT NULL , + `topic_showtype` tinyint (4) NOT NULL , + `topic_perpage` tinyint (4) NOT NULL , + `topic_columns` tinyint (4) NOT NULL , + `topic_submitter` int (10) NOT NULL default '0', + `topic_date_created` int (10) NOT NULL default '0', + `topic_date_update` int (10) NOT NULL default '0', + `topic_asmenu` tinyint (1) NOT NULL default '1', + `topic_online` tinyint (1) NOT NULL default '1', + `topic_modid` int(11) NOT NULL, + `topic_showtopic` tinyint (1) NOT NULL default '0', + `topic_showauthor` tinyint (1) NOT NULL default '1', + `topic_showdate` tinyint (1) NOT NULL default '1', + `topic_showpdf` tinyint (1) NOT NULL default '1', + `topic_showprint` tinyint (1) NOT NULL default '1', + `topic_showmail` tinyint (1) NOT NULL default '1', + `topic_shownav` tinyint (1) NOT NULL default '1', + `topic_showhits` tinyint (1) NOT NULL default '1', + `topic_showcoms` tinyint (1) NOT NULL default '1', + `topic_alias` varchar(255) NOT NULL, + `topic_homepage` tinyint (4) NOT NULL , + `topic_show` tinyint (1) NOT NULL default '1', + PRIMARY KEY (`topic_id`,`topic_modid`), + UNIQUE KEY `file_id` (`topic_id`,`topic_modid`) + ) ENGINE=MyISAM;"; + if (!$db->queryF($sql)) { + return false; + } } - $result = $db->query('SELECT * FROM '.$old_articles.' WHERE topicid = '.$topic['topic_id'].' ORDER BY created'); - - while ( $article = $db->fetchArray($result) ) { - - $storyobj = $story_handler->create (); - $storyobj->setVar ( 'story_id', $article['storyid']); - $storyobj->setVar ( 'story_title', $article['title']); - $storyobj->setVar ( 'story_titleview', '1' ); - $storyobj->setVar ( 'story_topic', $article['topicid']); - $storyobj->setVar ( 'story_type', 'news' ); - $storyobj->setVar ( 'story_short', $article['hometext']); - $storyobj->setVar ( 'story_text', $article['bodytext']); - $storyobj->setVar ( 'story_words', $article['keywords']); - $storyobj->setVar ( 'story_desc', $article['description']); - $storyobj->setVar ( 'story_alias', NewsUtils::News_AliasFilter($article['title'])); - $storyobj->setVar ( 'story_status', '1'); - $storyobj->setVar ( 'story_create', $article['created']); - $storyobj->setVar ( 'story_update', $article['created']); - $storyobj->setVar ( 'story_publish', $article['published']); - $storyobj->setVar ( 'story_expire', $article['expired']); - $storyobj->setVar ( 'story_uid', $article['uid']); - $storyobj->setVar ( 'story_groups', '1 2 3'); - $storyobj->setVar ( 'story_modid', $news_mid ); - $storyobj->setVar ( 'story_hits', $article['counter']); - $storyobj->setVar ( 'story_img', $article['picture']); - $storyobj->setVar ( 'story_comments', $article['comments']); - $storyobj->setVar ( 'dohtml', $article['nohtml']); - //$storyobj->setVar ( 'dobr', $article['']); - //$storyobj->setVar ( 'doimage', $article['']); - $storyobj->setVar ( 'dosmiley', $article['nosmiley']); - //$storyobj->setVar ( 'doxcode', $article['']); - - if (! $story_handler->insert ( $storyobj )) { - return false; + if(!NewsUtils::News_TableExists($db->prefix('news_file'))) + { + $sql = "CREATE TABLE " . $db->prefix('news_file') . " ( + `file_id` int (11) unsigned NOT NULL auto_increment, + `file_modid` int(11) NOT NULL, + `file_title` varchar (255) NOT NULL , + `file_name` varchar (255) NOT NULL , + `file_content` int(11) NOT NULL, + `file_date` int(10) NOT NULL default '0', + `file_type` varchar(64) NOT NULL default '', + `file_status` tinyint(1) NOT NULL, + `file_hits` int(11) NOT NULL, + PRIMARY KEY (`file_id`,`file_modid`), + UNIQUE KEY `file_id` (`file_id`,`file_modid`) + ) ENGINE=MyISAM;"; + if (!$db->queryF($sql)) { + return false; } - - // The files - $result4 = $db->query('SELECT * FROM '.$old_files.' WHERE storyid='.$article['storyid']); - while ( $file = $db->fetchArray($result4) ) { - $fileobj = $file_handler->create (); - $fileobj->setVar ( 'file_id', $file['fileid']); - $fileobj->setVar ( 'file_modid', $news_mid); - $fileobj->setVar ( 'file_title', $file['filerealname']); - $fileobj->setVar ( 'file_name', $file['downloadname']); - $fileobj->setVar ( 'file_content', $file['storyid']); - $fileobj->setVar ( 'file_date', $file['date']); - $fileobj->setVar ( 'file_type', $file['mimetype']); - $fileobj->setVar ( 'file_status', '1'); - $fileobj->setVar ( 'file_hits', $file['counter']); + } + + //load needed handler + $module_handler = xoops_gethandler('module'); + $comment_handler = xoops_gethandler('comment'); + $notification_handler = xoops_gethandler('notification'); + $topic_handler = xoops_getmodulehandler('topic', 'news'); + $story_handler = xoops_getmodulehandler('story', 'news'); + $file_handler = xoops_getmodulehandler('file', 'news'); + $newsModule = $module_handler->getByDirname('news'); + $news_mid = $newsModule->getVar('mid'); + + $old_topics = $db->prefix('topics'); + $old_articles = $db->prefix('stories'); + $old_files = $db->prefix('stories_files'); + $old_rating = $db->prefix('stories_votedata'); + + $new_news_topics = array(); + $mytree = new XoopsTree($old_topics,'topic_id','topic_pid'); + $old_topics = $mytree->getChildTreeArray(0,'topic_id'); - if (! $file_handler->insert ( $fileobj )) { - return false; - } + foreach($old_topics as $topic) { + + $topicobj = $topic_handler->create (); + $topicobj->setVar ( 'topic_id', $topic['topic_id'] ); + $topicobj->setVar ( 'topic_pid', $topic['topic_pid'] ); + $topicobj->setVar ( 'topic_title', $topic['topic_title'] ); + $topicobj->setVar ( 'topic_img', $topic['topic_imgurl'] ); + $topicobj->setVar ( 'topic_desc', $topic['topic_description'] ); + $topicobj->setVar ( 'topic_modid', $news_mid); + $topicobj->setVar ( 'topic_alias', NewsUtils::News_AliasFilter($topic['topic_title'])); + + if (! $topic_handler->insert ( $topicobj )) { + return false; } - // The comments - $comments = $comment_handler->getByItemId($news_mid, $article['storyid'], 'ASC'); - if(is_array($comments) && count($comments)>0) { - foreach($comments as $onecomment) { - $onecomment->setNew(); - $onecomment->setVar('com_modid',$news_mid); - $onecomment->setVar('com_itemid',$article['storyid']); - $comment_handler->insert($onecomment); + $result = $db->query('SELECT * FROM '.$old_articles.' WHERE topicid = '.$topic['topic_id'].' ORDER BY created'); + + while ( $article = $db->fetchArray($result) ) { + + $storyobj = $story_handler->create (); + $storyobj->setVar ( 'story_id', $article['storyid']); + $storyobj->setVar ( 'story_title', $article['title']); + $storyobj->setVar ( 'story_titleview', '1' ); + $storyobj->setVar ( 'story_topic', $article['topicid']); + $storyobj->setVar ( 'story_type', 'news' ); + $storyobj->setVar ( 'story_short', $article['hometext']); + $storyobj->setVar ( 'story_text', $article['bodytext']); + $storyobj->setVar ( 'story_words', $article['keywords']); + $storyobj->setVar ( 'story_desc', $article['description']); + $storyobj->setVar ( 'story_alias', NewsUtils::News_AliasFilter($article['title'])); + $storyobj->setVar ( 'story_status', '1'); + $storyobj->setVar ( 'story_create', $article['created']); + $storyobj->setVar ( 'story_update', $article['created']); + $storyobj->setVar ( 'story_publish', $article['published']); + $storyobj->setVar ( 'story_expire', $article['expired']); + $storyobj->setVar ( 'story_uid', $article['uid']); + $storyobj->setVar ( 'story_groups', '1 2 3'); + $storyobj->setVar ( 'story_modid', $news_mid ); + $storyobj->setVar ( 'story_hits', $article['counter']); + $storyobj->setVar ( 'story_img', $article['picture']); + $storyobj->setVar ( 'story_comments', $article['comments']); + $storyobj->setVar ( 'dohtml', !$article['nohtml']); + $storyobj->setVar ( 'dobr', 1); + $storyobj->setVar ( 'doimage', 1); + $storyobj->setVar ( 'dosmiley', !$article['nosmiley']); + $storyobj->setVar ( 'doxcode', 1); + + if (! $story_handler->insert ( $storyobj )) { + return false; } - } - unset($comments); - } - - } - // end + + // The files + $result4 = $db->query('SELECT * FROM '.$old_files.' WHERE storyid='.$article['storyid']); + while ( $file = $db->fetchArray($result4) ) { + $fileobj = $file_handler->create (); + $fileobj->setVar ( 'file_id', $file['fileid']); + $fileobj->setVar ( 'file_modid', $news_mid); + $fileobj->setVar ( 'file_title', $file['filerealname']); + $fileobj->setVar ( 'file_name', $file['downloadname']); + $fileobj->setVar ( 'file_content', $file['storyid']); + $fileobj->setVar ( 'file_date', $file['date']); + $fileobj->setVar ( 'file_type', $file['mimetype']); + $fileobj->setVar ( 'file_status', '1'); + $fileobj->setVar ( 'file_hits', $file['counter']); + + if (! $file_handler->insert ( $fileobj )) { + return false; + } + } + } + } + } + // end update to version 1.80 } ?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php 2012-01-14 18:03:21 UTC (rev 8728) +++ XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php 2012-01-15 07:08:34 UTC (rev 8729) @@ -40,6 +40,9 @@ // Editor define("_NEWS_MI_FORM_EDITOR", "اختیار شکل"); define("_NEWS_MI_FORM_EDITOR_DESC", "تحدید محرر للاستخدام في صفحة إرسال المواضیع."); +// Admin groups + define("_NEWS_MI_ADMINGROUPS", "Admin Group Permissions"); + define("_NEWS_MI_ADMINGROUPS_DESC", "Which groups have access to tools and permissions page"); // Urls define('_NEWS_MI_FRIENDLYURL','تحدید عنوان مفضل للمستخدمین'); define('_NEWS_MI_FRIENDLYURL_DESC', 'Select the URL rewrite mode you want to use.<ul> @@ -67,9 +70,6 @@ // Lenght Id define('_NEWS_MI_LENGHTID', 'طول رقم الصفحة'); define('_NEWS_MI_LENGHTID_DESC', 'عدد ارقام المنتجة للصفحة'); -// Group Access - define('_NEWS_MI_GROUPS','اتاحة المجموعات'); - define('_NEWS_MI_GROUPS_DESC', 'عین الإتاحة الکلیة للمجموعات.'); //Advertisement define('_NEWS_MI_ADVERTISEMENT', 'الإعلانات'); define('_NEWS_MI_ADVERTISEMENT_DESC', 'اجعل نصا أو کود جاوا للعرض في جمیع الصفحات'); Modified: XoopsModules/fmcontent/branches/news/language/english/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/english/modinfo.php 2012-01-14 18:03:21 UTC (rev 8728) +++ XoopsModules/fmcontent/branches/news/language/english/modinfo.php 2012-01-15 07:08:34 UTC (rev 8729) @@ -39,7 +39,10 @@ define('_NEWS_MI_BLOCK_TOPIC', 'Topic list'); // Editor define("_NEWS_MI_FORM_EDITOR", "Form Option"); - define("_NEWS_MI_FORM_EDITOR_DESC", "Select the editor to use for editing your article."); + define("_NEWS_MI_FORM_EDITOR_DESC", "Select the editor to use for editing your article."); +// Admin groups + define("_NEWS_MI_ADMINGROUPS", "Admin Group Permissions"); + define("_NEWS_MI_ADMINGROUPS_DESC", "Which groups have access to tools and permissions page"); // Urls define('_NEWS_MI_FRIENDLYURL', 'URL rewrite method'); define('_NEWS_MI_FRIENDLYURL_DESC', 'Select the URL rewrite mode you want to use.<ul> @@ -67,9 +70,6 @@ // Lenght Id define('_NEWS_MI_LENGHTID', 'Rewrite mode:: length for page ID'); define('_NEWS_MI_LENGHTID_DESC', 'Number of digit used in url for page ID'); -// Group Access - define('_NEWS_MI_GROUPS', 'Groups access'); - define('_NEWS_MI_GROUPS_DESC', 'Select general access permission for groups.'); //Advertisement define('_NEWS_MI_ADVERTISEMENT', 'Advertisement'); define('_NEWS_MI_ADVERTISEMENT_DESC', 'Enter text or html/Javascript code for your articles'); Modified: XoopsModules/fmcontent/branches/news/language/persian/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/persian/modinfo.php 2012-01-14 18:03:21 UTC (rev 8728) +++ XoopsModules/fmcontent/branches/news/language/persian/modinfo.php 2012-01-15 07:08:34 UTC (rev 8729) @@ -40,6 +40,9 @@ // Editor define("_NEWS_MI_FORM_EDITOR", "انتخاب فرم"); define("_NEWS_MI_FORM_EDITOR_DESC", "انتخاب ویرایشگر برای استفاده در صفحه ارسال مطلب."); +// Admin groups + define("_NEWS_MI_ADMINGROUPS", "Admin Group Permissions"); + define("_NEWS_MI_ADMINGROUPS_DESC", "Which groups have access to tools and permissions page"); // Urls define('_NEWS_MI_FRIENDLYURL', 'انتخاب آدرس کاربر پسند'); define('_NEWS_MI_FRIENDLYURL_DESC', 'Select the URL rewrite mode you want to use.<ul> @@ -67,9 +70,6 @@ // Lenght Id define('_NEWS_MI_LENGHTID', 'طول شماره صفحه'); define('_NEWS_MI_LENGHTID_DESC', 'تعداد ارقام تولید شماره برای صفحه'); -// Group Access - define('_NEWS_MI_GROUPS', 'دسترسی گروه ها'); - define('_NEWS_MI_GROUPS_DESC', 'دسترسی سراسری گروه ها را مشخص کنید.'); //Advertisement define('_NEWS_MI_ADVERTISEMENT', 'تبلیغات'); define('_NEWS_MI_ADVERTISEMENT_DESC', 'یک متن یا کد جاوا در این بخش قرار دهید تا در تمام صفحات شما نمایش داده شود'); Modified: XoopsModules/fmcontent/branches/news/rss.php =================================================================== --- XoopsModules/fmcontent/branches/news/rss.php 2012-01-14 18:03:21 UTC (rev 8728) +++ XoopsModules/fmcontent/branches/news/rss.php 2012-01-15 07:08:34 UTC (rev 8729) @@ -104,7 +104,7 @@ 'story_user' => $story_user, 'story_start' => 0, 'story_order' => 'DESC', - 'story_sort' => 'story_create', + 'story_sort' => 'story_publish', 'story_status' => '1', 'story_static' => true, 'admin_side' => false Modified: XoopsModules/fmcontent/branches/news/xoops_version.php =================================================================== --- XoopsModules/fmcontent/branches/news/xoops_version.php 2012-01-14 18:03:21 UTC (rev 8728) +++ XoopsModules/fmcontent/branches/news/xoops_version.php 2012-01-15 07:08:34 UTC (rev 8729) @@ -150,15 +150,18 @@ 'default' => 'dhtmltextarea'); // Get groups + +$criteria = new CriteriaCompo (); +$criteria->add ( new Criteria ( 'group_type', 'Admin' ) ); $member_handler =& xoops_gethandler('member'); -$xoopsgroups = $member_handler->getGroupList(); +$xoopsgroups = $member_handler->getGroupList($criteria); foreach ($xoopsgroups as $key => $group) { $groups[$group] = $key; } $modversion['config'][] = array( - 'name' => 'groups', - 'title' => '_NEWS_MI_GROUPS', - 'description' => '_NEWS_MI_GROUPS_DESC', + 'name' => 'admin_groups', + 'title' => '_NEWS_MI_ADMINGROUPS', + 'description' => '_NEWS_MI_ADMINGROUPS_DESC', 'formtype' => 'select_multi', 'valuetype' => 'array', 'options' => $groups, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-14 18:03:27
|
Revision: 8728 http://xoops.svn.sourceforge.net/xoops/?rev=8728&view=rev Author: djculex Date: 2012-01-14 18:03:21 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Updated to represent content of trunk. See changelog for diff Modified Paths: -------------- XoopsModules/xim/releases/1.02/modules/xim/admin/index.php XoopsModules/xim/releases/1.02/modules/xim/chat.php XoopsModules/xim/releases/1.02/modules/xim/footer_bar.php XoopsModules/xim/releases/1.02/modules/xim/js/adminddselector.js XoopsModules/xim/releases/1.02/modules/xim/js/jquery.form.js XoopsModules/xim/releases/1.02/modules/xim/js/xim_tabs.js Modified: XoopsModules/xim/releases/1.02/modules/xim/admin/index.php =================================================================== --- XoopsModules/xim/releases/1.02/modules/xim/admin/index.php 2012-01-14 18:02:07 UTC (rev 8727) +++ XoopsModules/xim/releases/1.02/modules/xim/admin/index.php 2012-01-14 18:03:21 UTC (rev 8728) @@ -28,7 +28,7 @@ require_once XOOPS_ROOT_PATH . '/class/template.php'; if (!isset($xoopsTpl)) {$xoopsTpl = new XoopsTpl();} $xoopsTpl->xoops_setCaching(0); -//require_once XOOPS_ROOT_PATH . '/modules/xim/class/adminclass.php'; +require_once XOOPS_ROOT_PATH . '/modules/xim/class/adminclass.php'; xoops_cp_header(); if (isset($_POST['xim_admin_message'])) {$_POST['xim_admin_message'] = '';} $admin = new ximAdmin(); @@ -164,8 +164,9 @@ $xoTheme->addStyleSheet('modules/xim/css/ximAdmin.css'); $xoTheme->addScript(XOOPS_URL . '/browse.php?Frameworks/jquery/jquery.js'); $xoTheme->addScript(XOOPS_URL . '/browse.php?Frameworks/jquery/plugins/jquery.ui.js'); + $xoTheme->addScript('modules/xim/js/xim_tabs.js'); $xoTheme->addScript(XOOPS_URL . '/browse.php?Frameworks/jquery/plugins/jquery.form.js'); - $xoTheme->addScript('modules/xim/js/xim_tabs.js'); + $xoTheme->addScript('modules/xim/js/adminddselector.js'); $xoTheme->addScript(XOOPS_URL . '/modules/xim/js/jquery.form.js'); Modified: XoopsModules/xim/releases/1.02/modules/xim/chat.php =================================================================== --- XoopsModules/xim/releases/1.02/modules/xim/chat.php 2012-01-14 18:02:07 UTC (rev 8727) +++ XoopsModules/xim/releases/1.02/modules/xim/chat.php 2012-01-14 18:03:21 UTC (rev 8728) @@ -308,16 +308,4 @@ echo "{\"a\":\"{$avatarURL}\"}"; exit(0); } - -function sanitize($text) { - $text = htmlspecialchars($text, ENT_QUOTES); - $myts = MyTextSanitizer::getInstance(); - $text = $myts->displayTarea($text,1,1,1,1); - $text = str_replace("\n\r","\n",$text); - $text = str_replace("\r\n","\n",$text); - $text = str_replace("\n","<br />",$text); - $text = str_replace("\"","'",$text); - - return $text; -} ?> Modified: XoopsModules/xim/releases/1.02/modules/xim/footer_bar.php =================================================================== --- XoopsModules/xim/releases/1.02/modules/xim/footer_bar.php 2012-01-14 18:02:07 UTC (rev 8727) +++ XoopsModules/xim/releases/1.02/modules/xim/footer_bar.php 2012-01-14 18:03:21 UTC (rev 8728) @@ -23,54 +23,51 @@ **/ include 'header.php'; -global $xoopsLogger; $xoopsLogger->activated = false; include_once (XOOPS_ROOT_PATH.'/class/template.php'); global $xoopsUser; if (!is_object($xoopsUser)) { return false; } - if (xim_GetModuleOption('showfooterbar', $repmodule='xim') != 0) { - $tpl = new XoopsTpl(); - $panel = array(); - if ($xoopsUser->isAdmin()) { - $panel['is_admin']=1; - } else { - $panel['is_admin']=0; - } + $tpl = new XoopsTpl(); + $panel = array(); + if ($xoopsUser->isAdmin()) { + $panel['is_admin']=1; + } else { + $panel['is_admin']=0; + } - $panel['lang_friends'] = _XIM_FRIENDS; - $panel['lang_friends_online'] = _XIM_FRIENDS_ONLINE; - $panel['config_sound']= _XIM_USESOUND; - $panel['sound_options'] = array(_XIM_NOSOUND, _XIM_SOUND1, _XIM_SOUND2, _XIM_SOUND3, _XIM_SOUND4, _XIM_SOUND5, _XIM_SOUND6, _XIM_SOUND7, _XIM_SOUND8, _XIM_SOUND9, _XIM_SOUND10); - $panel['config_status'] = _XIM_STATUS; - $panel['status_options'] = array(_XIM_HIDDEN, _XIM_BUSY, _XIM_ONLINE,_XIM_OFFLINE); - $panel['config_save']= _XIM_UPDATE; + $panel['lang_friends'] = _XIM_FRIENDS; + $panel['lang_friends_online'] = _XIM_FRIENDS_ONLINE; + $panel['config_sound']= _XIM_USESOUND; + $panel['sound_options'] = array(_XIM_NOSOUND, _XIM_SOUND1, _XIM_SOUND2, _XIM_SOUND3, _XIM_SOUND4, _XIM_SOUND5, _XIM_SOUND6, _XIM_SOUND7, _XIM_SOUND8, _XIM_SOUND9, _XIM_SOUND10); + $panel['config_status'] = _XIM_STATUS; + $panel['status_options'] = array(_XIM_HIDDEN, _XIM_BUSY, _XIM_ONLINE,_XIM_OFFLINE); + $panel['config_save']= _XIM_UPDATE; - if ($_GET['style']==0) { - $panel['home'] = _XIM_BAR_HOME; - $panel['profile'] = _XIM_BAR_VIEW_PROFILE; - $panel['editprofile'] = _XIM_BAR_EDIT_PROFILE; - $panel['notifications'] = _XIM_BAR_NOTIFICATIONS; - $panel['admin'] = _XIM_BAR_ADMIN; - $criteria = new CriteriaCompo(new Criteria('read_msg', 0)); - $criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid'))); - - $pm_handler =& xoops_gethandler('privmessage'); - - $xoopsPreload =& XoopsPreload::getInstance(); - $xoopsPreload->triggerEvent('system.panels.system_panels.usershow', array(&$pm_handler)); +if ($_GET['style']==0) { + $panel['home'] = _XIM_BAR_HOME; + $panel['profile'] = _XIM_BAR_VIEW_PROFILE; + $panel['editprofile'] = _XIM_BAR_EDIT_PROFILE; + $panel['notifications'] = _XIM_BAR_NOTIFICATIONS; + $panel['admin'] = _XIM_BAR_ADMIN; + $criteria = new CriteriaCompo(new Criteria('read_msg', 0)); + $criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid'))); + + $pm_handler =& xoops_gethandler('privmessage'); + + $xoopsPreload =& XoopsPreload::getInstance(); + $xoopsPreload->triggerEvent('system.panels.system_panels.usershow', array(&$pm_handler)); - $panel['new_messages'] = $pm_handler->getCount($criteria); - $panel['inbox'] = _XIM_BAR_MESSAGES; + $panel['new_messages'] = $pm_handler->getCount($criteria); + $panel['inbox'] = _XIM_BAR_MESSAGES; - $tpl->assign('panel', $panel); - $tpl->display(XOOPS_ROOT_PATH .'/modules/xim/templates/xim_full_footerbar.html'); - } else { - $tpl->assign('panel', $panel); - $tpl->display(XOOPS_ROOT_PATH .'/modules/xim/templates/xim_tiny_footerbar.html'); - } -} else {} + $tpl->assign('panel', $panel); + $tpl->display(XOOPS_ROOT_PATH .'/modules/xim/templates/xim_full_footerbar.html'); +} else { + $tpl->assign('panel', $panel); + $tpl->display(XOOPS_ROOT_PATH .'/modules/xim/templates/xim_tiny_footerbar.html'); +} ?> Modified: XoopsModules/xim/releases/1.02/modules/xim/js/adminddselector.js =================================================================== --- XoopsModules/xim/releases/1.02/modules/xim/js/adminddselector.js 2012-01-14 18:02:07 UTC (rev 8727) +++ XoopsModules/xim/releases/1.02/modules/xim/js/adminddselector.js 2012-01-14 18:03:21 UTC (rev 8728) @@ -24,12 +24,12 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // -xoops_imAdmin(function() { -xoops_imAdmin(".ximAdminLogs_update_button").click(function() +$(function() { +$(".ximAdminLogs_update_button").click(function() { -var AdminDDoptions = xoops_imAdmin("#AdminDDoptions").val(); +var AdminDDoptions = $("#AdminDDoptions").val(); -dataString = xoops_imAdmin("#ximAdminLogMaintnance").serialize(); +dataString = $("#ximAdminLogMaintnance").serialize(); //var dataString = 'AdminDDoptions='+ AdminDDoptions; if(AdminDDoptions=='') { @@ -37,16 +37,16 @@ } else { -xoops_imAdmin("#flash").show(); -xoops_imAdmin("#flash").fadeIn(800).html('<img src="../images/ajaxloader.gif" alt=""/>Saved!'); -xoops_imAdmin.ajax({ +$("#flash").show(); +$("#flash").fadeIn(800).html('<img src="../images/ajaxloader.gif" alt=""/>Saved!'); +$.ajax({ type: "POST", url: "do_logmaintnance.php", data: dataString, cache: false, success: function(html){ dataStrint = ''; -xoops_imAdmin("#flash").hide(2000); +$("#flash").hide(2000); } }); }return false; Modified: XoopsModules/xim/releases/1.02/modules/xim/js/jquery.form.js =================================================================== --- XoopsModules/xim/releases/1.02/modules/xim/js/jquery.form.js 2012-01-14 18:02:07 UTC (rev 8727) +++ XoopsModules/xim/releases/1.02/modules/xim/js/jquery.form.js 2012-01-14 18:03:21 UTC (rev 8728) @@ -21,18 +21,18 @@ * @author Culex - homepage.: http://culex.dk & email.: cu...@cu... */ -xoops_imAdmin(document).ready(function(){ +$(document).ready(function(){ - xoops_imAdmin('#xim_admin_message').val(""); - xoops_imAdmin("#xim_admin_message").keyup(function() { + $('#xim_admin_message').val(""); + $("#xim_admin_message").keyup(function() { limitChars(300); }); - xoops_imAdmin(".xim_admin_button").click(function() { - if(xoops_imAdmin('#xim_admin_message').val()==''){ - xoops_imAdmin('#xim_admin_error').html("Message cannot be empty").addClass('xim_admin_error').hide().fadeIn("slow"); + $(".xim_admin_button").click(function() { + if($('#xim_admin_message').val()==''){ + $('#xim_admin_error').html("Message cannot be empty").addClass('xim_admin_error').hide().fadeIn("slow"); setTimeout(function() { - xoops_imAdmin('#xim_admin_error').html("<br>").hide().fadeIn("fast"); + $('#xim_admin_error').html("<br>").hide().fadeIn("fast"); }, 2000); return false; } else { @@ -40,27 +40,27 @@ } }); - if(xoops_imAdmin('#xim_admin_message').val().length>300){ - xoops_imAdmin('#xim_admin_error').html("Message must not exceed 300 characters.").addClass('xim_admin_error').hide().fadeIn("slow"); + if($('#xim_admin_message').val().length>300){ + $('#xim_admin_error').html("Message must not exceed 300 characters.").addClass('xim_admin_error').hide().fadeIn("slow"); setTimeout(function() { - xoops_imAdmin('#xim_admin_error').html("<br>").hide().fadeIn("fast"); + $('#xim_admin_error').html("<br>").hide().fadeIn("fast"); }, 2000); return false; }; if(postData()){ - xoops_imAdmin('#xim_admin_error').html("Processing.....").removeClass('xim_admin_error').hide().fadeIn("slow"); - xoops_imAdmin.timer(10000,function(){ - xoops_imAdmin('#xim_admin_error').html("Message inserted!").addClass('success').hide().fadeIn("slow"); + $('#xim_admin_error').html("Processing.....").removeClass('xim_admin_error').hide().fadeIn("slow"); + $.timer(10000,function(){ + $('#xim_admin_error').html("Message inserted!").addClass('success').hide().fadeIn("slow"); setTimeout(function() { - xoops_imAdmin('#xim_admin_count').html('0'); - xoops_imAdmin('#xim_admin_error').html("<br>").hide().fadeIn("fast"); + $('#xim_admin_count').html('0'); + $('#xim_admin_error').html("<br>").hide().fadeIn("fast"); }, 2000); - xoops_imAdmin('#xim_admin_message').val(""); + $('#xim_admin_message').val(""); }); }else{ - //xoops_imAdmin('#xim_admin_error').html("Database Error.").fadeIn("slow"); + //$('#xim_admin_error').html("Database Error.").fadeIn("slow"); return false; } return false; @@ -69,17 +69,17 @@ function limitChars(limit){ - var text = xoops_imAdmin('#xim_admin_message').val(); + var text = $('#xim_admin_message').val(); var textlength = text.length; - xoops_imAdmin('#xim_admin_count').html(textlength); - //xoops_imAdmin('#xim_admin_error').hide(); + $('#xim_admin_count').html(textlength); + //$('#xim_admin_error').hide(); if(textlength > limit){ - xoops_imAdmin('#xim_admin_error').html("Message must not exceed 300 characters.").addClass('xim_admin_error').hide().fadeIn("slow"); + $('#xim_admin_error').html("Message must not exceed 300 characters.").addClass('xim_admin_error').hide().fadeIn("slow"); setTimeout(function() { - xoops_imAdmin('#xim_admin_error').html("<br>").hide().fadeIn("fast"); + $('#xim_admin_error').html("<br>").hide().fadeIn("fast"); }, 2000); return false; } else{ @@ -88,12 +88,12 @@ } function postData(){ - var xim_admin_message = xoops_imAdmin('#xim_admin_message').val(); + var xim_admin_message = $('#xim_admin_message').val(); var dataString = 'xim_admin_message=' + xim_admin_message; if (xim_admin_message === '') { return false; } - xoops_imAdmin.ajax({ + $.ajax({ type: "POST", url: "../admin/adminsend.php", data: dataString, @@ -102,11 +102,11 @@ return false; }, success: function() { - xoops_imAdmin('#xim_admin_error').html("Message inserted!").addClass('success').hide().fadeIn("slow"); + $('#xim_admin_error').html("Message inserted!").addClass('success').hide().fadeIn("slow"); setTimeout(function() { - xoops_imAdmin('#xim_admin_message').val(""); - xoops_imAdmin('#xim_admin_count').html('0'); - xoops_imAdmin('#xim_admin_error').html("<br>").hide().fadeIn("fast"); + $('#xim_admin_message').val(""); + $('#xim_admin_count').html('0'); + $('#xim_admin_error').html("<br>").hide().fadeIn("fast"); }, 2000); } @@ -122,13 +122,13 @@ * @copyright 2009 Evan Byrne (http://www.evanbot.com) */ -xoops_imAdmin.timer = function(time,func,callback){ +$.timer = function(time,func,callback){ var a = {timer:setTimeout(func,time),callback:null} if(typeof(callback) == 'function'){a.callback = callback;} return a; }; -xoops_imAdmin.clearTimer = function(a){ +$.clearTimer = function(a){ clearTimeout(a.timer); if(typeof(a.callback) == 'function'){a.callback();}; return this; Modified: XoopsModules/xim/releases/1.02/modules/xim/js/xim_tabs.js =================================================================== --- XoopsModules/xim/releases/1.02/modules/xim/js/xim_tabs.js 2012-01-14 18:02:07 UTC (rev 8727) +++ XoopsModules/xim/releases/1.02/modules/xim/js/xim_tabs.js 2012-01-14 18:03:21 UTC (rev 8728) @@ -21,24 +21,24 @@ * @author Culex - homepage.: http://culex.dk & email.: cu...@cu... */ -var xoops_imAdmin = jQuery.noConflict(); +var $ = jQuery.noConflict(); -xoops_imAdmin(document).ready(function() { +$(document).ready(function() { //When page loads... - xoops_imAdmin(".ximadmin_tab_content").hide(); //Hide all content - xoops_imAdmin("ul.ximadmin_tabs li:first").addClass("active").show(); //Activate first tab - xoops_imAdmin(".ximadmin_tab_content:first").show(); //Show first tab content + $(".ximadmin_tab_content").hide(); //Hide all content + $("ul.ximadmin_tabs li:first").addClass("active").show(); //Activate first tab + $(".ximadmin_tab_content:first").show(); //Show first tab content //On Click Event - xoops_imAdmin("ul.ximadmin_tabs li").click(function() { + $("ul.ximadmin_tabs li").click(function() { - xoops_imAdmin("ul.ximadmin_tabs li").removeClass("active"); //Remove any "active" class - xoops_imAdmin(this).addClass("active"); //Add "active" class to selected tab - xoops_imAdmin(".ximadmin_tab_content").hide(); //Hide all tab content + $("ul.ximadmin_tabs li").removeClass("active"); //Remove any "active" class + $(this).addClass("active"); //Add "active" class to selected tab + $(".ximadmin_tab_content").hide(); //Hide all tab content - var activeTab = xoops_imAdmin(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content - xoops_imAdmin(activeTab).fadeIn(); //Fade in the active ID content + var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content + $(activeTab).fadeIn(); //Fade in the active ID content return false; }); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-14 18:02:13
|
Revision: 8727 http://xoops.svn.sourceforge.net/xoops/?rev=8727&view=rev Author: djculex Date: 2012-01-14 18:02:07 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Cleared some depreceated functions Modified Paths: -------------- XoopsModules/xim/trunk/modules/xim/footer_bar.php Modified: XoopsModules/xim/trunk/modules/xim/footer_bar.php =================================================================== --- XoopsModules/xim/trunk/modules/xim/footer_bar.php 2012-01-14 17:59:18 UTC (rev 8726) +++ XoopsModules/xim/trunk/modules/xim/footer_bar.php 2012-01-14 18:02:07 UTC (rev 8727) @@ -23,54 +23,51 @@ **/ include 'header.php'; -global $xoopsLogger; $xoopsLogger->activated = false; include_once (XOOPS_ROOT_PATH.'/class/template.php'); global $xoopsUser; if (!is_object($xoopsUser)) { return false; } - if (xim_GetModuleOption('showfooterbar', $repmodule='xim') != 0) { - $tpl = new XoopsTpl(); - $panel = array(); - if ($xoopsUser->isAdmin()) { - $panel['is_admin']=1; - } else { - $panel['is_admin']=0; - } + $tpl = new XoopsTpl(); + $panel = array(); + if ($xoopsUser->isAdmin()) { + $panel['is_admin']=1; + } else { + $panel['is_admin']=0; + } - $panel['lang_friends'] = _XIM_FRIENDS; - $panel['lang_friends_online'] = _XIM_FRIENDS_ONLINE; - $panel['config_sound']= _XIM_USESOUND; - $panel['sound_options'] = array(_XIM_NOSOUND, _XIM_SOUND1, _XIM_SOUND2, _XIM_SOUND3, _XIM_SOUND4, _XIM_SOUND5, _XIM_SOUND6, _XIM_SOUND7, _XIM_SOUND8, _XIM_SOUND9, _XIM_SOUND10); - $panel['config_status'] = _XIM_STATUS; - $panel['status_options'] = array(_XIM_HIDDEN, _XIM_BUSY, _XIM_ONLINE,_XIM_OFFLINE); - $panel['config_save']= _XIM_UPDATE; + $panel['lang_friends'] = _XIM_FRIENDS; + $panel['lang_friends_online'] = _XIM_FRIENDS_ONLINE; + $panel['config_sound']= _XIM_USESOUND; + $panel['sound_options'] = array(_XIM_NOSOUND, _XIM_SOUND1, _XIM_SOUND2, _XIM_SOUND3, _XIM_SOUND4, _XIM_SOUND5, _XIM_SOUND6, _XIM_SOUND7, _XIM_SOUND8, _XIM_SOUND9, _XIM_SOUND10); + $panel['config_status'] = _XIM_STATUS; + $panel['status_options'] = array(_XIM_HIDDEN, _XIM_BUSY, _XIM_ONLINE,_XIM_OFFLINE); + $panel['config_save']= _XIM_UPDATE; - if ($_GET['style']==0) { - $panel['home'] = _XIM_BAR_HOME; - $panel['profile'] = _XIM_BAR_VIEW_PROFILE; - $panel['editprofile'] = _XIM_BAR_EDIT_PROFILE; - $panel['notifications'] = _XIM_BAR_NOTIFICATIONS; - $panel['admin'] = _XIM_BAR_ADMIN; - $criteria = new CriteriaCompo(new Criteria('read_msg', 0)); - $criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid'))); - - $pm_handler =& xoops_gethandler('privmessage'); - - $xoopsPreload =& XoopsPreload::getInstance(); - $xoopsPreload->triggerEvent('system.panels.system_panels.usershow', array(&$pm_handler)); +if ($_GET['style']==0) { + $panel['home'] = _XIM_BAR_HOME; + $panel['profile'] = _XIM_BAR_VIEW_PROFILE; + $panel['editprofile'] = _XIM_BAR_EDIT_PROFILE; + $panel['notifications'] = _XIM_BAR_NOTIFICATIONS; + $panel['admin'] = _XIM_BAR_ADMIN; + $criteria = new CriteriaCompo(new Criteria('read_msg', 0)); + $criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid'))); + + $pm_handler =& xoops_gethandler('privmessage'); + + $xoopsPreload =& XoopsPreload::getInstance(); + $xoopsPreload->triggerEvent('system.panels.system_panels.usershow', array(&$pm_handler)); - $panel['new_messages'] = $pm_handler->getCount($criteria); - $panel['inbox'] = _XIM_BAR_MESSAGES; + $panel['new_messages'] = $pm_handler->getCount($criteria); + $panel['inbox'] = _XIM_BAR_MESSAGES; - $tpl->assign('panel', $panel); - $tpl->display(XOOPS_ROOT_PATH .'/modules/xim/templates/xim_full_footerbar.html'); - } else { - $tpl->assign('panel', $panel); - $tpl->display(XOOPS_ROOT_PATH .'/modules/xim/templates/xim_tiny_footerbar.html'); - } -} else {} + $tpl->assign('panel', $panel); + $tpl->display(XOOPS_ROOT_PATH .'/modules/xim/templates/xim_full_footerbar.html'); +} else { + $tpl->assign('panel', $panel); + $tpl->display(XOOPS_ROOT_PATH .'/modules/xim/templates/xim_tiny_footerbar.html'); +} ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-14 17:59:25
|
Revision: 8726 http://xoops.svn.sourceforge.net/xoops/?rev=8726&view=rev Author: djculex Date: 2012-01-14 17:59:18 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Removed double effect function sanitize already declared in include/functions.php Modified Paths: -------------- XoopsModules/xim/trunk/modules/xim/chat.php Modified: XoopsModules/xim/trunk/modules/xim/chat.php =================================================================== --- XoopsModules/xim/trunk/modules/xim/chat.php 2012-01-14 17:58:33 UTC (rev 8725) +++ XoopsModules/xim/trunk/modules/xim/chat.php 2012-01-14 17:59:18 UTC (rev 8726) @@ -308,16 +308,4 @@ echo "{\"a\":\"{$avatarURL}\"}"; exit(0); } - -function sanitize($text) { - $text = htmlspecialchars($text, ENT_QUOTES); - $myts = MyTextSanitizer::getInstance(); - $text = $myts->displayTarea($text,1,1,1,1); - $text = str_replace("\n\r","\n",$text); - $text = str_replace("\r\n","\n",$text); - $text = str_replace("\n","<br />",$text); - $text = str_replace("\"","'",$text); - - return $text; -} ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-14 17:58:39
|
Revision: 8725 http://xoops.svn.sourceforge.net/xoops/?rev=8725&view=rev Author: djculex Date: 2012-01-14 17:58:33 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Updated changelog Modified Paths: -------------- XoopsModules/xim/trunk/modules/xim/changelog.txt Modified: XoopsModules/xim/trunk/modules/xim/changelog.txt =================================================================== --- XoopsModules/xim/trunk/modules/xim/changelog.txt 2012-01-14 17:57:45 UTC (rev 8724) +++ XoopsModules/xim/trunk/modules/xim/changelog.txt 2012-01-14 17:58:33 UTC (rev 8725) @@ -78,3 +78,14 @@ - FIX: Changes from andrax. (Andrax rev 6139) - FIX: Missing index.html files (culex rev 6140) +======================================== +14/02/2011: Version 1.02 Critical Update +======================================== +- BUG : missing define("_XIM_OFFLINE","Offline"); in Danish as Revision: 6150 (culex) +- BUG : Javascript function to keep chat windows in screenview as Revision: 6149 (culex) +- Change: Removed a little redundent comments. They are still kept in trunk as revision 6159 (culex) +- NEW : Ajax file called getmystats used by javascript function to make dropdowns show current status. Set when toogle config in footer and in block as Revision: 6158 (culex) + * Cloned config css to be used by footer as Revision: 6157 (culex) + * Added footer sending data to update configurations as Revision: 6156 (culex) + * Changed classes and spans to reflect footer is being used and not block forms as Revision: 6155 (culex) +- NEW : Added a function to retrieve status and sound ad refresh dropdowns. Fixed sending jSon from footer as Revision: 6153 (culex) \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-14 17:57:53
|
Revision: 8724 http://xoops.svn.sourceforge.net/xoops/?rev=8724&view=rev Author: djculex Date: 2012-01-14 17:57:45 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Cleared some depreseated functions not needed Modified Paths: -------------- XoopsModules/xim/trunk/modules/xim/admin/index.php Modified: XoopsModules/xim/trunk/modules/xim/admin/index.php =================================================================== --- XoopsModules/xim/trunk/modules/xim/admin/index.php 2012-01-14 17:56:33 UTC (rev 8723) +++ XoopsModules/xim/trunk/modules/xim/admin/index.php 2012-01-14 17:57:45 UTC (rev 8724) @@ -28,7 +28,7 @@ require_once XOOPS_ROOT_PATH . '/class/template.php'; if (!isset($xoopsTpl)) {$xoopsTpl = new XoopsTpl();} $xoopsTpl->xoops_setCaching(0); -//require_once XOOPS_ROOT_PATH . '/modules/xim/class/adminclass.php'; +require_once XOOPS_ROOT_PATH . '/modules/xim/class/adminclass.php'; xoops_cp_header(); if (isset($_POST['xim_admin_message'])) {$_POST['xim_admin_message'] = '';} $admin = new ximAdmin(); @@ -164,8 +164,9 @@ $xoTheme->addStyleSheet('modules/xim/css/ximAdmin.css'); $xoTheme->addScript(XOOPS_URL . '/browse.php?Frameworks/jquery/jquery.js'); $xoTheme->addScript(XOOPS_URL . '/browse.php?Frameworks/jquery/plugins/jquery.ui.js'); + $xoTheme->addScript('modules/xim/js/xim_tabs.js'); $xoTheme->addScript(XOOPS_URL . '/browse.php?Frameworks/jquery/plugins/jquery.form.js'); - $xoTheme->addScript('modules/xim/js/xim_tabs.js'); + $xoTheme->addScript('modules/xim/js/adminddselector.js'); $xoTheme->addScript(XOOPS_URL . '/modules/xim/js/jquery.form.js'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-14 17:56:40
|
Revision: 8723 http://xoops.svn.sourceforge.net/xoops/?rev=8723&view=rev Author: djculex Date: 2012-01-14 17:56:33 +0000 (Sat, 14 Jan 2012) Log Message: ----------- replaced jquery renaming with original $ to avoid error Modified Paths: -------------- XoopsModules/xim/trunk/modules/xim/js/adminddselector.js XoopsModules/xim/trunk/modules/xim/js/jquery.form.js XoopsModules/xim/trunk/modules/xim/js/xim_tabs.js Modified: XoopsModules/xim/trunk/modules/xim/js/adminddselector.js =================================================================== --- XoopsModules/xim/trunk/modules/xim/js/adminddselector.js 2012-01-14 14:58:48 UTC (rev 8722) +++ XoopsModules/xim/trunk/modules/xim/js/adminddselector.js 2012-01-14 17:56:33 UTC (rev 8723) @@ -24,12 +24,12 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // -xoops_imAdmin(function() { -xoops_imAdmin(".ximAdminLogs_update_button").click(function() +$(function() { +$(".ximAdminLogs_update_button").click(function() { -var AdminDDoptions = xoops_imAdmin("#AdminDDoptions").val(); +var AdminDDoptions = $("#AdminDDoptions").val(); -dataString = xoops_imAdmin("#ximAdminLogMaintnance").serialize(); +dataString = $("#ximAdminLogMaintnance").serialize(); //var dataString = 'AdminDDoptions='+ AdminDDoptions; if(AdminDDoptions=='') { @@ -37,16 +37,16 @@ } else { -xoops_imAdmin("#flash").show(); -xoops_imAdmin("#flash").fadeIn(800).html('<img src="../images/ajaxloader.gif" alt=""/>Saved!'); -xoops_imAdmin.ajax({ +$("#flash").show(); +$("#flash").fadeIn(800).html('<img src="../images/ajaxloader.gif" alt=""/>Saved!'); +$.ajax({ type: "POST", url: "do_logmaintnance.php", data: dataString, cache: false, success: function(html){ dataStrint = ''; -xoops_imAdmin("#flash").hide(2000); +$("#flash").hide(2000); } }); }return false; Modified: XoopsModules/xim/trunk/modules/xim/js/jquery.form.js =================================================================== --- XoopsModules/xim/trunk/modules/xim/js/jquery.form.js 2012-01-14 14:58:48 UTC (rev 8722) +++ XoopsModules/xim/trunk/modules/xim/js/jquery.form.js 2012-01-14 17:56:33 UTC (rev 8723) @@ -21,18 +21,18 @@ * @author Culex - homepage.: http://culex.dk & email.: cu...@cu... */ -xoops_imAdmin(document).ready(function(){ +$(document).ready(function(){ - xoops_imAdmin('#xim_admin_message').val(""); - xoops_imAdmin("#xim_admin_message").keyup(function() { + $('#xim_admin_message').val(""); + $("#xim_admin_message").keyup(function() { limitChars(300); }); - xoops_imAdmin(".xim_admin_button").click(function() { - if(xoops_imAdmin('#xim_admin_message').val()==''){ - xoops_imAdmin('#xim_admin_error').html("Message cannot be empty").addClass('xim_admin_error').hide().fadeIn("slow"); + $(".xim_admin_button").click(function() { + if($('#xim_admin_message').val()==''){ + $('#xim_admin_error').html("Message cannot be empty").addClass('xim_admin_error').hide().fadeIn("slow"); setTimeout(function() { - xoops_imAdmin('#xim_admin_error').html("<br>").hide().fadeIn("fast"); + $('#xim_admin_error').html("<br>").hide().fadeIn("fast"); }, 2000); return false; } else { @@ -40,27 +40,27 @@ } }); - if(xoops_imAdmin('#xim_admin_message').val().length>300){ - xoops_imAdmin('#xim_admin_error').html("Message must not exceed 300 characters.").addClass('xim_admin_error').hide().fadeIn("slow"); + if($('#xim_admin_message').val().length>300){ + $('#xim_admin_error').html("Message must not exceed 300 characters.").addClass('xim_admin_error').hide().fadeIn("slow"); setTimeout(function() { - xoops_imAdmin('#xim_admin_error').html("<br>").hide().fadeIn("fast"); + $('#xim_admin_error').html("<br>").hide().fadeIn("fast"); }, 2000); return false; }; if(postData()){ - xoops_imAdmin('#xim_admin_error').html("Processing.....").removeClass('xim_admin_error').hide().fadeIn("slow"); - xoops_imAdmin.timer(10000,function(){ - xoops_imAdmin('#xim_admin_error').html("Message inserted!").addClass('success').hide().fadeIn("slow"); + $('#xim_admin_error').html("Processing.....").removeClass('xim_admin_error').hide().fadeIn("slow"); + $.timer(10000,function(){ + $('#xim_admin_error').html("Message inserted!").addClass('success').hide().fadeIn("slow"); setTimeout(function() { - xoops_imAdmin('#xim_admin_count').html('0'); - xoops_imAdmin('#xim_admin_error').html("<br>").hide().fadeIn("fast"); + $('#xim_admin_count').html('0'); + $('#xim_admin_error').html("<br>").hide().fadeIn("fast"); }, 2000); - xoops_imAdmin('#xim_admin_message').val(""); + $('#xim_admin_message').val(""); }); }else{ - //xoops_imAdmin('#xim_admin_error').html("Database Error.").fadeIn("slow"); + //$('#xim_admin_error').html("Database Error.").fadeIn("slow"); return false; } return false; @@ -69,17 +69,17 @@ function limitChars(limit){ - var text = xoops_imAdmin('#xim_admin_message').val(); + var text = $('#xim_admin_message').val(); var textlength = text.length; - xoops_imAdmin('#xim_admin_count').html(textlength); - //xoops_imAdmin('#xim_admin_error').hide(); + $('#xim_admin_count').html(textlength); + //$('#xim_admin_error').hide(); if(textlength > limit){ - xoops_imAdmin('#xim_admin_error').html("Message must not exceed 300 characters.").addClass('xim_admin_error').hide().fadeIn("slow"); + $('#xim_admin_error').html("Message must not exceed 300 characters.").addClass('xim_admin_error').hide().fadeIn("slow"); setTimeout(function() { - xoops_imAdmin('#xim_admin_error').html("<br>").hide().fadeIn("fast"); + $('#xim_admin_error').html("<br>").hide().fadeIn("fast"); }, 2000); return false; } else{ @@ -88,12 +88,12 @@ } function postData(){ - var xim_admin_message = xoops_imAdmin('#xim_admin_message').val(); + var xim_admin_message = $('#xim_admin_message').val(); var dataString = 'xim_admin_message=' + xim_admin_message; if (xim_admin_message === '') { return false; } - xoops_imAdmin.ajax({ + $.ajax({ type: "POST", url: "../admin/adminsend.php", data: dataString, @@ -102,11 +102,11 @@ return false; }, success: function() { - xoops_imAdmin('#xim_admin_error').html("Message inserted!").addClass('success').hide().fadeIn("slow"); + $('#xim_admin_error').html("Message inserted!").addClass('success').hide().fadeIn("slow"); setTimeout(function() { - xoops_imAdmin('#xim_admin_message').val(""); - xoops_imAdmin('#xim_admin_count').html('0'); - xoops_imAdmin('#xim_admin_error').html("<br>").hide().fadeIn("fast"); + $('#xim_admin_message').val(""); + $('#xim_admin_count').html('0'); + $('#xim_admin_error').html("<br>").hide().fadeIn("fast"); }, 2000); } @@ -122,13 +122,13 @@ * @copyright 2009 Evan Byrne (http://www.evanbot.com) */ -xoops_imAdmin.timer = function(time,func,callback){ +$.timer = function(time,func,callback){ var a = {timer:setTimeout(func,time),callback:null} if(typeof(callback) == 'function'){a.callback = callback;} return a; }; -xoops_imAdmin.clearTimer = function(a){ +$.clearTimer = function(a){ clearTimeout(a.timer); if(typeof(a.callback) == 'function'){a.callback();}; return this; Modified: XoopsModules/xim/trunk/modules/xim/js/xim_tabs.js =================================================================== --- XoopsModules/xim/trunk/modules/xim/js/xim_tabs.js 2012-01-14 14:58:48 UTC (rev 8722) +++ XoopsModules/xim/trunk/modules/xim/js/xim_tabs.js 2012-01-14 17:56:33 UTC (rev 8723) @@ -21,24 +21,24 @@ * @author Culex - homepage.: http://culex.dk & email.: cu...@cu... */ -var xoops_imAdmin = jQuery.noConflict(); +var $ = jQuery.noConflict(); -xoops_imAdmin(document).ready(function() { +$(document).ready(function() { //When page loads... - xoops_imAdmin(".ximadmin_tab_content").hide(); //Hide all content - xoops_imAdmin("ul.ximadmin_tabs li:first").addClass("active").show(); //Activate first tab - xoops_imAdmin(".ximadmin_tab_content:first").show(); //Show first tab content + $(".ximadmin_tab_content").hide(); //Hide all content + $("ul.ximadmin_tabs li:first").addClass("active").show(); //Activate first tab + $(".ximadmin_tab_content:first").show(); //Show first tab content //On Click Event - xoops_imAdmin("ul.ximadmin_tabs li").click(function() { + $("ul.ximadmin_tabs li").click(function() { - xoops_imAdmin("ul.ximadmin_tabs li").removeClass("active"); //Remove any "active" class - xoops_imAdmin(this).addClass("active"); //Add "active" class to selected tab - xoops_imAdmin(".ximadmin_tab_content").hide(); //Hide all tab content + $("ul.ximadmin_tabs li").removeClass("active"); //Remove any "active" class + $(this).addClass("active"); //Add "active" class to selected tab + $(".ximadmin_tab_content").hide(); //Hide all tab content - var activeTab = xoops_imAdmin(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content - xoops_imAdmin(activeTab).fadeIn(); //Fade in the active ID content + var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content + $(activeTab).fadeIn(); //Fade in the active ID content return false; }); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-01-14 14:59:00
|
Revision: 8722 http://xoops.svn.sourceforge.net/xoops/?rev=8722&view=rev Author: wishcraft Date: 2012-01-14 14:58:48 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Xortify 3.06 - for XOOPS 2.6 - See changelog.txt - Final Release Added Paths: ----------- XoopsModules/xortify/branch/2.6/3.06/ XoopsModules/xortify/branch/2.6/3.06/docs/ XoopsModules/xortify/branch/2.6/3.06/docs/INSTALL XoopsModules/xortify/branch/2.6/3.06/docs/UPGRADE XoopsModules/xortify/branch/2.6/3.06/docs/licence.txt XoopsModules/xortify/branch/2.6/3.06/htdocs/ XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/ XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/ XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/16/access.list.png XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/16/current.bans.png XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/16/xortify.log.png XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/32/access.list.png XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/32/current.bans.png XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/32/xortify.log.png XoopsModules/xortify/branch/2.6/3.06/htdocs/banned.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/system/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/system/preloads/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/system/preloads/xortify.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/admin/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/admin/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/admin/index.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/admin/menu.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_curl.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_curl_provisionning.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_curlserialised.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_curlserialised_provisionning.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_curlxml.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_curlxml_provisionning.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_json.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_json_provisionning.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_soap.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_soap_provisionning.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_wgetserialised.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_wgetserialised_provisionning.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_wgetxml.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/auth_wgetxml_provisionning.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/authfactory.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/auth/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/curl.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/curlserialised.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/curlxml.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/json.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/log.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/soap.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/wgetserialised.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/class/wgetxml.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/cron/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/cron/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/cron/serverup.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/docs/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/docs/changelog.txt XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/docs/credits.txt XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/docs/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/docs/install.txt XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/docs/lang_diff.txt XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/docs/licence.txt XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/docs/readme.txt XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/images/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/images/accessdenied.png XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/images/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/images/left_both.gif XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/images/right_both.gif XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/images/xortify_slogo.png XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/include/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/include/JSON.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/include/forms.objects.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/include/forms.xortify.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/include/functions.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/include/install.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/include/post.header.addmeta.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/include/post.header.endcache.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/include/post.loader.mainfile.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/include/pre.loader.mainfile.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/include/update.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/language/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/language/english/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/language/english/admin.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/language/english/ban.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/language/english/help/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/language/english/help/help.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/language/english/help/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/language/english/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/language/english/main.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/language/english/modinfo.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/language/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/plugin/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/plugin/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/plugin/projecthoneypot.org.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/plugin/protector.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/plugin/spiders.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/plugin/stopforumspam.com.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/plugin/xortify.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/preloads/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/preloads/core.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/preloads/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/projecthoneypot.org/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/projecthoneypot.org/post.loader.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/protector/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/protector/footer.post.loader.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/protector/header.post.loader.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/protector/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/providers.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/spiders/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/spiders/post.loader.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/stopforumspam.com/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/stopforumspam.com/post.loader.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/xortify/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/xortify/footer.post.loader.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/xortify/header.post.loader.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/xortify/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/providers/xortify/post.loader.php XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/sql/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/sql/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/sql/mysql.sql XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/templates/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/templates/admin/ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/templates/admin/xortify_cpanel_bans.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/templates/admin/xortify_cpanel_log.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/templates/admin/xortify_cpanel_signup_form.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/templates/admin/xortify_cpanel_signup_nocommunication.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/templates/index.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/templates/xortify_banning_notice.html XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/xoops_version.php Added: XoopsModules/xortify/branch/2.6/3.06/docs/INSTALL =================================================================== --- XoopsModules/xortify/branch/2.6/3.06/docs/INSTALL (rev 0) +++ XoopsModules/xortify/branch/2.6/3.06/docs/INSTALL 2012-01-14 14:58:48 UTC (rev 8722) @@ -0,0 +1,46 @@ ++-----------------------------------------------------------------------------------+ +| | +| XXX XXX OOOOO RRRRR TTTTTT IIIIII FFFFFF YYY YYY | +| XX XX OO OO RR RR TT II FF YY YY | +| XXX OO OO RRRR TT II FFFF YYYY | +| XX XX OO OO RR RR TT II FF YY | +| XXX XXX OOOOO RR RR TT IIIIII FF YY version 3.03 | +| | ++----[ NETWORK SECTOR SECURITY ]----------------------------------------------------+ +| | +| Install the Providers Xortify support currently these are: | +| | +| * XOOPS Protector (Based in 3.xx) | +| * Xortify Network Security Drone | +| | +| Sign up a username for Xortify.com you can do this in the module if everything | +| is working fine and there isn't any problem with the API SOAP communications. | +| | +| You will recieve an activation notice but you account will already be active. | +| | +| You will need to alter mainfile.php and do the following:: | +| | +| * DO NOT INSTALL PROTECTOR IN THE MAINFILE - Xortify will call this for you | +| | +| Xortify is also fited with the XOOPS 2.6 Series Preloads. | +| | ++--[ Step 1 - Installing Cron ]-----------------------------------------------------+ +| | +| You will need to install the following cron within your cronjobs section of your | +| Wesite, if you are using a windows server in WAMP then you will need to schedule | +| this as a task, remember to change the path to suit your configuration. | +| | +| command to run every minute to once an hour, make sure it is within your cache | +| refresh time. This is the or unix based systems the following is for windows | +| | +| /usr/bin/php -q /home/yoursite/public_html/modules/xortify/cron/serverup.php | +| | +| Assuming you have your PHP added to your executable path this is the scheduled | +| task to run on a windows environment. | +| | +| php.exe -q c:\htdocs\modules\xortify\cron\serverup.php | +| | +| Some of the paths in these examples for executables or the cron file may be | +| different and you will have to alter them to your needs. | +| | ++-----------------------------------------------------------------------------------+ \ No newline at end of file Added: XoopsModules/xortify/branch/2.6/3.06/docs/UPGRADE =================================================================== --- XoopsModules/xortify/branch/2.6/3.06/docs/UPGRADE (rev 0) +++ XoopsModules/xortify/branch/2.6/3.06/docs/UPGRADE 2012-01-14 14:58:48 UTC (rev 8722) @@ -0,0 +1,74 @@ ++-----------------------------------------------------------------------------------+ +| | +| XXX XXX OOOOO RRRRR TTTTTT IIIIII FFFFFF YYY YYY | +| XX XX OO OO RR RR TT II FF YY YY | +| XXX OO OO RRRR TT II FFFF YYYY | +| XX XX OO OO RR RR TT II FF YY | +| XXX XXX OOOOO RR RR TT IIIIII FF YY version 3.03 | +| | ++----[ NETWORK SECTOR SECURITY ]----------------------------------------------------+ +| | +| Install the Providers Xortify support currently these are: | +| | +| * XOOPS Protector (Based in 3.xx) | +| * Xortify Network Security Drone | +| | +| Make sure you delete the 'providers' folder in the existing module then upload | +| Xortify 3.03. Once you have install the file base this way you will remember | +| to upgrade the module in the system modules application in the xoops system | +| menu you will need to then goto the preferences and make sure you are running | +| the protector provider if you are running protector this will populate the | +| cloud with your bans that come in protector as well:: | +| | +| * DO NOT INSTALL PROTECTOR IN THE MAINFILE - Xortify will call this for you | +| | +| Xortify is also fited with the XOOPS 2.6 Series Preloads. | +| | ++--[ Step 1 - Installing Cron ]-----------------------------------------------------+ +| | +| You will need to install the following cron within your cronjobs section of your | +| Wesite, if you are using a windows server in WAMP then you will need to schedule | +| this as a task, remember to change the path to suit your configuration. | +| | +| command to run every minute to once an hour, make sure it is within your cache | +| refresh time. This is the or unix based systems the following is for windows | +| | +| /usr/bin/php -q /home/yoursite/public_html/modules/xortify/cron/serverup.php | +| | +| Assuming you have your PHP added to your executable path this is the scheduled | +| task to run on a windows environment. | +| | +| php.exe -q c:\htdocs\modules\xortify\cron\serverup.php | +| | +| Some of the paths in these examples for executables or the cron file may be | +| different and you will have to alter them to your needs. | +| | ++--[ Step 2 - mainfile.php ]--------------------------------------------------------+ +| | +| You will need to remove the following the main file has the following code on it | +| | +| [code] | +| if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") { | +| include XOOPS_ROOT_PATH."/include/common.php"; | +| } | +| [/code] | +| | +| You will need to alter that to this after it is all install. | +| | +| [code] | +| @include( XOOPS_ROOT_PATH.'/modules/xortify/include/pre.loader.mainfile.php' ); | +| if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") { | +| include XOOPS_ROOT_PATH."/include/common.php"; | +| } | +| @include( XOOPS_ROOT_PATH.'/modules/xortify/include/post.loader.mainfile.php' ); | +| [/code] | +| | ++--[ Step 3 - footer.php ----------------------------------------------------------+ +| | +| At the bottom of footer.php remove this line without the [|] Of course. | +| | +| [code] | +| @include( XOOPS_ROOT_PATH.'/modules/xortify/include/post.loader.footer.php' ); | +| [/code] | +| | ++-----------------------------------------------------------------------------------+ \ No newline at end of file Added: XoopsModules/xortify/branch/2.6/3.06/docs/licence.txt =================================================================== --- XoopsModules/xortify/branch/2.6/3.06/docs/licence.txt (rev 0) +++ XoopsModules/xortify/branch/2.6/3.06/docs/licence.txt 2012-01-14 14:58:48 UTC (rev 8722) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/16/access.list.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/16/access.list.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/16/current.bans.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/16/current.bans.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/16/xortify.log.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/16/xortify.log.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/32/access.list.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/32/access.list.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/32/current.bans.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/32/current.bans.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/32/xortify.log.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/branch/2.6/3.06/htdocs/Frameworks/moduleclasses/icons/32/xortify.log.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/branch/2.6/3.06/htdocs/banned.php =================================================================== --- XoopsModules/xortify/branch/2.6/3.06/htdocs/banned.php (rev 0) +++ XoopsModules/xortify/branch/2.6/3.06/htdocs/banned.php 2012-01-14 14:58:48 UTC (rev 8722) @@ -0,0 +1,52 @@ +<?php + + + include dirname(__FILE__).'/mainfile.php'; + + $GLOBALS['xoops'] = Xoops::getInstance(); + + if (isset($_SESSION['xortify']['lid'])) { + $lid = $_SESSION['xortify']['lid']; + setcookie('xortify', array('lid' => $lid), time()+3600*24*7*4*3); + } elseif (isset($_COOKIE['xortify']['lid'])) { + $lid = $_COOKIE['xortify']['lid']; + $_SESSION['xortify']['lid'] = $lid; + } + + $GLOBALS['xoops']->loadLanguage('ban', 'xortify'); + + $module_handler = $GLOBALS['xoops']->getHandler('module'); + $GLOBALS['xortifyModule'] = $module_handler->getByDirname('xortify'); + + $GLOBALS['xoops']->header('xortify|xortify_banning_notice.html'); + + include_once XOOPS_ROOT_PATH.'/modules/xortify/include/functions.php'; + addmeta_googleanalytics(_XOR_MI_XOOPS_GOOGLE_ANALYTICS_ACCOUNTID_FAILEDTOPASS, $_SERVER['HTTP_HOST']); + if (defined('_XOR_MI_CLIENT_GOOGLE_ANALYTICS_ACCOUNTID_FAILEDTOPASS')&&strlen(constant('_XOR_MI_CLIENT_GOOGLE_ANALYTICS_ACCOUNTID_FAILEDTOPASS'))>=13) { + addmeta_googleanalytics(_XOR_MI_CLIENT_GOOGLE_ANALYTICS_ACCOUNTID_FAILEDTOPASS, $_SERVER['HTTP_HOST']); + } + $GLOBALS['xoops']->tpl->assign('xoops_pagetitle', _XOR_PAGETITLE); + $GLOBALS['xoops']->tpl->assign('description', _XOR_DESCRIPTION); + $GLOBALS['xoops']->tpl->assign('version', $GLOBALS['xortifyModule']->getVar('version')/100); + $GLOBALS['xoops']->tpl->assign('platform', XOOPS_VERSION); + + $log_handler = $GLOBALS['xoops']->getModuleHandler('log', 'xortify'); + $log = $log_handler->get($lid); + if (is_object($log)) { + setcookie('xortify', array('lid' => $lid), time()+3600*24*7*4*3); + $GLOBALS['xoops']->tpl->assign('status', $log->getVar('extra')); + $GLOBALS['xoops']->tpl->assign('provider', $log->getVar('provider')); + $GLOBALS['xoops']->tpl->assign('agent', $log->getVar('agent')); + } + $GLOBALS['xoops']->tpl->assign('xoops_lblocks', false); + $GLOBALS['xoops']->tpl->assign('xoops_rblocks', false); + $GLOBALS['xoops']->tpl->assign('xoops_ccblocks', false); + $GLOBALS['xoops']->tpl->assign('xoops_clblocks', false); + $GLOBALS['xoops']->tpl->assign('xoops_crblocks', false); + $GLOBALS['xoops']->tpl->assign('xoops_showlblock', false); + $GLOBALS['xoops']->tpl->assign('xoops_showrblock', false); + $GLOBALS['xoops']->tpl->assign('xoops_showcblock', false); + + $GLOBALS['xoops']->footer(); + +?> Added: XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/system/preloads/xortify.php =================================================================== --- XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/system/preloads/xortify.php (rev 0) +++ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/system/preloads/xortify.php 2012-01-14 14:58:48 UTC (rev 8722) @@ -0,0 +1,55 @@ +<?php +/** + * @package xortify + * @subpackage module + * @description Sector Nexoork Security Drone + * @author Simon Roberts WISHCRAFT <si...@ch...> + * @author Richardo Costa TRABIS + * @copyright copyright (c) 2010-2013 XOOPS.org + * @licence GPL 2.0 - see docs/LICENCE.txt + */ + +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +class SystemXortifyPreload extends XoopsPreloadItem +{ + + static function init() { + $xoops = Xoops::getInstance(); + $module_handler = $xoops->getHandler('module'); + $config_handler = $xoops->getHandler('config'); + $GLOBALS['xortifyModule'] = $module_handler->getByDirname('xortify'); + if (is_object($GLOBALS['xortifyModule'])) { + $GLOBALS['xortifyModuleConfig'] = $config_handler->getConfigList($GLOBALS['xortifyModule']->getVar('mid')); + } else { + $GLOBALS['xortifyModuleConfig']['fault_delay'] = 600; + } + XoopsLoad::load('xoopscache'); + } + + + static function eventCoreIncludeCommonEnd($args) + { + SystemXortifyPreload::init(); + $result = XoopsCache::read('xortify_core_include_common_end_cron'); + if ((isset($result['time'])?(float)$result['time']:0)<=microtime(true)) { + XoopsCache::write('xortify_core_include_common_end_cron', array('time'=>microtime(true)+$GLOBALS['xortifyModuleConfig']['fault_delay']), $GLOBALS['xortifyModuleConfig']['fault_delay']); + switch ($GLOBALS['xortifyModuleConfig']['crontype']) { + case 'preloader': + $read = XoopsCache::read('xortify_pause_preload'); + if ((isset($read['time'])?(float)$read['time']:0)<=microtime(true)) { + XoopsCache::write('xortify_pause_preload', array('time'=>microtime(true)+$GLOBALS['xortifyModuleConfig']['croninterval'])); + $GLOBALS['xortify_preloader']=true; + ob_start(); + include(XOOPS_ROOT_PATH.'/modules/xortify/cron/serverup.php'); + ob_end_clean(); + } + break; + } + XoopsCache::write('xortify_core_include_common_end_cron', array('time'=>microtime(true)), -1); + } + + } +} + +?> \ No newline at end of file Added: XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/admin/index.html =================================================================== --- XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/admin/index.html (rev 0) +++ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/admin/index.html 2012-01-14 14:58:48 UTC (rev 8722) @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>Untitled Document</title> +</head> + +<body> +</body> +</html> Added: XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/admin/index.php =================================================================== --- XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/admin/index.php (rev 0) +++ XoopsModules/xortify/branch/2.6/3.06/htdocs/modules/xortify/admin/index.php 2012-01-14 14:58:48 UTC (rev 8722) @@ -0,0 +1,482 @@ +<?php +/** + * @package xortify + * @subpackage module + * @description Sector Network Security Drone + * @author Simon Roberts WISHCRAFT <si...@ch...> + * @copyright copyright (c) 2010-2013 XOOPS.org + * @licence GPL 2.0 - see docs/LICENCE.txt + */ + + + include(dirname(dirname(dirname(dirname(__FILE__)))).'/include/cp_header.php'); + + $GLOBALS['xoops'] = Xoops::getInstance(); + + if (!defined('_CHARSET')) + define ("_CHARSET","UTF-8"); + if (!defined('_CHARSET_ISO')) + define ("_CHARSET_ISO","ISO-8859-1"); + + $GLOBALS['myts'] = MyTextSanitizer::getInstance(); + + $module_handler = $GLOBALS['xoops']->getHandler('module'); + $config_handler = $GLOBALS['xoops']->getHandler('config'); + $GLOBALS['xortifyModule'] = $module_handler->getByDirname('xortify'); + $GLOBALS['xortifyModuleConfig'] = $config_handler->getConfigList($GLOBALS['xortifyModule']->getVar('mid')); + + include_once $GLOBALS['xoops']->path('class'.DS.'cache'.DS.'xoopscache.php'); + include_once $GLOBALS['xoops']->path('class'.DS.'pagenav.php'); + include_once $GLOBALS['xoops']->path('class'.DS.'xoopslists.php'); + include_once $GLOBALS['xoops']->path('class'.DS.'xoopsmailer.php'); + include_once $GLOBALS['xoops']->path('class'.DS.'tree.php'); + include_once $GLOBALS['xoops']->path('class'.DS.'xoopsformloader.php'); + include_once $GLOBALS['xoops']->path('modules'.DS.'xortify'.DS.'class'.DS.'auth'.DS.'authfactory.php'); + include_once $GLOBALS['xoops']->path('modules'.DS.'xortify'.DS.'include'.DS.'functions.php'); + include_once $GLOBALS['xoops']->path('modules'.DS.'xortify'.DS.'include'.DS.'forms.xortify.php'); + + if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + //return true; + }else{ + echo $GLOBALS['xoops']->error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + //return false; + } + $GLOBALS['xortifyImageIcon'] = XOOPS_URL .'/'. $GLOBALS['xortifyModule']->getInfo('icons16'); + $GLOBALS['xortifyImageAdmin'] = XOOPS_URL .'/'. $GLOBALS['xortifyModule']->getInfo('icons32'); + + $myts = MyTextSanitizer::getInstance(); + + if ($GLOBALS['xoopsUser']) { + $moduleperm_handler = $GLOBALS['xoops']->getHandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $GLOBALS['xortifyModule']->getVar( 'mid' ), $GLOBALS['xoopsUser']->getGroups())) { + $GLOBALS['xoops']->redirect(XOOPS_URL, 1, _NOPERM); + exit(); + } + } else { + $GLOBALS['xoops']->redirect(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); + } + + $GLOBALS['xoops']->loadLanguage('admin', 'xortify'); + $GLOBALS['xoops']->loadLanguage('modinfo', 'xortify'); + + $GLOBALS['xoops']->header(); + $GLOBALS['xoops']->tpl->assign('pathImageIcon', $GLOBALS['xortifyImageIcon']); + $GLOBALS['xoops']->tpl->assign('pathImageAdmin', $GLOBALS['xortifyImageAdmin']); + + $op = isset($_REQUEST['op'])?$_REQUEST['op']:"dashboard"; + $fct = isset($_REQUEST['fct'])?$_REQUEST['fct']:""; + + switch($op) { + case "signup": + + switch ($fct) + { + case "save": + + $xortifyAuth = XortifyAuthFactory::getAuthConnection(false, $GLOBALS['xortifyModuleConfig']['protocol']); + $myts = MyTextSanitizer::getInstance(); + $uname = isset($_POST['uname']) ? $myts->stripSlashesGPC(trim($_POST['uname'])) : ''; + $email = isset($_POST['email']) ? $myts->stripSlashesGPC(trim($_POST['email'])) : ''; + $url = isset($_POST['url']) ? $myts->stripSlashesGPC(trim($_POST['url'])) : ''; + $pass = isset($_POST['pass']) ? $myts->stripSlashesGPC(trim($_POST['pass'])) : ''; + $vpass = isset($_POST['vpass']) ? $myts->stripSlashesGPC(trim($_POST['vpass'])) : ''; + $agree = (isset($_POST['agree']) && intval($_POST['agree'])) ? 1 : 0; + + if ($agree != 1) { + $stop .= _US_UNEEDAGREE . '<br />'; + } + + $validate = $xortifyAuth->validate($uname, $email, $pass, $vpass); + + if ($validate!=false) + $stop .= "User details didn't validate with Xortify.com<br/>$validate"; + + XoopsLoad::load("captcha"); + $xoopsCaptcha = XoopsCaptcha::getInstance(); + if (! $xoopsCaptcha->verify() ) { + $stop .= $xoopsCaptcha->getMessage(); + } + + if ($stop!='') { + + echo xortify_adminMenu(4, 'index.php?op=signup&fct=signup'); + echo "<p align='center' style='font-size: 15px; color: #FF0000;'>$stop</p>"; + $GLOBALS['xoops'] = Xoops::getInstance(); + $xortifyAuth = XortifyAuthFactory::getAuthConnection(false, $GLOBALS['xortifyModuleConfig']['protocol']); + $disclaimer = $xortifyAuth->network_disclaimer(); + if (strlen(trim($disclaimer))==0) + { + $disclaimer = _XOR_ADMIN_NONETWORKCOMM_DISCLAIMER; + } + if ($disclaimer != _XOR_ADMIN_NONETWORKCOMM_DISCLAIMER) { + $uname = new XoopsFormText('', "uname", 35, 128, (isset($_POST['uname'])?$_POST['uname']:'')); + $pass = new XoopsFormPassword('', "pass", 35, 128, (isset($_POST['pass'])?$_POST['pass']:'')); + $vpass = new XoopsFormPassword('', "vpass", 35, 128, (isset($_POST['vpass'])?$_POST['vpass']:'')); + $email = new XoopsFormText('', "email", 35, 128, (isset($_POST['email'])?$_POST['email']:'')); + $url = new XoopsFormText('', "url", 35, 128, (isset($_POST['url'])?$_POST['url']:'')); + $viewemail = new XoopsFormRadioYN('', "viewemail", (isset($_POST['viewemail'])?$_POST['viewemail']:false)); + $timezone = new XoopsFormSelectTimezone('', "timezone", (isset($_POST['timezone'])?$_POST['timezone']:'')); + $myts = MyTextSanitizer::getInstance(); + $disclaim = new XoopsFormLabel('', $myts->nl2br($disclaimer)); + $agree = new XoopsFormRadioYN('', "agree", false); + $captcha = new XoopsFormCaptcha('', 'xoopscaptcha', false); + $op = new XoopsFormHidden('op', 'signup'); + $fct = new XoopsFormHidden('fct', 'save'); + $submit = new XoopsFormButton('', 'submit', _XOR_FRM_REGISTER, 'submit'); + $GLOBALS['xoops']->tpl->assign('uname',$uname->render()); + $GLOBALS['xoops']->tpl->assign('pass',$pass->render()); + $GLOBALS['xoops']->tpl->assign('vpass',$vpass->render()); + $GLOBALS['xoops']->tpl->assign('email',$email->render()); + $GLOBALS['xoops']->tpl->assign('yoururl',$url->render()); + $GLOBALS['xoops']->tpl->assign('viewemail',$viewemail->render()); + $GLOBALS['xoops']->tpl->assign('timezone',$timezone->render()); + $GLOBALS['xoops']->tpl->assign('disclaimer',$disclaim->render()); + $GLOBALS['xoops']->tpl->assign('agree',$agree->render()); + $GLOBALS['xoops']->tpl->assign('captcha',$captcha->render()); + $GLOBALS['xoops']->tpl->assign('op',$op->render()); + $GLOBALS['xoops']->tpl->assign('fct',$fct->render()); + $GLOBALS['xoops']->tpl->assign('submit',$submit->render()); + $GLOBALS['xoops']->tpl->display('admin:xortify|xortify_cpanel_signup_form.html'); + xortify_footer_adminMenu(); + $GLOBALS['xoops']->footer(); + exit; + } else { + $GLOBALS['xoops']->tpl->assign('protocol', $GLOBALS['xortifyModuleConfig']['protocol']); + switch($GLOBALS['xortifyModuleConfig']['protocol']) { + case 'curlserialised': + case 'wgetserialised': + $GLOBALS['xoops']->tpl->assign('port', $GLOBALS['xortifyModuleConfig']['xortify_uriserial']); + break; + case 'curl': + case 'json': + $GLOBALS['xoops']->tpl->assign('port', $GLOBALS['xortifyModuleConfig']['xortify_urijson']); + break; + case 'curlxml': + case 'wgetxml': + $GLOBALS['xoops']->tpl->assign('port', $GLOBALS['xortifyModuleConfig']['xortify_urixml']); + break; + case 'soap': + $GLOBALS['xoops']->tpl->assign('port', $GLOBALS['xortifyModuleConfig']['xortify_urisoap']); + break; + } + $GLOBALS['xoops']->tpl->assign('error', $disclaimer); + $GLOBALS['xoops']->tpl->display('admin:xortify|xortify_cpanel_signup_nocommunication.html'); + } + } else { + @$xortifyAuth->create_user( $_POST['viewemail'], $uname, $email, $url, $actkey, + $pass, $_POST['timezone'], $_POST['mailok'], $xortifyAuth->check_siteinfo(array())); + + $moduleHandler = $GLOBALS['xoops']->getHandler('module'); + $configHandler = $GLOBALS['xoops']->getHandler('config'); + $GLOBALS['xortifyModule'] = $moduleHandler->getByDirname('xortify'); + $configs = $configHandler->getConfigs(new Criteria('conf_modid', $GLOBALS['xortifyModule']->mid()) ); + foreach($configs as $id => $config) + switch($config->getVar('conf_name')) { + case 'xortify_username': + $config->setVar('conf_value', $uname); + @$configHandler->insertConfig($config); + break; + case 'xortify_password': + $config->setVar('conf_value', $pass); + @$configHandler->insertConfig($config); + break; + } + + $GLOBALS['xoops']->redirect("index.php", 4, _XOR_USERCREATED_PLEASEACTIVATE); + exit(0); + } + break; + default: + case "signup": + + echo xortify_adminMenu(4, 'index.php?op=signup&fct=signup'); + $GLOBALS['xoops'] = Xoops::getInstance(); + + $disclaimer = XortifyAuthFactory::getAuthConnection(false, $GLOBALS['xortifyModuleConfig']['protocol'])->network_disclaimer(); + + if (strlen(trim($disclaimer))==0) + { + $disclaimer = _XOR_ADMIN_NONETWORKCOMM_DISCLAIMER; + } + if ($disclaimer != _XOR_ADMIN_NONETWORKCOMM_DISCLAIMER) { + + $uname = new XoopsFormText('', "uname", 35, 128, (isset($_POST['uname'])?$_POST['uname']:'')); + $pass = new XoopsFormPassword('', "pass", 35, 128, (isset($_POST['pass'])?$_POST['pass']:'')); + $vpass = new XoopsFormPassword('', "vpass", 35, 128, (isset($_POST['vpass'])?$_POST['vpass']:'')); + $email = new XoopsFormText('', "email", 35, 128, (isset($_POST['email'])?$_POST['email']:'')); + $url = new XoopsFormText('', "yoururl", 35, 128, (isset($_POST['url'])?$_POST['url']:'')); + $viewemail = new XoopsFormRadioYN('', "viewemail", (isset($_POST['viewemail'])?$_POST['viewemail']:false)); + $timezone = new XoopsFormSelectTimezone('', "timezone", (isset($_POST['timezone'])?$_POST['timez... [truncated message content] |
From: <wis...@us...> - 2012-01-14 13:30:58
|
Revision: 8721 http://xoops.svn.sourceforge.net/xoops/?rev=8721&view=rev Author: wishcraft Date: 2012-01-14 13:30:47 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Xortify 3.03 - for XOOPS 2.5 - Banning Notice Fixed - Minor changes to cron and redirection to notice. Added Paths: ----------- XoopsModules/xortify/releases/3.03/ XoopsModules/xortify/releases/3.03/docs/ XoopsModules/xortify/releases/3.03/docs/INSTALL XoopsModules/xortify/releases/3.03/docs/UPGRADE XoopsModules/xortify/releases/3.03/docs/licence.txt XoopsModules/xortify/releases/3.03/extras/ XoopsModules/xortify/releases/3.03/extras/2.5.x/ XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/ XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/header.php XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/modules/ XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/modules/xortify/ XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/modules/xortify/preloads/ XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/modules/xortify/preloads/core.php XoopsModules/xortify/releases/3.03/htdocs/ XoopsModules/xortify/releases/3.03/htdocs/Frameworks/ XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/ XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/16/access.list.png XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/16/current.bans.png XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/16/xortify.log.png XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/32/access.list.png XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/32/current.bans.png XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/32/xortify.log.png XoopsModules/xortify/releases/3.03/htdocs/banned.php XoopsModules/xortify/releases/3.03/htdocs/modules/ XoopsModules/xortify/releases/3.03/htdocs/modules/system/ XoopsModules/xortify/releases/3.03/htdocs/modules/system/preloads/ XoopsModules/xortify/releases/3.03/htdocs/modules/system/preloads/xortify.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/admin/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/admin/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/admin/index.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/admin/menu.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_curl.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_curl_provisionning.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_curlserialised.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_curlserialised_provisionning.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_curlxml.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_curlxml_provisionning.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_json.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_json_provisionning.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_soap.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_soap_provisionning.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_wgetserialised.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_wgetserialised_provisionning.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_wgetxml.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/auth_wgetxml_provisionning.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/authfactory.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/auth/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/curl.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/curlserialised.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/curlxml.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/json.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/log.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/soap.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/wgetserialised.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/class/wgetxml.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/cron/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/cron/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/cron/serverup.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/docs/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/docs/changelog.txt XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/docs/credits.txt XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/docs/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/docs/install.txt XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/docs/lang_diff.txt XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/docs/licence.txt XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/docs/readme.txt XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/images/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/images/accessdenied.png XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/images/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/images/left_both.gif XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/images/right_both.gif XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/images/xortify_slogo.png XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/JSON.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/forms.objects.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/forms.xortify.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/functions.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/install.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/post.header.addmeta.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/post.header.endcache.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/post.loader.mainfile.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/pre.loader.mainfile.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/update.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/language/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/language/english/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/language/english/admin.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/language/english/ban.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/language/english/help/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/language/english/help/help.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/language/english/help/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/language/english/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/language/english/main.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/language/english/modinfo.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/language/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/plugin/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/plugin/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/plugin/projecthoneypot.org.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/plugin/protector.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/plugin/spiders.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/plugin/stopforumspam.com.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/plugin/xortify.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/preloads/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/preloads/core.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/preloads/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/projecthoneypot.org/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/projecthoneypot.org/post.loader.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/protector/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/protector/footer.post.loader.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/protector/header.post.loader.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/protector/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/providers.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/spiders/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/spiders/post.loader.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/stopforumspam.com/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/stopforumspam.com/post.loader.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/xortify/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/xortify/footer.post.loader.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/xortify/header.post.loader.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/xortify/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/xortify/post.loader.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/sql/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/sql/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/sql/mysql.sql XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/templates/ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/templates/index.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/templates/xortify_banning_notice.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/templates/xortify_cpanel_bans.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/templates/xortify_cpanel_log.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/templates/xortify_cpanel_signup_form.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/templates/xortify_cpanel_signup_nocommunication.html XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/xoops_version.php Added: XoopsModules/xortify/releases/3.03/docs/INSTALL =================================================================== --- XoopsModules/xortify/releases/3.03/docs/INSTALL (rev 0) +++ XoopsModules/xortify/releases/3.03/docs/INSTALL 2012-01-14 13:30:47 UTC (rev 8721) @@ -0,0 +1,75 @@ ++-----------------------------------------------------------------------------------+ +| | +| XXX XXX OOOOO RRRRR TTTTTT IIIIII FFFFFF YYY YYY | +| XX XX OO OO RR RR TT II FF YY YY | +| XXX OO OO RRRR TT II FFFF YYYY | +| XX XX OO OO RR RR TT II FF YY | +| XXX XXX OOOOO RR RR TT IIIIII FF YY version 2.48 | +| | ++----[ NETWORK SECTOR SECURITY ]----------------------------------------------------+ +| | +| Install the Providers Xortify support currently these are: | +| | +| * XOOPS Protector (Based in 3.22) | +| * Xortify Network Security Drone | +| | +| Sign up a username for Xortify.com you can do this in the module if everything | +| is working fine and there isn't any problem with the API SOAP communications. | +| | +| You will recieve an activation notice but you account will already be active. | +| | +| You will need to alter mainfile.php and do the following:: | +| | +| * DO NOT INSTALL PROTECTOR IN THE MAINFILE - Xortify will call this for you | +| | +| Xortify is also fited with the XOOPS 2.4 Series Preloads you will not need to | +| do steps 2 and 3 with XOOPS 2.4 and later series. | +| | ++--[ Step 1 - Installing Cron ]-----------------------------------------------------+ +| | +| You will need to install the following cron within your cronjobs section of your | +| Wesite, if you are using a windows server in WAMP then you will need to schedule | +| this as a task, remember to change the path to suit your configuration. | +| | +| command to run every minute to once an hour, make sure it is within your cache | +| refresh time. This is the or unix based systems the following is for windows | +| | +| /usr/bin/php -q /home/yoursite/public_html/modules/xortify/cron/serverup.php | +| | +| Assuming you have your PHP added to your executable path this is the scheduled | +| task to run on a windows environment. | +| | +| php.exe -q c:\htdocs\modules\xortify\cron\serverup.php | +| | +| Some of the paths in these examples for executables or the cron file may be | +| different and you will have to alter them to your needs. | +| | ++--[ Step 2 - mainfile.php (pre 2.4 series) ]---------------------------------------+ +| | +| You will need to change the following the main file has the following code on it | +| | +| [code] | +| if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") { | +| include XOOPS_ROOT_PATH."/include/common.php"; | +| } | +| [/code] | +| | +| You will need to alter that to this after it is all install. | +| | +| [code] | +| @include( XOOPS_ROOT_PATH.'/modules/xortify/include/pre.loader.mainfile.php' ); | +| if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") { | +| include XOOPS_ROOT_PATH."/include/common.php"; | +| } | +| @include( XOOPS_ROOT_PATH.'/modules/xortify/include/post.loader.mainfile.php' ); | +| [/code] | +| | ++--[ Step 3 - header.php (pre 2.4 series) ]----------------------------------------+ +| | +| Below the lin of footer.php which reads $xoopsTpl =& $xoTheme->template; | +| | +| [code] | +| @include( XOOPS_ROOT_PATH.'/modules/xortify/include/post.add.meta.php' ); | +| [/code] | +| | ++-----------------------------------------------------------------------------------+ \ No newline at end of file Added: XoopsModules/xortify/releases/3.03/docs/UPGRADE =================================================================== --- XoopsModules/xortify/releases/3.03/docs/UPGRADE (rev 0) +++ XoopsModules/xortify/releases/3.03/docs/UPGRADE 2012-01-14 13:30:47 UTC (rev 8721) @@ -0,0 +1,75 @@ ++-----------------------------------------------------------------------------------+ +| | +| XXX XXX OOOOO RRRRR TTTTTT IIIIII FFFFFF YYY YYY | +| XX XX OO OO RR RR TT II FF YY YY | +| XXX OO OO RRRR TT II FFFF YYYY | +| XX XX OO OO RR RR TT II FF YY | +| XXX XXX OOOOO RR RR TT IIIIII FF YY version 2.30 | +| | ++----[ NETWORK SECTOR SECURITY ]----------------------------------------------------+ +| | +| Install the Providers Xortify support currently these are: | +| | +| * XOOPS Protector (Based in 3.22) | +| * Xortify Network Security Drone | +| | +| Make sure you delete the 'providers' folder in the existing module then upload | +| Xortify 2.30. Once you have install the file base this way you will remember | +| to upgrade the module in the system modules application in the xoops system | +| menu you will need to then goto the preferences and make sure you are running | +| the protector provider if you are running protector this will populate the | +| cloud with your bans that come in protector as well:: | +| | +| * DO NOT INSTALL PROTECTOR IN THE MAINFILE - Xortify will call this for you | +| | +| Xortify is also fited with the XOOPS 2.4 Series Preloads you will not need to | +| do steps 2 and 3 with XOOPS 2.4 and later series. | +| | ++--[ Step 1 - Installing Cron ]-----------------------------------------------------+ +| | +| You will need to install the following cron within your cronjobs section of your | +| Wesite, if you are using a windows server in WAMP then you will need to schedule | +| this as a task, remember to change the path to suit your configuration. | +| | +| command to run every minute to once an hour, make sure it is within your cache | +| refresh time. This is the or unix based systems the following is for windows | +| | +| /usr/bin/php -q /home/yoursite/public_html/modules/xortify/cron/serverup.php | +| | +| Assuming you have your PHP added to your executable path this is the scheduled | +| task to run on a windows environment. | +| | +| php.exe -q c:\htdocs\modules\xortify\cron\serverup.php | +| | +| Some of the paths in these examples for executables or the cron file may be | +| different and you will have to alter them to your needs. | +| | ++--[ Step 2 - mainfile.php ]--------------------------------------------------------+ +| | +| You will need to change the following the main file has the following code on it | +| | +| [code] | +| if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") { | +| include XOOPS_ROOT_PATH."/include/common.php"; | +| } | +| [/code] | +| | +| You will need to alter that to this after it is all install. | +| | +| [code] | +| @include( XOOPS_ROOT_PATH.'/modules/xortify/include/pre.loader.mainfile.php' ); | +| if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") { | +| include XOOPS_ROOT_PATH."/include/common.php"; | +| } | +| @include( XOOPS_ROOT_PATH.'/modules/xortify/include/post.loader.mainfile.php' ); | +| [/code] | +| | ++--[ Step 3 - footer.php ----------------------------------------------------------+ +| | +| At the bottom of footer.php place this line without the [|] Of course. | +| | +| [code] | +| @include( XOOPS_ROOT_PATH.'/modules/xortify/include/post.loader.footer.php' ); | +| [/code] | +| | ++-----------------------------------------------------------------------------------+ \ No newline at end of file Added: XoopsModules/xortify/releases/3.03/docs/licence.txt =================================================================== --- XoopsModules/xortify/releases/3.03/docs/licence.txt (rev 0) +++ XoopsModules/xortify/releases/3.03/docs/licence.txt 2012-01-14 13:30:47 UTC (rev 8721) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/header.php =================================================================== --- XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/header.php (rev 0) +++ XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/header.php 2012-01-14 13:30:47 UTC (rev 8721) @@ -0,0 +1,110 @@ +<?php +/** + * XOOPS global header 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. + * 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 core + * @since 2.0.0 + * @author Kazumi Ono <web...@my...> + * @author Skalpa Keo <sk...@xo...> + * @author Taiwen Jiang <ph...@us...> + * @version $Id: header.php 8066 2011-11-06 05:09:33Z beckmi $ + */ + +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +$xoopsPreload =& XoopsPreload::getInstance(); +$xoopsPreload->triggerEvent('core.header.start'); + +include_once $GLOBALS['xoops']->path('class/xoopsblock.php'); + +$xoopsLogger =& XoopsLogger::getInstance(); +$xoopsLogger->stopTime('Module init'); +$xoopsLogger->startTime('XOOPS output init'); + +if ($xoopsConfig['theme_set'] != 'default' && file_exists(XOOPS_THEME_PATH . '/' . $xoopsConfig['theme_set'] . '/theme.php')) { + require_once $GLOBALS['xoops']->path('include/xoops13_header.php'); +} else { + global $xoopsOption, $xoopsConfig, $xoopsModule; + + $xoopsOption['theme_use_smarty'] = 1; + + // include Smarty template engine and initialize it + require_once $GLOBALS['xoops']->path('class/template.php'); + require_once $GLOBALS['xoops']->path('class/theme.php'); + require_once $GLOBALS['xoops']->path('class/theme_blocks.php'); + + if (@$xoopsOption['template_main']) { + if (false === strpos($xoopsOption['template_main'], ':')) { + $xoopsOption['template_main'] = 'db:' . $xoopsOption['template_main']; + } + } + + $xoopsThemeFactory = null; + $xoopsThemeFactory = new xos_opal_ThemeFactory(); + $xoopsThemeFactory->allowedThemes = $xoopsConfig['theme_set_allowed']; + $xoopsThemeFactory->defaultTheme = $xoopsConfig['theme_set']; + + /** + * @var xos_opal_Theme + */ + $xoTheme =& $xoopsThemeFactory->createInstance(array('contentTemplate' => @$xoopsOption['template_main'])); + $xoopsTpl =& $xoTheme->template; + + $xoopsPreload->triggerEvent('core.header.addmeta'); + + // Temporary solution for start page redirection + if (defined("XOOPS_STARTPAGE_REDIRECTED")) { + $params = $content = $tpl = $repeat = null; + $xoTheme->headContent($params, "<base href='" . XOOPS_URL . '/modules/' . $xoopsConfig['startpage'] . "/' />", $tpl, $repeat); + } + + if (@is_object($xoTheme->plugins['xos_logos_PageBuilder'])) { + $aggreg =& $xoTheme->plugins['xos_logos_PageBuilder']; + // Backward compatibility code for pre 2.0.14 themes + $xoopsTpl->assign_by_ref('xoops_lblocks', $aggreg->blocks['canvas_left']); + $xoopsTpl->assign_by_ref('xoops_rblocks', $aggreg->blocks['canvas_right']); + $xoopsTpl->assign_by_ref('xoops_ccblocks', $aggreg->blocks['page_topcenter']); + $xoopsTpl->assign_by_ref('xoops_clblocks', $aggreg->blocks['page_topleft']); + $xoopsTpl->assign_by_ref('xoops_crblocks', $aggreg->blocks['page_topright']); + $xoopsTpl->assign('xoops_showlblock', !empty($aggreg->blocks['canvas_left'])); + $xoopsTpl->assign('xoops_showrblock', !empty($aggreg->blocks['canvas_right'])); + $xoopsTpl->assign('xoops_showcblock', !empty($aggreg->blocks['page_topcenter']) || !empty($aggreg->blocks['page_topleft']) || !empty($aggreg->blocks['page_topright'])); + } + + // Sets cache time + if (!empty($xoopsModule)) { + $xoTheme->contentCacheLifetime = @$xoopsConfig['module_cache'][$xoopsModule->getVar('mid', 'n')]; + // Tricky solution for setting cache time for homepage + } else if (!empty($xoopsOption['template_main']) && $xoopsOption['template_main'] == 'db:system_homepage.html') { + $xoTheme->contentCacheLifetime = 604800; + } + + $xoopsPreload->triggerEvent('core.header.checkcache'); + if ($xoTheme->checkCache()) { + $xoopsPreload->triggerEvent('core.header.cacheend'); + exit(); + } + + if (!isset($xoopsOption['template_main']) && $xoopsModule) { + // new themes using Smarty does not have old functions that are required in old modules, so include them now + include $GLOBALS['xoops']->path('include/old_theme_functions.php'); + // need this also + $xoopsTheme['thename'] = $xoopsConfig['theme_set']; + ob_start(); + } + + $xoopsLogger->stopTime('XOOPS output init'); + $xoopsLogger->startTime('Module display'); +} + +$xoopsPreload->triggerEvent('core.header.end'); +?> \ No newline at end of file Added: XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/modules/xortify/preloads/core.php =================================================================== --- XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/modules/xortify/preloads/core.php (rev 0) +++ XoopsModules/xortify/releases/3.03/extras/2.5.x/htdocs/modules/xortify/preloads/core.php 2012-01-14 13:30:47 UTC (rev 8721) @@ -0,0 +1,118 @@ +<?php +/** + * @package xortify + * @subpackage module + * @description Sector Nexoork Security Drone + * @author Simon Roberts WISHCRAFT <si...@ch...> + * @author Richardo Costa TRABIS + * @copyright copyright (c) 2010-2013 XOOPS.org + * @licence GPL 2.0 - see docs/LICENCE.txt + */ + +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +class XortifyCorePreload extends XoopsPreloadItem +{ + + function eventCoreIncludeCommonStart($args) + { + include_once XOOPS_ROOT_PATH.'/class/cache/xoopscache.php'; + $result = XoopsCache::read('xortify_core_include_common_start'); + if ((isset($result['time'])?(float)$result['time']:0)<=microtime(true)) { + XoopsCache::write('xortify_core_include_common_start', array('time'=>microtime(true)+600), 600); + include_once XOOPS_ROOT_PATH . ( '/modules/xortify/include/pre.loader.mainfile.php' ); + XoopsCache::write('xortify_core_include_common_start', array('time'=>microtime(true)), -1); + } + } + + function eventCoreIncludeCommonEnd($args) + { + xoops_loadLanguage('modinfo', 'xortify'); + $module_handler = xoops_gethandler('module'); + $config_handler = xoops_gethandler('config'); + $GLOBALS['xortifyModule'] = $module_handler->getByDirname('xortify'); + if (is_object($GLOBALS['xortifyModule'])) { + $GLOBALS['xortifyModuleConfig'] = $config_handler->getConfigList($GLOBALS['xortifyModule']->getVar('mid')); + } + + include_once XOOPS_ROOT_PATH.'/class/cache/xoopscache.php'; + $result = XoopsCache::read('xortify_core_include_common_end_cron'); + if ((isset($result['time'])?(float)$result['time']:0)<=microtime(true)) { + XoopsCache::write('xortify_core_include_common_end_cron', array('time'=>microtime(true)+$GLOBALS['xortifyModuleConfig']['fault_delay']), $GLOBALS['xortifyModuleConfig']['fault_delay']); + switch ($GLOBALS['xortifyModuleConfig']['crontype']) { + case 'preloader': + $read = XoopsCache::read('xortify_pause_preload'); + if ((isset($read['time'])?(float)$read['time']:0)<=microtime(true)) { + XoopsCache::write('xortify_pause_preload', array('time'=>microtime(true)+$GLOBALS['xortifyModuleConfig']['croninterval'])); + $GLOBALS['xortify_preloader']=true; + ob_start(); + include(XOOPS_ROOT_PATH.'/modules/xortify/cron/serverup.php'); + ob_end_clean(); + } + break; + } + XoopsCache::write('xortify_core_include_common_end_cron', array('time'=>microtime(true)), -1); + } + + $result = XoopsCache::read('xortify_core_include_common_end'); + if ((isset($result['time'])?(float)$result['time']:0)<=microtime(true)) { + XoopsCache::write('xortify_core_include_common_end', array('time'=>microtime(true)+$GLOBALS['xortifyModuleConfig']['fault_delay']), $GLOBALS['xortifyModuleConfig']['fault_delay']); + if (XortifyCorePreload::hasAPIUserPass()) { + include_once XOOPS_ROOT_PATH . ( '/modules/xortify/include/post.loader.mainfile.php' ); + } + XoopsCache::write('xortify_core_include_common_end', array('time'=>microtime(true)), -1); + } + + } + + function eventCoreHeaderCacheend($args) + { + + include_once XOOPS_ROOT_PATH.'/class/cache/xoopscache.php'; + $result = XoopsCache::read('xortify_core_header_cache_end'); + if ((isset($result['time'])?(float)$result['time']:0)<=microtime(true)) { + XoopsCache::write('xortify_core_header_cache_end', array('time'=>microtime(true)+$GLOBALS['xortifyModuleConfig']['fault_delay']), $GLOBALS['xortifyModuleConfig']['fault_delay']); + if (XortifyCorePreload::hasAPIUserPass()) { + include_once XOOPS_ROOT_PATH . ( '/modules/xortify/include/post.header.endcache.php' ); + } + XoopsCache::write('xortify_core_header_cache_end', array('time'=>microtime(true)), -1); + } + } + + function eventCoreFooterEnd($args) + { + + include_once XOOPS_ROOT_PATH.'/class/cache/xoopscache.php'; + $result = XoopsCache::read('xortify_core_header_cache_end'); + if ((isset($result['time'])?(float)$result['time']:0)<=microtime(true)) { + XoopsCache::write('xortify_core_header_cache_end', array('time'=>microtime(true)+$GLOBALS['xortifyModuleConfig']['fault_delay']), $GLOBALS['xortifyModuleConfig']['fault_delay']); + if (XortifyCorePreload::hasAPIUserPass()) { + include_once XOOPS_ROOT_PATH . ( '/modules/xortify/include/post.header.endcache.php' ); + } + XoopsCache::write('xortify_core_header_cache_end', array('time'=>microtime(true)), -1); + } + } + + function eventCoreHeaderAddmeta($args) + { + if (isset($GLOBALS['xortify_pass'])) { + if ($GLOBALS['xortify_pass'] == true) { + include_once XOOPS_ROOT_PATH.'/modules/xortify/include/functions.php'; + addmeta_googleanalytics(_XOR_MI_XOOPS_GOOGLE_ANALYTICS_ACCOUNTID_USERPASSED, $_SERVER['HTTP_HOST']); + if (defined('_XOR_MI_CLIENT_GOOGLE_ANALYTICS_ACCOUNTID_USERPASSED')&&strlen(constant('_XOR_MI_CLIENT_GOOGLE_ANALYTICS_ACCOUNTID_USERPASSED'))>=13) { + addmeta_googleanalytics(_XOR_MI_CLIENT_GOOGLE_ANALYTICS_ACCOUNTID_USERPASSED, $_SERVER['HTTP_HOST']); + } + } + } + } + + function hasAPIUserPass() + { + if ($GLOBALS['xortifyModuleConfig']['xortify_username']!=''&&$GLOBALS['xortifyModuleConfig']['xortify_password']!='') + return true; + else + return false; + } +} + +?> \ No newline at end of file Added: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/16/access.list.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/16/access.list.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/16/current.bans.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/16/current.bans.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/16/xortify.log.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/16/xortify.log.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/32/access.list.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/32/access.list.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/32/current.bans.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/32/current.bans.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/32/xortify.log.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xortify/releases/3.03/htdocs/Frameworks/moduleclasses/icons/32/xortify.log.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xortify/releases/3.03/htdocs/banned.php =================================================================== --- XoopsModules/xortify/releases/3.03/htdocs/banned.php (rev 0) +++ XoopsModules/xortify/releases/3.03/htdocs/banned.php 2012-01-14 13:30:47 UTC (rev 8721) @@ -0,0 +1,49 @@ +<?php + + + include dirname(__FILE__).'/mainfile.php'; + if (isset($_SESSION['xortify']['lid'])) { + $lid = $_SESSION['xortify']['lid']; + setcookie('xortify', array('lid' => $lid), time()+3600*24*7*4*3); + } elseif (isset($_COOKIE['xortify']['lid'])) { + $lid = $_COOKIE['xortify']['lid']; + $_SESSION['xortify']['lid'] = $lid; + } + + xoops_loadLanguage('ban', 'xortify'); + + $module_handler = xoops_gethandler('module'); + $GLOBALS['xortifyModule'] = $module_handler->getByDirname('xortify'); + + $xoopsOption['template_main'] = 'xortify_banning_notice.html'; + include_once XOOPS_ROOT_PATH.'/header.php'; + include_once XOOPS_ROOT_PATH.'/modules/xortify/include/functions.php'; + addmeta_googleanalytics(_XOR_MI_XOOPS_GOOGLE_ANALYTICS_ACCOUNTID_FAILEDTOPASS, $_SERVER['HTTP_HOST']); + if (defined('_XOR_MI_CLIENT_GOOGLE_ANALYTICS_ACCOUNTID_FAILEDTOPASS')&&strlen(constant('_XOR_MI_CLIENT_GOOGLE_ANALYTICS_ACCOUNTID_FAILEDTOPASS'))>=13) { + addmeta_googleanalytics(_XOR_MI_CLIENT_GOOGLE_ANALYTICS_ACCOUNTID_FAILEDTOPASS, $_SERVER['HTTP_HOST']); + } + $GLOBALS['xoopsTpl']->assign('xoops_pagetitle', _XOR_PAGETITLE); + $GLOBALS['xoopsTpl']->assign('description', _XOR_DESCRIPTION); + $GLOBALS['xoopsTpl']->assign('version', $GLOBALS['xortifyModule']->getVar('version')/100); + $GLOBALS['xoopsTpl']->assign('platform', XOOPS_VERSION); + + $log_handler = xoops_getmodulehandler('log', 'xortify'); + $log = $log_handler->get($lid); + if (is_object($log)) { + setcookie('xortify', array('lid' => $lid), time()+3600*24*7*4*3); + $GLOBALS['xoopsTpl']->assign('status', $log->getVar('extra')); + $GLOBALS['xoopsTpl']->assign('provider', $log->getVar('provider')); + $GLOBALS['xoopsTpl']->assign('agent', $log->getVar('agent')); + } + $GLOBALS['xoopsTpl']->assign('xoops_lblocks', false); + $GLOBALS['xoopsTpl']->assign('xoops_rblocks', false); + $GLOBALS['xoopsTpl']->assign('xoops_ccblocks', false); + $GLOBALS['xoopsTpl']->assign('xoops_clblocks', false); + $GLOBALS['xoopsTpl']->assign('xoops_crblocks', false); + $GLOBALS['xoopsTpl']->assign('xoops_showlblock', false); + $GLOBALS['xoopsTpl']->assign('xoops_showrblock', false); + $GLOBALS['xoopsTpl']->assign('xoops_showcblock', false); + + include_once XOOPS_ROOT_PATH.'/footer.php'; + +?> Added: XoopsModules/xortify/releases/3... [truncated message content] |
From: <dj...@us...> - 2012-01-14 09:33:17
|
Revision: 8720 http://xoops.svn.sourceforge.net/xoops/?rev=8720&view=rev Author: djculex Date: 2012-01-14 09:33:10 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Admin files Added Paths: ----------- XoopsModules/smallworld/trunk/admin/help.php XoopsModules/smallworld/trunk/admin/statistics.php XoopsModules/smallworld/trunk/admin/useradmin.php Added: XoopsModules/smallworld/trunk/admin/help.php =================================================================== --- XoopsModules/smallworld/trunk/admin/help.php (rev 0) +++ XoopsModules/smallworld/trunk/admin/help.php 2012-01-14 09:33:10 UTC (rev 8720) @@ -0,0 +1,64 @@ +<?php +/** +* You may not change or alter any portion of this comment or credits +* of supporting developers from this source code or any supporting source code +* which is considered copyrighted (c) material of the original comment or credit authors. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/ +* @license: http://www.fsf.org/copyleft/gpl.html GNU public license +* @module: Smallworld +* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...> +* @copyright: 2011 Culex +* @Repository path: $HeadURL$ +* @Last committed: $Revision$ +* @Last changed by: $Author$ +* @Last changed date: $Date$ +* @ID: $Id$ +**/ + +require_once 'admin_header.php'; +require_once '../../../include/cp_header.php'; +include_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php"); +include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php"); + +require_once XOOPS_ROOT_PATH . '/class/template.php'; +if (!isset($xoopsTpl)) {$xoopsTpl = new XoopsTpl();} +$xoopsTpl->xoops_setCaching(0); + +xoops_cp_header(); + +$admin = new SmallworldAdmin(); +$tpl = new XoopsTpl(); + +// template assignments + $xoopsTpl->assign('lang_help',_AM_SMALLWORLD_HELP); + + // help file from admin + $xoopsTpl->assign('lang_hlp_about',_AM_SMALLWORLD_HELP_ABOUT); + $xoopsTpl->assign('lang_hlp_preface',_AM_SMALLWORLD_HELP_PREFACE); + $xoopsTpl->assign('lang_hlp_requirements_t',_AM_SMALLWORLD_HELP_HEADER_REQUIREMENTS); + $xoopsTpl->assign('lang_hlp_requirements',_AM_SMALLWORLD_HELP_REQUIREMENTS); + $xoopsTpl->assign('lang_hlp_recommended_t',_AM_SMALLWORLD_HELP_HEADER_RECOMMENDED); + $xoopsTpl->assign('lang_hlp_recommended',_AM_SMALLWORLD_HELP_RECOMMENDED); + $xoopsTpl->assign('lang_hlp_installation_t',_AM_SMALLWORLD_HELP_HEADER_INSTALLATION); + $xoopsTpl->assign('lang_hlp_firsttime',_AM_SMALLWORLD_HELP_FIRSTTIMEINSTALL); + $xoopsTpl->assign('lang_hlp_hostedplatform_t',_AM_SMALLWORLD_HELP_HEADER_HOSTED_PLATFORM); + $xoopsTpl->assign('lang_hlp_hostedplatform',_AM_SMALLWORLD_HELP_HOSTED_PLATFORM); + $xoopsTpl->assign('lang_hlp_upgrading_t',_AM_SMALLWORLD_HELP_HEADER_UPGRADING); + $xoopsTpl->assign('lang_hlp_upgrading',_AM_SMALLWORLD_HELP_UPGRADING); + $xoopsTpl->assign('lang_hlp_faq_t',_AM_SMALLWORLD_HELP_HEADER_FAQ); + $xoopsTpl->assign('lang_hlp_commen1_t',_AM_SMALLWORLD_HELP_HEADER_COMMENPROBLEMS1); + $xoopsTpl->assign('lang_hlp_commen1',_AM_SMALLWORLD_HELP_COMMENPROBLEMS1); + $xoopsTpl->assign('lang_hlp_contacts_t',_AM_SMALLWORLD_HELP_HEADER_CONTACTS); + $xoopsTpl->assign('lang_hlp_otherhelp',_AM_SMALLWORLD_HELP_OTHERHELP); + + $xoopsTpl->display(XOOPS_ROOT_PATH .'/modules/smallworld/templates/admin_help.html'); + + global $xoTheme; + $xoTheme->addStyleSheet('modules/smallworld/css/SmallworldAdmin.css'); + +xoops_cp_footer(); +?> Added: XoopsModules/smallworld/trunk/admin/statistics.php =================================================================== --- XoopsModules/smallworld/trunk/admin/statistics.php (rev 0) +++ XoopsModules/smallworld/trunk/admin/statistics.php 2012-01-14 09:33:10 UTC (rev 8720) @@ -0,0 +1,79 @@ +<?php +/** +* You may not change or alter any portion of this comment or credits +* of supporting developers from this source code or any supporting source code +* which is considered copyrighted (c) material of the original comment or credit authors. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/ +* @license: http://www.fsf.org/copyleft/gpl.html GNU public license +* @module: Smallworld +* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...> +* @copyright: 2011 Culex +* @Repository path: $HeadURL$ +* @Last committed: $Revision$ +* @Last changed by: $Author$ +* @Last changed date: $Date$ +* @ID: $Id$ +**/ + +require_once 'admin_header.php'; +require_once '../../../include/cp_header.php'; +include_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php"); +include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php"); + +require_once XOOPS_ROOT_PATH . '/class/template.php'; +if (!isset($xoopsTpl)) {$xoopsTpl = new XoopsTpl();} +$xoopsTpl->xoops_setCaching(0); + +xoops_cp_header(); + +$admin = new SmallworldAdmin(); +$tpl = new XoopsTpl(); + +$ai = array(); +$ani = array(); + +// Count members using Smallworld +$sumallusers = $admin->TotalUsers (); +// Find list of most active users (total) +$admin->mostactiveusers_allround(); +// Find list of most active users (24 hours) +$admin->mostactiveusers_today(); +// Get days number +$totaldays = $admin->CountDays(); +// Find oldest message and apply to template +$dateoffirstmessage = date('d-m-Y H:i:s',$admin->oldestMsg()); +// get average messages per day +$avgperday = $admin->AvgMsgDay ($totaldays); +// FInd list of best rated users overall +$admin->topratedusers('up'); + +// FInd list of worst rated users overall +$admin->topratedusers('down'); + +// template assignments + // tab titles + $xoopsTpl->assign('lang_statistics', _AM_SMALLWORLD_STATISTICS_TITLE); + + // help file from admin + $xoopsTpl->assign('lang_dateoffirstmessage', _AM_SMALLWORLD_DATEOFFIRSTMESSAGE); + $xoopsTpl->assign('lang_totalusers', _AM_SMALLWORLD_TOTALUSERS); + $xoopsTpl->assign('lang_averagemsgperday', _AM_SMALLWORLD_AVERAGEMSGPERDAY); + $xoopsTpl->assign('lang_topchatters',_AM_SMALLWORLD_TOPCHATTERS); + $xoopsTpl->assign('lang_topchatterstoday',_AM_SMALLWORLD_TOPCHATTERS_TODAY); + $xoopsTpl->assign('lang_toprated',_AM_SMALLWORLD_TOPRATEDUSERS); + $xoopsTpl->assign('lang_bottomrated',_AM_SMALLWORLD_BOTTOMRATEDUSERS); + $xoopsTpl->assign('dateoffirstmessage', $dateoffirstmessage); + $xoopsTpl->assign('totalusers', $sumallusers); + $xoopsTpl->assign('averagemsgperday', $avgperday); + $xoopsTpl->display(XOOPS_ROOT_PATH .'/modules/smallworld/templates/admin_statistics.html'); + + global $xoTheme; + $xoTheme->addStyleSheet('modules/smallworld/css/SmallworldAdmin.css'); + $xoTheme->addScript(XOOPS_URL . '/modules/smallworld/js/adminsmallworld.js'); + +xoops_cp_footer(); +?> Added: XoopsModules/smallworld/trunk/admin/useradmin.php =================================================================== --- XoopsModules/smallworld/trunk/admin/useradmin.php (rev 0) +++ XoopsModules/smallworld/trunk/admin/useradmin.php 2012-01-14 09:33:10 UTC (rev 8720) @@ -0,0 +1,114 @@ +<?php +/** +* You may not change or alter any portion of this comment or credits +* of supporting developers from this source code or any supporting source code +* which is considered copyrighted (c) material of the original comment or credit authors. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/ +* @license: http://www.fsf.org/copyleft/gpl.html GNU public license +* @module: Smallworld +* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...> +* @copyright: 2011 Culex +* @Repository path: $HeadURL$ +* @Last committed: $Revision$ +* @Last changed by: $Author$ +* @Last changed date: $Date$ +* @ID: $Id$ +**/ + +require_once 'admin_header.php'; +require_once '../../../include/cp_header.php'; +include_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php"); +include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php"); + +require_once XOOPS_ROOT_PATH . '/class/template.php'; +if (!isset($xoopsTpl)) {$xoopsTpl = new XoopsTpl();} +$xoopsTpl->xoops_setCaching(0); + +xoops_cp_header(); + +$admin = new SmallworldAdmin(); +$tpl = new XoopsTpl(); + +$ai = array(); +$ani = array(); + +$allusers_inspect = $admin->getAllUsers('yes'); + if (!empty($allusers_inspect)) { + foreach ($allusers_inspect as $data) { + $ai['id'] = $data['id']; + $ai['userid'] = $data['userid']; + $ai['username'] = $data['username']; + $ai['realname'] = $data['realname']; + $ai['userimage'] = smallworld_getAvatarLink ($data['userid'],$data['userimage']); + $ai['ip'] = $data['ip']; + $ai['complaint'] = $data['complaint']; + $ai['inspect_start'] = $data['inspect_start']; + $ai['inspect_stop'] = $data['inspect_stop']; + $ai['userinspect_timetotal'] = ($data['inspect_start'] + $data['inspect_stop'])-time(); + $xoopsTpl->append('allusersinspect', $ai); + } + } + $xoopsTpl->assign('allusersinspectcounter',count($ai)); + +$allusers_noinspect = $admin->getAllUsers('no'); + if (!empty($allusers_noinspect)) { + foreach ($allusers_noinspect as $data) { + $ani['id'] = $data['id']; + $ani['userid'] = $data['userid']; + $ani['username'] = $data['username']; + $ani['realname'] = $data['realname']; + $ani['userimage'] = smallworld_getAvatarLink ($data['userid'],$data['userimage']); + $ani['ip'] = $data['ip']; + $ani['complaint'] = $data['complaint']; + $ani['inspect_start'] = ''; + $ani['inspect_stop'] = ''; + $ani['userinspect_timetotal'] = ''; + $xoopsTpl->append('allusersnoinspect', $ani); + } + } + $xoopsTpl->assign('allusersnoinspectcounter',count($ani)); +// ---------------- end of tabs ---------------- // + +// template assignments + // tab titles + $xoopsTpl->assign('lang_useradmin',_AM_SMALLWORLD_USERADMIN_TITLE); + + // help file from admin + $xoopsTpl->display(XOOPS_ROOT_PATH .'/modules/smallworld/templates/admin_useradmin.html'); + + global $xoTheme; + //Check Language + $lang = $xoopsConfig['language']; + // GET various variables from language folder + if ( file_exists(XOOPS_ROOT_PATH.'/modules/smallworld/language/js/'.$lang.'/variables.js')) { + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$lang.'/js/variables.js'); + } else { + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/english/js/variables.js'); + } + +$adminscript= <<<SCRIPT + var smallworld_url="XOOPS_URL/modules/smallworld/"; + //var $ = jQuery(); +SCRIPT; + $xoTheme->addStyleSheet('modules/smallworld/css/SmallworldAdmin.css'); + $xoTheme->addScript(XOOPS_URL.'/browse.php?Frameworks/jquery/jquery.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery-ui-1.8.11.custom.js'); + $xoTheme->addScript('modules/smallworld/js/smallworld_tabs.js'); + $xoTheme->addScript('','',$adminscript); + $xoTheme->addScript(XOOPS_URL . '/modules/smallworld/js/jquery.form.js'); + $xoTheme->addScript(XOOPS_URL . '/modules/smallworld/js/jquery.countdown.js'); + if ( file_exists(XOOPS_ROOT_PATH.'/modules/smallworld/language/js/'.$lang.'/jquery.ui.datepicker-language.js')) { + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$lang.'/js/jquery.ui.datepicker-language.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$lang.'/js/jquery.countdown.js'); + } else { + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/english/js/jquery.ui.datepicker-language.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/english/js/jquery.countdown.js'); + } + $xoTheme->addScript(XOOPS_URL . '/modules/smallworld/js/adminsmallworld.js'); + +xoops_cp_footer(); +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-14 09:32:46
|
Revision: 8719 http://xoops.svn.sourceforge.net/xoops/?rev=8719&view=rev Author: djculex Date: 2012-01-14 09:32:40 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Added Paths: ----------- XoopsModules/smallworld/trunk/admin/moduleinfo.php Added: XoopsModules/smallworld/trunk/admin/moduleinfo.php =================================================================== --- XoopsModules/smallworld/trunk/admin/moduleinfo.php (rev 0) +++ XoopsModules/smallworld/trunk/admin/moduleinfo.php 2012-01-14 09:32:40 UTC (rev 8719) @@ -0,0 +1,60 @@ +<?php +/** +* You may not change or alter any portion of this comment or credits +* of supporting developers from this source code or any supporting source code +* which is considered copyrighted (c) material of the original comment or credit authors. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/ +* @license: http://www.fsf.org/copyleft/gpl.html GNU public license +* @module: Smallworld +* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...> +* @copyright: 2011 Culex +* @Repository path: $HeadURL$ +* @Last committed: $Revision$ +* @Last changed by: $Author$ +* @Last changed date: $Date$ +* @ID: $Id$ +**/ + +require_once 'admin_header.php'; +require_once '../../../include/cp_header.php'; +include_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php"); +include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php"); + +require_once XOOPS_ROOT_PATH . '/class/template.php'; +if (!isset($xoopsTpl)) {$xoopsTpl = new XoopsTpl();} +$xoopsTpl->xoops_setCaching(0); + +xoops_cp_header(); + +$admin = new SmallworldAdmin(); +$tpl = new XoopsTpl(); + +// Smallworld version number +$installversion = $admin->ModuleInstallVersion (); +// Smallworld install date +$installdate = $admin->ModuleInstallDate (); + +//check current version of Smallworld, return desc,link,version if new available +$installCheck = $admin->doCheckUpdate (); + +// template assignments + $xoopsTpl->assign('lang_moduleinfo', _AM_SMALLWORLD_MODULEINFO); + $xoopsTpl->assign('lang_installversion', _AM_SMALLWORLD_MODULEINSTALL); + $xoopsTpl->assign('lang_installversion_status', _AM_SMALLWORLD_UPDATE_STATUS); + $xoopsTpl->assign('lang_installdate', _AM_SMALLWORLD_INSTALLDATE); + + $xoopsTpl->assign('installversion', $installversion); + $xoopsTpl->assign('installdate', $installdate); + $xoopsTpl->assign('installversion_status',$installCheck); + $xoopsTpl->display(XOOPS_ROOT_PATH .'/modules/smallworld/templates/admin_moduleinfo.html'); + + global $xoTheme; + $xoTheme->addStyleSheet('modules/smallworld/css/SmallworldAdmin.css'); + $xoTheme->addScript(XOOPS_URL . '/modules/smallworld/js/adminsmallworld.js'); + +xoops_cp_footer(); +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ren...@us...> - 2012-01-14 00:53:35
|
Revision: 8718 http://xoops.svn.sourceforge.net/xoops/?rev=8718&view=rev Author: renetjuh Date: 2012-01-14 00:53:29 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Modified Paths: -------------- XoopsLanguages/dutch/core/2.5.4/htdocs/modules/system/language/nederlands/images/Thumbs.db Modified: XoopsLanguages/dutch/core/2.5.4/htdocs/modules/system/language/nederlands/images/Thumbs.db =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ren...@us...> - 2012-01-14 00:35:39
|
Revision: 8717 http://xoops.svn.sourceforge.net/xoops/?rev=8717&view=rev Author: renetjuh Date: 2012-01-14 00:35:33 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Modified Paths: -------------- XoopsLanguages/dutch/core/2.5.4/htdocs/language/nederlands/global.php Modified: XoopsLanguages/dutch/core/2.5.4/htdocs/language/nederlands/global.php =================================================================== --- XoopsLanguages/dutch/core/2.5.4/htdocs/language/nederlands/global.php 2012-01-14 00:24:54 UTC (rev 8716) +++ XoopsLanguages/dutch/core/2.5.4/htdocs/language/nederlands/global.php 2012-01-14 00:35:33 UTC (rev 8717) @@ -106,6 +106,18 @@ /** * Image manager */ +define("_MD_ADDIMGCAT","Categorie toevoegen"); +define("_MD_IMGCATNAME","Categorienaam"); +define("_MD_IMGCATRGRP","Selecteer groepen welke afbeeldingenbeheer mogen gebruiken"); +define("_MD_IMGCATWGRP","Selecteer groepen die afbeeldingen mogen plaatsen"); +define("_MD_IMGCATWEIGHT","Display order in image manager"); +define("_MD_IMGCATDISPLAY","Weergeven"); +define("_MD_IMGCATSTRTYPE","Afbeeldingen zijn geplaatst in:"); +define("_MD_STRTYOPENG","Dit kan achteraf niet gewijzigd worden!"); +define("_MD_ASFILE","Opslaan als bestanden (in uploads map)"); +define("_MD_INDB","Opslaan in de database (als binair \"blob\" data)"); +define ("_MD_IMGMAIN","Categorie"); +define ("_MD_EDITIMGCAT", "Afbeeldingsinstellingen"); define('_IMGMANAGER', 'Beheer Afbeeldingen'); define('_NUMIMAGES', ' %s afbeeldingen'); define('_ADDIMAGE', 'Afbeelding toevoegen'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |