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: <ok...@us...> - 2003-01-06 09:01:39
|
Update of /cvsroot/xoops/xoops2/install/language/japanese In directory sc8-pr-cvs1:/tmp/cvs-serv2964/install/language/japanese Added Files: install.php Log Message: --- NEW FILE: install.php --- (This appears to be a binary file; contents omitted.) |
From: <ok...@us...> - 2003-01-06 09:01:25
|
Update of /cvsroot/xoops/xoops2/install/language/japanese In directory sc8-pr-cvs1:/tmp/cvs-serv2893/japanese Log Message: Directory /cvsroot/xoops/xoops2/install/language/japanese added to the repository |
From: <ok...@us...> - 2003-01-06 08:49:24
|
Update of /cvsroot/xoops/xoops2/kernel/member/object In directory sc8-pr-cvs1:/tmp/cvs-serv32443/kernel/member/object Modified Files: user.php Log Message: code optimization Index: user.php =================================================================== RCS file: /cvsroot/xoops/xoops2/kernel/member/object/user.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** user.php 5 Jan 2003 20:45:47 -0000 1.4 --- user.php 6 Jan 2003 08:49:18 -0000 1.5 *************** *** 35,39 **** { ! var $groups = array(); function XoopsUser($id = null) --- 35,42 ---- { ! var $_groups = array(); ! var $_isAdmin = null; ! var $_rank = null; ! var $_isOnline = null; function XoopsUser($id = null) *************** *** 105,130 **** { if (is_array($groupsArr)) { ! $this->groups =& $groupsArr; } } function &getGroups() { ! if (empty($this->groups)) { $member_handler =& xoops_gethandler('member'); ! $this->groups =& $member_handler->getGroupsByUser($this->getVar('uid')); } ! return $this->groups; } function isAdmin($module_id = 0) { ! $moduleperm_handler =& xoops_gethandler('permission', 'moduleperm'); ! if (!$moduleperm_handler->checkRight($module_id, $this->getGroups(), 'A')) { ! return false; } ! return true; } function rank() { ! return xoops_getrank($this->getVar('rank'), $this->getVar('posts')); } function isActive() --- 108,136 ---- { if (is_array($groupsArr)) { ! $this->_groups =& $groupsArr; } } function &getGroups() { ! if (empty($this->_groups)) { $member_handler =& xoops_gethandler('member'); ! $this->_groups =& $member_handler->getGroupsByUser($this->getVar('uid')); } ! return $this->_groups; } function isAdmin($module_id = 0) { ! if (!isset($this->_isAdmin)) { ! $moduleperm_handler =& xoops_gethandler('permission', 'moduleperm'); ! $this->_isAdmin = (!$moduleperm_handler->checkRight($module_id, $this->getGroups(), 'A')) ? false : true; } ! return $this->_isAdmin; } function rank() { ! if (!isset($this->_rank)) { ! $this->_rank = xoops_getrank($this->getVar('rank'), $this->getVar('posts')); ! } ! return $this->_rank; } function isActive() *************** *** 137,146 **** function isOnline() { ! $onlinehandler =& xoops_gethandler('online'); ! if ($onlinehandler->getCount(new Criteria('online_uid', $this->getVar('uid'))) > 0) { ! return true; ! } else { ! return false; } } function uid() --- 143,151 ---- function isOnline() { ! if (!isset($this->_isOnline)) { ! $onlinehandler =& xoops_gethandler('online'); ! $this->_isOnline = ($onlinehandler->getCount(new Criteria('online_uid', $this->getVar('uid'))) > 0) ? true : false; } + return $this->_isOnline; } function uid() |
From: <ok...@us...> - 2003-01-05 20:45:50
|
Update of /cvsroot/xoops/xoops2/kernel/member/object In directory sc8-pr-cvs1:/tmp/cvs-serv29516/kernel/member/object Modified Files: user.php Log Message: fixed bug in checking if a user is online Index: user.php =================================================================== RCS file: /cvsroot/xoops/xoops2/kernel/member/object/user.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** user.php 5 Jan 2003 18:25:19 -0000 1.3 --- user.php 5 Jan 2003 20:45:47 -0000 1.4 *************** *** 138,142 **** { $onlinehandler =& xoops_gethandler('online'); ! if ($onlinehandler->getCount(new Criteria('uid', $this->getVar('uid'))) > 0) { return true; } else { --- 138,142 ---- { $onlinehandler =& xoops_gethandler('online'); ! if ($onlinehandler->getCount(new Criteria('online_uid', $this->getVar('uid'))) > 0) { return true; } else { |
From: <ok...@us...> - 2003-01-05 19:56:16
|
Update of /cvsroot/xoops/xoops2/kernel/object/object In directory sc8-pr-cvs1:/tmp/cvs-serv14581/kernel/object/object Modified Files: object.php Log Message: changed setVar to assignVar in clone() Index: object.php =================================================================== RCS file: /cvsroot/xoops/xoops2/kernel/object/object/object.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** object.php 5 Jan 2003 19:28:38 -0000 1.5 --- object.php 5 Jan 2003 19:56:13 -0000 1.6 *************** *** 424,428 **** $clone = new $class(); foreach ($this->vars as $k => $v) { ! $clone->setVar($k, $v['value'], false); } // need this to notify the manager class that this is a newly created object --- 424,428 ---- $clone = new $class(); foreach ($this->vars as $k => $v) { ! $clone->assignVar($k, $v['value']); } // need this to notify the manager class that this is a newly created object |
From: <ok...@us...> - 2003-01-05 19:52:07
|
Update of /cvsroot/xoops/xoops2/modules/system/admin/themes In directory sc8-pr-cvs1:/tmp/cvs-serv13392/modules/system/admin/themes Modified Files: main.php Log Message: fixed a typo Index: main.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/system/admin/themes/main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** main.php 5 Jan 2003 18:44:46 -0000 1.2 --- main.php 5 Jan 2003 19:52:04 -0000 1.3 *************** *** 1083,1087 **** $newid = $tplfile_handler->insert($newtpl); if (!$newid) { ! $err = 'ERROR: Could not insert template <b>'.$tplfiles[0]->getVar('tpl_file').'</b> to the database.'; } else { if ($themeset == $xoopsConfig['default_theme']) { --- 1083,1087 ---- $newid = $tplfile_handler->insert($newtpl); if (!$newid) { ! $err = 'ERROR: Could not insert template <b>'.$tplfile[0]->getVar('tpl_file').'</b> to the database.'; } else { if ($themeset == $xoopsConfig['default_theme']) { |
From: <ok...@us...> - 2003-01-05 19:28:42
|
Update of /cvsroot/xoops/xoops2/kernel/object/object In directory sc8-pr-cvs1:/tmp/cvs-serv6001/kernel/object/object Modified Files: object.php Log Message: removed non-used method Index: object.php =================================================================== RCS file: /cvsroot/xoops/xoops2/kernel/object/object/object.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** object.php 5 Jan 2003 18:40:13 -0000 1.4 --- object.php 5 Jan 2003 19:28:38 -0000 1.5 *************** *** 180,190 **** } - // public - // returns all the names of variables that the object contains - function &getVarNames() - { - return array_keys($this->vars); - } - // public // returns a specific variable for the object in a proper format --- 180,183 ---- |
From: <ok...@us...> - 2003-01-05 19:26:45
|
Update of /cvsroot/xoops/xoops2/kernel/themeset/manager In directory sc8-pr-cvs1:/tmp/cvs-serv5499/kernel/themeset/manager Modified Files: tplfile.php Log Message: added missing 2nd argument in loadSource() Index: tplfile.php =================================================================== RCS file: /cvsroot/xoops/xoops2/kernel/themeset/manager/tplfile.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tplfile.php 5 Jan 2003 18:25:20 -0000 1.3 --- tplfile.php 5 Jan 2003 19:26:41 -0000 1.4 *************** *** 100,104 **** } $myrow = $this->db->fetchArray($result); ! $tplfile->assignVar('tpl_source'); } } --- 100,104 ---- } $myrow = $this->db->fetchArray($result); ! $tplfile->assignVar('tpl_source', $myrow['tpl_source']); } } |
From: <w4...@us...> - 2003-01-05 19:18:44
|
Update of /cvsroot/xoops/xoops2/modules/news In directory sc8-pr-cvs1:/tmp/cvs-serv2940/modules/news Modified Files: submit.php xoops_version.php Log Message: Anonymous submit selector for news preferences Index: submit.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/news/submit.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** submit.php 2 Jan 2003 18:57:03 -0000 1.1 --- submit.php 5 Jan 2003 19:18:41 -0000 1.2 *************** *** 27,31 **** include 'header.php'; include_once 'class/class.newsstory.php'; ! if ( !$xoopsConfig['anonpost'] && !$xoopsUser ) { redirect_header("index.php", 0, _NW_ANONNOTALLOWED); exit(); --- 27,31 ---- include 'header.php'; include_once 'class/class.newsstory.php'; ! if ( !$xoopsModuleConfig['anonpost'] && !$xoopsUser ) { redirect_header("index.php", 0, _NW_ANONNOTALLOWED); exit(); *************** *** 77,81 **** } } else { ! if ( $xoopsConfig['anonpost'] == 1 ) { $uid = 0; } else { --- 77,81 ---- } } else { ! if ( $xoopsModuleConfig['anonpost'] == 1 ) { $uid = 0; } else { Index: xoops_version.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/news/xoops_version.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xoops_version.php 2 Jan 2003 18:57:03 -0000 1.1 --- xoops_version.php 5 Jan 2003 19:18:41 -0000 1.2 *************** *** 150,152 **** $modversion['config'][3]['formtype'] = 'yesno'; $modversion['config'][3]['valuetype'] = 'int'; ! $modversion['config'][3]['default'] = 1; \ No newline at end of file --- 150,159 ---- $modversion['config'][3]['formtype'] = 'yesno'; $modversion['config'][3]['valuetype'] = 'int'; ! $modversion['config'][3]['default'] = 1; ! ! $modversion['config'][4]['name'] = 'anonpost'; ! $modversion['config'][4]['title'] = '_MI_ANONPOST'; ! $modversion['config'][4]['description'] = ''; ! $modversion['config'][4]['formtype'] = 'yesno'; ! $modversion['config'][4]['valuetype'] = 'int'; ! $modversion['config'][4]['default'] = 0; \ No newline at end of file |
From: <w4...@us...> - 2003-01-05 19:18:43
|
Update of /cvsroot/xoops/xoops2/modules/news/language/spanish In directory sc8-pr-cvs1:/tmp/cvs-serv2940/modules/news/language/spanish Modified Files: modinfo.php Log Message: Anonymous submit selector for news preferences Index: modinfo.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/news/language/spanish/modinfo.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** modinfo.php 2 Jan 2003 19:35:16 -0000 1.1 --- modinfo.php 5 Jan 2003 19:18:41 -0000 1.2 *************** *** 27,30 **** --- 27,31 ---- define('_MI_NOTIFYSUBMIT', 'Notificar por mail nuevos envíos?'); define('_MI_DISPLAYNAV', 'Mostrar Cuadro de Navegación?'); + define("_MI_ANONPOST","¿Permitir el envío a anónimos?"); // Description of each config items |
From: <w4...@us...> - 2003-01-05 19:18:43
|
Update of /cvsroot/xoops/xoops2/modules/news/language/french In directory sc8-pr-cvs1:/tmp/cvs-serv2940/modules/news/language/french Modified Files: modinfo.php Log Message: Anonymous submit selector for news preferences Index: modinfo.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/news/language/french/modinfo.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** modinfo.php 2 Jan 2003 19:35:19 -0000 1.1 --- modinfo.php 5 Jan 2003 19:18:40 -0000 1.2 *************** *** 27,30 **** --- 27,31 ---- define('_MI_NOTIFYSUBMIT', 'Notifier par mail d\'une nouvelle soumission ?'); define('_MI_DISPLAYNAV', 'Afficher le boîte de navigation ?'); + define("_MI_ANONPOST","Autoriser les utilisateurs anonyme à poster ?"); // Description of each config items |
From: <w4...@us...> - 2003-01-05 19:18:43
|
Update of /cvsroot/xoops/xoops2/modules/news/language/english In directory sc8-pr-cvs1:/tmp/cvs-serv2940/modules/news/language/english Modified Files: modinfo.php Log Message: Anonymous submit selector for news preferences Index: modinfo.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/news/language/english/modinfo.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** modinfo.php 2 Jan 2003 20:16:02 -0000 1.1 --- modinfo.php 5 Jan 2003 19:18:40 -0000 1.2 *************** *** 27,30 **** --- 27,31 ---- define('_MI_NOTIFYSUBMIT', 'Notify by mail upon new submission?'); define('_MI_DISPLAYNAV', 'Display navigation box?'); + define("_MI_ANONPOST","Allow anonymous users to post?"); // Description of each config items |
From: <w4...@us...> - 2003-01-05 19:18:02
|
Update of /cvsroot/xoops/xoops2/modules/mylinks In directory sc8-pr-cvs1:/tmp/cvs-serv2704/modules/mylinks Modified Files: submit.php xoops_version.php Log Message: Anonymous submit selector for links preferences Index: submit.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/submit.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** submit.php 2 Jan 2003 17:40:44 -0000 1.1 --- submit.php 5 Jan 2003 19:17:59 -0000 1.2 *************** *** 39,52 **** if (isset($HTTP_POST_VARS['submit']) && $HTTP_POST_VARS['submit'] != "") { ! if (!$xoopsUser) { redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST); exit(); } ! if (!isset($HTTP_POST_VARS['submitter']) || $HTTP_POST_VARS['submitter']=="") { $submitter = $xoopsUser->uid(); ! } else { ! $submitter = intval($HTTP_POST_VARS['submitter']); ! } // Check if Title exist if ($HTTP_POST_VARS["title"]=="") { --- 39,54 ---- if (isset($HTTP_POST_VARS['submit']) && $HTTP_POST_VARS['submit'] != "") { ! if (!$xoopsUser and !$xoopsModuleConfig['anonpost']) { redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST); exit(); } ! if (!$HTTP_POST_VARS['submitter'] and $xoopsUser) { $submitter = $xoopsUser->uid(); ! }elseif(!$HTTP_POST_VARS['submitter'] and !$xoopsUser) { ! $submitter = 0; ! }else{ ! $submitter = intval($HTTP_POST_VARS['submitter']); ! } // Check if Title exist if ($HTTP_POST_VARS["title"]=="") { *************** *** 84,88 **** exit(); } else { ! if (!$xoopsUser) { redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST); exit(); --- 86,90 ---- exit(); } else { ! if (!$xoopsUser and !$xoopsModuleConfig['anonpost']) { redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST); exit(); *************** *** 107,111 **** ob_end_clean(); $xoopsTpl->assign('category_selbox', $selbox); ! $xoopsTpl->assign('user_id', $xoopsUser->getVar('uid')); include XOOPS_ROOT_PATH.'/footer.php'; } --- 109,117 ---- ob_end_clean(); $xoopsTpl->assign('category_selbox', $selbox); ! if ($xoopsUser) { ! $xoopsTpl->assign('user_id', $xoopsUser->getVar('uid')); ! }else{ ! $xoopsTpl->assign('user_id', 0); ! } include XOOPS_ROOT_PATH.'/footer.php'; } Index: xoops_version.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/xoops_version.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xoops_version.php 2 Jan 2003 17:40:44 -0000 1.1 --- xoops_version.php 5 Jan 2003 19:17:59 -0000 1.2 *************** *** 150,171 **** $modversion['config'][3]['options'] = array('5' => 5, '10' => 10, '15' => 15, '20' => 20, '25' => 25, '30' => 30, '50' => 50); ! $modversion['config'][4]['name'] = 'frame'; ! $modversion['config'][4]['title'] = '_MI_MYLINKS_USEFRAMES'; ! $modversion['config'][4]['description'] = '_MI_MYLINKS_USEFRAMEDSC'; $modversion['config'][4]['formtype'] = 'yesno'; $modversion['config'][4]['valuetype'] = 'int'; $modversion['config'][4]['default'] = 0; ! $modversion['config'][5]['name'] = 'useshots'; ! $modversion['config'][5]['title'] = '_MI_MYLINKS_USESHOTS'; ! $modversion['config'][5]['description'] = '_MI_MYLINKS_USESHOTSDSC'; $modversion['config'][5]['formtype'] = 'yesno'; $modversion['config'][5]['valuetype'] = 'int'; $modversion['config'][5]['default'] = 0; ! $modversion['config'][6]['name'] = 'shotwidth'; ! $modversion['config'][6]['title'] = '_MI_MYLINKS_SHOTWIDTH'; ! $modversion['config'][6]['description'] = '_MI_MYLINKS_SHOTWIDTHDSC'; ! $modversion['config'][6]['formtype'] = 'textbox'; $modversion['config'][6]['valuetype'] = 'int'; ! $modversion['config'][6]['default'] = 140; \ No newline at end of file --- 150,178 ---- $modversion['config'][3]['options'] = array('5' => 5, '10' => 10, '15' => 15, '20' => 20, '25' => 25, '30' => 30, '50' => 50); ! $modversion['config'][4]['name'] = 'anonpost'; ! $modversion['config'][4]['title'] = '_MI_MYLINKS_ANONPOST'; ! $modversion['config'][4]['description'] = ''; $modversion['config'][4]['formtype'] = 'yesno'; $modversion['config'][4]['valuetype'] = 'int'; $modversion['config'][4]['default'] = 0; ! $modversion['config'][5]['name'] = 'frame'; ! $modversion['config'][5]['title'] = '_MI_MYLINKS_USEFRAMES'; ! $modversion['config'][5]['description'] = '_MI_MYLINKS_USEFRAMEDSC'; $modversion['config'][5]['formtype'] = 'yesno'; $modversion['config'][5]['valuetype'] = 'int'; $modversion['config'][5]['default'] = 0; ! $modversion['config'][6]['name'] = 'useshots'; ! $modversion['config'][6]['title'] = '_MI_MYLINKS_USESHOTS'; ! $modversion['config'][6]['description'] = '_MI_MYLINKS_USESHOTSDSC'; ! $modversion['config'][6]['formtype'] = 'yesno'; $modversion['config'][6]['valuetype'] = 'int'; ! $modversion['config'][6]['default'] = 0; ! ! $modversion['config'][7]['name'] = 'shotwidth'; ! $modversion['config'][7]['title'] = '_MI_MYLINKS_SHOTWIDTH'; ! $modversion['config'][7]['description'] = '_MI_MYLINKS_SHOTWIDTHDSC'; ! $modversion['config'][7]['formtype'] = 'textbox'; ! $modversion['config'][7]['valuetype'] = 'int'; ! $modversion['config'][7]['default'] = 140; \ No newline at end of file |
From: <w4...@us...> - 2003-01-05 19:18:02
|
Update of /cvsroot/xoops/xoops2/modules/mylinks/language/spanish In directory sc8-pr-cvs1:/tmp/cvs-serv2704/modules/mylinks/language/spanish Modified Files: modinfo.php Log Message: Anonymous submit selector for links preferences Index: modinfo.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/language/spanish/modinfo.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** modinfo.php 2 Jan 2003 17:50:32 -0000 1.1 --- modinfo.php 5 Jan 2003 19:17:59 -0000 1.2 *************** *** 32,35 **** --- 32,36 ---- define('_MI_MYLINKS_USEFRAMES', 'Usar Frames?'); define('_MI_MYLINKS_SHOTWIDTH', 'Ancho de la imágen'); + define("_MI_MYLINKS_ANONPOST","¿Permitir el envío a anónimos?"); // Description of each config items |
From: <w4...@us...> - 2003-01-05 19:18:02
|
Update of /cvsroot/xoops/xoops2/modules/mylinks/language/french In directory sc8-pr-cvs1:/tmp/cvs-serv2704/modules/mylinks/language/french Modified Files: modinfo.php Log Message: Anonymous submit selector for links preferences Index: modinfo.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/language/french/modinfo.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** modinfo.php 4 Jan 2003 14:38:37 -0000 1.3 --- modinfo.php 5 Jan 2003 19:17:59 -0000 1.4 *************** *** 30,33 **** --- 30,34 ---- define('_MI_MYLINKS_USEFRAMES', 'Utiliser les Frames?'); define('_MI_MYLINKS_SHOTWIDTH', 'Largeur du Screenshot'); + define("_MI_MYLINKS_ANONPOST","Autoriser les utilisateurs anonyme à poster ?"); // Description of each config items |
From: <w4...@us...> - 2003-01-05 19:18:02
|
Update of /cvsroot/xoops/xoops2/modules/mylinks/language/english In directory sc8-pr-cvs1:/tmp/cvs-serv2704/modules/mylinks/language/english Modified Files: modinfo.php Log Message: Anonymous submit selector for links preferences Index: modinfo.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/language/english/modinfo.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** modinfo.php 2 Jan 2003 17:47:50 -0000 1.1 --- modinfo.php 5 Jan 2003 19:17:59 -0000 1.2 *************** *** 31,34 **** --- 31,35 ---- define('_MI_MYLINKS_USEFRAMES', 'Use Frames?'); define('_MI_MYLINKS_SHOTWIDTH', 'Screenshot Img Width'); + define("_MI_MYLINKS_ANONPOST","Allow anonymous users to post?"); // Description of each config items |
From: <w4...@us...> - 2003-01-05 19:16:59
|
Update of /cvsroot/xoops/xoops2/modules/mydownloads In directory sc8-pr-cvs1:/tmp/cvs-serv2374/modules/mydownloads Modified Files: submit.php xoops_version.php Log Message: Anonymous submit selector for downloads preferences Index: submit.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mydownloads/submit.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** submit.php 2 Jan 2003 17:15:59 -0000 1.1 --- submit.php 5 Jan 2003 19:16:55 -0000 1.2 *************** *** 40,49 **** if(isset($HTTP_POST_VARS['submit'])){ ! if(!$xoopsUser){ redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST); exit(); } ! if(!isset($HTTP_POST_VARS['submitter'])) { $submitter = $xoopsUser->uid(); }else{ $submitter = intval($HTTP_POST_VARS['submitter']); --- 40,51 ---- if(isset($HTTP_POST_VARS['submit'])){ ! if(!$xoopsUser and !$xoopsModuleConfig['anonpost']){ redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST); exit(); } ! if(!$HTTP_POST_VARS['submitter'] and $xoopsUser) { $submitter = $xoopsUser->uid(); + }elseif(!$HTTP_POST_VARS['submitter'] and !$xoopsUser) { + $submitter = 0; }else{ $submitter = intval($HTTP_POST_VARS['submitter']); *************** *** 95,99 **** }else{ ! if(!$xoopsUser){ redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST); exit(); --- 97,101 ---- }else{ ! if(!$xoopsUser and !$xoopsModuleConfig['anonpost']){ redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST); exit(); *************** *** 123,127 **** --- 125,133 ---- ob_end_clean(); $xoopsTpl->assign('category_selbox', $selbox); + if($xoopsUser){ $xoopsTpl->assign('user_id', $xoopsUser->getVar('uid')); + }else{ + $xoopsTpl->assign('user_id', 0); + } include XOOPS_ROOT_PATH.'/footer.php'; Index: xoops_version.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mydownloads/xoops_version.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xoops_version.php 2 Jan 2003 17:15:59 -0000 1.1 --- xoops_version.php 5 Jan 2003 19:16:56 -0000 1.2 *************** *** 152,182 **** $modversion['config'][3]['options'] = array('5' => 5, '10' => 10, '15' => 15, '20' => 20, '25' => 25, '30' => 30, '50' => 50); ! $modversion['config'][4]['name'] = 'useshots'; ! $modversion['config'][4]['title'] = '_MI_MYDOWNLOADS_USESHOTS'; ! $modversion['config'][4]['description'] = '_MI_MYDOWNLOADS_USESHOTSDSC'; $modversion['config'][4]['formtype'] = 'yesno'; $modversion['config'][4]['valuetype'] = 'int'; $modversion['config'][4]['default'] = 0; ! $modversion['config'][5]['name'] = 'shotwidth'; ! $modversion['config'][5]['title'] = '_MI_MYDOWNLOADS_SHOTWIDTH'; ! $modversion['config'][5]['description'] = '_MI_MYDOWNLOADS_SHOTWIDTHDSC'; ! $modversion['config'][5]['formtype'] = 'textbox'; $modversion['config'][5]['valuetype'] = 'int'; ! $modversion['config'][5]['default'] = 140; ! $modversion['config'][6]['name'] = 'check_host'; ! $modversion['config'][6]['title'] = '_MI_MYDOWNLOADS_CHECKHOST'; ! $modversion['config'][6]['formtype'] = 'yesno'; $modversion['config'][6]['valuetype'] = 'int'; ! $modversion['config'][6]['default'] = 0; $xoops_url = parse_url(XOOPS_URL); ! $modversion['config'][7]['name'] = 'referers'; ! $modversion['config'][7]['title'] = '_MI_MYDOWNLOADS_REFERERS'; ! $modversion['config'][7]['description'] = '_MI_MYDOWNLOADS_REFERERSDSC'; ! $modversion['config'][7]['formtype'] = 'textarea'; ! $modversion['config'][7]['valuetype'] = 'array'; ! $modversion['config'][7]['default'] = $xoops_url['host']; ?> --- 152,189 ---- $modversion['config'][3]['options'] = array('5' => 5, '10' => 10, '15' => 15, '20' => 20, '25' => 25, '30' => 30, '50' => 50); ! $modversion['config'][4]['name'] = 'anonpost'; ! $modversion['config'][4]['title'] = '_MI_MYDOWNLOADS_ANONPOST'; ! $modversion['config'][4]['description'] = ''; $modversion['config'][4]['formtype'] = 'yesno'; $modversion['config'][4]['valuetype'] = 'int'; $modversion['config'][4]['default'] = 0; ! $modversion['config'][5]['name'] = 'useshots'; ! $modversion['config'][5]['title'] = '_MI_MYDOWNLOADS_USESHOTS'; ! $modversion['config'][5]['description'] = '_MI_MYDOWNLOADS_USESHOTSDSC'; ! $modversion['config'][5]['formtype'] = 'yesno'; $modversion['config'][5]['valuetype'] = 'int'; ! $modversion['config'][5]['default'] = 0; ! $modversion['config'][6]['name'] = 'shotwidth'; ! $modversion['config'][6]['title'] = '_MI_MYDOWNLOADS_SHOTWIDTH'; ! $modversion['config'][6]['description'] = '_MI_MYDOWNLOADS_SHOTWIDTHDSC'; ! $modversion['config'][6]['formtype'] = 'textbox'; $modversion['config'][6]['valuetype'] = 'int'; ! $modversion['config'][6]['default'] = 140; ! ! $modversion['config'][7]['name'] = 'check_host'; ! $modversion['config'][7]['title'] = '_MI_MYDOWNLOADS_CHECKHOST'; ! $modversion['config'][7]['formtype'] = 'yesno'; ! $modversion['config'][7]['valuetype'] = 'int'; ! $modversion['config'][7]['default'] = 0; $xoops_url = parse_url(XOOPS_URL); ! $modversion['config'][8]['name'] = 'referers'; ! $modversion['config'][8]['title'] = '_MI_MYDOWNLOADS_REFERERS'; ! $modversion['config'][8]['description'] = '_MI_MYDOWNLOADS_REFERERSDSC'; ! $modversion['config'][8]['formtype'] = 'textarea'; ! $modversion['config'][8]['valuetype'] = 'array'; ! $modversion['config'][8]['default'] = $xoops_url['host']; ?> |
From: <w4...@us...> - 2003-01-05 19:16:58
|
Update of /cvsroot/xoops/xoops2/modules/mydownloads/language/spanish In directory sc8-pr-cvs1:/tmp/cvs-serv2374/modules/mydownloads/language/spanish Modified Files: modinfo.php Log Message: Anonymous submit selector for downloads preferences Index: modinfo.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mydownloads/language/spanish/modinfo.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** modinfo.php 2 Jan 2003 17:35:04 -0000 1.1 --- modinfo.php 5 Jan 2003 19:16:55 -0000 1.2 *************** *** 32,35 **** --- 32,36 ---- define('_MI_MYDOWNLOADS_CHECKHOST', 'Restringir el enlace directo a tus Archivos (Leeching)'); define('_MI_MYDOWNLOADS_REFERERS', 'Sitios que pueden enlazar tus descargas'); + define("_MI_MYDOWNLOADS_ANONPOST","¿Permitir el envío a anónimos?"); // Description of each config items |
From: <w4...@us...> - 2003-01-05 19:16:58
|
Update of /cvsroot/xoops/xoops2/modules/mydownloads/language/french In directory sc8-pr-cvs1:/tmp/cvs-serv2374/modules/mydownloads/language/french Modified Files: modinfo.php Log Message: Anonymous submit selector for downloads preferences Index: modinfo.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mydownloads/language/french/modinfo.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** modinfo.php 3 Jan 2003 16:53:25 -0000 1.2 --- modinfo.php 5 Jan 2003 19:16:55 -0000 1.3 *************** *** 32,35 **** --- 32,36 ---- define('_MI_MYDOWNLOADS_CHECKHOST', 'Restreindre les chuttes ?'); define('_MI_MYDOWNLOADS_REFERERS', 'Sites d\'accès pour lier les téléchargements'); + define("_MI_MYDOWNLOADS_ANONPOST","Autoriser les utilisateurs anonyme à poster ?"); // Description of each config items |
From: <w4...@us...> - 2003-01-05 19:16:58
|
Update of /cvsroot/xoops/xoops2/modules/mydownloads/language/english In directory sc8-pr-cvs1:/tmp/cvs-serv2374/modules/mydownloads/language/english Modified Files: modinfo.php Log Message: Anonymous submit selector for downloads preferences Index: modinfo.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mydownloads/language/english/modinfo.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** modinfo.php 2 Jan 2003 17:31:09 -0000 1.1 --- modinfo.php 5 Jan 2003 19:16:54 -0000 1.2 *************** *** 32,35 **** --- 32,36 ---- define('_MI_MYDOWNLOADS_CHECKHOST', 'Restrict the leeching ?'); define('_MI_MYDOWNLOADS_REFERERS', 'Sites with access to link the downloads'); + define("_MI_MYDOWNLOADS_ANONPOST","Allow anonymous users to post?"); // Description of each config items |
From: <ok...@us...> - 2003-01-05 18:55:36
|
Update of /cvsroot/xoops/xoops2 In directory sc8-pr-cvs1:/tmp/cvs-serv27085 Modified Files: misc.php Log Message: Index: misc.php =================================================================== RCS file: /cvsroot/xoops/xoops2/misc.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** misc.php 5 Jan 2003 18:20:46 -0000 1.2 --- misc.php 5 Jan 2003 18:55:33 -0000 1.3 *************** *** 135,141 **** $ymail = $xoopsUser->getVar("email"); } else { ! $ymail = trim($HTTP_POST_VARS['ymail']); } ! if ( !isset($HTTP_POST_VARS['yname']) || trim($HTTP_POST_VARS['yname']) == "" || !isset($ymail) || !isset($HTTP_POST_VARS['fname']) || trim($HTTP_POST_VARS['fname']) == "" || !isset($HTTP_POST_VARS['fmail']) || trim($HTTP_POST_VARS['fmail']) == '' ) { redirect_header(XOOPS_URL."/misc.php?action=showpopups&type=friend&op=sendform",2,_NEEDINFO); exit(); --- 135,141 ---- $ymail = $xoopsUser->getVar("email"); } else { ! $ymail = isset($HTTP_POST_VARS['ymail']) ? trim($HTTP_POST_VARS['ymail']) : ''; } ! if ( !isset($HTTP_POST_VARS['yname']) || trim($HTTP_POST_VARS['yname']) == "" || $ymail == '' || !isset($HTTP_POST_VARS['fname']) || trim($HTTP_POST_VARS['fname']) == "" || !isset($HTTP_POST_VARS['fmail']) || trim($HTTP_POST_VARS['fmail']) == '' ) { redirect_header(XOOPS_URL."/misc.php?action=showpopups&type=friend&op=sendform",2,_NEEDINFO); exit(); *************** *** 144,148 **** $fname = trim($HTTP_POST_VARS['fname']); $fmail = trim($HTTP_POST_VARS['fmail']); ! if (!checkEmail($fmail) or !checkEmail($ymail)) { $errormessage = _INVALIDEMAIL1."<br />"._INVALIDEMAIL2.""; redirect_header(XOOPS_URL."/misc.php?action=showpopups&type=friend&op=sendform",2,$errormessage); --- 144,148 ---- $fname = trim($HTTP_POST_VARS['fname']); $fmail = trim($HTTP_POST_VARS['fmail']); ! if (!checkEmail($fmail) || !checkEmail($ymail)) { $errormessage = _INVALIDEMAIL1."<br />"._INVALIDEMAIL2.""; redirect_header(XOOPS_URL."/misc.php?action=showpopups&type=friend&op=sendform",2,$errormessage); |
From: <ok...@us...> - 2003-01-05 18:46:31
|
Update of /cvsroot/xoops/xoops2/modules/system/admin/images In directory sc8-pr-cvs1:/tmp/cvs-serv24215/modules/system/admin/images Modified Files: main.php Log Message: fix addslashes problem Index: main.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/system/admin/images/main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** main.php 2 Jan 2003 20:10:04 -0000 1.1 --- main.php 5 Jan 2003 18:46:28 -0000 1.2 *************** *** 219,223 **** $fbinary = @fread($fp, filesize($uploader->getSavedDestination())); @fclose($fp); ! $image->setVar('image_body', addslashes($fbinary)); @unlink($uploader->getSavedDestination()); } --- 219,223 ---- $fbinary = @fread($fp, filesize($uploader->getSavedDestination())); @fclose($fp); ! $image->setVar('image_body', $fbinary, true); @unlink($uploader->getSavedDestination()); } |
From: <ok...@us...> - 2003-01-05 18:44:49
|
Update of /cvsroot/xoops/xoops2/modules/system/admin/themes In directory sc8-pr-cvs1:/tmp/cvs-serv23666/modules/system/admin/themes Modified Files: main.php Log Message: fix for addslashes problem Index: main.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/system/admin/themes/main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** main.php 2 Jan 2003 20:15:30 -0000 1.1 --- main.php 5 Jan 2003 18:44:46 -0000 1.2 *************** *** 673,677 **** } else { $fp = @fopen($uploader->getSavedDestination(), 'rb'); ! $image->setVar('imgsetimg_body', addslashes(@fread($fp, filesize($uploader->getSavedDestination())))); @fclose($fp); if ($themeset != $xoopsConfig['default_theme']) { --- 673,677 ---- } else { $fp = @fopen($uploader->getSavedDestination(), 'rb'); ! $image->setVar('imgsetimg_body', @fread($fp, filesize($uploader->getSavedDestination())), true); @fclose($fp); if ($themeset != $xoopsConfig['default_theme']) { *************** *** 745,749 **** $err[] = 'Could not read '.$uploader->getSavedFileName(); } else { ! $image->setVar('imgsetimg_body', addslashes(@fread($fp, filesize($uploader->getSavedDestination())))); @fclose($fp); if ($themeset != $xoopsConfig['default_theme']) { --- 745,749 ---- $err[] = 'Could not read '.$uploader->getSavedFileName(); } else { ! $image->setVar('imgsetimg_body', @fread($fp, filesize($uploader->getSavedDestination())), true); @fclose($fp); if ($themeset != $xoopsConfig['default_theme']) { *************** *** 914,918 **** $fsource = @fread($fp, filesize($uploader->getSavedDestination())); @fclose($fp); ! $tpl->setVar('tpl_source', addslashes($fsource)); @unlink($uploader->getSavedDestination()); if (!$tplfile_handler->insert($tpl)) { --- 914,918 ---- $fsource = @fread($fp, filesize($uploader->getSavedDestination())); @fclose($fp); ! $tpl->setVar('tpl_source', $fsource, true); @unlink($uploader->getSavedDestination()); if (!$tplfile_handler->insert($tpl)) { *************** *** 976,980 **** $fsource = @fread($fp, filesize($uploader->getSavedDestination())); @fclose($fp); ! $tpl->setVar('tpl_source', addslashes($fsource)); @unlink($uploader->getSavedDestination()); $newid = $tplfile_handler->insert($tpl); --- 976,980 ---- $fsource = @fread($fp, filesize($uploader->getSavedDestination())); @fclose($fp); ! $tpl->setVar('tpl_source', $fsource, true); @unlink($uploader->getSavedDestination()); $newid = $tplfile_handler->insert($tpl); *************** *** 1345,1349 **** $newtpl->setVar('tpl_id', 0); $newtpl->setVar('tpl_themeset', $themeset_name); ! $newtpl->setVar('tpl_source', addslashes($info['file'])); $newtpl->setVar('tpl_lastmodified', time()); if (!$tplfile_handler->insert($newtpl)) { --- 1345,1349 ---- $newtpl->setVar('tpl_id', 0); $newtpl->setVar('tpl_themeset', $themeset_name); ! $newtpl->setVar('tpl_source', $info['file'], true); $newtpl->setVar('tpl_lastmodified', time()); if (!$tplfile_handler->insert($newtpl)) { *************** *** 1376,1380 **** $image->setVar('imgsetimg_file', $themeimages[$i]['name']); $image->setVar('imgsetimg_imgset', $newimgsetid); ! $image->setVar('imgsetimg_body', addslashes($themeimages[$i]['content'])); $newimgid = $image_handler->insert($image); if (!$newimgid) { --- 1376,1380 ---- $image->setVar('imgsetimg_file', $themeimages[$i]['name']); $image->setVar('imgsetimg_imgset', $newimgsetid); ! $image->setVar('imgsetimg_body', $themeimages[$i]['content'], true); $newimgid = $image_handler->insert($image); if (!$newimgid) { *************** *** 1480,1484 **** $fsource = @fread($fp, filesize($uploader->getSavedDestination())); @fclose($fp); ! $tpl->setVar('tpl_source', addslashes($fsource)); @unlink($uploader->getSavedDestination()); $newid = $tplfile_handler->insert($tpl); --- 1480,1484 ---- $fsource = @fread($fp, filesize($uploader->getSavedDestination())); @fclose($fp); ! $tpl->setVar('tpl_source', $fsource, true); @unlink($uploader->getSavedDestination()); $newid = $tplfile_handler->insert($tpl); |
From: <ok...@us...> - 2003-01-05 18:40:17
|
Update of /cvsroot/xoops/xoops2/modules/system/admin/modulesadmin In directory sc8-pr-cvs1:/tmp/cvs-serv22195/modules/system/admin/modulesadmin Modified Files: main.php modulesadmin.php Log Message: fixed module install bug Index: main.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/system/admin/modulesadmin/main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** main.php 2 Jan 2003 20:11:49 -0000 1.1 --- main.php 5 Jan 2003 18:40:14 -0000 1.2 *************** *** 289,297 **** } } ! $tplfile->setVar('tpl_source', addslashes($tpldata)); $tplfile->setVar('tpl_module', $dirname); $tplfile->setVar('tpl_themeset', 'default'); ! $tplfile->setVar('tpl_file', $tpl['file']); ! $tplfile->setVar('tpl_desc', addslashes($tpl['description'])); $newid = $tplfile_handler->insert($tplfile); if (!$newid) { --- 289,297 ---- } } ! $tplfile->setVar('tpl_source', $tpldata, true); $tplfile->setVar('tpl_module', $dirname); $tplfile->setVar('tpl_themeset', 'default'); ! $tplfile->setVar('tpl_file', $tpl['file'], true); ! $tplfile->setVar('tpl_desc', $tpl['description'], true); $newid = $tplfile_handler->insert($tplfile); if (!$newid) { *************** *** 355,360 **** $tplfile =& $tplfile_handler->find('default', 'block', $fblock['bid']); if (is_array($tplfile)) { ! $tplfile[0]->setVar('tpl_source', addslashes($content)); ! $tplfile[0]->setVar('tpl_desc', addslashes($blocks[$i]['description'])); $tplfile[0]->setVar('tpl_lastmodified', time()); $tplfile[0]->setVar('tpl_lastimported', time()); --- 355,360 ---- $tplfile =& $tplfile_handler->find('default', 'block', $fblock['bid']); if (is_array($tplfile)) { ! $tplfile[0]->setVar('tpl_source', $content, true); ! $tplfile[0]->setVar('tpl_desc', $blocks[$i]['description'], true); $tplfile[0]->setVar('tpl_lastmodified', time()); $tplfile[0]->setVar('tpl_lastimported', time()); *************** *** 391,401 **** $tplfile->setVar('tpl_module', $dirname); $tplfile->setVar('tpl_refid', $newbid); ! $tplfile->setVar('tpl_source', addslashes($content)); $tplfile->setVar('tpl_themeset', 'default'); ! $tplfile->setVar('tpl_file', $blocks[$i]['template']); $tplfile->setVar('tpl_type', 'block'); $tplfile->setVar('tpl_lastimported', time()); $tplfile->setVar('tpl_lastmodified', time()); ! $tplfile->setVar('tpl_desc', addslashes($blocks[$i]['description'])); $newid = $tplfile_handler->insert($tplfile); if (!$newid) { --- 391,401 ---- $tplfile->setVar('tpl_module', $dirname); $tplfile->setVar('tpl_refid', $newbid); ! $tplfile->setVar('tpl_source', $content, true); $tplfile->setVar('tpl_themeset', 'default'); ! $tplfile->setVar('tpl_file', $blocks[$i]['template'], true); $tplfile->setVar('tpl_type', 'block'); $tplfile->setVar('tpl_lastimported', time()); $tplfile->setVar('tpl_lastmodified', time()); ! $tplfile->setVar('tpl_desc', $blocks[$i]['description'], true); $newid = $tplfile_handler->insert($tplfile); if (!$newid) { Index: modulesadmin.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/system/admin/modulesadmin/modulesadmin.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** modulesadmin.php 2 Jan 2003 20:11:49 -0000 1.1 --- modulesadmin.php 5 Jan 2003 18:40:14 -0000 1.2 *************** *** 234,243 **** $tplfile =& $tplfile_handler->create(); $tpldata =& xoops_module_gettemplate($dirname, $tpl['file']); ! $tplfile->setVar('tpl_source', addslashes($tpldata)); $tplfile->setVar('tpl_refid', $newmid); $tplfile->setVar('tpl_themeset', 'default'); $tplfile->setVar('tpl_file', $tpl['file']); ! $tplfile->setVar('tpl_desc', addslashes($tpl['description'])); $tplfile->setVar('tpl_module', $dirname); $tplfile->setVar('tpl_lastmodified', time()); --- 234,243 ---- $tplfile =& $tplfile_handler->create(); $tpldata =& xoops_module_gettemplate($dirname, $tpl['file']); ! $tplfile->setVar('tpl_source', $tpldata, true); $tplfile->setVar('tpl_refid', $newmid); $tplfile->setVar('tpl_themeset', 'default'); $tplfile->setVar('tpl_file', $tpl['file']); ! $tplfile->setVar('tpl_desc', $tpl['description'], true); $tplfile->setVar('tpl_module', $dirname); $tplfile->setVar('tpl_lastmodified', time()); *************** *** 299,308 **** $tplfile =& $tplfile_handler->create(); $tplfile->setVar('tpl_refid', $newbid); ! $tplfile->setVar('tpl_source', addslashes($content)); $tplfile->setVar('tpl_themeset', 'default'); $tplfile->setVar('tpl_file', $block['template']); $tplfile->setVar('tpl_module', $dirname); $tplfile->setVar('tpl_type', 'block'); ! $tplfile->setVar('tpl_desc', addslashes($block['description'])); $tplfile->setVar('tpl_lastimported', time()); $tplfile->setVar('tpl_lastmodified', time()); --- 299,308 ---- $tplfile =& $tplfile_handler->create(); $tplfile->setVar('tpl_refid', $newbid); ! $tplfile->setVar('tpl_source', $content, true); $tplfile->setVar('tpl_themeset', 'default'); $tplfile->setVar('tpl_file', $block['template']); $tplfile->setVar('tpl_module', $dirname); $tplfile->setVar('tpl_type', 'block'); ! $tplfile->setVar('tpl_desc', $block['description'], true); $tplfile->setVar('tpl_lastimported', time()); $tplfile->setVar('tpl_lastmodified', time()); *************** *** 336,344 **** $confobj->setVar('conf_catid', 0); $confobj->setVar('conf_name', $config['name']); ! $confobj->setVar('conf_title', $config['title']); ! $confobj->setVar('conf_desc', $config['description']); $confobj->setVar('conf_formtype', $config['formtype']); $confobj->setVar('conf_valuetype', $config['valuetype']); ! $confobj->setVar('conf_value', $config['default']); $confobj->setVar('conf_order', $order); $confop_msgs = ''; --- 336,344 ---- $confobj->setVar('conf_catid', 0); $confobj->setVar('conf_name', $config['name']); ! $confobj->setVar('conf_title', $config['title'], true); ! $confobj->setVar('conf_desc', $config['description'], true); $confobj->setVar('conf_formtype', $config['formtype']); $confobj->setVar('conf_valuetype', $config['valuetype']); ! $confobj->setVar('conf_value', $config['default'], true); $confobj->setVar('conf_order', $order); $confop_msgs = ''; *************** *** 346,351 **** foreach ($config['options'] as $key => $value) { $confop =& $config_handler->createConfigOption(); ! $confop->setVar('confop_name', $key); ! $confop->setVar('confop_value', $value); $confobj->setConfOptions($confop); $confop_msgs .= '<br /> Config option added. Name: <b>'.$key.'</b> Value: <b>'.$value.'</b>'; --- 346,351 ---- foreach ($config['options'] as $key => $value) { $confop =& $config_handler->createConfigOption(); ! $confop->setVar('confop_name', $key, true); ! $confop->setVar('confop_value', $value, true); $confobj->setConfOptions($confop); $confop_msgs .= '<br /> Config option added. Name: <b>'.$key.'</b> Value: <b>'.$value.'</b>'; |
From: <ok...@us...> - 2003-01-05 18:40:17
|
Update of /cvsroot/xoops/xoops2/kernel/object/object In directory sc8-pr-cvs1:/tmp/cvs-serv22195/kernel/object/object Modified Files: object.php Log Message: fixed module install bug Index: object.php =================================================================== RCS file: /cvsroot/xoops/xoops2/kernel/object/object/object.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** object.php 5 Jan 2003 18:25:19 -0000 1.3 --- object.php 5 Jan 2003 18:40:13 -0000 1.4 *************** *** 321,325 **** // } //} ! $cleanv =& (!$v['force_slash']) ? $ts->addSlashes($ts->censorString($cleanv)) : addslashes($ts->censorString($cleanv)); break; case XOBJ_DTYPE_TXTAREA: --- 321,329 ---- // } //} ! if (!$v['force_slash']) { ! $cleanv =& $ts->addSlashes($ts->censorString($cleanv)); ! } else { ! $cleanv =& addslashes($ts->censorString($cleanv)); ! } break; case XOBJ_DTYPE_TXTAREA: *************** *** 336,343 **** // } //} ! $cleanv =& (!$v['force_slash']) ? $ts->addSlashes($ts->censorString($cleanv)) : addslashes($ts->censorString($cleanv)); break; case XOBJ_DTYPE_SOURCE: ! $cleanv =& (!$v['force_slash']) ? $ts->addSlashes($ts->censorString($cleanv)) : addslashes($ts->censorString($cleanv)); break; case XOBJ_DTYPE_INT: --- 340,355 ---- // } //} ! if (!$v['force_slash']) { ! $cleanv =& $ts->addSlashes($ts->censorString($cleanv)); ! } else { ! $cleanv =& addslashes($ts->censorString($cleanv)); ! } break; case XOBJ_DTYPE_SOURCE: ! if (!$v['force_slash']) { ! $cleanv =& $ts->addSlashes($cleanv); ! } else { ! $cleanv =& addslashes($cleanv); ! } break; case XOBJ_DTYPE_INT: *************** *** 353,357 **** continue; } ! $cleanv =& (!$v['force_slash']) ? $ts->addSlashes($ts->censorString($cleanv)) : addslashes($ts->censorString($cleanv)); break; case XOBJ_DTYPE_URL: --- 365,373 ---- continue; } ! if (!$v['force_slash']) { ! $cleanv =& $ts->addSlashes($cleanv); ! } else { ! $cleanv =& addslashes($cleanv); ! } break; case XOBJ_DTYPE_URL: *************** *** 363,367 **** $cleanv = 'http://' . $cleanv; } ! $cleanv =& (!$v['force_slash']) ? $ts->addSlashes($ts->censorString($cleanv)) : addslashes($ts->censorString($cleanv)); break; case XOBJ_DTYPE_ARRAY: --- 379,387 ---- $cleanv = 'http://' . $cleanv; } ! if (!$v['force_slash']) { ! $cleanv =& $ts->addSlashes($cleanv); ! } else { ! $cleanv =& addslashes($cleanv); ! } break; case XOBJ_DTYPE_ARRAY: |