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-23 13:31:50
|
Revision: 8791 http://xoops.svn.sourceforge.net/xoops/?rev=8791&view=rev Author: djculex Date: 2012-01-23 13:31:43 +0000 (Mon, 23 Jan 2012) Log Message: ----------- Bugfix: return empty array for function mostactiveusers_allround istead of string Bugfix: removed redundant containers in function doCheckUpdate() Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/admin/index.php XoopsModules/smallworld/trunk/smallworld/class/adminclass.php Modified: XoopsModules/smallworld/trunk/smallworld/admin/index.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-23 13:15:30 UTC (rev 8790) +++ XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-23 13:31:43 UTC (rev 8791) @@ -59,8 +59,14 @@ $sumallusers = $admin->TotalUsers (); // Find list of most active users (total) $maAllround = $admin->mostactiveusers_allround(); -$ma_cnt = 0; - if (count($maAllround) != 0) { + $ma_cnt = 0; + if (!empty($maAllround)) { + $count = count($maAllround['cnt']); + } else { + $count=0; + } + $mat_cnt = 0; + if ($count != 0) { $ma_cnt = 1; $ma = "<table class='smallworldadmin'><tr>"; $ma .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>"; @@ -79,8 +85,13 @@ // Find list of most active users (24 hours) $maToday = $admin->mostactiveusers_today(); -$mat_cnt = 0; - if (count($maToday) != 0) { + if (!empty($maToday)) { + $count = count($maToday['cnt']); + } else { + $count=0; + } + $mat_cnt = 0; + if ($count != 0) { $mat_cnt = 1; $mat = "<table class='smallworldadmin'><tr>"; $mat .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>"; @@ -99,12 +110,12 @@ // FInd list of best rated users overall $topusers = $admin->topratedusers('up'); -if (!empty($topusers)){ -$count = count($topusers['cnt']); -} else { -$count = 0; -} -$top_cnt = 0; + if (!empty($topusers)){ + $count = count($topusers['cnt']); + } else { + $count = 0; + } + $top_cnt = 0; if ($count != 0) { $top_cnt = 1; $top = "<table class='smallworldadmin'><tr>"; @@ -124,12 +135,12 @@ // FInd list of worst rated users overall $lowusers = $admin->topratedusers('down'); -$low_cnt = 0; -if (!empty($lowusers)) { -$count = count($lowusers['cnt']); -} else { -$count=0; -} + $low_cnt = 0; + if (!empty($lowusers)) { + $count = count($lowusers['cnt']); + } else { + $count=0; + } if ($count != 0) { $low_cnt = 1; $low = "<table class='smallworldadmin'><tr>"; Modified: XoopsModules/smallworld/trunk/smallworld/class/adminclass.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-23 13:15:30 UTC (rev 8790) +++ XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-23 13:31:43 UTC (rev 8791) @@ -107,8 +107,7 @@ $counter = $xoopsDB->getRowsNum($result); if ($counter < 1) { - $msg['cnt'][1] = _AM_SMALLWORLD_THEREARE; - $msg['uid_fk'][1] = _AM_SMALLWORLD_NO; + $msg = array(); //$xoopsTpl->append('topuser', $msg); } else { $msg = array(); @@ -249,13 +248,13 @@ $upd_img = '../images/upd_normal.png'; } if ($critical) { - $rt = "<div class='smallworld_update'><img src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_CRITICAL_UPD."</div></p>"; + $rt = "<div class='smallworld_update'><img src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_CRITICAL_UPD."</div>"; $rt .="<textarea class='xim_update_changelog'>".$read[1]."</textarea><br /><br />"; - $rt .=_AM_SMALLWORLD_UPDATE_SERVER_FILE."<br /><a href='".$read[3]."'>".$read[3]."</a></div>"; + $rt .=_AM_SMALLWORLD_UPDATE_SERVER_FILE."<br /><a href='".$read[3]."'>".$read[3]."</a>"; } else if ($update) { - $rt = "<div class='smallworld_update'><img src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_NORMAL_UPD."</div></p>"; + $rt = "<div class='smallworld_update'><img src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_NORMAL_UPD."</div>"; $rt .= "<textarea class='smallworld_update_changelog'>".$read[1]."</textarea><br /><br />"; - $rt .="<p>". _AM_SMALLWORLD_UPDATE_SERVER_FILE."<br /><a href='".$read[3]."'>".$read[3]."</a>"; + $rt .= _AM_SMALLWORLD_UPDATE_SERVER_FILE."<br /><a href='".$read[3]."'>".$read[3]."</a>"; } else { $rt = "<div class='smallworld_update'><br/><img src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_YOUHAVENEWESTVERSION."</div>"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-23 13:15:40
|
Revision: 8790 http://xoops.svn.sourceforge.net/xoops/?rev=8790&view=rev Author: djculex Date: 2012-01-23 13:15:30 +0000 (Mon, 23 Jan 2012) Log Message: ----------- bugfix: check if array is empty before counting it (duh!) bugfix: Date of first message only set if any messages exists (double duh!) Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/admin/index.php XoopsModules/smallworld/trunk/smallworld/class/adminclass.php Modified: XoopsModules/smallworld/trunk/smallworld/admin/index.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-23 12:46:42 UTC (rev 8789) +++ XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-23 13:15:30 UTC (rev 8790) @@ -35,7 +35,13 @@ $admin = new SmallworldAdmin(); // Find oldest message and apply to template -$dateoffirstmessage = date(_SHORTDATESTRING, $admin->oldestMsg()); +$dfm = $admin->oldestMsg(); +if ($dfm==0) { + $dfm = _AM_SMALLWORLD_NONEYET; +} else { + $dfm = date(_SHORTDATESTRING, $admin->oldestMsg()); +} +$dateoffirstmessage = $dfm; // Get days number $totaldays = $admin->CountDays(); @@ -93,7 +99,11 @@ // FInd list of best rated users overall $topusers = $admin->topratedusers('up'); +if (!empty($topusers)){ $count = count($topusers['cnt']); +} else { +$count = 0; +} $top_cnt = 0; if ($count != 0) { $top_cnt = 1; @@ -115,7 +125,11 @@ // FInd list of worst rated users overall $lowusers = $admin->topratedusers('down'); $low_cnt = 0; +if (!empty($lowusers)) { $count = count($lowusers['cnt']); +} else { +$count=0; +} if ($count != 0) { $low_cnt = 1; $low = "<table class='smallworldadmin'><tr>"; Modified: XoopsModules/smallworld/trunk/smallworld/class/adminclass.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-23 12:46:42 UTC (rev 8789) +++ XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-23 13:15:30 UTC (rev 8790) @@ -24,12 +24,14 @@ // Get oldes message in Db function oldestMsg () { global $xoopsDB; + $date = 0; $sql = "SELECT * FROM ".$xoopsDB->prefix('smallworld_messages')." ORDER BY created limit 1"; $result = $xoopsDB->queryF($sql); $counter = $xoopsDB->getRowsNum($result); - if ($counter < 1) {$date = _AM_SMALLWORLD_NONEYET;} - while ($sqlfetch = $xoopsDB->fetchArray($result)) { - $date = $sqlfetch['created']; + if ($counter >= 1) { + while ($sqlfetch = $xoopsDB->fetchArray($result)) { + $date = $sqlfetch['created']; + } } return $date; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-23 12:46:51
|
Revision: 8789 http://xoops.svn.sourceforge.net/xoops/?rev=8789&view=rev Author: djculex Date: 2012-01-23 12:46:42 +0000 (Mon, 23 Jan 2012) Log Message: ----------- bugfix: moved incrementation in function Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php Modified: XoopsModules/smallworld/trunk/smallworld/class/adminclass.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-23 12:44:53 UTC (rev 8788) +++ XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-23 12:46:42 UTC (rev 8789) @@ -161,12 +161,13 @@ function topratedusers($direction) { global $xoopsUser, $xoopsDB,$xoopsTpl; $array = array(); - $i = 1; + if ($direction == 'up') { $sql = "SELECT owner, count(*) as cnt FROM ".$xoopsDB->prefix('smallworld_vote')." where up='1' GROUP by owner ORDER BY cnt DESC limit 20"; $result = $xoopsDB->queryF($sql); $count = $xoopsDB->getRowsNum($result); - if ($count != 0) { + $i = 1; + if ($count >= $i) { while ($row = $xoopsDB->fetchArray($result)) { $array['counter'][$i] = $i; $array['img'][$i] = "<img height='10px' width='10px' style='margin:0px 5px;' src = '../images/like.png'></img>"; @@ -182,6 +183,7 @@ $sql = "SELECT owner, count(*) as cnt FROM ".$xoopsDB->prefix('smallworld_vote')." where down='1' GROUP by owner ORDER BY cnt DESC limit 20"; $result = $xoopsDB->queryF($sql); $count = $xoopsDB->getRowsNum($result); + $i = 1; if ($count != 0) { while ($row = $xoopsDB->fetchArray($result)) { $array['counter'][$i] = $i; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-23 12:44:59
|
Revision: 8788 http://xoops.svn.sourceforge.net/xoops/?rev=8788&view=rev Author: djculex Date: 2012-01-23 12:44:53 +0000 (Mon, 23 Jan 2012) Log Message: ----------- bugfix: wrong count array Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/admin/index.php Modified: XoopsModules/smallworld/trunk/smallworld/admin/index.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-23 11:17:24 UTC (rev 8787) +++ XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-23 12:44:53 UTC (rev 8788) @@ -93,13 +93,14 @@ // FInd list of best rated users overall $topusers = $admin->topratedusers('up'); +$count = count($topusers['cnt']); $top_cnt = 0; - if (count($topusers) != 0) { + if ($count != 0) { $top_cnt = 1; $top = "<table class='smallworldadmin'><tr>"; $top .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>"; $i = 1; - while ($i < count($topusers)-1) { + while ($i <= $count) { $top .= vsprintf('<tr><td>%s</td>',array($topusers['counter'][$i])); $top .= vsprintf('<td>%s</td>',array($topusers['img'][$i])); $top .= vsprintf('<td>%s</td>',array($topusers['cnt'][$i])); @@ -114,12 +115,13 @@ // FInd list of worst rated users overall $lowusers = $admin->topratedusers('down'); $low_cnt = 0; - if (count($lowusers) != 0) { +$count = count($lowusers['cnt']); + if ($count != 0) { $low_cnt = 1; $low = "<table class='smallworldadmin'><tr>"; $low .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>"; $i = 1; - while ($i <= count(array($lowusers))) { + while ($i <= $count) { $low .= vsprintf('<tr><td>%s</td>',array($lowusers['counter'][$i])); $low .= vsprintf('<td>%s</td>',array($lowusers['img'][$i])); $low .= vsprintf('<td>%s</td>',array($lowusers['cnt'][$i])); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-23 11:17:35
|
Revision: 8787 http://xoops.svn.sourceforge.net/xoops/?rev=8787&view=rev Author: djculex Date: 2012-01-23 11:17:24 +0000 (Mon, 23 Jan 2012) Log Message: ----------- Bugfix: Friendinvite.php return array insted of string in following_or function Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/friendinvite.php Modified: XoopsModules/smallworld/trunk/smallworld/friendinvite.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/friendinvite.php 2012-01-23 08:57:10 UTC (rev 8786) +++ XoopsModules/smallworld/trunk/smallworld/friendinvite.php 2012-01-23 11:17:24 UTC (rev 8787) @@ -71,12 +71,12 @@ if ($following[0] == 0) { $resultMsgFollow = _SMALLWORLD_JSON_FOLLOWINGFRIEND.$friendName._SMALLWORLD_JSON_FOLLOWINGFRIEND_DESC; - $db->toogleFollow ($following, $myUid, $friend); + $db->toogleFollow ($following[0], $myUid, $friend); echo json_encode(array('error' => 'no', 'msg' => $resultMsgFollow, 'msgChange' => _SMALLWORLD_JSON_FLNO_TEXT)); } if ($following[0] > 0) { $resultMsgFollow = _SMALLWORLD_JSON_UNFOLLOWINGFRIEND.$friendName._SMALLWORLD_JSON_UNFOLLOWINGFRIEND_DESC; - $db->toogleFollow ($following, $myUid, $friend); + $db->toogleFollow ($following[0], $myUid, $friend); echo json_encode(array('error' => 'no', 'msg' => $resultMsgFollow, 'msgChange' => _SMALLWORLD_JSON_FLYES_TEXT)); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-01-23 08:57:21
|
Revision: 8786 http://xoops.svn.sourceforge.net/xoops/?rev=8786&view=rev Author: beckmi Date: 2012-01-23 08:57:10 +0000 (Mon, 23 Jan 2012) Log Message: ----------- Fixing submenu link (it pointed to the currently selected module) Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/menu.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/menu.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/menu.html 2012-01-23 07:34:31 UTC (rev 8785) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/menu.html 2012-01-23 08:57:10 UTC (rev 8786) @@ -11,7 +11,7 @@ <a href="<{$mod->getInfo(link_admin)}>" title="<{$mod->getVar(name)}>"><{$mod->getVar(name)}></a> <ul class="dropdown-menu"> <{foreach item=option from=$mod->getInfo(options)}> - <li><a href="<{$option.link}>"><{$option.title}></a></li> + <li><a href="<{xoAppUrl modules}><{$mod->getInfo(dirname)}>/<{$option.link}>"><{$option.title}></a></li> <{/foreach}> </ul> <{else}> @@ -31,7 +31,7 @@ <a href="<{$mod->getInfo(link_admin)}>" title="<{$mod->getInfo(name)}>"><{$mod->getInfo(name)}></a> <ul class="dropdown-menu"> <{foreach item=option from=$mod->getInfo(options)}> - <li><a href="<{$option.link}>"><{$option.title}></a></li> + <li><a href="<{xoAppUrl modules}><{$mod->getInfo(dirname)}>/<{$option.link}>"><{$option.title}></a></li> <{/foreach}> </ul> <{else}> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-01-23 07:34:37
|
Revision: 8785 http://xoops.svn.sourceforge.net/xoops/?rev=8785&view=rev Author: beckmi Date: 2012-01-23 07:34:31 +0000 (Mon, 23 Jan 2012) Log Message: ----------- Fixing E_STRICT: Declaration of XoopsPersistableObjectHandler::insert() should be compatible with XoopsObjectHandler Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/object.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/object.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/object.php 2012-01-23 06:09:15 UTC (rev 8784) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/object.php 2012-01-23 07:34:31 UTC (rev 8785) @@ -1027,7 +1027,7 @@ * @param bool $force flag to force the query execution despite security settings * @return mixed */ - public function insert(XoopsObject $object, $force = true) + public function insert($object, $force = true) { /* @var $handler XoopsModelWrite */ $handler = $this->loadHandler('write'); @@ -1041,7 +1041,7 @@ * @param bool $force * @return bool FALSE if failed. */ - public function delete(XoopsObject $object, $force = false) + public function delete($object, $force = false) { /* @var $handler XoopsModelWrite */ $handler = $this->loadHandler('write'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-01-23 06:09:22
|
Revision: 8784 http://xoops.svn.sourceforge.net/xoops/?rev=8784&view=rev Author: wishcraft Date: 2012-01-23 06:09:15 +0000 (Mon, 23 Jan 2012) Log Message: ----------- X-Forum 5.83 (XOOPS 2.5) - Admin Fixes [Multifielding] & Globalisation - Patched Bug Fixes Modified Paths: -------------- XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/class/forum.php XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/include/functions.php XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/include/search.inc.php XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/viewall.php Modified: XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/class/forum.php =================================================================== --- XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/class/forum.php 2012-01-23 04:04:49 UTC (rev 8783) +++ XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/class/forum.php 2012-01-23 06:09:15 UTC (rev 8784) @@ -684,18 +684,21 @@ static $_cachedPerms; include_once XOOPS_ROOT_PATH.'/modules/xforum/include/functions.php'; - + if($type == "all") return true; + if (forum_isAdministrator()) return true; + if (!is_object($xforum)) $xforum = $this->get($xforum); + if ($xforum->getVar('forum_type')) return false;// if forum inactive, all has no access except admin - + if(!empty($checkCategory)){ $category_handler = xoops_getmodulehandler('category', 'xforum'); $categoryPerm = $category_handler->getPermission($xforum->getVar('cat_id')); if (!$categoryPerm) return false; } - + $type = strtolower($type); if ("moderate" == $type) { $permission = (forum_isModerator($xforum))?1:0; @@ -704,11 +707,15 @@ $perm_type = 'forum'; $perm_item = (in_array($type, $perms))?'forum_' . $type:"forum_access"; if (!isset($_cachedPerms[$perm_type])) { + $getpermission = xoops_getmodulehandler('permission', 'xforum'); + $_cachedPerms[$perm_type] = $getpermission->getPermissions($perm_type); } + $permission = (isset($_cachedPerms[$perm_type][$xforum->getVar('forum_id')][$perm_item])) ? 1 : 0; } + return $permission; } Modified: XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/include/functions.php =================================================================== --- XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/include/functions.php 2012-01-23 04:04:49 UTC (rev 8783) +++ XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/include/functions.php 2012-01-23 06:09:15 UTC (rev 8784) @@ -277,11 +277,14 @@ if(!$mid){ if (!isset($forum_mid)) { if(is_object($GLOBALS['xforumModule'])&& 'xforum' == $GLOBALS['xforumModule']->dirname()){ + $forum_mid = $GLOBALS['xforumModule']->getVar('mid'); }else{ + $modhandler = xoops_gethandler('module'); + $GLOBALS['xforumModule'] = $modhandler->getByDirname('xforum'); - $forum_mid = $xforum->getVar('mid'); + $forum_mid = $GLOBALS['xforumModule']->getVar('mid'); unset($xforum); } } @@ -657,10 +660,10 @@ function chronolabs_inline($flash = false) { - $ret = '<div style="clear:both; height 10px;"> </div> + /*$ret = '<div style="clear:both; height 10px;"> </div> <div style="clear:both; height 10px;"><center><img src="http://www.chronolabs.org.au/images/banners/loader/supportimage.php?flash=false" /></center></div> <div style="clear:both;">Chronolabs offer limited free support should you want some development work done please contact us <a href="http://www.chronolabs.org.au/liaise/">on the question for a quote form.</a> We offer a wide range of XOOPS Professional Solution and have options for Basic SEO and marketing of your site as well as Search Engine Optimization for <a href="http://www.xoops.org/">XOOPS</a>. If you are looking for work done with this module/application or are looking for development on your site please contact us.</div>'; - return $ret; + return $ret;*/ } } //trabis Modified: XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/include/search.inc.php =================================================================== --- XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/include/search.inc.php 2012-01-23 04:04:49 UTC (rev 8783) +++ XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/include/search.inc.php 2012-01-23 06:09:15 UTC (rev 8784) @@ -14,31 +14,42 @@ $uid = (is_object($GLOBALS['xoopsUser'])&&$GLOBALS['xoopsUser']->isactive())?$GLOBALS['xoopsUser']->getVar('uid'):0; if(!isset($allowedForums[$uid])){ + $GLOBALS['forum_handler'] = xoops_getmodulehandler('forum', 'xforum'); if (is_array($xforums) && count($xforums) > 0) { $xforums = array_map('intval', $xforums); foreach($xforums as $xforumid){ + $_forum = $GLOBALS['forum_handler']->get($xforumid); - if($forum_handler->getPermission($_forum)) { + + if($GLOBALS['forum_handler']->getPermission($_forum)) { $allowedForums[$uid][$xforumid] = $_forum; } + unset($_forum); } } elseif (is_numeric($xforums) && $xforums > 0) { + $xforumid = $xforums; $_forum = $GLOBALS['forum_handler']->get($xforumid); - if($forum_handler->getPermission($_forum)) { + + if($GLOBALS['forum_handler']->getPermission($_forum)) { $allowedForums[$uid][$xforumid] = $_forum; } + unset($_forum); } else { + $xforums = $GLOBALS['forum_handler']->getForums(); + foreach($xforums as $xforumid => $_forum){ - if($forum_handler->getPermission($_forum)) { + + if($GLOBALS['forum_handler']->getPermission($_forum)) { $allowedForums[$uid][$xforumid] = $_forum; } + unset($_forum); } unset($xforums); Modified: XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/viewall.php =================================================================== --- XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/viewall.php 2012-01-23 04:04:49 UTC (rev 8783) +++ XoopsModules/xforum/releases/5.83/htdocs/modules/xforum/viewall.php 2012-01-23 06:09:15 UTC (rev 8784) @@ -37,10 +37,11 @@ $GLOBALS['xoopsOption']['template_main'] = 'xforum_viewall.html'; +include XOOPS_ROOT_PATH."/header.php"; + if(!empty($GLOBALS['xforumModuleConfig']['rss_enable'])){ $GLOBALS['xoTheme']->addLink('alternate', XOOPS_URL.'/modules/'.$GLOBALS['xforumModule']->getVar('dirname').'/rss.php', array('type'=>"application/rss+xml", 'title' => $GLOBALS['xforumModule']->getVar('name'))); } -include XOOPS_ROOT_PATH."/header.php"; $GLOBALS['forum_handler'] = xoops_getmodulehandler('forum', 'xforum'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-01-23 04:04:55
|
Revision: 8783 http://xoops.svn.sourceforge.net/xoops/?rev=8783&view=rev Author: wishcraft Date: 2012-01-23 04:04:49 +0000 (Mon, 23 Jan 2012) Log Message: ----------- Xortify 3.03 - for XOOPS 2.5 - WSOD Fix - Patched 3.03 -- see changelog.txt Modified Paths: -------------- XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/pre.loader.mainfile.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/providers.php Modified: XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/pre.loader.mainfile.php =================================================================== --- XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/pre.loader.mainfile.php 2012-01-22 20:14:47 UTC (rev 8782) +++ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/pre.loader.mainfile.php 2012-01-23 04:04:49 UTC (rev 8783) @@ -9,7 +9,7 @@ */ - //include_once (XOOPS_ROOT_PATH.'/modules/xortify/providers/providers.php'); - //$check = new Providers('precheck'); + include_once (XOOPS_ROOT_PATH.'/modules/xortify/providers/providers.php'); + $check = new Providers('precheck'); ?> \ No newline at end of file Modified: XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/providers.php =================================================================== --- XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/providers.php 2012-01-22 20:14:47 UTC (rev 8782) +++ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/providers/providers.php 2012-01-23 04:04:49 UTC (rev 8783) @@ -53,13 +53,14 @@ include_once $xoops->path('class/database/databasefactory.php'); $GLOBALS['xoopsDB'] =& XoopsDatabaseFactory::getDatabaseConnection(); - + $module_handler = xoops_gethandler('module'); $config_handler = xoops_gethandler('config'); - if (!isset($GLOBALS['xortifyModule'])) $GLOBALS['xortifyModule'] = $module_handler->getByDirname('xortify'); + $GLOBALS['xortifyModule'] = $module_handler->getByDirname('xortify'); if (is_object($GLOBALS['xortifyModule'])) { $GLOBALS['xortifyModuleConfig'] = $config_handler->getConfigList($GLOBALS['xortifyModule']->getVar('mid')); } + global $xoopsConfig; $xoopsConfig = $config_handler->getConfigsByCat(XOOPS_CONF); } @@ -70,7 +71,7 @@ return false; } - $this->init($check); + $this->init($check); $this->providers = $GLOBALS['xortifyModuleConfig']['xortify_providers']; $this->$check(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <for...@us...> - 2012-01-22 20:14:58
|
Revision: 8782 http://xoops.svn.sourceforge.net/xoops/?rev=8782&view=rev Author: forxoops Date: 2012-01-22 20:14:47 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Add bootstrap CSS framework Change default theme Change module admin parts Add plugin manager Add CSS sprites in media Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/formbutton.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php XoopsCore/branches/2.6.x/2.6.0/htdocs/include/cp_header.php XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/module.php XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/css/moduladmin.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/xoops.js XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/admin/user.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/images/logo.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/include/forms.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/categorylist.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/fieldlist.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/steplist.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/visibility.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/xoops_version.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/xoops_version.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/blocksadmin/main.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/mailusers/main.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/modulesadmin/main.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/blocks/system_blocks.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/menu.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/system.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/admin.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/help.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/menu.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/header.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/js/admin.js XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/js/module.js XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/modulesadmin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/modinfo.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_about.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_buttons.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_index.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_infobox.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_navigation.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_tips.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_blocks.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_header.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_modules.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/style.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/default.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/img/modules.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/language/english/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/theme.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/xoops_version.php Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/LICENSE XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/Makefile XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/README.md XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/bootstrap.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/bootstrap.min.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/bootstrap-alerts.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/bootstrap-buttons.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/bootstrap-dropdown.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/bootstrap-modal.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/bootstrap-popover.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/bootstrap-scrollspy.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/bootstrap-tabs.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/bootstrap-twipsy.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/index.html XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/unit/ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/unit/bootstrap-alerts.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/unit/bootstrap-buttons.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/unit/bootstrap-dropdown.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/unit/bootstrap-modal.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/unit/bootstrap-popover.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/unit/bootstrap-scrollspy.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/unit/bootstrap-tabs.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/unit/bootstrap-twipsy.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/vendor/ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/vendor/qunit.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/tests/vendor/qunit.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/lib/ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/lib/bootstrap.less XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/lib/forms.less XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/lib/mixins.less XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/lib/patterns.less XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/lib/reset.less XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/lib/scaffolding.less XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/lib/tables.less XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/lib/type.less XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/lib/variables.less XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/plugins/jquery.jeditable.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/css/icons.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/bgw.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/down.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/16/module-available.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/16/module.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/icons-disabled.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/icons.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/icons/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/icons/index.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/icons/logo_large.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/icons/logo_small.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/plugins/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/plugins/index.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/plugins/main.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/plugins/xoops_version.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/user.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/module.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/module.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/plugin.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/docs/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/docs/lang_diff.txt XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/images/edit_mini.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/images/logo.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/images/logo_large.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/images/logo_small.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/plugins.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_breadcrumb.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_tabs.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_modules_available.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_modules_card.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_modules_logger.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_modules_menu.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_modules_table.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_plugins.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/menu.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/icons/plugins.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/icons/plugins_small.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/img/down.gif XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/img/logo.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/img/right.gif XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/js/ddsmoothmenu.js XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/head.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/icons.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/menu.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/topbar.html Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/banners/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/modulesadmin/modulesadmin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/smilies/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/userrank/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/images/system_slogo.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/banners.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/smilies.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/userrank.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_modules_confirm.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/accordion.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/buttonbar.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/choosestyle.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/content.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/dark.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/dashboard.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/footer.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/forms.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/globalnav.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/icons.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/logger.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/orange.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/pagenav.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/reset.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/silver.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/tablesorter.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/tabs.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/css/toolbar.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/icons/banners.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/icons/banners_small.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/img/dark/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/img/orange/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/img/silver/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_accordion.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_footer.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_globalnav.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_head.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_icons.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_metas.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_modules.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_page.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_scripts.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_tabs.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_toolbar.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/xo_uptop.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/admin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/admin.php 2012-01-22 19:58:05 UTC (rev 8781) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/admin.php 2012-01-22 20:14:47 UTC (rev 8782) @@ -44,39 +44,35 @@ * Error warning messages */ if ($xoops->getConfig('admin_warnings_enable')) { + + $error_msg = array(); if (is_dir(XOOPS_ROOT_PATH . '/install/')) { - $xoops->error(sprintf(_AD_WARNINGINSTALL, XOOPS_ROOT_PATH . '/install/')); - echo '<br />'; + $error_msg[] = sprintf(_AD_WARNINGINSTALL, XOOPS_ROOT_PATH . '/install/'); } if (is_writable(XOOPS_ROOT_PATH . '/mainfile.php')) { - $xoops->error(sprintf(_AD_WARNINGWRITEABLE, XOOPS_ROOT_PATH . '/mainfile.php')); - echo '<br />'; + $error_msg[] = sprintf(_AD_WARNINGWRITEABLE, XOOPS_ROOT_PATH . '/mainfile.php'); } // ###### Output warn messages for correct functionality ###### if (!is_writable(XOOPS_CACHE_PATH)) { - $xoops->error(sprintf(_AD_WARNINGNOTWRITEABLE, XOOPS_CACHE_PATH)); - echo '<br />'; + $error_msg[] = sprintf(_AD_WARNINGNOTWRITEABLE, XOOPS_CACHE_PATH); } if (!is_writable(XOOPS_UPLOAD_PATH)) { - $xoops->error(sprintf(_AD_WARNINGNOTWRITEABLE, XOOPS_UPLOAD_PATH)); - echo '<br />'; + $error_msg[] = sprintf(_AD_WARNINGNOTWRITEABLE, XOOPS_UPLOAD_PATH); } if (!is_writable(XOOPS_COMPILE_PATH)) { - $xoops->error(sprintf(_AD_WARNINGNOTWRITEABLE, XOOPS_COMPILE_PATH)); - echo '<br />'; + $error_msg[] = sprintf(_AD_WARNINGNOTWRITEABLE, XOOPS_COMPILE_PATH); } //www fits inside www_private, lets add a trailing slash to make sure it doesn't if (strpos(XOOPS_PATH . '/', XOOPS_ROOT_PATH . '/') !== false || strpos(XOOPS_PATH . '/', $_SERVER['DOCUMENT_ROOT'] . '/') !== false) { - $xoops->error(sprintf(_AD_WARNINGXOOPSLIBINSIDE, XOOPS_PATH)); - echo '<br />'; + $error_msg[] = sprintf(_AD_WARNINGXOOPSLIBINSIDE, XOOPS_PATH); } if (strpos(XOOPS_VAR_PATH . '/', XOOPS_ROOT_PATH . '/') !== false || strpos(XOOPS_VAR_PATH . '/', $_SERVER['DOCUMENT_ROOT'] . '/') !== false) { - $xoops->error(sprintf(_AD_WARNINGXOOPSLIBINSIDE, XOOPS_VAR_PATH)); - echo '<br />'; + $error_msg[] = sprintf(_AD_WARNINGXOOPSLIBINSIDE, XOOPS_VAR_PATH); } + $xoops->tpl->assign('error_msg', $error_msg); } if (!empty($_GET['xoopsorgnews'])) { 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-22 19:58:05 UTC (rev 8781) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php 2012-01-22 20:14:47 UTC (rev 8782) @@ -32,7 +32,7 @@ * Template call for each render parts * @var array */ - public $_tplFile = array('index' => 'admin_index.html', 'about' => 'admin_about.html', 'infobox' => 'admin_infobox.html', 'button' => 'admin_buttons.html', 'tips' => 'admin_tips.html', 'nav' => 'admin_navigation.html'); + public $_tplFile = array('index' => 'admin_index.html', 'about' => 'admin_about.html', 'infobox' => 'admin_infobox.html', 'bread' => 'admin_breadcrumb.html', 'button' => 'admin_buttons.html', 'tips' => 'admin_tips.html', 'nav' => 'admin_navigation.html'); /** * Tips to display in admin page @@ -59,6 +59,12 @@ private $_itemConfigBoxLine = array(); /** + * Breadcrumb data + * @var array + */ + private $_bread = array(); + + /** * Current module object * @var #P#M#C\Xoops.getInstance.module|array|? */ @@ -75,6 +81,23 @@ } /** + * Add breadcrumb menu + * @param string $title + * @param string $link + * @param bool $home + */ + public function addBreadLink($title = '', $link = '', $home = false) + { + if ($title != '') { + $this->_bread[] = array( + 'link' => $link, + 'title' => $title, + 'home' => $home + ); + } + } + + /** * Add config line * @param string $value * @param string $type @@ -117,7 +140,7 @@ * @param string $extra * @return bool */ - public function addInfoBox($title, $type = 'default', $extra='') + public function addInfoBox($title, $type = 'default', $extra = '') { $ret['title'] = $title; $ret['type'] = $type; @@ -186,6 +209,17 @@ return 'admin:' . $this->_tplModule . '|' . $this->_tplFile[$type]; } + public function renderBreadcrumb() + { + $xoops = Xoops::getInstance(); + + $xoops->tpl->assign('xo_admin_breadcrumb', $this->_bread); + //$xoops->tpl->assign('xo_admin_help', $this->_help); + if ($xoops->tpl_name == '') { + $xoops->tpl->display($this->getTplPath('bread')); + } + } + /** * Render all items buttons * @param string $position Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php 2012-01-22 19:58:05 UTC (rev 8781) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php 2012-01-22 20:14:47 UTC (rev 8782) @@ -1098,7 +1098,7 @@ */ public function error($msg, $title = '') { - echo '<div class="errorMsg">'; + echo '<div class="errorMsg alert-message error">'; if ($title != '') { echo '<strong>' . $title . '</strong><br /><br />'; } Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/formbutton.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/formbutton.php 2012-01-22 19:58:05 UTC (rev 8781) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/formbutton.php 2012-01-22 20:14:47 UTC (rev 8782) @@ -26,6 +26,8 @@ class XoopsFormButton extends XoopsFormElement { + protected $_class; + /** * Type of the button. This could be either "button", "submit", or "reset" * @var string @@ -40,14 +42,20 @@ * @param string $value * @param string $type Type of the button. Potential values: "button", "submit", or "reset" */ - public function __construct($caption, $name, $value = "", $type = "button") + public function __construct($caption, $name, $value = "", $type = "button", $class="formButton") { $this->setCaption($caption); $this->setName($name); $this->_type = $type; $this->setValue($value); + $this->_class = $class; } + public function getClass() + { + return $this->_class; + } + /** * Get the type * @@ -65,6 +73,6 @@ */ public function render() { - return "<input type='" . $this->getType() . "' class='formButton' name='" . $this->getName() . "' id='" . $this->getName() . "' value='" . $this->getValue() . "' title='" . $this->getValue() . "'" . $this->getExtra() . " />"; + return "<input type='" . $this->getType() . "' class='" . $this->getClass() . "' name='" . $this->getName() . "' id='" . $this->getName() . "' value='" . $this->getValue() . "' title='" . $this->getValue() . "'" . $this->getExtra() . " />"; } } \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php 2012-01-22 19:58:05 UTC (rev 8781) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php 2012-01-22 20:14:47 UTC (rev 8782) @@ -60,7 +60,10 @@ $ele_name = $this->getName(); $ret = '<form name="' . $ele_name . '" id="' . $ele_name . '" action="' . $this->getAction() . '" method="' . $this->getMethod() . '" onsubmit="return xoopsFormValidate_' . $ele_name . '();"' . $this->getExtra() . '> <table width="100%" class="outer" cellspacing="1"> + <thead> <tr><th colspan="2">' . $this->getTitle() . '</th></tr> + </thead> + <tbody> '; $hidden = ''; $class = 'even'; @@ -86,7 +89,7 @@ $hidden .= $ele->render(); } } - $ret .= '</table>' . NWLINE . ' ' . $hidden . '</form>' . NWLINE; + $ret .= '</tbody></table>' . NWLINE . ' ' . $hidden . '</form>' . NWLINE; $ret .= $this->renderValidationJS(true); return $ret; } Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/include/cp_header.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/include/cp_header.php 2012-01-22 19:58:05 UTC (rev 8781) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/include/cp_header.php 2012-01-22 20:14:47 UTC (rev 8782) @@ -46,4 +46,5 @@ // include the default language file for the admin interface $xoops->loadLanguage('admin', $xoops->module->getVar('dirname')); +$xoops->moduleDirname = $xoops->module->getVar('dirname'); $xoops->isAdminSide = true; \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/module.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/module.php 2012-01-22 19:58:05 UTC (rev 8781) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/module.php 2012-01-22 20:14:47 UTC (rev 8782) @@ -40,7 +40,7 @@ * * @var array */ - private $_msg; + private $_msg = array(); /** * Constructor @@ -192,9 +192,9 @@ */ public function loadAdminMenu() { - if ($this->getInfo('adminmenu') && $this->getInfo('adminmenu') != '' && file_exists(XOOPS_ROOT_PATH . '/modules/' . $this->getVar('dirname') . '/' . $this->getInfo('adminmenu'))) { + if ($this->getInfo('adminmenu') && $this->getInfo('adminmenu') != '' && file_exists(XOOPS_ROOT_PATH . '/modules/' . $this->getInfo('dirname') . '/' . $this->getInfo('adminmenu'))) { $adminmenu = array(); - include XOOPS_ROOT_PATH . '/modules/' . $this->getVar('dirname') . '/' . $this->getInfo('adminmenu'); + include XOOPS_ROOT_PATH . '/modules/' . $this->getInfo('dirname') . '/' . $this->getInfo('adminmenu'); $this->adminmenu = $adminmenu; } } Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap ___________________________________________________________________ Added: tsvn:autoprops + *.php = svn:executable=*;svn:keywords=Author Date Id Rev URL; Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/LICENSE =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/LICENSE (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/LICENSE 2012-01-22 20:14:47 UTC (rev 8782) @@ -0,0 +1,176 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS \ No newline at end of file Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/Makefile =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/Makefile (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/Makefile 2012-01-22 20:14:47 UTC (rev 8782) @@ -0,0 +1,47 @@ +VERSION=1.4.0 +DATE=$(shell DATE) +BOOTSTRAP = ./bootstrap.css +BOOTSTRAP_MIN = ./bootstrap.min.css +BOOTSTRAP_LESS = ./lib/bootstrap.less +LESS_COMPRESSOR ?= `which lessc` +UGLIFY_JS ?= `which uglifyjs` +WATCHR ?= `which watchr` + +build: + @@if test ! -z ${LESS_COMPRESSOR}; then \ + sed -e 's/@VERSION/'"v${VERSION}"'/' -e 's/@DATE/'"${DATE}"'/' <${BOOTSTRAP_LESS} >${BOOTSTRAP_LESS}.tmp; \ + lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP}; \ + lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP_MIN} --compress; \ + rm -f ${BOOTSTRAP_LESS}.tmp; \ + echo "Bootstrap successfully built! - `date`"; \ + else \ + echo "You must have the LESS compiler installed in order to build Bootstrap."; \ + echo "You can install it by running: npm install less -g"; \ + fi + +js/min: + @@if test ! -z ${UGLIFY_JS}; then \ + mkdir -p js/min; \ + uglifyjs -o js/min/bootstrap-alerts.min.js js/bootstrap-alerts.js;\ + uglifyjs -o js/min/bootstrap-buttons.min.js js/bootstrap-buttons.js;\ + uglifyjs -o js/min/bootstrap-dropdown.min.js js/bootstrap-dropdown.js;\ + uglifyjs -o js/min/bootstrap-modal.min.js js/bootstrap-modal.js;\ + uglifyjs -o js/min/bootstrap-popover.min.js js/bootstrap-popover.js;\ + uglifyjs -o js/min/bootstrap-scrollspy.min.js js/bootstrap-scrollspy.js;\ + uglifyjs -o js/min/bootstrap-tabs.min.js js/bootstrap-tabs.js;\ + uglifyjs -o js/min/bootstrap-twipsy.min.js js/bootstrap-twipsy.js;\ + else \ + echo "You must have the UGLIFYJS minifier installed in order to minify Bootstrap's js."; \ + echo "You can install it by running: npm install uglify-js -g"; \ + fi + +watch: + @@if test ! -z ${WATCHR}; then \ + echo "Watching less files..."; \ + watchr -e "watch('lib/.*\.less') { system 'make' }"; \ + else \ + echo "You must have the watchr installed in order to watch Bootstrap less files."; \ + echo "You can install it by running: gem install watchr"; \ + fi + +.PHONY: build watch \ No newline at end of file Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/README.md =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/README.md (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/README.md 2012-01-22 20:14:47 UTC (rev 8782) @@ -0,0 +1,105 @@ +TWITTER BOOTSTRAP +================= + +Bootstrap is Twitter's toolkit for kickstarting CSS for websites, apps, and more. It includes base CSS styles for typography, forms, buttons, tables, grids, navigation, alerts, and more. + +To get started -- checkout http://twitter.github.com/bootstrap! + + +Usage +----- + +You can use Twitter Bootstrap in one of two ways: just drop the compiled CSS into any new project and start cranking, or run LESS on your site and compile on the fly like a boss. + +Here's what the LESS version looks like: + +``` html +<link rel="stylesheet/less" type="text/css" href="lib/bootstrap.less"> +<script src="less.js" type="text/javascript"></script> +``` + +Or if you prefer, the standard css way: + +``` html +<link rel="stylesheet" type="text/css" href="bootstrap.css"> +``` + +For more info, refer to the docs! + + +Versioning +---------- + +For transparency and insight into our release cycle, and for striving to maintain backwards compatibility, Bootstrap will be maintained under the Semantic Versioning guidelines as much as possible. + +Releases will be numbered with the follow format: + +`<major>.<minor>.<patch>` + +And constructed with the following guidelines: + +* Breaking backwards compatibility bumps the major +* New additions without breaking backwards compatibility bumps the minor +* Bug fixes and misc changes bump the patch + +For more information on SemVer, please visit http://semver.org/. + + +Bug tracker +----------- + +Have a bug? Please create an issue here on GitHub! + +https://github.com/twitter/bootstrap/issues + + +Twitter account +--------------- + +Keep up to date on announcements and more by following Bootstrap on Twitter, <a href="http://twitter.com/TwBootstrap">@TwBootstrap</a>. + + +Mailing list +------------ + +Have a question? Ask on our mailing list! + +tw...@go... + +http://groups.google.com/group/twitter-bootstrap + + +Developers +---------- + +We have included a makefile with convenience methods for working with the bootstrap library. + ++ **build** - `make build` +This will run the less compiler on the bootstrap lib and generate a bootstrap.css and bootstrap.min.css file. +The lessc compiler is required for this command to run. + ++ **watch** - `make watch` +This is a convenience method for watching your less files and automatically building them whenever you save. +Watchr is required for this command to run. + + +Authors +------- + +**Mark Otto** + ++ http://twitter.com/mdo ++ http://github.com/markdotto + +**Jacob Thornton** + ++ http://twitter.com/fat ++ http://github.com/fat + + +License +--------------------- + +Copyright 2011 Twitter, Inc. + +Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 \ No newline at end of file Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/bootstrap.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/bootstrap.css (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/bootstrap.css 2012-01-22 20:14:47 UTC (rev 8782) @@ -0,0 +1,2470 @@ +/*! + * Bootstrap v1.4.0 + * + * Copyright 2011 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + * Date: Sun Dec 25 20:18:31 PST 2011 + */ +/* Reset.less + * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). + * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */ +html, body { + margin: 0; + padding: 0; +} +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +cite, +code, +del, +dfn, +em, +img, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +dd, +dl, +dt, +li, +ol, +ul, +fieldset, +form, +label, +legend, +button, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td { + margin: 0; + padding: 0; + border: 0; + font-weight: normal; + font-style: normal; + font-size: 100%; + line-height: 1; + font-family: inherit; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +ol, ul { + list-style: none; +} +q:before, +q:after, +blockquote:before, +blockquote:after { + content: ""; +} +html { + overflow-y: scroll; + font-size: 100%; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} +a:focus { + outline: none; +} +a:hover, a:active { + outline: none; +} +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +nav, +section { + display: block; +} +audio, canvas, video { + display: inline-block; + *display: inline; + *zoom: 1; +} +audio:not([controls]) { + display: none; +} +sub, sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} +sup { + top: -0.5em; +} +sub { + bottom: -0.25em; +} +img { + border: 0; + -ms-interpolation-mode: bicubic; +} +button, +input, +select, +textarea { + font-size: 100%; + margin: 0; + vertical-align: baseline; + *vertical-align: middle; +} +button, input { + line-height: normal; + *overflow: visible; +} +button::-moz-focus-inner, input::-moz-focus-inner { + border: 0; + padding: 0; +} +button, +input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} +input[type="search"] { + -webkit-appearance: textfield; + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; +} +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +textarea { + overflow: auto; + vertical-align: top; +} +/* Variables.less + * Variables to customize the look and feel of Bootstrap + * ----------------------------------------------------- */ +/* Mixins.less + * Snippets of reusable CSS to develop faster and keep code readable + * ----------------------------------------------------------------- */ +/* + * Scaffolding + * Basic and global styles for generating a grid system, structural layout, and page templates + * ------------------------------------------------------------------------------------------- */ +body { + background-color: #ffffff; + margin: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 13px; + font-weight: normal; + line-height: 18px; + color: #404040; +} +.container { + width: 940px; + margin-left: auto; + margin-right: auto; + zoom: 1; +} +.container:before, .container:after { + display: table; + content: ""; + zoom: 1; +} +.container:after { + clear: both; +} +.container-fluid { + position: relative; + min-width: 940px; + padding-left: 20px; + padding-right: 20px; + zoom: 1; +} +.container-fluid:before, .container-fluid:after { + display: table; + content: ""; + zoom: 1; +} +.container-fluid:after { + clear: both; +} +.container-fluid > .sidebar { + position: absolute; + top: 0; + left: 20px; + width: 220px; +} +.container-fluid > .content { + margin-left: 240px; +} +a { + color: #0069d6; + text-decoration: none; + line-height: inherit; + font-weight: inherit; +} +a:hover { + color: #00438a; + text-decoration: underline; +} +.pull-right { + float: right; +} +.pull-left { + float: left; +} +.hide { + display: none; +} +.show { + display: block; +} +.row { + zoom: 1; + margin-left: -20px; +} +.row:before, .row:after { + display: table; + content: ""; + zoom: 1; +} +.row:after { + clear: both; +} +.row > [class*="span"] { + display: inline; + float: left; + margin-left: 20px; +} +.span1 { + width: 40px; +} +.span2 { + width: 100px; +} +.span3 { + width: 160px; +} +.span4 { + width: 220px; +} +.span5 { + width: 280px; +} +.span6 { + width: 340px; +} +.span7 { + width: 400px; +} +.span8 { + width: 460px; +} +.span9 { + width: 520px; +} +.span10 { + width: 580px; +} +.span11 { + width: 640px; +} +.span12 { + width: 700px; +} +.span13 { + width: 760px; +} +.span14 { + width: 820px; +} +.span15 { + width: 880px; +} +.span16 { + width: 940px; +} +.span17 { + width: 1000px; +} +.span18 { + width: 1060px; +} +.span19 { + width: 1120px; +} +.span20 { + width: 1180px; +} +.span21 { + width: 1240px; +} +.span22 { + width: 1300px; +} +.span23 { + width: 1360px; +} +.span24 { + width: 1420px; +} +.row > .offset1 { + margin-left: 80px; +} +.row > .offset2 { + margin-left: 140px; +} +.row > .offset3 { + margin-left: 200px; +} +.row > .offset4 { + margin-left: 260px; +} +.row > .offset5 { + margin-left: 320px; +} +.row > .offset6 { + margin-left: 380px; +} +.row > .offset7 { + margin-left: 440px; +} +.row > .offset8 { + margin-left: 500px; +} +.row > .offset9 { + margin-left: 560px; +} +.row > .offset10 { + margin-left: 620px; +} +.row > .offset11 { + margin-left: 680px; +} +.row > .offset12 { + margin-left: 740px; +} +.span-one-third { + width: 300px; +} +.span-two-thirds { + width: 620px; +} +.row > .offset-one-third { + margin-left: 340px; +} +.row > .offset-two-thirds { + margin-left: 660px; +} +/* Typography.less + * Headings, body text, lists, code, and more for a versatile and durable typography system + * ---------------------------------------------------------------------------------------- */ +p { + font-size: 13px; + font-weight: normal; + line-height: 18px; + margin-bottom: 9px; +} +p small { + font-size: 11px; + color: #bfbfbf; +} +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: bold; + color: #404040; +} +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small { + color: #bfbfbf; +} +h1 { + margin-bottom: 18px; + font-size: 30px; + line-height: 36px; +} +h1 small { + font-size: 18px; +} +h2 { + font-size: 24px; + line-height: 36px; +} +h2 small { + font-size: 14px; +} +h3, +h4, +h5, +h6 { + line-height: 36px; +} +h3 { + font-size: 18px; +} +h3 small { + font-size: 14px; +} +h4 { + font-size: 16px; +} +h4 small { + font-size: 12px; +} +h5 { + font-size: 14px; +} +h6 { + font-size: 13px; + color: #bfbfbf; + text-transform: uppercase; +} +ul, ol { + margin: 0 0 18px 25px; +} +ul ul, +ul ol, +ol ol, +ol ul { + margin-bottom: 0; +} +ul { + list-style: disc; +} +ol { + list-style: decimal; +} +li { + line-height: 18px; + color: #808080; +} +ul.unstyled { + list-style: none; + margin-left: 0; +} +dl { + margin-bottom: 18px; +} +dl dt, dl dd { + line-height: 18px; +} +dl dt { + font-weight: bold; +} +dl dd { + margin-left: 9px; +} +hr { + margin: 20px 0 19px; + border: 0; + border-bottom: 1px solid #eee; +} +strong { + font-style: inherit; + font-weight: bold; +} +em { + font-style: italic; + font-weight: inherit; + line-height: inherit; +} +.muted { + color: #bfbfbf; +} +blockquote { + margin-bottom: 18px; + border-left: 5px solid #eee; + padding-left: 15px; +} +blockquote p { + font-size: 14px; + font-weight: 300; + line-height: 18px; + margin-bottom: 0; +} +blockquote small { + display: block; + font-size: 12px; + font-weight: 300; + line-height: 18px; + color: #bfbfbf; +} +blockquote small:before { + content: '\2014 \00A0'; +} +address { + display: block; + line-height: 18px; + margin-bottom: 18px; +} +code, pre { + padding: 0 3px 2px; + font-family: Monaco, Andale Mono, Courier New, monospace; + font-size: 12px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +code { + background-color: #fee9cc; + color: rgba(0, 0, 0, 0.75); + padding: 1px 3px; +} +pre { + background-color: #f5f5f5; + display: block; + padding: 8.5px; + margin: 0 0 18px; + line-height: 18px; + font-size: 12px; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.15); + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} +/* Forms.less + * Base styles for various input types, form layouts, and states + * ------------------------------------------------------------- */ +form { + margin-bottom: 18px; +} +fieldset { + margin-bottom: 18px; + padding-top: 18px; +} +fieldset legend { + display: block; + padding-left: 150px; + font-size: 19.5px; + line-height: 1; + color: #404040; + *padding: 0 0 5px 145px; + /* IE6-7 */ + + *line-height: 1.5; + /* IE6-7 */ + +} +form .clearfix { + margin-bottom: 18px; + zoom: 1; +} +form .clearfix:before, form .clearfix:after { + display: table; + content: ""; + zoom: 1; +} +form .clearfix:after { + clear: both; +} +label, +input, +select, +textarea { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 13px; + font-weight: normal; + line-height: normal; +} +label { + padding-top: 6px; + font-size: 13px; + line-height: 18px; + float: left; + width: 130px; + text-align: right; + color: #404040; +} +form .input { + margin-left: 150px; +} +input[type=checkbox], input[type=radio] { + cursor: pointer; +} +input, +textarea, +select, +.uneditable-input { + display: inline-block; + width: 210px; + height: 18px; + padding: 4px; + font-size: 13px; + line-height: 18px; + color: #808080; + border: 1px solid #ccc; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +select { + padding: initial; +} +input[type=checkbox], input[type=radio] { + width: auto; + height: auto; + padding: 0; + margin: 3px 0; + *margin-top: 0; + /* IE6-7 */ + + line-height: normal; + border: none; +} +input[type=file] { + background-color: #ffffff; + padding: initial; + border: initial; + line-height: initial; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +input[type=button], input[type=reset], input[type=submit] { + width: auto; + height: auto; +} +select, input[type=file] { + height: 27px; + *height: auto; + line-height: 27px; + *margin-top: 4px; + /* For IE7, add top margin to align select with labels */ + +} +select[multiple] { + height: inherit; + background-color: #ffffff; +} +textarea { + height: auto; +} +.uneditable-input { + background-color: #ffffff; + display: block; + border-color: #eee; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + cursor: not-allowed; +} +:-moz-placeholder { + color: #bfbfbf; +} +::-webkit-input-placeholder { + color: #bfbfbf; +} +input, textarea { + -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; + -moz-transition: border linear 0.2s, box-shadow linear 0.2s; + -ms-transition: border linear 0.2s, box-shadow linear 0.2s; + -o-transition: border linear 0.2s, box-shadow linear 0.2s; + transition: border linear 0.2s, box-shadow linear 0.2s; + -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); +} +input:focus, textarea:focus { + outline: 0; + border-color: rgba(82, 168, 236, 0.8); + -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6); + -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6); + box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6); +} +input[type=file]:focus, input[type=checkbox]:focus, select:focus { + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + outline: 1px dotted #666; +} +form .clearfix.error > label, form .clearfix.error .help-block, form .clearfix.error .help-inline { + color: #b94a48; +} +form .clearfix.error input, form .clearfix.error textarea { + color: #b94a48; + border-color: #ee5f5b; +} +form .clearfix.error input:focus, form .clearfix.error textarea:focus { + border-color: #e9322d; + -webkit-box-shadow: 0 0 6px #f8b9b7; + -moz-box-shadow: 0 0 6px #f8b9b7; + box-shadow: 0 0 6px #f8b9b7; +} +form .clearfix.error .input-prepend .add-on, form .clearfix.error .input-append .add-on { + color: #b94a48; + background-color: #fce6e6; + border-color: #b94a48; +} +form .clearfix.warning > label, form .clearfix.warning .help-block, form .clearfix.warning .help-inline { + color: #c09853; +} +form .clearfix.warning input, form .clearfix.warning textarea { + color: #c09853; + border-color: #ccae64; +} +form .clearfix.warning input:focus, form .clearfix.warning textarea:focus { + border-color: #be9a3f; + -webkit-box-shadow: 0 0 6px #e5d6b1; + -moz-box-shadow: 0 0 6px #e5d6b1; + box-shadow: 0 0 6px #e5d6b1; +} +form .clearfix.warning .input-prepend .add-on, form .clearfix.warning .input-append .add-on { + color: #c09853; + background-color: #d2b877; + border-color: #c09853; +} +form .clearfix.success > label, form .clearfix.success .help-block, form .clearfix.success .help-inline { + color: #468847; +} +form .clearfix.success input, form .clearfix.success textarea { + color: #468847; + border-color: #57a957; +} +form .clearfix.success input:focus, form .clearfix.success textarea:focus { + border-color: #458845; + -webkit-box-shadow: 0 0 6px #9acc9a; + -moz-box-shadow: 0 0 6px #9acc9a; + box-shadow: 0 0 6px #9acc9a; +} +form .clearfix.success .input-prepend .add-on, form .clearfix.success .input-append .add-on { + color: #468847; + background-color: #bcddbc; + border-color: #468847; +} +.input-mini, +input.mini, +textarea.mini, +select.mini { + width: 60px; +} +.input-small, +input.small, +textarea.small, +select.small { + width: 90px; +} +.input-medium, +input.medium, +textarea.medium, +select.medium { + width: 150px; +} +.input-large, +input.large, +textarea.large, +select.large { + width: 210px; +} +.input-xlarge, +input.xlarge, +textarea.xlarge, +select.xlarge { + width: 270px; +} +.input-xxlarge, +input.xxlarge, +textarea.xxlarge, +select.xxlarge { + width: 530px; +} +textarea.xxlarge { + overflow-y: auto; +} +input.span1, textarea.span1 { + display: inline-block; + float: none; + width: 30px; + margin-left: 0; +} +input.span2, textarea.span2 { + display: inline-block; + float: none; + width: 90px; + margin-left: 0; +} +input.span3, textarea.span3 { + display: inline-block; + float: none; + width: 150px; + margin-left: 0; +} +input.span4, textarea.span4 { + display: inline-block; + float: none; + width: 210px; + margin-left: 0; +} +input.span5, textarea.span5 { + display: inline-block; + float: none; + width: 270px; + margin-left: 0; +} +input.span6, textarea.span6 { + display: inline-block; + float: none; + width: 330px; + margin-left: 0; +} +input.span7, textarea.span7 { + display: inline-block; + float: none; + width: 390px; + margin-left: 0; +} +input.span8, textarea.span8 { + display: inline-block; + float: none; + width: 450px; + margin-left: 0; +} +input.span9, textarea.span9 { + display: inline-block; + float: none; + width: 510px; + margin-left: 0; +} +input.span10, textarea.span10 { + display: inline-block; + float: none; + width: 570px; + margin-left: 0; +} +input.span11, textarea.span11 { + display: inline-block; + float: none; + width: 630px; + margin-left: 0; +} +input.span12, textarea.span12 { + display: inline-block; + float: none; + width: 690px; + margin-left: 0; +} +input.span13, textarea.span13 { + display: inline-block; + float: none; + width: 750px; + margin-left: 0; +} +input.span14, textarea.span14 { + display: inline-block; + float: none; + width: 810px; + margin-left: 0; +} +input.span15, textarea.span15 { + display: inline-block; + float: none; + width: 870px; + margin-left: 0; +} +input.span16, textarea.span16 { + display: inline-block; + float: none; + width: 930px; + margin-left: 0; +} +input[disabled], +select[disabled], +textarea[disabled], +input[readonly], +select[readonly], +textarea[readonly] { + background-color: #f5f5f5; + border-color: #ddd; + cursor: not-allowed; +} +.actions { + background: #f5f5f5; + margin-top: 18px; + margin-bottom: 18px; + padding: 17px 20px 18px 150px; + border-top: 1px solid #ddd; + -webkit-border-radius: 0 0 3px 3px; + -moz-border-radius: 0 0 3px 3px; + border-radius: 0 0 3px 3px; +} +.actions .secondary-action { + float: right; +} +.actions .secondary-action a { + line-height: 30px; +} +.actions .secondary-action a:hover { + text-decoration: underline; +} +.help-inline, .help-block { + font-size: 13px; + line-height: 18px; + color: #bfbfbf; +} +.help-inline { + padding-left: 5px; + *position: relative; + /* IE6-7 */ + + *top: -5px; + /* IE6-7 */ + +} +.help-block { + display: block; + max-width: 600px; +} +.inline-inputs { + color: #808080; +} +.inline-inputs span { + padding: 0 2px 0 1px; +} +.input-prepend input, .input-append input { + -webkit-border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; +} +.input-prepend .add-on, .input-append .add-on { + position: relative; + background: #f5f5f5; + border: 1px solid #ccc; + z-index: 2; + float: left; + display: block; + width: auto; + min-width: 16px; + height: 18px; + padding: 4px 4px 4px 5px; + margin-right: -1px; + font-weight: normal; + line-height: 18px; + color: #bfbfbf; + text-align: center; + text-shadow: 0 1px 0 #ffffff; + -webkit-border-radius: 3px ... [truncated message content] |
From: <for...@us...> - 2012-01-22 19:58:11
|
Revision: 8781 http://xoops.svn.sourceforge.net/xoops/?rev=8781&view=rev Author: forxoops Date: 2012-01-22 19:58:05 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Change module as plugin and add default icons Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/admin/userrank.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/xoops_version.php Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/index.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/logo.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/logo_small.png Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/images/logo.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/images/logo_small.png Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/admin/userrank.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/admin/userrank.php 2012-01-22 19:54:46 UTC (rev 8780) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/admin/userrank.php 2012-01-22 19:58:05 UTC (rev 8781) @@ -53,7 +53,7 @@ $xoops->theme->addScript('media/xoops/xoops.js'); $admin_page->addTips(_AM_USERRANK_TIPS); - $admin_page->addItemButton(_AM_USERRANK_ADD, './userrank.php?op=userrank_new', 'add'); + $admin_page->addItemButton(_AM_USERRANK_ADD, './userrank.php?op=userrank_new', 'icon-add'); $admin_page->renderTips(); $admin_page->renderButton(); Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons ___________________________________________________________________ Added: tsvn:autoprops + *.php = svn:executable=*;svn:keywords=Author Date Id Rev URL; Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/index.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/index.html (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/index.html 2012-01-22 19:58:05 UTC (rev 8781) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/logo.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/logo.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/logo_small.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/logo_small.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/images/logo.png =================================================================== (Binary files differ) Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/images/logo_small.png =================================================================== (Binary files differ) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/xoops_version.php 2012-01-22 19:54:46 UTC (rev 8780) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/xoops_version.php 2012-01-22 19:58:05 UTC (rev 8781) @@ -20,11 +20,14 @@ * @version $Id$ */ +/* + General settings + */ $modversion['name'] = _MI_USERRANK_NAME; $modversion['description'] = _MI_USERRANK_DESC; $modversion['version'] = 0.1; -$modversion['author'] = 'Cointin Maxime'; -$modversion['nickname'] = 'Kraven30'; +$modversion['author'] = 'Cointin Maxime,Andricq Nicolas'; +$modversion['nickname'] = 'Kraven30,MusS'; $modversion['credits'] = 'The XOOPS Project'; $modversion['license'] = 'GNU GPL 2.0'; $modversion['license_url'] = 'www.gnu.org/licenses/gpl-2.0.html/'; @@ -32,8 +35,9 @@ $modversion['help'] = 'page=userrank'; $modversion['image'] = 'images/logo.png'; $modversion['dirname'] = 'userrank'; + /* - Settings for about page + Settings for configs */ $modversion['release_date'] = '2011/12/20'; $modversion['module_website_url'] = 'http://www.xoops.org/'; @@ -43,32 +47,44 @@ $modversion['min_xoops'] = '2.6.0'; $modversion['min_db'] = array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); -// Admin menu -// Set to 1 if you want to display menu generated by system module +/* + Admin menu + Set to 1 if you want to display menu generated by system module +*/ $modversion['system_menu'] = 1; -$modversion['type'] = 1; +/* + Manage plugin + */ +$modversion['plugin'] = 1; +$modversion['plugin_module'][] = 'system'; -// Admin things +/* + Admin things +*/ $modversion['hasAdmin'] = 1; $modversion['adminindex'] = "admin/index.php"; $modversion['adminmenu'] = "admin/menu.php"; /* JQuery - Setting for load jquery library + Setting for load jquery library and library */ $modversion['jquery'] = 1; +$modversion['jquery_plugin'][] = 'jquery.ui.js'; -// Admin Templates +/* + Admin Templates +*/ $modversion['templates'][] = array('file' => 'userrank.html', 'description' => '', 'type' => 'admin'); -// Preferences +/* + Preferences +*/ $i = 0; $modversion['config'][$i]['name'] = 'userrank_pager'; $modversion['config'][$i]['title'] = '_MI_USERRANK_PREFERENCE_PAGER'; $modversion['config'][$i]['description'] = ''; $modversion['config'][$i]['formtype'] = 'textbox'; $modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = 20; -$i++; \ No newline at end of file +$modversion['config'][$i]['default'] = 20; \ 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: <for...@us...> - 2012-01-22 19:54:53
|
Revision: 8780 http://xoops.svn.sourceforge.net/xoops/?rev=8780&view=rev Author: forxoops Date: 2012-01-22 19:54:46 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Change module as plugin and add default icons Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/xoops_version.php Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons/index.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons/logo_large.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons/logo_small.png Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/images/logo_small.png Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons ___________________________________________________________________ Added: tsvn:autoprops + *.php = svn:executable=*;svn:keywords=Author Date Id Rev URL; Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons/index.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons/index.html (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons/index.html 2012-01-22 19:54:46 UTC (rev 8780) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons/logo_large.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons/logo_large.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons/logo_small.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/icons/logo_small.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/images/logo_small.png =================================================================== (Binary files differ) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/xoops_version.php 2012-01-22 17:02:30 UTC (rev 8779) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/xoops_version.php 2012-01-22 19:54:46 UTC (rev 8780) @@ -19,6 +19,10 @@ * @author Mage Grégory (AKA Mage) * @version $Id$ */ + +/* + General settings + */ $modversion = array(); $modversion['name'] = _MI_SMILIES_NAME; $modversion['description'] = _MI_SMILIES_DESC; @@ -32,7 +36,10 @@ $modversion['help'] = 'page=help'; $modversion['image'] = 'images/logo.png'; $modversion['dirname'] = 'smilies'; -//about + +/* + Settings for configs +*/ $modversion['release_date'] = '2011/12/20'; $modversion['module_website_url'] = 'http://www.xoops.org/'; $modversion['module_website_name'] = 'XOOPS'; @@ -41,22 +48,39 @@ $modversion['min_xoops'] = '2.6.0'; $modversion['min_db'] = array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); -// Admin menu -// Set to 1 if you want to display menu generated by system module +/* + Admin menu + Set to 1 if you want to display menu generated by system module +*/ $modversion['system_menu'] = 1; -// Admin things +/* + Manage plugin + */ +$modversion['plugin'] = 1; +$modversion['plugin_module'][] = 'system'; + +/* + Admin things +*/ $modversion['hasAdmin'] = 1; $modversion['adminindex'] = 'admin/index.php'; $modversion['adminmenu'] = 'admin/menu.php'; -// Admin Templates +/* + JQuery + Setting for load jquery library and library +*/ +$modversion['jquery'] = 1; + +/* + Admin Templates +*/ $modversion['templates'][] = array( 'file' => 'smilies_smilies.html', 'description' => '', 'type' => 'admin' ); -// JQuery -$modversion['jquery'] = 1; - -// Preferences +/* + Preferences +*/ $i = 0; $modversion['config'][$i]['name'] = 'smilies_pager'; $modversion['config'][$i]['title'] = '_MI_SMILIES_PREFERENCE_PAGER'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-22 17:02:37
|
Revision: 8779 http://xoops.svn.sourceforge.net/xoops/?rev=8779&view=rev Author: djculex Date: 2012-01-22 17:02:30 +0000 (Sun, 22 Jan 2012) Log Message: ----------- adjusted width of st_text in css Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/css/smallworld.css Modified: XoopsModules/smallworld/trunk/smallworld/css/smallworld.css =================================================================== --- XoopsModules/smallworld/trunk/smallworld/css/smallworld.css 2012-01-22 16:53:49 UTC (rev 8778) +++ XoopsModules/smallworld/trunk/smallworld/css/smallworld.css 2012-01-22 17:02:30 UTC (rev 8779) @@ -739,7 +739,7 @@ padding:5px; display:block; font-size:11px; - width:80%; + width:75%; } .smallworld_sttext b{ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-22 16:53:56
|
Revision: 8778 http://xoops.svn.sourceforge.net/xoops/?rev=8778&view=rev Author: djculex Date: 2012-01-22 16:53:49 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Changes average message per day to calculate from date of last update to date of first message Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php Modified: XoopsModules/smallworld/trunk/smallworld/class/adminclass.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-22 16:17:48 UTC (rev 8777) +++ XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-22 16:53:49 UTC (rev 8778) @@ -83,9 +83,10 @@ // Count total days represented in db function CountDays () { global $xoopsDB,$xoopsModule; - $date = $xoopsModule->getVar('last_update'); + //$date = $xoopsModule->getVar('last_update'); + $date = $this->oldestMsg(); $now = time(); - $diff = ($now - $date) / (60); + $diff = ($now - $date) / (60*60*24); return $diff; } // find user with most posted messages This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-22 16:17:54
|
Revision: 8777 http://xoops.svn.sourceforge.net/xoops/?rev=8777&view=rev Author: djculex Date: 2012-01-22 16:17:48 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Mis count array in admin/index.php Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/admin/index.php Modified: XoopsModules/smallworld/trunk/smallworld/admin/index.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-22 16:14:22 UTC (rev 8776) +++ XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-22 16:17:48 UTC (rev 8777) @@ -74,7 +74,7 @@ // Find list of most active users (24 hours) $maToday = $admin->mostactiveusers_today(); $mat_cnt = 0; - if (count(array($maToday)) > 0) { + if (count($maToday) != 0) { $mat_cnt = 1; $mat = "<table class='smallworldadmin'><tr>"; $mat .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-01-22 16:14:28
|
Revision: 8776 http://xoops.svn.sourceforge.net/xoops/?rev=8776&view=rev Author: djculex Date: 2012-01-22 16:14:22 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Found a nice function to retrieve remote content will attempt to use the fopen method first, then curl, then socket Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php Modified: XoopsModules/smallworld/trunk/smallworld/class/adminclass.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-22 15:11:08 UTC (rev 8775) +++ XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-22 16:14:22 UTC (rev 8776) @@ -230,7 +230,7 @@ $rt = ''; $url = "http://www.culex.dk/updates/smallworld_version.csv"; - $fileC = file_get_contents($url); + $fileC = $this->fetchURL($url,array('fopen', 'curl', 'socket')); $read = explode(";", $fileC); $upd_img = $pathIcon16.'/on.png'; @@ -257,6 +257,86 @@ return $rt; } + // Fetch content of comma separated text file + // will attempt to use the fopen method first, then curl, then socket + // If fail all; return nothing + // On succes; Return string + function fetchURL($url, $methods = array('fopen', 'curl', 'socket')) { + /** + * December 21st 2010, Mathew Tinsley (ti...@ti...) + * http://tinsology.net + * + * To the extent possible under law, Mathew Tinsley has waived all copyright and related or + * neighboring rights to this work. There's absolutely no warranty. + */ + if(gettype($methods) == 'string') + $methods = array($methods); + elseif(!is_array($methods)) + return false; + foreach($methods as $method) + { + switch($method) + { + case 'fopen': + //uses file_get_contents in place of fopen + //allow_url_fopen must still be enabled + if(ini_get('allow_url_fopen')) + { + $contents = file_get_contents($url); + if($contents !== false) + return $contents; + } + break; + case 'curl': + if(function_exists('curl_init')) + { + $ch = curl_init(); + curl_setopt($ch, CURLOPT_URL, $url); + curl_setopt($ch, CURLOPT_HEADER, 0); + return curl_exec($ch); + } + break; + case 'socket': + //make sure the url contains a protocol, otherwise $parts['host'] won't be set + if(strpos($url, 'http://') !== 0 && strpos($url, 'https://') !== 0) + $url = 'http://' . $url; + $parts = parse_url($url); + if($parts['scheme'] == 'https') + { + $target = 'ssl://' . $parts['host']; + $port = isset($parts['port']) ? $parts['port'] : 443; + } + else + { + $target = $parts['host']; + $port = isset($parts['port']) ? $parts['port'] : 80; + } + $page = isset($parts['path']) ? $parts['path'] : ''; + $page .= isset($parts['query']) ? '?' . $parts['query'] : ''; + $page .= isset($parts['fragment']) ? '#' . $parts['fragment'] : ''; + $page = ($page == '') ? '/' : $page; + if($fp = fsockopen($target, $port, $errno, $errstr, 15)) + { + $headers = "GET $page HTTP/1.1\r\n"; + $headers .= "Host: {$parts['host']}\r\n"; + $headers .= "Connection: Close\r\n\r\n"; + if(fwrite($fp, $headers)) + { + $resp = ''; + //while not eof and an error does not occur when calling fgets + while(!feof($fp) && ($curr = fgets($fp, 128)) !== false) + $resp .= $curr; + if(isset($curr) && $curr !== false) + return substr(strstr($resp, "\r\n\r\n"), 3); + } + fclose($fp); + } + break; + } + } + return false; + } + // flatten multidimentional arrays to one dimentional function flatten($array) { $return = array(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-01-22 15:11:14
|
Revision: 8775 http://xoops.svn.sourceforge.net/xoops/?rev=8775&view=rev Author: wishcraft Date: 2012-01-22 15:11:08 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Xortify 3.03 - for XOOPS 2.5 - Banning Notice Fixed - Minor changes to cron and redirection to notice. Fixed Google Analytics -- see changelog.txt Modified Paths: -------------- XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/pre.loader.mainfile.php Modified: XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/pre.loader.mainfile.php =================================================================== --- XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/pre.loader.mainfile.php 2012-01-22 15:05:49 UTC (rev 8774) +++ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/pre.loader.mainfile.php 2012-01-22 15:11:08 UTC (rev 8775) @@ -9,7 +9,7 @@ */ - include_once (XOOPS_ROOT_PATH.'/modules/xortify/providers/providers.php'); - $check = new Providers('precheck'); + //include_once (XOOPS_ROOT_PATH.'/modules/xortify/providers/providers.php'); + //$check = new Providers('precheck'); ?> \ 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: <wis...@us...> - 2012-01-22 15:05:56
|
Revision: 8774 http://xoops.svn.sourceforge.net/xoops/?rev=8774&view=rev Author: wishcraft Date: 2012-01-22 15:05:49 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Xortify 3.03 - for XOOPS 2.5 - Banning Notice Fixed - Minor changes to cron and redirection to notice. Fixed Google Analytics -- see changelog.txt Modified Paths: -------------- XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/functions.php XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/xoops_version.php Modified: XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/functions.php =================================================================== --- XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/functions.php 2012-01-22 14:37:17 UTC (rev 8773) +++ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/include/functions.php 2012-01-22 15:05:49 UTC (rev 8774) @@ -384,7 +384,7 @@ _gaq.push(['_setAllowLinker', true]); _gaq.push(['_trackPageview']); - (static function() { + (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); Modified: XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/xoops_version.php =================================================================== --- XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/xoops_version.php 2012-01-22 14:37:17 UTC (rev 8773) +++ XoopsModules/xortify/releases/3.03/htdocs/modules/xortify/xoops_version.php 2012-01-22 15:05:49 UTC (rev 8774) @@ -16,8 +16,8 @@ $modversion['dirname'] = basename(dirname(__FILE__)); $modversion['name'] = ucfirst(basename(dirname(__FILE__))); -$modversion['version'] = "3.02"; -$modversion['releasedate'] = "Thursday: January 12, 2012"; +$modversion['version'] = "3.03"; +$modversion['releasedate'] = "Sunday: January 15, 2012"; $modversion['module_status']= "Stable"; $modversion['description'] = _MI_XOR_DESC; $modversion['credits'] = _MI_XOR_CREDITS; @@ -32,9 +32,9 @@ $modversion['icons16'] = 'Frameworks/moduleclasses/icons/16'; $modversion['icons32'] = 'Frameworks/moduleclasses/icons/32'; -$modversion['release_info'] = "Stable 2012/01/12"; +$modversion['release_info'] = "Stable 2012/01/15"; $modversion['release_file'] = XOOPS_URL."/modules/xortify/docs/changelog.txt"; -$modversion['release_date'] = "2012/01/12"; +$modversion['release_date'] = "2012/01/15"; $modversion['author_realname'] = "Simon Antony Roberts"; $modversion['author_website_url'] = "http://www.chronolabs.org.au"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-01-22 14:37:27
|
Revision: 8773 http://xoops.svn.sourceforge.net/xoops/?rev=8773&view=rev Author: wishcraft Date: 2012-01-22 14:37:17 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Flowplayer 1.14 - With HTTP(s) Stream Option, Fixed Flowplayer, Dashboard Improved, Fixed Frame Display. - See changelog.txt Added Paths: ----------- XoopsModules/flowplayer/releases/1.14/ XoopsModules/flowplayer/releases/1.14/docs/ XoopsModules/flowplayer/releases/1.14/docs/licence.txt XoopsModules/flowplayer/releases/1.14/htdocs/ XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/ XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/ XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.mimetypes.png XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.useragents.png XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.video.png XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.mimetypes.png XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.useragents.png XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.video.png XoopsModules/flowplayer/releases/1.14/htdocs/modules/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/header.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/index.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/menu.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/blocks/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/blocks/flowplayer_block_player.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/blocks/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/class/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/class/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/class/mimetypes.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/class/player.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/docs/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/docs/changelog.txt XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/docs/credits.txt XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/docs/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/docs/install.txt XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/docs/lang_diff.txt XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/docs/licence.txt XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/docs/readme.txt XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/dojson_player.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/header.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/images/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/images/flowplayer_slogo.png XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/images/icons/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/images/icons/admin/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/images/icons/admin/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/images/icons/admin/video.png XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/images/icons/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/images/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/include/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/include/JSON.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/include/formobjects.flowplayer.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/include/forms.flowplayer.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/include/formselectmimetype.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/include/formselectplayer.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/include/formselectsupport.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/include/functions.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/include/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/include/update.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/include/uploader.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/index.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/js/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/js/core.js XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/js/flowplayer-3.2.6.min.js XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/js/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/js/json_functions.js XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/js/video.js XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/language/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/language/english/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/language/english/admin.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/language/english/blocks.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/language/english/forms.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/language/english/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/language/english/mainfile.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/language/english/modinfo.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/language/english/style.css XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/language/english/video-js.css XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/language/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/preloads/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/preloads/core.php XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/preloads/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/sql/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/sql/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/sql/mysql.sql XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/swf/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/swf/flowplayer-3.2.7.swf XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/swf/flowplayer.controls-3.2.5.swf XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/swf/flowplayer.rtmp-3.2.3.swf XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/swf/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/blocks/ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/blocks/flowplayer_block_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/blocks/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_cpanel_mimetypes_edit.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_cpanel_mimetypes_list.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_cpanel_player_edit.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_cpanel_player_list.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_cpanel_useragents_list.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_flash_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_html5_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_http_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_iframe.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_flash_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_html5_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_http_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_ios_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_other_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_rtmp_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_rtsp_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_silverlight_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_ios_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_other_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_rstp_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_rtmp_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_index_silverlight_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_block_flash_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_block_html5_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_block_http_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_block_ios_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_block_other_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_block_rtmp_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_block_rtsp_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_block_silverlight_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_flash_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_html5_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_http_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_ios_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_other_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_rtmp_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_rtsp_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/flowplayer_json_silverlight_player.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/templates/index.html XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/xoops_version.php Added: XoopsModules/flowplayer/releases/1.14/docs/licence.txt =================================================================== --- XoopsModules/flowplayer/releases/1.14/docs/licence.txt (rev 0) +++ XoopsModules/flowplayer/releases/1.14/docs/licence.txt 2012-01-22 14:37:17 UTC (rev 8773) @@ -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/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.mimetypes.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.mimetypes.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.useragents.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.useragents.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.video.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.video.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.mimetypes.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.mimetypes.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.useragents.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.useragents.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.video.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.14/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.video.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/header.php =================================================================== --- XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/header.php (rev 0) +++ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/header.php 2012-01-22 14:37:17 UTC (rev 8773) @@ -0,0 +1,61 @@ +<?php + require_once (dirname(dirname(dirname(dirname(__FILE__)))).'/include/cp_header.php'); + + if (!defined('_CHARSET')) + define ("_CHARSET","UTF-8"); + if (!defined('_CHARSET_ISO')) + define ("_CHARSET_ISO","ISO-8859-1"); + + $GLOBALS['myts'] = MyTextSanitizer::getInstance(); + + $module_handler = xoops_gethandler('module'); + $config_handler = xoops_gethandler('config'); + $GLOBALS['flowplayerModule'] = $module_handler->getByDirname('flowplayer'); + $GLOBALS['flowplayerModuleConfig'] = $config_handler->getConfigList($GLOBALS['flowplayerModule']->getVar('mid')); + + xoops_load('pagenav'); + xoops_load('xoopslists'); + xoops_load('xoopsformloader'); + + include_once $GLOBALS['xoops']->path('class'.DS.'xoopsmailer.php'); + include_once $GLOBALS['xoops']->path('class'.DS.'xoopstree.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 flowplayer_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + //return false; + } + $GLOBALS['flowplayerImageIcon'] = XOOPS_URL .'/'. $GLOBALS['flowplayerModule']->getInfo('icons16'); + $GLOBALS['flowplayerImageAdmin'] = XOOPS_URL .'/'. $GLOBALS['flowplayerModule']->getInfo('icons32'); + + if ($GLOBALS['xoopsUser']) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $GLOBALS['flowplayerModule']->getVar( 'mid' ), $GLOBALS['xoopsUser']->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } + } else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); + } + + if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); + } + + $GLOBALS['xoopsTpl']->assign('pathImageIcon', $GLOBALS['flowplayerImageIcon']); + $GLOBALS['xoopsTpl']->assign('pathImageAdmin', $GLOBALS['flowplayerImageAdmin']); + + + require_once('../include/functions.php'); + require_once('../include/formobjects.flowplayer.php'); + require_once('../include/forms.flowplayer.php'); + + include_once(dirname(dirname(__FILE__)).'/language/'.$GLOBALS['xoopsConfig']['language'].'/modinfo.php'); + include_once(dirname(dirname(__FILE__)).'/language/'.$GLOBALS['xoopsConfig']['language'].'/forms.php'); + + +?> \ No newline at end of file Added: XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/index.html =================================================================== --- XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/index.html (rev 0) +++ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/index.html 2012-01-22 14:37:17 UTC (rev 8773) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/index.php =================================================================== --- XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/index.php (rev 0) +++ XoopsModules/flowplayer/releases/1.14/htdocs/modules/flowplayer/admin/index.php 2012-01-22 14:37:17 UTC (rev 8773) @@ -0,0 +1,400 @@ +<?php + + include('header.php'); + + xoops_loadLanguage('admin', 'flowplayer'); + + xoops_cp_header(); + + $op = isset($_REQUEST['op'])?$_REQUEST['op']:"dashboard"; + $fct = isset($_REQUEST['fct'])?$_REQUEST['fct']:""; + $limit = !empty($_REQUEST['limit'])?intval($_REQUEST['limit']):30; + $start = !empty($_REQUEST['start'])?intval($_REQUEST['start']):0; + $order = !empty($_REQUEST['order'])?$_REQUEST['order']:'DESC'; + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + $filter = !empty($_REQUEST['filter'])?''.$_REQUEST['filter'].'':'1,1'; + + switch($op) { + case "dashboard": + default: + echo flowplayer_adminMenu(0); + error_reporting(E_ALL); + $player_handler = xoops_getmodulehandler('player', 'flowplayer'); + $mimetypes_handler = xoops_getmodulehandler('mimetypes', 'flowplayer'); + $indexAdmin = new ModuleAdmin(); + $indexAdmin->addInfoBox(_AM_FLOWPLAYER_ADMIN_COUNTS); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_FLATFILES."</label>", $player_handler->getCount(new Criteria('stream', '0', '=')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_RTMPSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`rtmp`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_RTSPSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`rtsp`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_FLASHSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`flash`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_SILVERLIGHTSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`silverlight`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_IOSSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`ios`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_HTTPSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`http`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_MIMETYPES."</label>", $mimetypes_handler->getCount(), 'Purple'); + $players = $player_handler->getObjects(new Criteria('`default`', '1'), false); + if (is_object($players[0])) { + $player = $players[0]; + $indexAdmin->addInfoBox(_AM_FLOWPLAYER_ADMIN_DEFAULT); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_DEFAULT, "<iframe src='".XOOPS_URL.'/modules/flowplayer/?fid='.$player->getVar('fid')."&iframe=1&width=320px&height=200px' style='width:320px;height:200px;'></iframe>", '', 'Green'); + } + echo $indexAdmin->renderIndex(); + break; + case "about": + echo flowplayer_adminMenu(4); + $paypalitemno='FLOWPLAYER106'; + $aboutAdmin = new ModuleAdmin(); + $about = $aboutAdmin->renderabout($paypalitemno, false); + $donationform = array( 0 => '<form name="donation" id="donation" action="http://www.chronolabs.coop/modules/xpayment/" method="post" onsubmit="return xoopsFormValidate_donation();">', + 1 => '<table class="outer" cellspacing="1" width="100%"><tbody><tr><th colspan="2">'.constant('_AM_TWITTERBOMB_ABOUT_MAKEDONATE').'</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">Donation Amount</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 AUD</option><option value="10">10.00 AUD</option><option value="20">20.00 AUD</option><option value="40">40.00 AUD</option><option value="60">60.00 AUD</option><option value="80">80.00 AUD</option><option value="90">90.00 AUD</option><option value="100">100.00 AUD</option><option value="200">200.00 AUD</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'._SUBMIT.'" title="'._SUBMIT.'" type="submit"></td></tr></tbody></table>', + 2 => '<input name="op" id="op" value="createinvoice" type="hidden"><input name="plugin" id="plugin" value="donations" type="hidden"><input name="donation" id="donation" value="1" type="hidden"><input name="drawfor" id="drawfor" value="Chronolabs Co-Operative" type="hidden"><input name="drawto" id="drawto" value="%s" type="hidden"><input name="drawto_email" id="drawto_email" value="%s" type="hidden"><input name="key" id="key" value="%s" type="hidden"><input name="currency" id="currency" value="AUD" type="hidden"><input name="weight_unit" id="weight_unit" value="kgs" type="hidden"><input name="item[A][cat]" id="item[A][cat]" value="XDN%s" type="hidden"><input name="item[A][name]" id="item[A][name]" value="Donation for %s" type="hidden"><input name="item[A][quantity]" id="item[A][quantity]" value="1" type="hidden"><input name="item[A][shipping]" id="item[A][shipping]" value="0" type="hidden"><input name="item[A][handling]" id="item[A][handling]" value="0" type="hidden"><input name="item[A][weight]" id="item[A][weight]" value="0" type="hidden"><input name="item[A][tax]" id="item[A][tax]" value="0" type="hidden"><input name="return" id="return" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"><input name="cancel" id="cancel" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"></form>', 'D'=>'', + 3 => '', + 4 => '<!-- Start Form Validation JavaScript //--> +<script type="text/javascript"> +<!--// +function xoopsFormValidate_donation() { var myform = window.document.donation; +var hasSelected = false; var selectBox = myform.item[A][amount];for (i = 0; i < selectBox.options.length; i++ ) { if (selectBox.options[i].selected == true && selectBox.options[i].value != \'\') { hasSelected = true; break; } }if (!hasSelected) { window.alert("Please enter Donation Amount"); selectBox.focus(); return false; }return true; +} +//--></script> +<!-- End Form Validation JavaScript //-->'); + $paypalform = array( 0 => '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">', + 1 => '<input name="cmd" value="_s-xclick" type="hidden">', + 2 => '<input name="hosted_button_id" value="%s" type="hidden">', + 3 => '<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" height="1" border="0" width="1">', + 4 => '<input src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" border="0" type="image">', + 5 => '</form>'); + for($key=0;$key<=4;$key++) { + switch ($key) { + case 2: + $donationform[$key] = sprintf($donationform[$key], $GLOBALS['xoopsConfig']['sitename'] . ' - ' . (strlen($GLOBALS['xoopsUser']->getVar('name'))>0?$GLOBALS['xoopsUser']->getVar('name'). ' ['.$GLOBALS['xoopsUser']->getVar('uname').']':$GLOBALS['xoopsUser']->getVar('uname')), $GLOBALS['xoopsUser']->getVar('email'), XOOPS_LICENSE_KEY, strtoupper($GLOBALS['flowplayerModule']->getVar('dirname')), strtoupper($GLOBALS['flowplayerModule']->getVar('dirname')). ' '.$GLOBALS['flowplayerModule']->getVar('name')); + break; + } + } + + $istart = strpos($about, ($paypalform[0]), 1); + $iend = strpos($about, ($paypalform[5]), $istart+1)+strlen($paypalform[5])-1; + echo (substr($about, 0, $istart-1)); + echo implode("\n", $donationform); + echo (substr($about, $iend+1, strlen($about)-$iend-1)); + break; + case "agents": + flowplayer_adminMenu(3); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + xoops_load('XoopsCache'); + $ret = XoopsCache::read('flowplayer_user_agents'); + asort($ret, SORT_DESC); + $ttl = count($ret); + $pagenav = new XoopsPageNav($ttl, $limit, $start, 'start', 'limit='.$limit.'&sort='.$sort.'&order='.$order.'&op='.$op.'&fct='.$fct.'&filter='.$filter.'&fct='.$fct.'&filter='.$filter); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + foreach (array( 'time','player','agents','user') as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="#">'.(defined('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + } + $GLOBALS['xoopsTpl']->assign('limit', $limit); + $GLOBALS['xoopsTpl']->assign('start', $start); + $GLOBALS['xoopsTpl']->assign('order', $order); + $GLOBALS['xoopsTpl']->assign('sort', $sort); + $GLOBALS['xoopsTpl']->assign('filter', $filter); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['flowplayerModuleConfig']); + $s=0; + $i=0; + foreach($ret as $time => $agent) { + if (is_array($agent)&&$s>=$start&&$i<=$limit) { + $GLOBALS['xoopsTpl']->append('useragents', array('time'=>date(_DATESTRING, $time), 'player'=>$agent['player'], 'user'=>$agent['user'], 'useragent'=>$agent['useragent'])); + $i++; + } + $s++; + } + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:flowplayer_cpanel_useragents_list.html'); + break; + + + case "player": + switch ($fct) + { + default: + case "list": + flowplayer_adminMenu(1); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $player_handler =& xoops_getmodulehandler('player', 'flowplayer'); + $criteria = $player_handler->getFilterCriteria($filter); + $ttl = $player_handler->getCount($criteria); + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + + $pagenav = new XoopsPageNav($ttl, $limit, $start, 'start', 'limit='.$limit.'&sort='.$sort.'&order='.$order.'&op='.$op.'&fct='.$fct.'&filter='.$filter.'&fct='.$fct.'&filter='.$filter); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach (array( 'fid','name','raw','reference','height','width','default','created','updated') as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$start.'&limit='.$limit.'&sort='.str_replace('_','-',$key).'&order='.((str_replace('_','-',$key)==$sort)?($order=='DESC'?'ASC':'DESC'):$order).'&op='.$op.'&filter='.$filter.'">'.(defined('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $player_handler->getFilterForm($filter, $key, $sort, $op, $fct)); + } + + $GLOBALS['xoopsTpl']->assign('limit', $limit); + $GLOBALS['xoopsTpl']->assign('start', $start); + $GLOBALS['xoopsTpl']->assign('order', $order); + $GLOBALS['xoopsTpl']->assign('sort', $sort); + $GLOBALS['xoopsTpl']->assign('filter', $filter); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['flowplayerModuleConfig']); + + $criteria->setStart($start); + $criteria->setLimit($limit); + $criteria->setSort('`'.$sort.'`'); + $criteria->setOrder($order); + + $players = $player_handler->getObjects($criteria, true); + foreach($players as $cid => $player) { + if (is_object($player)) + $GLOBALS['xoopsTpl']->append('players', $player->toArray()); + } + + $GLOBALS['xoopsTpl']->assign('form', flowplayer_player_get_form(false)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:flowplayer_cpanel_player_list.html'); + break; + + case "new": + case "edit": + + flowplayer_adminMenu(1); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + + $player_handler =& xoops_getmodulehandler('player', 'flowplayer'); + if (isset($_REQUEST['id'])) { + $player = $player_handler->get(intval($_REQUEST['id'])); + } else { + $player = $player_handler->create(); + } + + $GLOBALS['xoopsTpl']->assign('form', flowplayer_player_get_form($player)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:flowplayer_cpanel_player_edit.html'); + break; + case "save": + + $player_handler =& xoops_getmodulehandler('player', 'flowplayer'); + $id=0; + if ($id=intval($_REQUEST['id'])) { + $player = $player_handler->get($id); + } else { + $player = $player_handler->create(); + } + $player->setVars($_POST[$id]); + if (!$id=$player_handler->insert($player)) { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_FAILEDTOSAVE); + exit(0); + } else { + if (isset($_FILES['image'])&&!empty($_FILES['image']['name'])) { + if (!is_dir($GLOBALS['xoops']->path($GLOBALS['flowplayerModuleConfig']['upload_areas']))) { + foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['flowplayerModuleConfig']['upload_areas'])) as $folders) + foreach(explode('/', $folders) as $folder) { + $path .= DS . $folder; + mkdir($path, 0777); + } + } + include_once($GLOBALS['xoops']->path('modules/flowplayer/include/uploader.php')); + $player = $player_handler->get($id); + $uploader = new FlowplayerMediaUploader($GLOBALS['xoops']->path($GLOBALS['flowplayerModuleConfig']['upload_areas']), explode('|', $GLOBALS['flowplayerModuleConfig']['allowed_mimetype']), $GLOBALS['flowplayerModuleConfig']['filesize_upload'], 0, 0, explode('|', $GLOBALS['flowplayerModuleConfig']['allowed_extensions'])); + $uploader->setPrefix(substr(md5(microtime(true)), mt_rand(0,20), 13)); + if ($uploader->fetchMedia('image')) { + if (!$uploader->upload()) { + flowplayer_adminMenu(1); + echo $uploader->getErrors(); + flowplayer_footer_adminMenu(); + xoops_cp_footer(); + exit(0); + } else { + + if (strlen($player->getVar('poster'))) + unlink($GLOBALS['xoops']->path($player->getVar('path')).$player->getVar('poster')); + + $player->setVar('path', $GLOBALS['flowplayerModuleConfig']['upload_areas']); + $player->setVar('poster', $uploader->getSavedFileName()); + @$player_handler->insert($player); + } + } else { + flowplayer_adminMenu(1); + echo $uploader->getErrors(); + flowplayer_footer_adminMenu(); + xoops_cp_footer(); + exit(0); + } + } + switch($_REQUEST['mode']) { + case 'new': + redirect_header('index.php?op='.$op.'&fct=edit&id='.$id, 10, _AM_MSG_PLAYER_SAVEDOKEY); + break; + default: + case 'edit': + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_SAVEDOKEY); + break; + } + exit(0); + } + break; + case "savelist": + + $player_handler =& xoops_getmodulehandler('player', 'flowplayer'); + foreach($_REQUEST['id'] as $id) { + $player = $player_handler->get($id); + $player->setVars($_POST[$id]); + if (!$player_handler->insert($player)) { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_FAILEDTOSAVE); + exit(0); + } + } + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_SAVEDOKEY); + exit(0); + break; + case "delete": + + $player_handler =& xoops_getmodulehandler('player', 'flowplayer'); + $id=0; + if (isset($_POST['id'])&&$id=intval($_POST['id'])) { + $player = $player_handler->get($id); + if (!$player_handler->delete($player)) { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_FAILEDTODELETE); + exit(0); + } else { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_DELETED); + exit(0); + } + } else { + $player = $player_handler->get(intval($_REQUEST['id'])); + xoops_confirm(array('id'=>$_REQUEST['id'], 'op'=>$_REQUEST['op'], 'fct'=>$_REQUEST['fct'], 'limit'=>$_REQUEST['limit'], 'start'=>$_REQUEST['start'], 'order'=>$_REQUEST['order'], 'sort'=>$_REQUEST['sort'], 'filter'=>$_REQUEST['filter']), 'index.php', sprintf(_AM_MSG_PLAYER_DELETE, $player->getVar('name'))); + } + break; + } + break; + case "mimetypes": + switch ($fct) + { + default: + case "list": + flowplayer_adminMenu(2); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $mimetypes_handler =& xoops_getmodulehandler('mimetypes', 'flowplayer'); + $criteria = $mimetypes_handler->getFilterCriteria($filter); + $ttl = $mimetypes_handler->getCount($criteria); + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + + $pagenav = new XoopsPageNav($ttl, $limit, $start, 'start', 'limit='.$limit.'&sort='.$sort.'&order='.$order.'&op='.$op.'&fct='.$fct.'&filter='.$filter.'&fct='.$fct.'&filter='.$filter); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach (array( 'mid','support','name','mimetype','codecs','default','created','updated') as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$start.'&limit='.$limit.'&sort='.str_replace('_','-',$key).'&order='.((str_replace('_','-',$key)==$sort)?($order=='DESC'?'ASC':'DESC'):$order).'&op='.$op.'&filter='.$filter.'">'.(defined('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $mimetypes_handler->getFilterForm($filter, $key, $sort, $op, $fct)); + } + + $GLOBALS['xoopsTpl']->assign('limit', $limit); + $GLOBALS['xoopsTpl']->assign('start', $start); + $GLOBALS['xoopsTpl']->assign('order', $order); + $GLOBALS['xoopsTpl']->assign('sort', $sort); + $GLOBALS['xoopsTpl']->assign('filter', $filter); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['flowplayerModuleConfig']); + + $criteria->setStart($start); + $criteria->setLimit($limit); + $criteria->setSort('`'.$sort.'`'); + $criteria->setOrder($order); + + $mimetypess = $mimetypes_handler->getObjects($criteria, true); + foreach($mimetypess as $cid => $mimetypes) { + if (is_object($mimetypes)) + $GLOBALS['xoopsTpl']->append('mimetypes', $mimetypes->toArray()); + } + + $GLOBALS['xoopsTpl']->assign('form', flowplayer_mimetypes_get_form(false)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:flowplayer_cpanel_mimetypes_list.html'); + break; + + case "new": + case "edit": + + flowplayer_adminMenu(2); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + + $mimetypes_handler =& xoops_getmodulehandler('mimetypes', 'flowplayer'); + if (isset($_REQUEST['id'])) { + $mimetypes = $mimetypes_handler->get(intval($_REQUEST['id'])); + } else { + $mimetypes = $mimetypes_handler->create(); + } + + $GLOBALS['xoopsTpl']->assign('form', flowplayer_mimetypes_get_form($mimetypes)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:flowplayer_cpanel_mimetypes_edit.html'); + break; + case "save": + + $mimetypes_handler =& xoops_getmodulehandler('mimetypes', 'flowplayer'); + $id=0; + if ($id=intval($_REQUEST['id'])) { + $mimetypes = $mimetypes_handler->get($id); + } else { + $mimetypes = $mimetypes_handler->create(); + } + $mimetypes->setVars($_POST[$id]); + if (!$id=$mimetypes_handler->insert($mimetypes)) { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_MIMETYPES_FAILEDTOSAVE); + exit(0); + } else { + switch($_REQUEST['mode']) { + case 'new': + redirect_header('index.php?op='.$op.'&fct=edit&id='.$id, 10, _AM_MSG_MIMETYPES_SAVEDOKEY); + break; + default: + case 'edit': + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_MIMETYPES_SAVEDOKEY); + break; + } + exit(0); + } + break; + case "savelist": + + $mimetypes_handler =& xoops_getmodulehandler('mimetypes', 'flowplayer'); + foreach($_REQUEST['id'] as $id) { + $mimetypes = $mimetypes_handler->get($id); + $mimetypes->setVars($_POST[$id]); + if (!$mimetypes_handler->insert($mimetypes)) { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_MIMETYPES_FAILEDTOSAVE); + exit(0); + } + } + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_MIMETYPES_SAVEDOKEY); + exit(0); + break; + case "delete": + + $mimetypes_handler =& xoops_getmodulehandler('mimetypes', 'flowplayer'); + $id=0; + if (isset($_POST['id'])&&$id=intval($_POST['id'])) { + $mimetypes = $mimetypes_handler->get($id); + if (!$mimetypes_handler->delete($mimetypes)) { + redirect_header('index.php?op='.$op.'&fct=list&limit='... [truncated message content] |
From: <dj...@us...> - 2012-01-21 17:53:30
|
Revision: 8772 http://xoops.svn.sourceforge.net/xoops/?rev=8772&view=rev Author: djculex Date: 2012-01-21 17:53:24 +0000 (Sat, 21 Jan 2012) Log Message: ----------- version 1.05 RC Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/xoops_version.php Modified: XoopsModules/smallworld/trunk/smallworld/xoops_version.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/xoops_version.php 2012-01-21 16:30:26 UTC (rev 8771) +++ XoopsModules/smallworld/trunk/smallworld/xoops_version.php 2012-01-21 17:53:24 UTC (rev 8772) @@ -20,7 +20,7 @@ **/ $modversion['name'] = _MI_SMALLWORLD_MODULE_NAME; -$modversion['version'] = 1.00; +$modversion['version'] = 1.05; $modversion['description'] = _MI_SMALLWORLD_MODULE_DESC; $modversion['author'] = "Michael Albertsen"; $modversion['nickname'] = 'Culex'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-01-21 16:30:36
|
Revision: 8771 http://xoops.svn.sourceforge.net/xoops/?rev=8771&view=rev Author: beckmi Date: 2012-01-21 16:30:26 +0000 (Sat, 21 Jan 2012) Log Message: ----------- Adding Zyspec's branch Added Paths: ----------- XoopsModules/xoopspartners/branches/zyspec/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/about.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/admin_footer.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/admin_header.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/index.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/main.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/menu.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/blocks/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/blocks/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/blocks/partners.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/class/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/class/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/class/partners.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/css/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/css/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/changelog.txt XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/credits.txt XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/install.txt XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/lang_diff.txt XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/licence.txt XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/readme.txt XoopsModules/xoopspartners/branches/zyspec/xoopspartners/footer.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/header.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/admin/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/admin/about.png XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/admin/add32.png XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/admin/help.png XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/admin/home.png XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/admin/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/admin/index.png XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/admin/manage.png XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/admin/xoopsmicrobutton.gif XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/icons/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/icons/delete.png XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/icons/edit.png XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/icons/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/icons/off.png XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/icons/on.png XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/images/logo.png XoopsModules/xoopspartners/branches/zyspec/xoopspartners/index.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/join.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/admin.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/blocks.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/css/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/css/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/help/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/help/help.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/help/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/mail_template/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/mail_template/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/mail_template/join.tpl XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/main.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/english/modinfo.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/french/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/french/admin.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/french/blocks.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/french/help/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/french/help/help.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/french/help/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/french/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/french/mail_template/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/french/mail_template/join.tpl XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/french/main.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/french/modinfo.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/spanish/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/spanish/admin.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/spanish/blocks.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/spanish/help/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/spanish/help/help.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/spanish/help/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/spanish/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/spanish/mail_template/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/spanish/mail_template/join.tpl XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/spanish/main.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/language/spanish/modinfo.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/sql/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/sql/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/sql/mysql.sql XoopsModules/xoopspartners/branches/zyspec/xoopspartners/templates/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/templates/blocks/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/templates/blocks/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/templates/blocks/xoopspartners_block_site.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/templates/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/templates/xoopspartners_index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/templates/xoopspartners_join.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/test/ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/test/AddPartner XoopsModules/xoopspartners/branches/zyspec/xoopspartners/test/DeletePartner XoopsModules/xoopspartners/branches/zyspec/xoopspartners/test/EditPartner XoopsModules/xoopspartners/branches/zyspec/xoopspartners/test/SortPartner XoopsModules/xoopspartners/branches/zyspec/xoopspartners/test/SortPartnerAutomatic XoopsModules/xoopspartners/branches/zyspec/xoopspartners/test/ViewPartner XoopsModules/xoopspartners/branches/zyspec/xoopspartners/test/XoopsPartnerSuite XoopsModules/xoopspartners/branches/zyspec/xoopspartners/test/index.html XoopsModules/xoopspartners/branches/zyspec/xoopspartners/test/readme.txt XoopsModules/xoopspartners/branches/zyspec/xoopspartners/vpartner.php XoopsModules/xoopspartners/branches/zyspec/xoopspartners/xoops_version.php Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/about.php =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/about.php (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/about.php 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1,29 @@ +<?php +/** + * XoopsPartners module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright:: The XOOPS Project (http://www.xoops.org) + * @license:: GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html/) + * @package:: XoopsPartners + * @since:: 1.11 + * @author:: Mage, Mamba + * @version:: $Id $ + * + */ + +require 'admin_header.php'; +include '../../../class/xoopsformloader.php'; + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); + +include 'admin_footer.php'; \ No newline at end of file Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/admin_footer.php =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/admin_footer.php (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/admin_footer.php 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1,34 @@ +<?php +/** + * XoopsPartner module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright:: The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license:: http://www.fsf.org/copyleft/gpl.html GNU public license + * @package:: XoopsPartners + * @since:: 1.11 + * @author:: XOOPS Development Team + * @version: $Id $ + **/ + +if (!isset($moduleInfo) || !is_a($moduleInfo, 'XoopsModule')) { + $module_handler =& xoops_gethandler('module'); + $xoopsModule =& XoopsModule::getByDirname('mylinks'); + $moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); + $pathIcon32 = $moduleInfo->getInfo('icons32'); +} + +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='" . $moduleInfo->getInfo('author_website_url') . "' target='_blank'><img src='" . XOOPS_URL . "/" . $moduleInfo->getInfo("dirmoduleadmin") . "/icons/32/xoopsmicrobutton.gif' alt='" . $xoopsModule->getInfo('author_website_name') . "' title='" . $moduleInfo->getInfo('author_website_name') . "' /></a>\n" + ." </div>\n" + ." " . _AM_XPARTNERS_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/admin_header.php =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/admin_header.php (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/admin_header.php 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1,49 @@ +<?php +/** + * XoopsPartners module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright:: The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license:: http://www.fsf.org/copyleft/gpl.html GNU public license + * @package:: XoopsPartners + * @subpackage:: admin + * @since:: 1.11 + * @author:: XOOPS Team + * @version:: $Id $ + **/ +require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +require XOOPS_ROOT_PATH . '/include/cp_header.php'; + +//Load languages +$thisModDir = $xoopsModule->getVar('dirname', 'n'); +xoops_loadLanguage('admin', $thisModDir); +xoops_loadLanguage('modinfo', $thisModDir); +xoops_loadLanguage('main', $thisModDir); + +if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + //return true; +} else { + echo xoops_error(_AM_XPARTNERS_ERROR_MODADMIN); + //return false; +} + +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); + +$myts =& MyTextSanitizer::getInstance(); + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once XOOPS_ROOT_PATH . "/class/template.php"; + $xoopsTpl = new XoopsTpl(); +} + +xoops_cp_header(); \ No newline at end of file Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/index.php =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/index.php (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/index.php 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1,61 @@ +<?php +// +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: Raul Recio (AKA UNFOR) // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // +/** + * Xoops Headline Administration + * + * @copyright:: The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license:: http://www.fsf.org/copyleft/gpl.html GNU public license + * @package:: xoopsheadline + * @since:: 1.11 + * @author:: Raul Recio (aka UNFOR) + * @version: $Id: $ + */ + +require 'admin_header.php'; +$indexAdmin = new ModuleAdmin(); + +//----------------------- +$xpPartnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname', 'n')); + +$totalPartners = $xpPartnerHandler->getCount(); +$totalNonActivePartners = $xpPartnerHandler->getCount(new Criteria('status', 0, '=')); +$totalActivePartners = $totalPartners - $totalNonActivePartners; + +$indexAdmin->addInfoBox(_MD_XPARTNERS_DASHBOARD); + +$indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALACTIVE. "</infolabel>", $totalActivePartners, 'Green'); +$indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALNONACTIVE. "</infolabel>", $totalNonActivePartners, 'Red'); +$indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALPARTNERS. "</infolabel><infotext>", $totalPartners."</infotext>"); +//---------------------------- + +echo $indexAdmin->addNavigation('index.php'); +echo $indexAdmin->renderIndex(); + +include 'admin_footer.php'; \ No newline at end of file Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/main.php =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/main.php (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/main.php 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1,426 @@ +<?php +// $Id: main.php,v 1.9.4.2 2005/03/29 15:58:18 mithyt2 Exp $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: Raul Recio (AKA UNFOR) // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + +require 'admin_header.php'; + +$indexAdmin = new ModuleAdmin(); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); + +$del = 0; + +function partnersAdmin() +{ + global $xoopsModule, $indexAdmin, $pathImageIcon; + $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); +// $xoopsDB =& Database::getInstance(); + $myts =& MyTextSanitizer::getInstance(); + $xpPartnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname')); + + echo $indexAdmin->addNavigation('main.php?op=default'); + echo" <form action='main.php' method='post' name='reorderform'>\n" + . " <table style='width: 100%; border-width: 0px; margin: 1px; padding: 0px;' class='outer'>\n" + . " <tr>\n" . " <th style='width: 20%; text-align: center;'>" . _AM_XPARTNERS_TITLE . "</th>\n" + . " <th style='width: 3%; text-align: center;'>" . _AM_XPARTNERS_IMAGE . "</th>\n" . " <th>" + . _AM_XPARTNERS_DESCRIPTION . "</th>\n" . " <th style='width: 3%; text-align: center;'>" + . _AM_XPARTNERS_ACTIVE . "</th>\n" . " <th style='width: 3%; text-align: center;'>" + . _AM_XPARTNERS_WEIGHT . "</th>\n" . " <th style='width: 3%; text-align: center;'>" . _AM_XPARTNERS_HITS + . "</th>\n" . " <th style='width: 3%; text-align: center;'>" . _AM_XPARTNERS_ACTIONS . "</th>\n" + . " </tr>\n"; + + $criteria = new CriteriaCompo(); + $criteria->setSort('status DESC, weight ASC, title'); + $criteria->setOrder('DESC'); + $partnerObjs = $xpPartnerHandler->getAll($criteria); + $class = 'even'; + foreach ($partnerObjs as $partnerObj) { + $url = formatURL($myts->htmlSpecialChars($partnerObj->getVar('url'))); + $image = formatURL($myts->htmlSpecialChars($partnerObj->getVar('image'))); + $title = $myts->htmlSpecialChars($partnerObj->getVar('title')); + $description = $myts->htmlSpecialChars($partnerObj->getVar('description')); + $imageInfo = @getimagesize($partnerObj->getVar('image')); + /* + $result = $xoopsDB->query("SELECT id, hits, url, weight, image, title, description, status FROM ".$xoopsDB->prefix("partners")." ORDER BY status DESC, weight ASC, title DESC"); + $class = 'even'; + while (list($id, $hits, $url, $weight, $image, $title, $description, $status) = $xoopsDB->fetchrow($result)) { + $url = formatURL($myts->htmlSpecialChars($url)); + $image = formatURL($myts->htmlSpecialChars($image)); + $title = $myts->htmlSpecialChars($title); + $description = $myts->htmlSpecialChars($description); + */ + if ($imageInfo = getimagesize($image)) { + $imageWidth = $imageInfo[0]; + $imageHeight = $imageInfo[1]; + $errorMsg = ($imageWidth >= 150 || $imageHeight >= 110) ? "<br />" . _AM_XPARTNERS_IMAGE_ERROR : ''; + } else { + $imageWidth = 150; + $imageHeight = 110; + } + $check1 = $check2 = ""; + if (1 == $partnerObj->getVar('status')) { + $check1 = " selected='selected'"; + } else { + $check2 = " selected='selected'"; + } + echo" <tr>\n" + . " <td class='{$class}' style='width: 20%; text-align: center; vertical-align: middle;'><a href='{$url}' rel='external'>{$title}</a></td>\n" + . " <td class='{$class}' style='width: 3%; text-align: center;'>"; + if (!empty($image)) { + echo "<img src='{$image}' alt='{$title}' style='width: " . intval(.65 * $imageWidth) . "px; height: " . intval(.65 * $imageHeight) . "px;' />{$errorMsg}"; + } else { + echo " "; + } + + echo" </td>\n" . " <td class='{$class}'>{$description}</td>\n" + . " <td class='{$class}' style='width: 3%px; text-align: center;'>\n" + . " <select style='size: 1px;' name='status[" . $partnerObj->getVar('id') + . "]'> <option value='1'{$check1}>" . _YES . "</option><option value='0'{$check2}>" . _NO + . "</option></select>\n" . " <td class='{$class}' style='width: 3%; text-align: center;'>\n" + . " <input type='text' name='weight[" . $partnerObj->getVar('id') . "]' value='" + . $partnerObj->getVar( + 'weight' + ) . "' style='size: 3px; text-align: center;' maxlength='3' />\n" . " </td>\n" + . " <td class='{$class}' style='width: 3%; text-align: center;'>" . $partnerObj->getVar('hits') . "</td>\n" + . " <td class='{$class}' style='width: 3%; text-align: center;'>\n" + + . " <a href='main.php?op=editPartner&id=" . $partnerObj->getVar('id') + . "'><img src='{$pathImageIcon}/edit.png' alt='" . _EDIT . "' title='" . _EDIT . "' /></a>\n" + + . " <a href='main.php?op=delPartner&id=" . $partnerObj->getVar('id') + . "'><img src='{$pathImageIcon}/delete.png' alt='" . _DELETE . "' title='" . _DELETE . "' /></a>\n" + . " </td>\n" . " </tr>\n"; + $class = ($class == 'odd') ? 'even' : 'odd'; + } + unset($partnerObjs); + echo" <tr>\n" . " <td class='foot' colspan='7' style='text-align: right;'>\n" + . " <input type='hidden' name='op' value='reorderPartners' />\n" + . " <input type='button' name='button' onclick=\"location='main.php?op=partnersAdminAdd'\" value='" + . _AM_XPARTNERS_ADD . "' />\n" + . " <input type='button' name='button' onclick=\"location='main.php?op=reorderAutoPartners'\" value='" + . _AM_XPARTNERS_AUTOMATIC_SORT . "' />\n" . " <input type='submit' name='submit' value='" + . _AM_XPARTNERS_REORDER . "' />\n" . " </td>\n" . " </tr>\n" . " </table>\n" . " </form>\n"; + include 'admin_footer.php'; +} + +function reorderPartners($weight=array(), $status=0) +{ + global $xoopsModule, $xoopsDB; + + $partnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname')); + $partnerCount = $partnerHandler->getCount(); + if ($partnerCount) { + /* + $result = $xoopsDB->query("SELECT id FROM ".$xoopsDB->prefix("partners")); + if ($xoopsDB->getRowsNum($result)) { + */ + foreach ($weight as $id => $order) { + if (intval($id) > 0) { + $order = (intval($order) > 0) ? intval($order) : 0; + $stat = isset($status[$id]) ? intval($status[$id]) : 0; + $thisObj = $partnerHandler->get($id); + if (is_object($thisObj) && count($thisObj)) { + $thisObj->setVars(array('weight' => $order, 'status' => $stat)); + $partnerHandler->insert($thisObj); + unset($thisObj); + } + } + } + redirect_header("main.php?op=default", 1, _AM_XPARTNERS_UPDATED); + } else { + redirect_header("main.php?op=partnersAdminAdd", 2, _AM_XPARTNERS_EMPTYDATABASE, false); + } +} + +function reorderAutoPartners() +{ + global $xoopsModule; + //$xoopsDB =& Database::getInstance(); + $partnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname')); + $partnerObjs = $partnerHandler->getAll(null, array('weight')); + $partnerCount = count($partnerObjs); + $weight = 0; + if ($partnerCount > 1) { + foreach ($partnerObjs as $thisObj) { + $weight++; + $thisObj->setVar('weight', $weight); + $partnerHandler->insert($thisObj); + unset($thisObj); + } + redirect_header("main.php?op=default", 1, _AM_XPARTNERS_UPDATED); + } else { + redirect_header("main.php?op=partnersAdminAdd", 2, _AM_XPARTNERS_EMPTYDATABASE, false); + } +} + +function partnersAdminAdd() +{ + global $xoopsModule, $indexAdmin, $pathImageIcon, $myts; + $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); +// $xoopsDB =& Database::getInstance(); + + echo $indexAdmin->addNavigation('main.php?op=partnersAdminAdd'); + //echo "<h4>"._AM_XPARTNERS_ADD."</h4>"; + include XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; + $form = new XoopsThemeForm(_AM_XPARTNERS_ADDPARTNER, "addform", "main.php", "post", true); + $formweight = new XoopsFormText(_AM_XPARTNERS_WEIGHT, "weight", 3, 10, 0); + $formimage = new XoopsFormText(_AM_XPARTNERS_IMAGE, "image", 100, 150, 'http://'); + $formurl = new XoopsFormText(_AM_XPARTNERS_URL, "url", 100, 150, 'http://'); + $formtitle = new XoopsFormText(_AM_XPARTNERS_TITLE, "title", 100, 150); + $formdesc = new XoopsFormTextArea(_AM_XPARTNERS_DESCRIPTION, "description", "", 10, "60"); + $statontxt + = " <img src=". $pathImageIcon .'/on.png'.' '. "alt='" . _AM_XPARTNERS_ACTIVE . "' /> " . _AM_XPARTNERS_ACTIVE + . " "; + $statofftxt + = " <img src=". $pathImageIcon .'/off.png' .' '."alt='" . _AM_XPARTNERS_INACTIVE . "' /> " + . _AM_XPARTNERS_INACTIVE . " "; + $formstat = new XoopsFormRadioYN(_AM_XPARTNERS_STATUS, 'status', 1, $statontxt, $statofftxt); + $opHidden = new XoopsFormHidden("op", "addPartner"); + $submitButton = new XoopsFormButton("", "submit", _AM_XPARTNERS_ADDPARTNER, "submit"); + $form->addElement($formtitle, true); + $form->addElement($formimage); + $form->addElement($formurl, true); + $form->addElement($formweight); + $form->addElement($formdesc, true); + $form->addElement($formstat); + $form->addElement($opHidden); + $form->addElement($submitButton); + $form->display(); + include 'admin_footer.php'; +} + +function addPartner($weight=0, $url, $image, $title, $description, $status=0) +{ + global $xoopsModule, $xoopsDB, $myts; + + $partnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname')); + $newPartner = $partnerHandler->create(); + + $status = (intval($status) > 0) ? intval($status) : 0; + $weight = (intval($weight) > 0) ? intval($weight) : 0; + $title = isset($title) ? trim($title) : ''; + $url = isset($url) ? trim($url) : ''; + $image = isset($image) ? trim($image) : ''; + $image = $myts->addSlashes(formatURL($image)); + $description = isset($description) ? trim($description) : ''; + if ('' == $title || '' == $url || '' == $description) { + redirect_header('main.php?op=default', 2, _AM_XPARTNERS_BESURE); + } + /* + if (!empty($image)) { + $image_info = @getimagesize($image); + var_dump($image_info); + exit; + if (!$image_info[2]) { + redirect_header("main.php?op=default", 2, _AM_XPARTNERS_NOEXIST . '<br />(' . $image . ')'); + } + } + + if (!empty($image)) { + $image_info = exif_imagetype($image); + if (false === $image_info) { + redirect_header("main.php?op=default", 1, _AM_XPARTNERS_NOEXIST); + } + } + */ + $newPartner->setVar('url', $myts->addSlashes(formatURL($url))); + $newPartner->setVar('image', $image); + $newPartner->setVar('title', $myts->addSlashes($title)); + $newPartner->setVar('description', $myts->addSlashes($description)); + $newPartner->setVar('status', $status); + $newPartner->setVar('weight', $weight); + + if ($GLOBALS['xoopsSecurity']->check() && $partnerHandler->insert($newPartner)) { + /* + $sql = "INSERT INTO ".$xoopsDB->prefix("partners")." VALUES (NULL, ".intval($weight).", 0, '$url', '$image', '$title', '$description', $status)"; + if ($GLOBALS['xoopsSecurity']->check() && $xoopsDB->query($sql)) { + */ + redirect_header("main.php?op=default", 1, _AM_XPARTNERS_UPDATED); + } else { + redirect_header("main.php?op=default", 1, _AM_XPARTNERS_NOTUPDATED . "<br />" . implode('<br />', $GLOBALS['xoopsSecurity']->getErrors()) + ); + } +} + +function editPartner($id=0) +{ + global $xoopsModule, $indexAdmin, $pathImageIcon, $xoopsDB, $myts; + + echo $indexAdmin->addNavigation('main.php?op=default'); + $id = (intval($id) > 0) ? intval($id) : 0; + + //echo "<h4>"._EDIT."</h4>"; + $partnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname')); + $partnerObj = $partnerHandler->get($id); + if (is_object($partnerObj) && count($partnerObj)) { + /* + $result = $xoopsDB->query("SELECT weight, hits, url, image, title, description, status FROM ".$xoopsDB->prefix("partners")." WHERE id={$id}"); + list($weight, $hits, $url, $image, $title, $description, $status) = $xoopsDB->fetchrow($result); + */ + $partnerVars = $partnerObj->getValues(); + $url = $myts->htmlSpecialChars($partnerVars['url']); + $image = $myts->htmlSpecialChars($partnerVars['image']); + $title = $myts->htmlSpecialChars($partnerVars['title']); + $description = $myts->htmlSpecialChars($partnerVars['description']); + + include XOOPS_ROOT_PATH . "/class/xoopsformloader.php"; + $form = new XoopsThemeForm(_AM_XPARTNERS_EDITPARTNER, "editform", "main.php", "post", true); + $formweight = new XoopsFormText(_AM_XPARTNERS_WEIGHT, "weight", 3, 10, $partnerVars['weight']); + $formhits = new XoopsFormText(_AM_XPARTNERS_HITS, "hits", 3, 10, $partnerVars['hits']); + $formimage = new XoopsFormText(_AM_XPARTNERS_IMAGE, "image", 50, 150, $image); + $formurl = new XoopsFormText(_AM_XPARTNERS_URL, "url", 50, 150, $url); + $formtitle = new XoopsFormText(_AM_XPARTNERS_TITLE, "title", 50, 150, $title); + $formdesc = new XoopsFormTextArea(_AM_XPARTNERS_DESCRIPTION, "description", $description, 10, "100%"); + $statontxt = " <img src='{$pathImageIcon}/on.png' alt='" + . _AM_XPARTNERS_ACTIVE . "' /> " + . _AM_XPARTNERS_ACTIVE . " "; + $statofftxt = " <img src='{$pathImageIcon}/off.png' alt='" + . _AM_XPARTNERS_INACTIVE . "' /> " + . _AM_XPARTNERS_INACTIVE . " "; + + $formstat = new XoopsFormRadioYN(_AM_XPARTNERS_STATUS, 'status', $partnerVars['status'], $statontxt, $statofftxt); + $submitButton = new XoopsFormButton("", "submit", _SUBMIT, "submit"); + $form->addElement($formtitle, true); + $form->addElement($formimage); + $form->addElement($formurl, true); + $form->addElement($formweight); + $form->addElement($formdesc, true); + $form->addElement($formhits); + $form->addElement($formstat); + $form->addElement(new XoopsFormHidden("id", $id)); + $form->addElement(new XoopsFormHidden("op", "updatePartner")); + $form->addElement($submitButton); + $form->display(); + include 'admin_footer.php'; + } else { + redirect_header("main.php?op=default", 2, _AM_XPARTNERS_INVALIDID); + } +} + +function updatePartner($id, $weight, $hits, $url, $image, $title, $description, $status) +{ + global $xoopsModule, $xoopsDB, $myts; + + $title = isset($title) ? trim($title) : ''; + $image = isset($image) ? trim($image) : ''; + $image = $myts->addSlashes(formatURL($image)); + $url = isset($url) ? trim($url) : ''; + $description = isset($description) ? trim($description) : ''; + $id = (isset($id) && intval($id) > 0) ? intval($id) : 0; + $status = isset($status) ? intval($status) : 0; + $weight = isset($weight) ? intval($weight) : 0; + $hits = (isset($hits) && intval($hits) > 0) ? intval($hits) : 0; + if ($title == '' || $url == '' || empty($id) || $description == '') { + redirect_header("main.php?op=edit_partner&id={$id}", 1, _AM_XPARTNERS_BESURE); + } + /* + if (!empty($image)) { + $image_info = exif_imagetype($image);; + if (false === $image_info) { + redirect_header("main.php?op=edit_partner&id={$id}", 1, _AM_XPARTNERS_NOEXIST); + } + } + */ + $partnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname')); + $partnerObj = $partnerHandler->get($id); + if ($GLOBALS['xoopsSecurity']->check() && is_object($partnerObj) && count($partnerObj)) { + $partnerObj->setVar('url', $myts->addSlashes(formatURL($url))); + $partnerObj->setVar('title', $myts->addSlashes($title)); + $partnerObj->setVar('description', $myts->addSlashes($description)); + $partnerObj->setVar('hits', $hits); + $partnerObj->setVar('weight', $weight); + $partnerObj->setVar('status', $status); + $partnerObj->setVar('image', $image); + $success = $partnerHandler->insert($partnerObj); + if ($success) { + redirect_header("main.php?op=default", 1, _AM_XPARTNERS_UPDATED); + } + } + redirect_header("main.php?op=default", 1, _AM_XPARTNERS_NOTUPDATED . "<br />" . implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); +} + +function delPartner($id, $del = 0) +{ + global $xoopsModule, $indexAdmin, $xoopsDB; + $id = (isset($id) && intval($id)) ? intval($id) : 0; + if ((1 == $del) && ($id > 0)) { + $partnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname')); + $partnerObj = $partnerHandler->get($id); + if (is_object($partnerObj) && count($partnerObj)) { + if ($partnerHandler->delete($partnerObj)) { + redirect_header("main.php?op=default", 1, _AM_XPARTNERS_UPDATED); + } + } + redirect_header("main.php?op=default", 1, _AM_XPARTNERS_NOTUPDATED); + } else { + echo $indexAdmin->addNavigation('main.php?op=default'); + xoops_confirm(array('op' => 'delPartner', 'id' => intval($id), 'del' => 1), 'main.php', _AM_XPARTNERS_SUREDELETE); + include 'admin_footer.php'; + } +} + +$op = ''; + +$fields = array('op', 'id', 'weight', 'hits', 'url', 'image', 'title', 'description', 'status', 'del'); +foreach ($fields as $field) { + if (isset($_POST[$field])) { + ${$field} = $_POST[$field]; + } +} + +if (isset($_GET['op'])) { + $op = $_GET['op']; + $id = (isset($_GET['id'])) ? intval($_GET['id']) : 0; +} + +switch ($op) { + case "partnersAdminAdd": + partnersAdminAdd(); + break; + case "updatePartner": + updatePartner($id, $weight, $hits, $url, $image, $title, $description, $status); + break; + case "addPartner": + addPartner($weight, $url, $image, $title, $description, $status); + break; + case "delPartner": + delPartner($id, $del); + break; + case "editPartner": + editPartner($id); + break; + case "reorderPartners": + reorderPartners($weight, $status); + break; + case "reorderAutoPartners": + reorderAutoPartners(); + break; + default: + partnersAdmin(); + break; +} \ No newline at end of file Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/menu.php =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/menu.php (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/admin/menu.php 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1,53 @@ +<?php +// $Id: menu.php 8212 2011-11-07 04:37:28Z beckmi $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: Raul Recio (AKA UNFOR) // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + +$module_handler =& xoops_gethandler('module'); +$xoopsModule =& XoopsModule::getByDirname('xoopspartners'); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageAdmin = $moduleInfo->getInfo('icons32'); + + +$adminmenu = array(); +$i = 1; +$adminmenu[$i]["title"] = _MI_XPARTNERS_MENU_01; +$adminmenu[$i]["link"] = "admin/index.php"; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/home.png'; +$i++; +$adminmenu[$i]["title"] = _MI_XPARTNERS_ADMIN_MANAGE; +$adminmenu[$i]["link"] = "admin/main.php?op=default"; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/manage.png'; +$i++; +$adminmenu[$i]["title"] = _MI_XPARTNERS_ADMIN_ADDP; +$adminmenu[$i]["link"] = "admin/main.php?op=partnersAdminAdd"; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/add.png'; +$i++; +$adminmenu[$i]["title"] = _MI_XPARTNERS_ADMIN_ABOUT; +$adminmenu[$i]["link"] = "admin/about.php"; +$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/about.png'; \ No newline at end of file Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/blocks/index.html =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/blocks/index.html (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/blocks/index.html 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/blocks/partners.php =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/blocks/partners.php (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/blocks/partners.php 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1,195 @@ +<?php +// $Id: partners.php,v 1.8 2004/09/11 10:37:46 onokazu Exp $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------- // +// Author: Raul Recio (AKA UNFOR) // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + +function b_xoopspartners_show($options) +{ + global $xoopsDB; + $myts =& MyTextSanitizer::getInstance(); + + $block = array(); + $xpDir = basename(dirname(dirname(__FILE__))); + $block['xpDir'] = $xpDir; + + $partner_handler =& xoops_getmodulehandler('partners', $xpDir); + $pFields = array('id', 'url', 'image', 'title', 'description'); + $criteria = new CriteriaCompo(); + $criteria->setLimit($options[3]); + if ($options[2]) { + $criteria->setSort('RAND()'); + } else { + $criteria->setSort($options[5]); + $criteria->setOrder($options[6]); + } + $pObjs = $partner_handler->getAll($criteria, $pFields); + foreach ($pObjs as $pObj) { + $url = $myts->htmlSpecialChars($pObj->getVar('url')); + $origtitle = $pObj->getVar('title'); + $title = $myts->htmlSpecialChars($origtitle); + $description = $myts->htmlSpecialChars($pObj->getVar('description')); + $image = $myts->htmlSpecialChars($pObj->getVar('image')); + //@TODO: make display string length a config option + if (strlen($origtitle) > 19) { + $title = $myts->htmlSpecialChars(substr($origtitle, 0, 19)) . "..."; + } + $partners['id'] = $pObj->getVar('id'); + $partners['url'] = $url; + $partners['description'] = $description; + if (!empty($image) && (1 == $options[4] || 3 == $options[4])) { + $partners['image'] = $image; + } + if (empty($image) || $options[4] == 2 || $options[4] == 3) { + $partners['title'] = $title; + } else { + $partners['title'] = ''; + } + $block['partners'][] = $partners; + } + $block['insertBr'] = (1 == $options[0]) ? true : false; + $block['fadeImage'] = (1 == $options[1]) ? true : false ; + return $block; +} + +/** + * + * Retrieve Random Partners from database + * @param integer $numberPartners + * @param bool $random + * @param string $orden + * @param string $desc + * @deprecated + */ +function xoopspartners_random($numberPartners, $random=true, $orden="", $desc="") +{ + global $xoopsDB; + $GLOBALS['xoopsLogger']->addDeprecated(__FUNCTION__ . "in '/xoopspartners/blocks/partners.php' is deprecated."); + $partnersId = array(); + if ($random) { + $result = $xoopsDB->query("SELECT id FROM " .$xoopsDB->prefix("partners"). " WHERE status = 1 ORDER BY RAND() LIMIT {$numberPartners}"); + $numrows = $xoopsDB->getRowsNum($result); + } else { + $result = $xoopsDB->query("SELECT id FROM " .$xoopsDB->prefix("partners"). " WHERE status = 1 ORDER BY {$orden} {$desc}, LIMIT {$numberPartners}"); + } + while ($ret = $xoopsDB->fetchArray($result)) { + $partnersId[]= $ret['id']; + } + return $partnersId; +} + +function b_xoopspartners_edit($options) +{ + if (0 == $options[0]) { + $chk0no = " checked='checked'"; + $chk0yes = ""; + } else { + $chk0no = ""; + $chk0yes = " checked='checked'"; + } + if (0 == $options[1]) { + $chk1no = " checked='checked'"; + $chk1yes = ""; + } else { + $chk1no = ""; + $chk1yes = " checked='checked'"; + } + if (0 == $options[2]) { + $chk2no = " checked='checked'"; + $chk2yes = ""; + } else { + $chk2no = ""; + $chk2yes = " checked='checked'"; + } + $form = "<table style='border-width: 0px;'>\n" + ." <tr>\n" + ." <td>" . _MB_XPARTNERS_PSPACE . "</td>\n" + ." <td>" + ."<input type='radio' name='options[0]' value='0'{$chk0no} />" . _NO . "" + ."<input type='radio' name='options[0]' value='1'{$chk0yes} />" . _YES . "" + ." </td>\n" + ." </tr>\n" + ." <tr>\n" + ." <td>" . _MB_XPARTNERS_FADE . "</td>\n" + ." <td>" + ."<input type='radio' name='options[1]' value='0'{$chk1no} />" . _NO . "" + ."<input type='radio' name='options[1]' value='1'{$chk1yes} />" . _YES . "</td>\n" + ." </tr>\n" + ." <tr>\n" + ." <td>" . _MB_XPARTNERS_BRAND . "</td>\n" + ." <td>" + ."<input type='radio' name='options[2]' value='0'{$chk2no} />" . _NO . "" + ."<input type='radio' name='options[2]' value='1'{$chk2yes} />" . _YES . "</td>\n" + ." </tr>\n" + ." <tr>\n" + ." <td>" . _MB_XPARTNERS_BLIMIT . "</td>\n" + ." <td><input type='text' name='options[3]' size='16' value='{$options[3]}' /></td>\n" + ." </tr>\n" + ." <tr>\n" + ." <td>" . _MB_XPARTNERS_BSHOW . "</td>\n" + ." <td>\n" + ." <select size='1' name='options[4]'>\n"; + $sel = (1 == $options[4]) ?" selected='selected'" : ""; + $form .= " <option value='1'{$sel}>" . _MB_XPARTNERS_IMAGES . "</option>\n"; + + $sel = (2 == $options[4]) ?" selected='selected'" : ""; + $form .= " <option value='2'{$sel}>" . _MB_XPARTNERS_TEXT . "</option>\n"; + + $sel = (3 == $options[4]) ? " selected='selected'" : ""; + $form .= " <option value='3'{$sel}>" . _MB_XPARTNERS_BOTH . "</option>\n" + . " </select>\n" + . " </td>\n" + . " </tr>\n" + . " <tr>\n" + . " <td>" . _MB_XPARTNERS_BORDER . "</td>\n" + . " <td>\n" + . " <select size='1' name='options[5]'>"; + $sel = ('id' == $options[5]) ?" selected='selected'" : ""; + $form .= " <option value='id'{$sel}>" . _MB_XPARTNERS_ID . "</option>\n"; + + $sel = ('hits' == $options[5]) ? " selected='selected'" : ""; + $form .= " <option value='hits'{$sel}>" . _MB_XPARTNERS_HITS . "</option>\n"; + + $sel = ('title' == $options[5]) ? " selected='selected'" : ""; + $form .= " <option value='title'{$sel}>" . _MB_XPARTNERS_TITLE . "</option>\n"; + + $sel = ('weight' == $options[5]) ? " selected='selected'" : ""; + $form .= " <option value='weight'{$sel}>" . _MB_XPARTNERS_WEIGHT . "</option>\n" + . " </select>\n" + . " <select size='1' name='options[6]'>\n"; + + $sel = ('ASC' == $options[6]) ? " selected='selected'" : ""; + $form .= " <option value='ASC'{$sel}>" . _MB_XPARTNERS_ASC . "</option>\n"; + + $sel = ('DESC' == $options[6]) ? " selected='selected'" : ""; + $form .= " <option value='DESC'{$sel}>" . _MB_XPARTNERS_DESC . "</option>\n" + . " </select>\n" + . " </td>\n" + . " </tr>\n" + . "</table>\n"; + return $form; +} \ No newline at end of file Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/class/index.html =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/class/index.html (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/class/index.html 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1 @@ + <script>history.go(-1);</script> Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/class/partners.php =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/class/partners.php (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/class/partners.php 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1,85 @@ +<?php +// $Id: partners.php,v 1.9.14.1 2005/08/15 15:04:59 skalpa Exp $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: Raul Recio (AKA UNFOR) // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + +defined('XOOPS_ROOT_PATH') or die("Direct file access prohibited."); + +class xoopspartnersPartners extends XoopsObject +{ + var $db; + + /** + * constructor + */ + function __construct($id=null) + { + $this->db =& XoopsDatabaseFactory::getDatabaseConnection(); + + $this->initVar('id', XOBJ_DTYPE_INT, null, false); + $this->initVar('weight', XOBJ_DTYPE_INT, null, false, 10); + $this->initVar('hits', XOBJ_DTYPE_INT, null, true, 10); + $this->initVar('url', XOBJ_DTYPE_TXTBOX, null, true); + $this->initVar('image', XOBJ_DTYPE_TXTBOX, null, true); + $this->initVar('title', XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar('description', XOBJ_DTYPE_TXTBOX, null, true); + $this->initVar('status', XOBJ_DTYPE_INT, null, false, 0); + if (!empty($id)) { + if (is_array($id)) { + $this->assignVars($id); + } else { + $this->load(intval($id)); + } + } + } + + /** + * Returns category title using PHP5 + * @return string + */ + public function __toString() + { + return $this->title; + } +} +/** + * @package kernel + * @copyright copyright © 2000 XOOPS.org + */ +class xoopspartnersPartnersHandler extends XoopsPersistableObjectHandler +{ + public function xoopspartnersPartnersHandler(&$db) + { + $this->__construct($db); + } + + function __construct(&$db) + { + parent::__construct($db, 'partners', 'xoopspartnersPartners', 'id'); + } +} Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/css/index.html =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/css/index.html (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/css/index.html 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/changelog.txt =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/changelog.txt (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/changelog.txt 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1,18 @@ +v1.12 2011/06/08 (Mamba) +================================= +- removed all icons files and point them to /Frameworks/moduleclasses +- updated to the latest ModuleAdmin Class + +v1.11 2011/04/15 (Mamba) Internal version +================================= +- moved changelog.txt back to /docs +- added Selenium Tests +- added Dashboard +- added Help +- changed Edit/Delete text links to Icons +- updated GUI to XOOPS Standard Module GUI (mamba) + +v1.10 Raul Recio (AKA UNFOR) +================================= +- Original + Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/credits.txt =================================================================== --- XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/credits.txt (rev 0) +++ XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/credits.txt 2012-01-21 16:30:26 UTC (rev 8771) @@ -0,0 +1,5 @@ +Credits +=============== +Developed by 'Raul Recio'(unfor) + +Updated to XOOPS 2.5.0 Standard GUI by Michael Beck (Mamba), with contributios by Gregory Mage (Mage) Added: XoopsModules/xoopspartners/branches/zyspec/xoopspartners/docs/index.html ================================================... [truncated message content] |
From: <be...@us...> - 2012-01-21 16:10:34
|
Revision: 8770 http://xoops.svn.sourceforge.net/xoops/?rev=8770&view=rev Author: beckmi Date: 2012-01-21 16:10:28 +0000 (Sat, 21 Jan 2012) Log Message: ----------- Moving ModuleInfo to Index Tab Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/admin/index.php XoopsModules/smallworld/trunk/smallworld/admin/menu.php XoopsModules/smallworld/trunk/smallworld/class/adminclass.php XoopsModules/smallworld/trunk/smallworld/language/english/admin.php Modified: XoopsModules/smallworld/trunk/smallworld/admin/index.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-21 15:02:26 UTC (rev 8769) +++ XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-21 16:10:28 UTC (rev 8770) @@ -35,7 +35,7 @@ $admin = new SmallworldAdmin(); // Find oldest message and apply to template -$dateoffirstmessage = date('d-m-Y H:i:s',$admin->oldestMsg()); +$dateoffirstmessage = date(_SHORTDATESTRING, $admin->oldestMsg()); // Get days number $totaldays = $admin->CountDays(); @@ -132,12 +132,41 @@ } + +//----------------------- +// 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'); + +//----------------------- + +$indexAdmin->addInfoBox(_AM_SMALLWORLD_MODULEINFO); +$indexAdmin->addInfoBoxLine(_AM_SMALLWORLD_MODULEINFO, "<class='smallworldadmin'>"._AM_SMALLWORLD_MODULEINSTALL." : %s</br>",$installversion,'Green','default'); +$indexAdmin->addInfoBoxLine(_AM_SMALLWORLD_MODULEINFO, "<class='smallworldadmin'>"._AM_SMALLWORLD_INSTALLDATE.": %s",$installdate,'Green','default'); +$indexAdmin->addInfoBoxLine(_AM_SMALLWORLD_MODULEINFO, "<class='smallworldadmin'>"."%s",$installCheck,'Green','default'); + + $indexAdmin->addInfoBox(_AM_SMALLWORLD_USERSTATS); -$indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<p class='smallworldadmin'>"._AM_SMALLWORLD_DATEOFFIRSTMESSAGE." : %s</p>",$dateoffirstmessage,'Green','default'); -$indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<p class='smallworldadmin'>"._AM_SMALLWORLD_TOTALUSERS." : %s</p>",$sumallusers, 'Red','default'); +$indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<class='smallworldadmin'>"._AM_SMALLWORLD_DATEOFFIRSTMESSAGE." : %s</br>",$dateoffirstmessage,'Green','default'); +$indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<class='smallworldadmin'>"._AM_SMALLWORLD_TOTALUSERS." : %s</br>",$sumallusers, 'Red','default'); if ($avgperday > 0) { - $indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<p class='smallworldadmin'>"._AM_SMALLWORLD_AVERAGEMSGPERDAY." : %s</p>", $avgperday, 'Red','default'); + $indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<class='smallworldadmin'>"._AM_SMALLWORLD_AVERAGEMSGPERDAY." : %s</br>", $avgperday, 'Red','default'); } if ($mat_cnt != 0 ) { Modified: XoopsModules/smallworld/trunk/smallworld/admin/menu.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/admin/menu.php 2012-01-21 15:02:26 UTC (rev 8769) +++ XoopsModules/smallworld/trunk/smallworld/admin/menu.php 2012-01-21 16:10:28 UTC (rev 8770) @@ -29,10 +29,10 @@ $adminmenu[$i]['link'] = 'admin/index.php'; $adminmenu[$i]['icon'] = $pathIcon32."/home.png"; -$i++; -$adminmenu[$i]['title'] = _MI_SMALLWORLD_ADMENU; -$adminmenu[$i]['link'] = 'admin/moduleinfo.php'; -$adminmenu[$i]['icon'] = $pathIcon32."/update.png"; +//$i++; +//$adminmenu[$i]['title'] = _MI_SMALLWORLD_ADMENU; +//$adminmenu[$i]['link'] = 'admin/moduleinfo.php'; +//$adminmenu[$i]['icon'] = $pathIcon32."/update.png"; $i++; $adminmenu[$i]['title'] = _MI_SMALLWORLDMENU_USERADMIN; Modified: XoopsModules/smallworld/trunk/smallworld/class/adminclass.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-21 15:02:26 UTC (rev 8769) +++ XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-21 16:10:28 UTC (rev 8770) @@ -223,6 +223,7 @@ // Variable $version = current xim version number // return csv file with (version, description, status, downloadUrl) function doCheckUpdate () { + global $pathIcon16; $version = $this->ModuleInstallVersion (); $critical = FALSE; $update = FALSE; @@ -231,25 +232,27 @@ $url = "http://www.culex.dk/updates/smallworld_version.csv"; $fileC = file_get_contents($url); $read = explode(";", $fileC); - $upd_img = '../images/upd_ok.png'; + + $upd_img = $pathIcon16.'/on.png'; + if ($read[0] > $version && $read[2] == "1") { $critical = TRUE; - $upd_img = '../images/upd_critical.png'; + $upd_img = $pathIcon16.'/off.png'; } if ($read[0] > $version && $read[2] != "1") { $update = TRUE; $upd_img = '../images/upd_normal.png'; } if ($critical) { - $rt = "<div class='smallworld_update'><span class='smallworld_update_header'><img class='smallworld_upd_img' src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_CRITICAL_UPD."</span></div></p>"; + $rt = "<div class='smallworld_update'><img src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_CRITICAL_UPD."</div></p>"; $rt .="<textarea class='xim_update_changelog'>".$read[1]."</textarea><br /><br />"; - $rt .=_AM_SMALLWORLD_UPDATE_SERVER_FILE."<br /><a href='".$read[3]."'>".$read[3]."</a></div><br/>"; + $rt .=_AM_SMALLWORLD_UPDATE_SERVER_FILE."<br /><a href='".$read[3]."'>".$read[3]."</a></div>"; } else if ($update) { - $rt = "<div class='smallworld_update'><span class='smallworld_update_header'><img class='smallworld_upd_img' src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_NORMAL_UPD."</span></div></p>"; + $rt = "<div class='smallworld_update'><img src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_NORMAL_UPD."</div></p>"; $rt .= "<textarea class='smallworld_update_changelog'>".$read[1]."</textarea><br /><br />"; $rt .="<p>". _AM_SMALLWORLD_UPDATE_SERVER_FILE."<br /><a href='".$read[3]."'>".$read[3]."</a>"; } else { - $rt = "<div class='smallworld_update'><span class='smallworld_update_header'><img class='smallworld_upd_img' src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_YOUHAVENEWESTVERSION."</span></div><br />"; + $rt = "<div class='smallworld_update'><br/><img src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_YOUHAVENEWESTVERSION."</div>"; } return $rt; } Modified: XoopsModules/smallworld/trunk/smallworld/language/english/admin.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/english/admin.php 2012-01-21 15:02:26 UTC (rev 8769) +++ XoopsModules/smallworld/trunk/smallworld/language/english/admin.php 2012-01-21 16:10:28 UTC (rev 8770) @@ -63,12 +63,12 @@ define('_AM_SMALLWORLD_ADDTIMEDROPDOWN_NOCHANGE','No change'); // various others -define('_AM_SMALLWORLD_UPDATE_CRITICAL_UPD','There is a critical update ready!!'); -define('_AM_SMALLWORLD_UPDATE_NORMAL_UPD','There is a newer version ready for download'); +define('_AM_SMALLWORLD_UPDATE_CRITICAL_UPD',' There is a critical update ready!!'); +define('_AM_SMALLWORLD_UPDATE_NORMAL_UPD',' There is a newer version ready for download'); define('_AM_SMALLWORLD_UPDATE_SERVER_ERROR','Server seems to be down or update is in progress.<br/>Try again later.'); define('_AM_SMALLWORLD_UPDATE_FILE_DESC','Description of newest version'); define('_AM_SMALLWORLD_UPDATE_SERVER_FILE','You can download the new version from here'); -define('_AM_SMALLWORLD_UPDATE_YOUHAVENEWESTVERSION','You have the newest version of Smallworld'); +define('_AM_SMALLWORLD_UPDATE_YOUHAVENEWESTVERSION',' You have the newest version of Smallworld'); define('_AM_SMALLWORLD_HELP','Help'); define('_AM_SMALLWORLD_ADMIN_USERDELETEDALERT',' and associated folders, files and table rows has been deleted'); define('_AM_SMALLWORLD_STATS_POS','#'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-01-21 15:02:33
|
Revision: 8769 http://xoops.svn.sourceforge.net/xoops/?rev=8769&view=rev Author: beckmi Date: 2012-01-21 15:02:26 +0000 (Sat, 21 Jan 2012) Log Message: ----------- Fixing file name (reported by andrey3761) Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/profile/admin/deactivate.php Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/profile/admin/deactivate.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/profile/admin/deactivate.php 2012-01-20 20:37:43 UTC (rev 8768) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/profile/admin/deactivate.php 2012-01-21 15:02:26 UTC (rev 8769) @@ -1,5 +1,5 @@ <?php -include 'header.php'; +include 'admin_header.php'; xoops_cp_header(); if ( !isset($_REQUEST['uid']) ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ren...@us...> - 2012-01-20 20:37:51
|
Revision: 8768 http://xoops.svn.sourceforge.net/xoops/?rev=8768&view=rev Author: renetjuh Date: 2012-01-20 20:37:43 +0000 (Fri, 20 Jan 2012) Log Message: ----------- Upload NL files MRBS 1.48 Added Paths: ----------- XoopsLanguages/dutch/modules/mrbs/ XoopsLanguages/dutch/modules/mrbs/mrbs1.48/ XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/ XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/admin.php XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/help/ XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/help/help.html XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/help/index.html XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/index.html XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/main.php XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/modinfo.php Property changes on: XoopsLanguages/dutch/modules/mrbs ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/mrbs/mrbs1.48 ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/admin.php =================================================================== --- XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/admin.php (rev 0) +++ XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/admin.php 2012-01-20 20:37:43 UTC (rev 8768) @@ -0,0 +1,19 @@ +<?php +/** +* $Id: $ +* Module: MRBS +* Author: jobrazo +* Licence: GNU +*/ + +$mydirname = basename(dirname(dirname(dirname( __FILE__ )))); +$GLOBALS["MRBS_PREFIX"] = strtoupper($mydirname); + +define("_AM_".$GLOBALS["MRBS_PREFIX"]."_ABOUT", "Over"); +define("_AM_".$GLOBALS["MRBS_PREFIX"]."_PREFERENCES", "Instellingen"); +define("_AM_".$GLOBALS["MRBS_PREFIX"]."_ACCESSMODULE", "Ga naar de module"); +define("_AM_".$GLOBALS["MRBS_PREFIX"]."_ADMIN_TITLE", "MRBS Administratie"); +define("_AM_".$GLOBALS["MRBS_PREFIX"]."_AREAS", "Kamers en Gebouwen"); +define("_AM_".$GLOBALS["MRBS_PREFIX"]."_PERMISSION", "Toegangsrechten"); + +?> \ No newline at end of file Property changes on: XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/help ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/help/help.html =================================================================== --- XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/help/help.html (rev 0) +++ XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/help/help.html 2012-01-20 20:37:43 UTC (rev 8768) @@ -0,0 +1,64 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/mrbs/admin/index.php" + title="Back to the administration of MRBS"> MRBS + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of MRBS"/> + </a></h1> + + <h4 class="odd">Description</h4> + + <p class="even">MRBS is a free, GPL, web application using PHP and MySQL for booking meeting rooms or other resources. + + <h4 class="odd">Some features:</h4> + <ul> + <li>Web/Intranet based - Available from any workstation through a Browser</li> + <li>Simple to follow, Web based options and intuitive presentation</li> + <li>Flexible Repeating Bookings</li> + <li>Authentication with your existing Xoops user database</li> + <li>Ensures that conflicting entries cannot be entered</li> + <li>Reporting option</li> + <li>Selectable DAY / WEEK / MONTH views</li> + <li>Multiple auth levels (read-only, user, admin)</li> + <li>Support for bookings by time or period - ideal for use in schools</li> + <li>Room administrators can be notified of bookings by email</li> + <li>Multiple languages supported (translated to Catalan, Czech, Chinese, Danish, Dutch, Finnish, French, German, Greek, Italian, Japanese, Korean, Norwegian, Portuguese, Slovenian, Spanish, Swedish, Turkish)</li> + <li>Stable and in use at many organizations</li> + <li>MySQL and Postgres support</li> + </ul> + If you like to make a donation please do this for the original project on SourceForge http://mrbs.sourceforge.net/. + And http://sourceforge.net/projects/mrbs/. + + + </p> + + <h4 class="odd">Install/uninstall</h4> + + <p class="even">No special measures necessary, follow the standard installation process – + extract the /marquee folder into the ../modules directory. Install the + module through Admin -> System Module -> Modules.<br /> <br /> + Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a> </p> + + + <h4 class="odd">Operating instructions</h4> + + This module and its operations are very simple:<br /> <br /> + <ul> + <li> Configure your preferences (e.g. select the text editor </li> + <li>Add an Area and Room </li> + <li>Add an event, and select the area and room </li> + <li>Check that you have given your user groups the necessary module and + block access rights to use this module. Group permissions are set through + the Administration Menu -> System -> Groups. </li> + </ul> + Detailed instructions + on configuring the access rights for user groups are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br /> <br /> + + <h4 class="odd">Tutorial</h4> + + <p class="even">You can find a more detailed Tutorial + <a href="<{$xoops_url}>/modules/mrbs/admin/how_to.php">here</a></p> + +</div> \ No newline at end of file Added: XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/help/index.html =================================================================== --- XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/help/index.html (rev 0) +++ XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/help/index.html 2012-01-20 20:37:43 UTC (rev 8768) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/index.html =================================================================== --- XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/index.html (rev 0) +++ XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/index.html 2012-01-20 20:37:43 UTC (rev 8768) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/main.php =================================================================== --- XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/main.php (rev 0) +++ XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/main.php 2012-01-20 20:37:43 UTC (rev 8768) @@ -0,0 +1,7 @@ +<?php + +$mydirname = basename(dirname(dirname(dirname( __FILE__ )))); +$GLOBALS["MRBS_PREFIX"] = strtoupper($mydirname); + + +?> \ No newline at end of file Added: XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/modinfo.php =================================================================== --- XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/modinfo.php (rev 0) +++ XoopsLanguages/dutch/modules/mrbs/mrbs1.48/nederlands/modinfo.php 2012-01-20 20:37:43 UTC (rev 8768) @@ -0,0 +1,309 @@ +<?php + +$mydirname = basename(dirname(dirname(dirname( __FILE__ )))); +$GLOBALS["MRBS_PREFIX"] = strtoupper($mydirname); + +define("_MI_".$GLOBALS["MRBS_PREFIX"]."_MENU_PREFERENCES", "Instellingen"); +define("_MI_".$GLOBALS["MRBS_PREFIX"]."_MENU_PERMISSION", "Toegangsrechten"); +define("_MI_".$GLOBALS["MRBS_PREFIX"]."_MENU_DESC_PERMISSION", "Anonieme groep kan enkel details rechten hebben"); +define("_MI_".$GLOBALS["MRBS_PREFIX"]."_MENU_INDEX", "Index"); +define("_MI_".$GLOBALS["MRBS_PREFIX"]."_MENU_HOW_TO", "How To guide"); +define("_MI_".$GLOBALS["MRBS_PREFIX"]."_MENU_ABOUT", "Over"); +define("_MI_".$GLOBALS["MRBS_PREFIX"]."_MENU_ROOMS_AREAS", "Kamers en Gebouwen"); +define("_MI_".$GLOBALS["MRBS_PREFIX"]."_MENU_HELP", "Help"); +define("_MI_".$GLOBALS["MRBS_PREFIX"]."_MENU_UPDATES", "Updates"); + +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_VIEW_BOOKING','Toegang details'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_CREATE_BOOKING','Maken van een reservatie'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MODIFY_BOOKING','Beheer van reservaties'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_FULL_ADMIN','Volledig beheer'); + +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_ADMIN','Naam van de beheerder'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_ADMIN_DESC',''); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_ADMIN_EMAIL','Email van de beheerder'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_ADMIN_EMAIL_DESC',''); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_COMPANY','Bedrijfsnaam'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_COMPANY_DESC',''); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_COMPANY_LOGO','Bedrijfslogo'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_COMPANY_LOGO_DESC','Naam van het logobestand. Dit bestand moet in de MRBS folder staan.<br /> +Om een bedrijfslogo te tonen i.p.v. de bedrijfsnaam.<br /> +Een leeg veld toont de bedrijfsnaam' +); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_COMPANY_MORE_INFO','Meer informatie over je bedrijf'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_COMPANY_MORE_INFO_DESC','Extra informatie over je bedrijf<br /> +Een leeg veld toont niks'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_COMPANY_URL','Webadres van je bedrijf'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_COMPANY_URL_DESC','Link naar je website in de hoofding van het scherm<br /> +Een leeg veld toont niks'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_URL_BASE','Url basis'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_URL_BASE_DESC','Indien je een proxy gebruikt in het bedrijf kan er een probleem zijn bij het doorgeven van de URL,<br /> +indien dit het geval is geef dan hier de basisURL voor de MRBS folder in.<br /> +Deze instelling is ook aan te raden indien je gebruik maakt van email verwittiging,<br /> +zodat je zeker bent dat telkens de juiste URL is meegegeven. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOWBOOKER','Toon reservatiemaker'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOWBOOKER_DESC','Toon echte naam, gebruikersnaam, allebei of niks'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOWBOOKER_UNAME','gebruikersnaam'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOWBOOKER_NAME','echte naam'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOWBOOKER_BOTH','allebei'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOWBOOKER_NONE','niks'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOWPASTMONTH','Toon kalender van vorige maand'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOWPASTMONTH_DESC','2 of 3 kalenders in het reservatiescherm'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_ENABLE_PERIODS','Periodes'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_ENABLE_PERIODS_DESC','Gebruik klok gebaseerde intervals (uit)<br /> of vooraf ingestelde periodes (aan).<br /> +Indien je vooraf ingestelde periodes gebuikt dan worden de instellingen van<br /> +Resolutie, Startuur, Einduur, Eindminuten en 24H formaat genegeerd.<br /> +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_ENABLE_PERIODS_TRUE','Periodes aan'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_ENABLE_PERIODS_FALSE','Periodes uit'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_PERIODS','Gebruikte periodes'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_PERIODS_DESC','Geef hier de periodes in die je wenst te gebruiken met de code P1 tot P60, elk gescheiden door een komma<br /> +Editeer de lang.* bestanden in de MRBS folder om de tekst aan te passen (rond lijn 290).<br /> +Je kan maximum 60 periodes gebruiken'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_RESOLUTION','Resolutie'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_RESOLUTION_DESC','Welk blok in seconden kan je reserveren.<br /> +1800 sec = 30 min'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_DURATION','Standaard duur van een reservatie'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_DURATION_DESC','Standaard duur van een reservatie in seconden.<br /> +Niet gebruikt als je werkt met periodes. Standaard 3600 seconden = 1 uur'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MORNINGSTARTS','Eerste uur van de dag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MORNINGSTARTS_DESC','Waarde tussen 0 en 23'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MORNINGSTARTS_MINUTES','Eerste minuten van de dag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MORNINGSTARTS_MINUTES_DESC','Waarde tussen 0 en 59'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_EVENINGENDS','Laatste uur van de dag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_EVENINGENDS_DESC','Waarde tussen 0 en 23'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_EVENINGENDS_MINUTES','Laatste minuten van de dag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_EVENINGENDS_MINUTES_DESC','Waarde tussen 0 en 59'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_WEEKSTARTS','Startdag van de week'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_WEEKSTARTS_DESC','Op welke dag start de week 0 = Zondag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_HIDDEN_DAYS','Dagen verbergen'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_HIDDEN_DAYS_DESC','Dagen die je niet wenst te zien in het reservatiescherm (komma als scheidingsteken)<br /> +0 voor Zondag, 1 voor Maandag, enz.<br /> +Voorbeeld, je wil Zaterdag en Zondag niet zien <b>0,6</b><br /> +Standaard zijn de verborgen dagen volledig onzichtbaar in de maand en week tabel.<br /> +Je kan ze zichtbaar maken als smalle kolom of grijze kolom door het CSS bestand aan te passen.<br /> +Zoek naar $column_hidden_width in mrbs.css.php.<br /> +Opmerking: niet tegenstaande ze verborgen zijn in week en maand overzicht,<br /> +kan je nog altijd een reservatie maken via het ingavescherm<br /> +en je kan ze nog altijd zichtbaar maken in het overzicht door via de datumselectie er rechtstreeks naartoe te gaan. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DATEFORMAT','Datumformaat in voettekst van de pagina'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DATEFORMAT_DESC','Toon de datum als "Jul 10" of "10 Jul".'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DATEFORMAT_0','Ex: Jul 10'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DATEFORMAT_1','Ex: 10 Jul'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TWENTYFOURHOUR_FORMAT','Tijdsaanduiding op de pagina'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TWENTYFOURHOUR_FORMAT_DESC','12H aanduiding of 24H aanduiding.'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TWENTYFOURHOUR_FORMAT_0','12H'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TWENTYFOURHOUR_FORMAT_1','24H'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAX_REP_ENTRYS','Maximum aantal herhalende ingaves'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAX_REP_ENTRYS_DESC','Max nodig +1'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_REPORT_DAYS','Standaard rapportoverzicht in dagen'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_REPORT_DAYS_DESC',''); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SEARCHCOUNT','Aantal resultaten per pagina bij het zoeken'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SEARCHCOUNT_DESC',''); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_REFRESH_RATE','Pagina automatisch vernieuwen (in seconden)'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_REFRESH_RATE_DESC','0 om niet te gebruiken.'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SIMPLE_TRAILER','Uitzicht voettekst pagina'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SIMPLE_TRAILER_DESC','Complete voettekst met een link naar dagen, weken en maand voor en na de huidige datum.<br /> +Of een eenvoudige voettekst met een link naar de huidige dag, week en maand. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SIMPLE_TRAILER_TRUE','Eenvoudige voettekst'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SIMPLE_TRAILER_FALSE','Volledige voettekst'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_AREA_LIST_FORMAT','Uitzicht selectievak kamers en gebouwen'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_AREA_LIST_FORMAT_DESC','Kamers en gebouwen tonen als een lijst of een drop-down selectievak.'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_AREA_LIST_FORMAT_LIST','Lijst'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_AREA_LIST_FORMAT_SELECT','Dropdown selectievak'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MONTHLY_VIEW_ENTRIES_DETAILS','Details boekingen in maandoverzicht'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MONTHLY_VIEW_ENTRIES_DETAILS_DESC','Boekingen in het maandoverzicht kunnen getoond worden als start/eind uur, korte beschrijving of allebei.<br /> +Kies "beschrijving" voor korte beschrijving, "slot" voor start/end uur of "allebei" voor beide.<br /> +Standaard is "allebei", maar je ziet er maximum 6 per dag en niet 12. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MONTHLY_VIEW_ENTRIES_DETAILS_D','Beschrijving'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MONTHLY_VIEW_ENTRIES_DETAILS_S','Slot'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MONTHLY_VIEW_ENTRIES_DETAILS_B','Allebei'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_VIEW_WEEK_NUMBER','Weeknummer'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_VIEW_WEEK_NUMBER_DESC','Weergave van de weken in de voettekst van je pagina (trailer.inc) als weeknummers (42) i.p.v. "Eerste dag van de week" (13 Oct)".'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_VIEW_WEEK_NUMBER_TRUE','Toon weeknummerr'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_VIEW_WEEK_NUMBER_FALSE','Verberg weeknummer'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TIMES_RIGHT_SIDE','Tijdsaanduiding rechts'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TIMES_RIGHT_SIDE_DESC','Om ook de tijdsaanduiding rechts van je dag en week overzicht te zien".'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TIMES_RIGHT_SIDE_TRUE','Toon tijd aan de rechterkant'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TIMES_RIGHT_SIDE_FALSE','Verberg tijd aan de rechterkant'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_JAVASCRIPT_CURSOR','Javascript cursor'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_JAVASCRIPT_CURSOR_DESC','Werking actieve cursor in dag/week/maand overzicht.<br /> +Standaard gebruikt het systeem highlighting via de CSS :hover pseudo-class.<br /> +Oudere browsers zoals IE6 ondersteunen dit niet en MRBS zal automatisch overschakelen naar JavaScript highlighting.<br /> +Hierbij zijn er drie mogelijkheden: "bgcolor", "class" and "hybrid" (Zie volgende instelling).<br /> +Bij echt oude browsers kan je JavaScript highlighting beter uitschakelen. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_JAVASCRIPT_CURSOR_TRUE','javascript cursor AAN'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_JAVASCRIPT_CURSOR_FALSE','javascript cursor UIT'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_HIGHLIGHT_METHOD','Highlight methode'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_HIGHLIGHT_METHOD_DESC','"Hybrid" is aan te raden en is sneller in oudere browsers zoals IE6<br /> +Dit is de enige keer dat JavaScript highlighting wordt gebruikt.<br /> +Anders gebruikt men steeds CSS highlighting of "javascript cursor" aan staat of niet.<br /> +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_HIGHLIGHT_METHOD_HYBRID','Hybrid'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_HIGHLIGHT_METHOD_CLASS','Class'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_HIGHLIGHT_METHOD_BGCOLOR','Bgcolor'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOW_PLUS_LINK','(+) link'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOW_PLUS_LINK_DESC','Altijd de (+) link tonen'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOW_PLUS_LINK_TRUE','Toon (+) link'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SHOW_PLUS_LINK_FALSE','Verberg (+) link'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_VIEW','Standaard startscherm'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_VIEW_DESC','Maand, week of dag overzicht'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_VIEW_DAY','Dag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_VIEW_WEEK','Week'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_VIEW_MONTH','Maand'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_ROOM','Standaard kamer'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_ROOM_DESC','Standaard kamer die moet getoond worden op de eerste pagina (gebruikt door index.php)<br /> +Je kan de kamernummers zien door naar de Aanpassen of Verwijderen URL van de kamer te kijken op de beheerpagina. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MONTH_CELL_SCROLLING','Scrollen in de cellen van het maandoverzicht aanzetten'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MONTH_CELL_SCROLLING_DESC','Kies Ja als je wil kunnen scrollen in de cellen van het maandoverzicht.<br /> +Note: Dit werkt niet met IE6 en IE8 Beta2 +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MONTH_CELL_SCROLLING_TRUE','Ja'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MONTH_CELL_SCROLLING_FALSE','Nee'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TIMEZONE','Tijdzone van de webserver'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TIMEZONE_DESC','Stel hier de tijdzone van je webserver in. vb: Europe/London of Europe/Brussels<br /> +Deze instelling is belangrijk als je PHP5 gebruikt op een Linux server en er reservaties worden <br /> +gemaakt vanuit verschillende tijdzones en wanneer je SMTP gebruikt voor het verzenden van emailberichten met MRBS +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SESSION','Verificatiemethode gebruiker'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SESSION_DESC','Hoe het Xoops user ID gebruiken en vasthouden.'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SESSION_PHP','php'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SESSION_HTTP','http'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ON_BOOKINGS','Email (globale) beheerder bij het plaatsen van een reservatie'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ON_BOOKINGS_DESC','Kies Ja als je dit wil'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ON_BOOKINGS_TRUE','Ja'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ON_BOOKINGS_FALSE','Nee'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_AREA_ADMIN_ON_BOOKINGS','Email gebouwgeheerder bij het plaatsen van een reservatie'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_AREA_ADMIN_ON_BOOKINGS_DESC','Kies Ja als je dit wil.<br /> +Emailadres van een gebouwbeheerder stel je in via de Beheer Kamers en Gebouwen pagina. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_AREA_ADMIN_ON_BOOKINGS_TRUE','Ja'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_AREA_ADMIN_ON_BOOKINGS_FALSE','Nee'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ROOM_ADMIN_ON_BOOKINGS','Email kamerbeheerder bij het plaatsen van een reservatie'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ROOM_ADMIN_ON_BOOKINGS_DESC','Kies Ja als je dit wil.<br /> +Emailadres van een kamerbeheerder stel je in via de Beheer kamers en Gebouwen pagina. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ROOM_ADMIN_ON_BOOKINGS_TRUE','Ja'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ROOM_ADMIN_ON_BOOKINGS_FALSE','Nee'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ON_DELETE','Email (globale) beheerder bij het verwijderen van een reservatie'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ON_DELETE_DESC','Kies Ja als je dit wil.<br /> +Email zal verzonden worden naar de (globale) mrbs beheerder,<br /> +gebouwbeheerder indien ingesteld en reservatiemaker als Email reservatiemaker aanstaat (zie verder). +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ON_DELETE_TRUE','Ja'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ON_DELETE_FALSE','Nee'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ALL','Email alle beheerders'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ALL_DESC','Kies Ja als je bericht wenst te ontvangen van elke aanpassing (nieuwe ingaves).<br /> +Ook als ze aangepast worden. Standaard is Nee (enkel ,nieuwe ingaves) +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ALL_TRUE','Ja'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_ALL_FALSE','Nee'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_DETAILS','Email details'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_DETAILS_DESC','Kies Ja als je details wil zien in het mailbericht, anders krijg je enkel een link naar de webpagina van die reservatie.<br /> +Niet belangrijk voor verwijderde reservaties. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_DETAILS_TRUE','Ja'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_DETAILS_FALSE','Nee'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_BOOKER','Email reservatiemaker'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_BOOKER_DESC','Kies Ja als je wil dat de reservatiemaker een kopie ontvangt van de gemaakte / aangepaste reservatie.<br /> + +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_BOOKER_TRUE','Ja'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_BOOKER_FALSE','Nee'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_BACKEND','Emailsysteem'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_BACKEND_DESC','Kies het mailsysteem dat je wenst te gebruiken.<br /> +Ofwel "mail", "smtp" of "sendmail". +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_BACKEND_MAIL','mail'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_BACKEND_SMTP','smtp'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_BACKEND_SENDMAIL','Sendmail'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SENDMAIL_PATH','Sendmail path'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SENDMAIL_PATH_DESC','Het path naar het Sendmail programma (enkel indien je de optie "sendmail" gebruikt).'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SENDMAIL_ARGS','Sendmail parameters'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SENDMAIL_ARGS_DESC','Extra Sendmail parameters (enkel indien je de optie "sendmail" gebruikt).<br /> +Voorbeeld : -t -i +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_HOST','Smtp server'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_HOST_DESC','Gebruikte smtp server.<br /> +Enkel indien je "smtp" gebruikt. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_PORT','Smtp poort'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_PORT_DESC','Kies de gebruikte smtp poort.<br /> +Enkel indien je "smtp" gebruikt. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_AUTH','Smtp authenticatie'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_AUTH_DESC','Ja indien je SMTP authenticatie gebruikt.'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_AUTH_TRUE','Ja'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_AUTH_FALSE','Nee'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_USERNAME','Smtp gebruikersnaam'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_USERNAME_DESC','Gebruikersnaam voor SMTP authenticatie.'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_PASSWORD','Smtp wachtwoord'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_SMTP_PASSWORD_DESC','Wachtwoord voor SMTP authenticatie.'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_LANG','Emailtaal van de beheerder'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_ADMIN_LANG_DESC','Kies de gebruikte taal voor de emails (kies een beschikbare taal).'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_FROM','Email van'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_FROM_DESC','Het gebruikte emailadres in het Van vakje.<br /> +Indien leeg gebruikt het systeem het emailadres van de beheerder. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_RECIPIENTS','Email ontvangers'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_RECIPIENTS_DESC','Geef de emailadressen voor ontvangers.<br /> +Je kan meerdere adressen ingeven op volgende manier "jo...@do...,sc...@ti...".<br /> +Indien leeg gebruikt het systeem het emailadres van de beheerder. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_CC','Carbon copy email ontvangers'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_CC_DESC','Geef de emailadressen voor de CC ontvangers.<br /> +Je kan meerdere adressen ingeven op volgende manier "jo...@do...,sc...@ti...". +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_UNICODE_ENCODING','Unicode codering'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_UNICODE_ENCODING_DESC','Standaard UTF-8 voor alle informatie<br /> +Indien niet zullen de tekens met verschillende coderingen bewaard worden in de database afhankelijk van de gebruikerstaal'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_UNICODE_ENCODING_0','Geen UTF-8 gebruiken'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_UNICODE_ENCODING_1','Wel UTF-8 gebruiken'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_LANGUAGE_TOKENS','Standaard taal'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DEFAULT_LANGUAGE_TOKENS_DESC','Standaard taal voor het volledige systeem.<br /> +Maak een keuze uit de aangeboden lijst voor de standaardtaal van het systeem.<br /> +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DISABLE_AUTOMATIC_LANGUAGE','Automatisch de taal aanpassen'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DISABLE_AUTOMATIC_LANGUAGE_DESC',"Aan of uit. Automatisch de taal van MRBS instellen gebaseerd op de browserinstelling van de gebruiker.<br /> +indien 'uit', gebruikt het systeem de Standaard taal instelling. +"); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DISABLE_AUTOMATIC_LANGUAGE_0','Aan'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_DISABLE_AUTOMATIC_LANGUAGE_1','Uit'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_FAQFILELANG','Taal voor het FAQ bestand'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_FAQFILELANG_DESC',"Standaard engels.<br /> +Maak een keuze uit de aangeboden lijst. +"); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_THEME','Thema'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_THEME_DESC','Maak een keuze uit de aangeboden lijst.'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_ENTRY_TYPES','Soorten reservaties'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_ENTRY_TYPES_DESC','maak je eigen soorten reservaties.<br /> +Gebruik A tot Z (met uitzondering van E en I die standaard aanstaan als intern en extern).<br /> +Gebruik een komma als scheidingsteken<br /> +Editeer de lang.* bestanden in de "mrbs" folder om de tekst aan te passen (rond lijn 260).<br /> +Editeer de *.inc bestanden (rond lijn 70) in de "Themes" folder om de kleuren aan te passen. +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_WEEKSTARTS_0','Zondag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_WEEKSTARTS_1','Maandag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_WEEKSTARTS_2','Dinsdag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_WEEKSTARTS_3','Woensdag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_WEEKSTARTS_4','Donderdag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_WEEKSTARTS_5','Vrijdag'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_WEEKSTARTS_6','Zaterdag'); + +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_CHARSET','Karakterset mail'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_MAIL_CHARSET_DESC','Je kan de standaard karakterset gebruikt in mails wijzigen (standaard utf-8), zorg er wel voor dat de gekozen karakterset de door jou gebruikte tekens kan tonen.<br /> +voorbeeld : iso-8859-1 . +'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_USE_LIMIT_TIME_BOOKING','Gebruik een limiet voor aantal dagen op voorhand reserveren'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_USE_LIMIT_TIME_BOOKING_DESC','Beperk het maken van reservaties in tijd. Niet van toepassing voor full admins'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_USE_LIMIT_TIME_BOOKING_TRUE','Ja'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_USE_LIMIT_TIME_BOOKING_FALSE','Nee'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TIME_BOOKING','Aantal dagen dat men op voorhand kan reserveren'); +define('_MI_'.$GLOBALS["MRBS_PREFIX"].'_TIME_BOOKING_DESC','Limiet moet hiervoor aanstaan. Optie hierboven.'); + +?> \ 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-20 18:51:16
|
Revision: 8767 http://xoops.svn.sourceforge.net/xoops/?rev=8767&view=rev Author: djculex Date: 2012-01-20 18:51:05 +0000 (Fri, 20 Jan 2012) Log Message: ----------- error in arraycount in both adminclass.php and index.php Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/admin/index.php XoopsModules/smallworld/trunk/smallworld/class/adminclass.php Modified: XoopsModules/smallworld/trunk/smallworld/admin/index.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-20 18:21:33 UTC (rev 8766) +++ XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-01-20 18:51:05 UTC (rev 8767) @@ -74,12 +74,12 @@ // Find list of most active users (24 hours) $maToday = $admin->mostactiveusers_today(); $mat_cnt = 0; - if (count($maToday) != 0) { + if (count(array($maToday)) > 0) { $mat_cnt = 1; $mat = "<table class='smallworldadmin'><tr>"; $mat .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>"; $i = 1; - while ($i < count($maToday)-1) { + while ($i <= count(array($maToday))) { $mat .= vsprintf('<tr><td>%s</td>',array($maToday['counter'][$i])); $mat .= vsprintf('<td>%s</td>',array($maToday['img'][$i])); $mat .= vsprintf('<td>%s</td>',array($maToday['cnt'][$i])); Modified: XoopsModules/smallworld/trunk/smallworld/class/adminclass.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-20 18:21:33 UTC (rev 8766) +++ XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-01-20 18:51:05 UTC (rev 8767) @@ -139,9 +139,9 @@ $sql .= "GROUP BY uid_fk "; $sql .= "ORDER BY count( * ) DESC limit 20"; $result = $xoopsDB->queryF($sql); - if ($xoopsDB->getRowsNum($result) > 0) { $msgtoday = array(); - $i = 1; + if ($xoopsDB->getRowsNum($result) != 0) { + $i = 1; while ($row = $xoopsDB->fetchArray($result)) { $msgtoday["counter"][$i] = $i; $msgtoday["img"][$i] = "<img style='margin:0px 5px;' src = '../images/".$i.".png'></img>"; @@ -151,8 +151,7 @@ $i++; } } else { - $msgtoday['cnt'][1] = _AM_SMALLWORLD_THEREARE; - $msgtoday['from'][1] = _AM_SMALLWORLD_NO; + $msgtoday = array(); } return $msgtoday; } @@ -176,10 +175,7 @@ $i++; } } else { - $array['counter'][$i] = ''; - $array['img'][$i] = ""; - $array['cnt'][$i] = _AM_SMALLWORLD_NO; - $array['user'][$i] = _AM_SMALLWORLD_THEREARE; + $array = array(); } } else { $sql = "SELECT owner, count(*) as cnt FROM ".$xoopsDB->prefix('smallworld_vote')." where down='1' GROUP by owner ORDER BY cnt DESC limit 20"; @@ -195,10 +191,7 @@ $i++; } } else { - $array['counter'][$i] = ''; - $array['img'][$i] = ""; - $array['cnt'][$i] = _AM_SMALLWORLD_NO; - $array['user'][$i] = _AM_SMALLWORLD_THEREARE; + $array = array(); } } return $array; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |