';
-}else{
- echo '';
-}
-<{/php}>
- <{$pagenav}>
-
-
-<{section name=i loop=$stories}>
- <{include file="db:news_item.html" story=$stories[i]}>
-<{php}>
-global $contador;
-$contador = $contador +1;
-if ($contador && $impar && (!$arrancado)){
- $arrancado = true;
- $contador = 0;
- echo " | ";
-}else{
- if (($contador % 2)==1){
- echo " | ";
- }else{
- echo " | ";
- }
-}
-<{/php}>
-<{/section}>
- |
-
-<{$pagenav}>
+<{if $displaynav == true}>
+
+
+
+
+<{/if}>
+
+
+<{section name=i loop=$stories}>
+<{php}>
+global $totalarticulos;
+global $impar;
+$totalarticulos = $totalarticulos +1;
+<{/php}>
+<{/section}>
+
+<{php}>
+if (($totalarticulos % 2)==1){
+ $impar=true;
+ echo '';
+}else{
+ echo '';
+}
+<{/php}>
+ <{$pagenav}>
+
+
+<{section name=i loop=$stories}>
+ <{include file="db:news_item.html" story=$stories[i]}>
+<{php}>
+global $contador;
+$contador = $contador +1;
+if ($contador && $impar && (!$arrancado)){
+ $arrancado = true;
+ $contador = 0;
+ echo " | ";
+}else{
+ if (($contador % 2)==1){
+ echo " | ";
+ }else{
+ echo " | ";
+ }
+}
+<{/php}>
+<{/section}>
+ |
+
+<{$pagenav}>
\ No newline at end of file
Index: xoops2jp/extras/theme_x2t/extras/news_item.html
diff -u xoops2jp/extras/theme_x2t/extras/news_item.html:1.1 xoops2jp/extras/theme_x2t/extras/news_item.html:1.2
--- xoops2jp/extras/theme_x2t/extras/news_item.html:1.1 Thu Sep 9 14:14:50 2004
+++ xoops2jp/extras/theme_x2t/extras/news_item.html Sat Jun 11 11:32:37 2005
@@ -1,44 +1,44 @@
-
-
- <{$story.title}> |
-
-
- <{$lang_postedby}> <{$story.poster}> <{$lang_on}> <{$story.posttime}> (<{$story.hits}> <{$lang_reads}>) |
-
-
- <{if $story.align == "left" }>
-
-
- |
-
- <{$story.text}>
- |
- <{else}>
-
- <{$story.text}>
- |
-
-
-
-
-
-
-
- |
-
- |
- <{/if}>
-
-
- <{$story.adminlink}> <{$story.morelink}> |
-
-
+
+
+ <{$story.title}> |
+
+
+ <{$lang_postedby}> <{$story.poster}> <{$lang_on}> <{$story.posttime}> (<{$story.hits}> <{$lang_reads}>) |
+
+
+ <{if $story.align == "left" }>
+
+
+ |
+
+ <{$story.text}>
+ |
+ <{else}>
+
+ <{$story.text}>
+ |
+
+
+
+
+
+
+
+ |
+
+ |
+ <{/if}>
+
+
+ <{$story.adminlink}> <{$story.morelink}> |
+
+
\ No newline at end of file
Index: xoops2jp/extras/theme_x2t/extras/theme.html
diff -u xoops2jp/extras/theme_x2t/extras/theme.html:1.1 xoops2jp/extras/theme_x2t/extras/theme.html:1.2
--- xoops2jp/extras/theme_x2t/extras/theme.html:1.1 Thu Sep 9 14:14:50 2004
+++ xoops2jp/extras/theme_x2t/extras/theme.html Sat Jun 11 11:32:37 2005
@@ -1,146 +1,146 @@
-
-
-
-
-
-
-
-
-
-
-
-
-<{$xoops_sitename}> - <{$xoops_pagetitle}>
-
-
-
-
-
-
-
-
-
-
- |
-
-<{$xoops_banner}>
- |
-
-
- |
-
-
-
-
-
-
- |
- |
-
- |
- |
-
-
-
-
-
-
-
-
- <{foreach item=block from=$xoops_lblocks}>
- <{include file="x2t/theme_blockleft.html"}>
- <{/foreach}>
-
- |
-
-
-
- <{if $xoops_showcblock == 1}>
-
-
-
-
-
-
-
-
- <{foreach item=block from=$xoops_ccblocks}>
- <{include file="x2t/theme_blockcenter_c.html"}>
-
- <{/foreach}>
-
-
- |
-
-
-
-
- <{foreach item=block from=$xoops_clblocks}>
- <{include file="x2t/theme_blockcenter_l.html"}>
-
- <{/foreach}>
-
-
- |
-
-
-
- <{foreach item=block from=$xoops_crblocks}>
- <{include file="x2t/theme_blockcenter_r.html"}>
-
- <{/foreach}>
-
-
- |
-
-
- <{/if}>
-
-
-
-
- <{$xoops_contents}>
- |
- <{if $xoops_showrblock == 1}>
-
-
- <{foreach item=block from=$xoops_rblocks}>
- <{include file="x2t/theme_blockright.html"}>
- <{/foreach}>
-
-
- |
-<{else}>
- |
-<{/if}>
-
-
-
-
-
-
- |
- <{$footer}> |
- |
-
- |
-
+
+
+
+
+
+
+
+
+
+
+
+
+<{$xoops_sitename}> - <{$xoops_pagetitle}>
+
+
+
+
+
+
+
+
+
+
+ |
+
+<{$xoops_banner}>
+ |
+
+
+ |
+
+
+
+
+
+
+ |
+ |
+
+ |
+ |
+
+
+
+
+
+
+
+
+ <{foreach item=block from=$xoops_lblocks}>
+ <{include file="x2t/theme_blockleft.html"}>
+ <{/foreach}>
+
+ |
+
+
+
+ <{if $xoops_showcblock == 1}>
+
+
+
+
+
+
+
+
+ <{foreach item=block from=$xoops_ccblocks}>
+ <{include file="x2t/theme_blockcenter_c.html"}>
+
+ <{/foreach}>
+
+
+ |
+
+
+
+
+ <{foreach item=block from=$xoops_clblocks}>
+ <{include file="x2t/theme_blockcenter_l.html"}>
+
+ <{/foreach}>
+
+
+ |
+
+
+
+ <{foreach item=block from=$xoops_crblocks}>
+ <{include file="x2t/theme_blockcenter_r.html"}>
+
+ <{/foreach}>
+
+
+ |
+
+
+ <{/if}>
+
+
+
+
+ <{$xoops_contents}>
+ |
+ <{if $xoops_showrblock == 1}>
+
+
+ <{foreach item=block from=$xoops_rblocks}>
+ <{include file="x2t/theme_blockright.html"}>
+ <{/foreach}>
+
+
+ |
+<{else}>
+ |
+<{/if}>
+
+
+
+
+
+
+ |
+ <{$footer}> |
+ |
+
+ |
+
\ No newline at end of file
From onokazu ¡÷ users.sourceforge.jp Sat Jun 11 11:32:39 2005
From: onokazu ¡÷ users.sourceforge.jp (onokazu)
Date: Sat, 11 Jun 2005 11:32:39 +0900
Subject: [xoops-cvslog 99] CVS update: xoops2jp/html/class/mail/phpmailer
Message-ID: <20050611023239.4DC9C2AC022@users.sourceforge.jp>
Index: xoops2jp/html/class/mail/phpmailer/class.smtp.php
diff -u xoops2jp/html/class/mail/phpmailer/class.smtp.php:1.1 xoops2jp/html/class/mail/phpmailer/class.smtp.php:1.2
--- xoops2jp/html/class/mail/phpmailer/class.smtp.php:1.1 Thu Sep 9 14:14:50 2004
+++ xoops2jp/html/class/mail/phpmailer/class.smtp.php Sat Jun 11 11:32:39 2005
@@ -314,6 +314,14 @@
# smaller lines
while(strlen($line) > $max_line_length) {
$pos = strrpos(substr($line,0,$max_line_length)," ");
+
+ // fix for infinite loop bug
+ // added by onokazu, 2005/5/31
+ if (!$pos) {
+ $pos = $max_line_length - 1;
+ }
+ // end fix
+
$lines_out[] = substr($line,0,$pos);
$line = substr($line,$pos + 1);
# if we are processing headers we need to
From onokazu ¡÷ users.sourceforge.jp Sat Jun 11 11:32:39 2005
From: onokazu ¡÷ users.sourceforge.jp (onokazu)
Date: Sat, 11 Jun 2005 11:32:39 +0900
Subject: [xoops-cvslog 100] CVS update: xoops2jp/html/class/xml/rpc
Message-ID: <20050611023239.8FEC22AC02A@users.sourceforge.jp>
Index: xoops2jp/html/class/xml/rpc/xmlrpcapi.php
diff -u xoops2jp/html/class/xml/rpc/xmlrpcapi.php:1.2 xoops2jp/html/class/xml/rpc/xmlrpcapi.php:1.3
--- xoops2jp/html/class/xml/rpc/xmlrpcapi.php:1.2 Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/xml/rpc/xmlrpcapi.php Sat Jun 11 11:32:39 2005
@@ -1,5 +1,5 @@
module =& $module;
}
- function _setUser(&$user, $isadmin = false)
+ function _setUser(&$user, $isadmin = false)
{
if (is_object($user)) {
$this->user =& $user;
@@ -72,13 +72,13 @@
if (isset($this->user)) {
return true;
}
- $member_handler =& xoops_gethandler('member');
+ $member_handler =& xoops_gethandler('member');
$this->user =& $member_handler->loginUser($username, $password);
if (!is_object($this->user)) {
unset($this->user);
return false;
}
- $moduleperm_handler =& xoops_gethandler('groupperm');
+ $moduleperm_handler =& xoops_gethandler('groupperm');
if (!$moduleperm_handler->checkRight('module_read', $this->module->getVar('mid'), $this->user->getGroups())) {
unset($this->user);
return false;
@@ -153,10 +153,10 @@
}
// kind of dirty method to load XOOPS API and create a new object thereof
- // returns itself if the calling object is XOOPS API
+ // returns itself if the calling object is XOOPS API
function &_getXoopsApi(&$params)
{
- if (!(strtolower(get_class($this)) != 'xoopsapi')) {
+ if (strtolower(get_class($this)) != 'xoopsapi') {
require_once(XOOPS_ROOT_PATH.'/class/xml/rpc/xoopsapi.php');
return new XoopsApi($params, $this->response, $this->module);
} else {
From onokazu ¡÷ users.sourceforge.jp Sat Jun 11 11:32:39 2005
From: onokazu ¡÷ users.sourceforge.jp (onokazu)
Date: Sat, 11 Jun 2005 11:32:39 +0900
Subject: [xoops-cvslog 101] CVS update: xoops2jp/html/class/xml
Message-ID: <20050611023239.CF79A2AC02B@users.sourceforge.jp>
Index: xoops2jp/html/class/xml/saxparser.php
diff -u xoops2jp/html/class/xml/saxparser.php:1.2 xoops2jp/html/class/xml/saxparser.php:1.3
--- xoops2jp/html/class/xml/saxparser.php:1.2 Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/xml/saxparser.php Sat Jun 11 11:32:39 2005
@@ -1,5 +1,5 @@
xml/SaxParser.class
@@ -160,8 +160,11 @@
{
xml_parser_free($this->parser);
- unset($this);
- $this = null;
+ if (!method_exists($this, '__destruct')) {
+ unset($this);
+ } else {
+ $this->__destruct();
+ }
}
/****************************************************************************
@@ -220,8 +223,8 @@
if (isset($this->tagHandlers[$tagName]) && is_subclass_of($this->tagHandlers[$tagName], 'xmltaghandler')) {
$this->tagHandlers[$tagName]->handleBeginElement($this, $attributesArray);
} else {
- $this->handleBeginElementDefault($parser, $tagName, $attributesArray);
- }
+ $this->handleBeginElementDefault($parser, $tagName, $attributesArray);
+ }
}
/****************************************************************************
@@ -238,8 +241,8 @@
if (isset($this->tagHandlers[$tagName]) && is_subclass_of($this->tagHandlers[$tagName], 'xmltaghandler')) {
$this->tagHandlers[$tagName]->handleEndElement($this);
} else {
- $this->handleEndElementDefault($parser, $tagName);
- }
+ $this->handleEndElementDefault($parser, $tagName);
+ }
$this->level--;
}
@@ -256,8 +259,8 @@
if (isset($tagHandler) && is_subclass_of($tagHandler, 'xmltaghandler')) {
$tagHandler->handleCharacterData($this, $data);
} else {
- $this->handleCharacterDataDefault($parser, $data);
- }
+ $this->handleCharacterDataDefault($parser, $data);
+ }
}
/****************************************************************************
@@ -266,9 +269,9 @@
****************************************************************************/
function handleProcessingInstruction($parser, &$target, &$data)
{
- if($target == 'php') {
- eval($data);
- }
+// if($target == 'php') {
+// eval($data);
+// }
}
/****************************************************************************
@@ -307,61 +310,61 @@
}
- /**
- * The default tag handler method for a tag with no handler
- *
- * @abstract
- */
- function handleBeginElementDefault($parser, $tagName, $attributesArray)
- {
- }
-
- /**
- * The default tag handler method for a tag with no handler
- *
- * @abstract
- */
- function handleEndElementDefault($parser, $tagName)
- {
- }
-
- /**
- * The default tag handler method for a tag with no handler
- *
- * @abstract
- */
- function handleCharacterDataDefault($parser, $data)
- {
- }
-
- /**
- * Sets error messages
- *
- * @param $error string an error message
- */
+ /**
+ * The default tag handler method for a tag with no handler
+ *
+ * @abstract
+ */
+ function handleBeginElementDefault($parser, $tagName, $attributesArray)
+ {
+ }
+
+ /**
+ * The default tag handler method for a tag with no handler
+ *
+ * @abstract
+ */
+ function handleEndElementDefault($parser, $tagName)
+ {
+ }
+
+ /**
+ * The default tag handler method for a tag with no handler
+ *
+ * @abstract
+ */
+ function handleCharacterDataDefault($parser, $data)
+ {
+ }
+
+ /**
+ * Sets error messages
+ *
+ * @param $error string an error message
+ */
function setErrors($error)
{
$this->errors[] = trim($error);
}
- /**
- * Gets all the error messages
- *
- * @param $ashtml bool return as html?
- * @return mixed
- */
+ /**
+ * Gets all the error messages
+ *
+ * @param $ashtml bool return as html?
+ * @return mixed
+ */
function &getErrors($ashtml = true)
{
if (!$ashtml) {
return $this->errors;
} else {
- $ret = '';
- if (count($this->errors) > 0) {
- foreach ($this->errors as $error) {
- $ret .= $error.' ';
- }
- }
- return $ret;
+ $ret = '';
+ if (count($this->errors) > 0) {
+ foreach ($this->errors as $error) {
+ $ret .= $error.' ';
+ }
+ }
+ return $ret;
}
}
}
From onokazu ¡÷ users.sourceforge.jp Sat Jun 11 11:32:41 2005
From: onokazu ¡÷ users.sourceforge.jp (onokazu)
Date: Sat, 11 Jun 2005 11:32:41 +0900
Subject: [xoops-cvslog 102] CVS update: xoops2jp/html/install
Message-ID: <20050611023241.258E32AC02A@users.sourceforge.jp>
Index: xoops2jp/html/install/install_tpl.php
diff -u xoops2jp/html/install/install_tpl.php:1.1 xoops2jp/html/install/install_tpl.php:1.2
--- xoops2jp/html/install/install_tpl.php:1.1 Thu Sep 9 14:15:04 2004
+++ xoops2jp/html/install/install_tpl.php Sat Jun 11 11:32:40 2005
@@ -17,7 +17,7 @@
|
|
|
- |
+ |
|
@@ -26,7 +26,7 @@
-
|
'.$title.''; echo ' '.$content.' '; ?> |
@@ -76,9 +76,9 @@
function b_reload($option=''){
if(empty($option)) return '';
- if (!defined('_INSTALL_L200')) {
- define('_INSTALL_L200', 'Reload');
- }
+ if (!defined('_INSTALL_L200')) {
+ define('_INSTALL_L200', 'Reload');
+ }
return " ";
}
Index: xoops2jp/html/install/makedata.php
diff -u xoops2jp/html/install/makedata.php:1.2 xoops2jp/html/install/makedata.php:1.3
--- xoops2jp/html/install/makedata.php:1.2 Fri Mar 18 21:52:14 2005
+++ xoops2jp/html/install/makedata.php Sat Jun 11 11:32:40 2005
@@ -1,5 +1,5 @@
insert("group_permission", " VALUES (0,".$gruops['XOOPS_GROUP_USERS'].",1,1,'module_read')");
$dbm->insert("group_permission", " VALUES (0,".$gruops['XOOPS_GROUP_ANONYMOUS'].",1,1,'module_read')");
- $dbm->insert("group_permission", " VALUES(0,".$gruops['XOOPS_GROUP_ADMIN'].",1,1,'system_admin')");
+ $dbm->insert("group_permission", " VALUES(0,".$gruops['XOOPS_GROUP_ADMIN'].",1,1,'system_admin')");
$dbm->insert("group_permission", " VALUES(0,".$gruops['XOOPS_GROUP_ADMIN'].",2,1,'system_admin')");
$dbm->insert("group_permission", " VALUES(0,".$gruops['XOOPS_GROUP_ADMIN'].",3,1,'system_admin')");
$dbm->insert("group_permission", " VALUES(0,".$gruops['XOOPS_GROUP_ADMIN'].",4,1,'system_admin')");
@@ -82,9 +82,9 @@
// data for table 'banner'
- $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, date) VALUES (1, 1, 0, 1, 0, '".XOOPS_URL."/images/banners/xoops_banner.gif', 'http://www.xoops.org/', 1008813250)");
- $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, date) VALUES (2, 1, 0, 1, 0, '".XOOPS_URL."/images/banners/xoops_banner_2.gif', 'http://www.xoops.org/', 1008813250)");
- $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, date) VALUES (3, 1, 0, 1, 0, '".XOOPS_URL."/images/banners/banner.swf', 'http://www.xoops.org/', 1008813250)");
+ $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, date) VALUES (1, 1, 0, 1, 0, '".XOOPS_URL."/images/banners/xoops_banner.gif', 'http://jp.xoops.org/', 1008813250)");
+ $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, date) VALUES (2, 1, 0, 1, 0, '".XOOPS_URL."/images/banners/xoops_banner_2.gif', 'http://jp.xoops.org/', 1008813250)");
+ $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, date) VALUES (3, 1, 0, 1, 0, '".XOOPS_URL."/images/banners/banner.swf', 'http://jp.xoops.org/', 1008813250)");
// default theme
@@ -104,7 +104,7 @@
include_once '../modules/system/xoops_version.php';
$time = time();
- // RMV-NOTIFY (updated for extra column in table)
+ // RMV-NOTIFY (updated for extra column in table)
$dbm->insert("modules", " VALUES (1, '"._MI_SYSTEM_NAME."', 100, ".$time.", 0, 1, 'system', 0, 1, 0, 0, 0, 0)");
foreach ($modversion['templates'] as $tplfile) {
@@ -145,7 +145,7 @@
$temp = md5($adminpass);
$regdate = time();
//$dbadminname= addslashes($adminname);
- // RMV-NOTIFY (updated for extra columns in user table)
+ // RMV-NOTIFY (updated for extra columns in user table)
$dbm->insert('users', " VALUES (1,'','".addslashes($adminname)."','".addslashes($adminmail)."','".XOOPS_URL."/','blank.gif','".$regdate."','','','',1,'','','','','".$temp."',0,0,7,5,'default','0.0',".time().",'thread',0,1,0,'','','',0)");
@@ -200,7 +200,7 @@
$dbm->insert('config', " VALUES (36, 0, 2, 'maxuname', '_MD_AM_MAXUNAME', '10', '_MD_AM_MAXUNAMEDSC', 'textbox', 'int', 3)");
$dbm->insert('config', " VALUES (37, 0, 1, 'bad_ips', '_MD_AM_BADIPS', '".addslashes(serialize(array('127.0.0.1')))."', '_MD_AM_BADIPSDSC', 'textarea', 'array', 42)");
$dbm->insert('config', " VALUES (38, 0, 3, 'meta_keywords', '_MD_AM_METAKEY', 'news, technology, headlines, xoops, xoop, nuke, myphpnuke, myphp-nuke, phpnuke, SE, geek, geeks, hacker, hackers, linux, software, download, downloads, free, community, mp3, forum, forums, bulletin, board, boards, bbs, php, survey, poll, polls, kernel, comment, comments, portal, odp, open, source, opensource, FreeSoftware, gnu, gpl, license, Unix, *nix, mysql, sql, database, databases, web site, weblog, guru, module, modules, theme, themes, cms, content management', '_MD_AM_METAKEYDSC', 'textarea', 'text', 0)");
- $dbm->insert('config', " VALUES (39, 0, 3, 'footer', '_MD_AM_FOOTER', 'Powered by XOOPS 2.0 © 2001-2003 The XOOPS Project', '_MD_AM_FOOTERDSC', 'textarea', 'text', 20)");
+ $dbm->insert('config', " VALUES (39, 0, 3, 'footer', '_MD_AM_FOOTER', 'Powered by XOOPS 2.0 © 2001-2003 The XOOPS Project', '_MD_AM_FOOTERDSC', 'textarea', 'text', 20)");
$dbm->insert('config', " VALUES (40, 0, 4, 'censor_enable', '_MD_AM_DOCENSOR', '0', '_MD_AM_DOCENSORDSC', 'yesno', 'int', 0)");
$dbm->insert('config', " VALUES (41, 0, 4, 'censor_words', '_MD_AM_CENSORWRD', '".addslashes(serialize(array('fuck', 'shit')))."', '_MD_AM_CENSORWRDDSC', 'textarea', 'array', 1)");
$dbm->insert('config', " VALUES (42, 0, 4, 'censor_replace', '_MD_AM_CENSORRPLC', '#OOPS#', '_MD_AM_CENSORRPLCDSC', 'textbox', 'text', 2)");
@@ -220,23 +220,23 @@
$dbm->insert('config', " VALUES (56, 0, 2, 'allow_register', '_MD_AM_ALLOWREG', 1, '_MD_AM_ALLOWREGDSC', 'yesno', 'int', 0)");
$dbm->insert('config', " VALUES (57, 0, 1, 'theme_fromfile', '_MD_AM_THEMEFILE', '0', '_MD_AM_THEMEFILEDSC', 'yesno', 'int', 13)");
$dbm->insert('config', " VALUES (58, 0, 1, 'closesite', '_MD_AM_CLOSESITE', '0', '_MD_AM_CLOSESITEDSC', 'yesno', 'int', 26)");
- $dbm->insert('config', " VALUES (59, 0, 1, 'closesite_okgrp', '_MD_AM_CLOSESITEOK', '".addslashes(serialize(array('1')))."', '_MD_AM_CLOSESITEOKDSC', 'group_multi', 'array', 27)");
- $dbm->insert('config', " VALUES (60, 0, 1, 'closesite_text', '_MD_AM_CLOSESITETXT', '"._INSTALL_L165."', '_MD_AM_CLOSESITETXTDSC', 'textarea', 'text', 28)");
- $dbm->insert('config', " VALUES (61, 0, 1, 'sslpost_name', '_MD_AM_SSLPOST', 'xoops_ssl', '_MD_AM_SSLPOSTDSC', 'textbox', 'text', 31)");
- $dbm->insert('config', " VALUES (62, 0, 1, 'module_cache', '_MD_AM_MODCACHE', '', '_MD_AM_MODCACHEDSC', 'module_cache', 'array', 50)");
- $dbm->insert('config', " VALUES (63, 0, 1, 'template_set', '_MD_AM_DTPLSET', 'default', '_MD_AM_DTPLSETDSC', 'tplset', 'other', 14)");
-
- $dbm->insert('config', " VALUES (64,0,6,'mailmethod','_MD_AM_MAILERMETHOD','mail','_MD_AM_MAILERMETHODDESC','select','text',4)");
- $dbm->insert('config', " VALUES (65,0,6,'smtphost','_MD_AM_SMTPHOST','a:1:{i:0;s:0:\"\";}', '_MD_AM_SMTPHOSTDESC','textarea','array',6)");
- $dbm->insert('config', " VALUES (66,0,6,'smtpuser','_MD_AM_SMTPUSER','','_MD_AM_SMTPUSERDESC','textbox','text',7)");
- $dbm->insert('config', " VALUES (67,0,6,'smtppass','_MD_AM_SMTPPASS','','_MD_AM_SMTPPASSDESC','password','text',8)");
- $dbm->insert('config', " VALUES (68,0,6,'sendmailpath','_MD_AM_SENDMAILPATH','/usr/sbin/sendmail','_MD_AM_SENDMAILPATHDESC','textbox','text',5)");
- $dbm->insert('config', " VALUES (69,0,6,'from','_MD_AM_MAILFROM','','_MD_AM_MAILFROMDESC','textbox','text', 1)");
- $dbm->insert('config', " VALUES (70,0,6,'fromname','_MD_AM_MAILFROMNAME','','_MD_AM_MAILFROMNAMEDESC','textbox','text',2)");
- $dbm->insert('config', " VALUES (71, 0, 1, 'sslloginlink', '_MD_AM_SSLLINK', 'https://', '_MD_AM_SSLLINKDSC', 'textbox', 'text', 33)");
- $dbm->insert('config', " VALUES (72, 0, 1, 'theme_set_allowed', '_MD_AM_THEMEOK', '".serialize(array('default'))."', '_MD_AM_THEMEOKDSC', 'theme_multi', 'array', 13)");
- // RMV-NOTIFY... Need to specify which user is sender of notification PM
- $dbm->insert('config', " VALUES (73,0,6,'fromuid','_MD_AM_MAILFROMUID','1','_MD_AM_MAILFROMUIDDESC','user','int',3)");
+ $dbm->insert('config', " VALUES (59, 0, 1, 'closesite_okgrp', '_MD_AM_CLOSESITEOK', '".addslashes(serialize(array('1')))."', '_MD_AM_CLOSESITEOKDSC', 'group_multi', 'array', 27)");
+ $dbm->insert('config', " VALUES (60, 0, 1, 'closesite_text', '_MD_AM_CLOSESITETXT', '"._INSTALL_L165."', '_MD_AM_CLOSESITETXTDSC', 'textarea', 'text', 28)");
+ $dbm->insert('config', " VALUES (61, 0, 1, 'sslpost_name', '_MD_AM_SSLPOST', 'xoops_ssl', '_MD_AM_SSLPOSTDSC', 'textbox', 'text', 31)");
+ $dbm->insert('config', " VALUES (62, 0, 1, 'module_cache', '_MD_AM_MODCACHE', '', '_MD_AM_MODCACHEDSC', 'module_cache', 'array', 50)");
+ $dbm->insert('config', " VALUES (63, 0, 1, 'template_set', '_MD_AM_DTPLSET', 'default', '_MD_AM_DTPLSETDSC', 'tplset', 'other', 14)");
+
+ $dbm->insert('config', " VALUES (64,0,6,'mailmethod','_MD_AM_MAILERMETHOD','mail','_MD_AM_MAILERMETHODDESC','select','text',4)");
+ $dbm->insert('config', " VALUES (65,0,6,'smtphost','_MD_AM_SMTPHOST','a:1:{i:0;s:0:\"\";}', '_MD_AM_SMTPHOSTDESC','textarea','array',6)");
+ $dbm->insert('config', " VALUES (66,0,6,'smtpuser','_MD_AM_SMTPUSER','','_MD_AM_SMTPUSERDESC','textbox','text',7)");
+ $dbm->insert('config', " VALUES (67,0,6,'smtppass','_MD_AM_SMTPPASS','','_MD_AM_SMTPPASSDESC','password','text',8)");
+ $dbm->insert('config', " VALUES (68,0,6,'sendmailpath','_MD_AM_SENDMAILPATH','/usr/sbin/sendmail','_MD_AM_SENDMAILPATHDESC','textbox','text',5)");
+ $dbm->insert('config', " VALUES (69,0,6,'from','_MD_AM_MAILFROM','','_MD_AM_MAILFROMDESC','textbox','text', 1)");
+ $dbm->insert('config', " VALUES (70,0,6,'fromname','_MD_AM_MAILFROMNAME','','_MD_AM_MAILFROMNAMEDESC','textbox','text',2)");
+ $dbm->insert('config', " VALUES (71, 0, 1, 'sslloginlink', '_MD_AM_SSLLINK', 'https://', '_MD_AM_SSLLINKDSC', 'textbox', 'text', 33)");
+ $dbm->insert('config', " VALUES (72, 0, 1, 'theme_set_allowed', '_MD_AM_THEMEOK', '".serialize(array('default'))."', '_MD_AM_THEMEOKDSC', 'theme_multi', 'array', 13)");
+ // RMV-NOTIFY... Need to specify which user is sender of notification PM
+ $dbm->insert('config', " VALUES (73,0,6,'fromuid','_MD_AM_MAILFROMUID','1','_MD_AM_MAILFROMUIDDESC','user','int',3)");
return $gruops;
From onokazu ¡÷ users.sourceforge.jp Sat Jun 11 11:32:41 2005
From: onokazu ¡÷ users.sourceforge.jp (onokazu)
Date: Sat, 11 Jun 2005 11:32:41 +0900
Subject: [xoops-cvslog 103] CVS update: xoops2jp/html/language/japanese
Message-ID: <20050611023241.CB8142AC02C@users.sourceforge.jp>
Index: xoops2jp/html/language/japanese/notification.php
diff -u xoops2jp/html/language/japanese/notification.php:1.2 xoops2jp/html/language/japanese/notification.php:1.3
--- xoops2jp/html/language/japanese/notification.php:1.2 Fri Mar 18 22:00:58 2005
+++ xoops2jp/html/language/japanese/notification.php Sat Jun 11 11:32:41 2005
@@ -1,5 +1,5 @@
From onokazu ¡÷ users.sourceforge.jp Sat Jun 11 11:32:42 2005
From: onokazu ¡÷ users.sourceforge.jp (onokazu)
Date: Sat, 11 Jun 2005 11:32:42 +0900
Subject: [xoops-cvslog 104] CVS update: xoops2jp/html/modules/contact
Message-ID: <20050611023242.19C1E2AC02F@users.sourceforge.jp>
Index: xoops2jp/html/modules/contact/index.php
diff -u xoops2jp/html/modules/contact/index.php:1.2 xoops2jp/html/modules/contact/index.php:1.3
--- xoops2jp/html/modules/contact/index.php:1.2 Fri Mar 18 21:52:14 2005
+++ xoops2jp/html/modules/contact/index.php Sat Jun 11 11:32:41 2005
@@ -1,5 +1,5 @@
getVar("uname", "E") : "";
- $email_v = !empty($xoopsUser) ? $xoopsUser->getVar("email", "E") : "";
- $url_v = !empty($xoopsUser) ? $xoopsUser->getVar("url", "E") : "";
- $icq_v = !empty($xoopsUser) ? $xoopsUser->getVar("user_icq", "E") : "";
- $location_v = !empty($xoopsUser) ? $xoopsUser->getVar("user_from", "E") : "";
- $comment_v = "";
- include "contactform.php";
- $contact_form->assign($xoopsTpl);
- include XOOPS_ROOT_PATH."/footer.php";
+ $xoopsOption['template_main'] = 'contact_contactusform.html';
+ include XOOPS_ROOT_PATH."/header.php";
+ include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";
+ $company_v = "";
+ $name_v = !empty($xoopsUser) ? $xoopsUser->getVar("uname", "E") : "";
+ $email_v = !empty($xoopsUser) ? $xoopsUser->getVar("email", "E") : "";
+ $url_v = !empty($xoopsUser) ? $xoopsUser->getVar("url", "E") : "";
+ $icq_v = !empty($xoopsUser) ? $xoopsUser->getVar("user_icq", "E") : "";
+ $location_v = !empty($xoopsUser) ? $xoopsUser->getVar("user_from", "E") : "";
+ $comment_v = "";
+ include "contactform.php";
+ $contact_form->assign($xoopsTpl);
+ include XOOPS_ROOT_PATH."/footer.php";
} else {
- extract($HTTP_POST_VARS);
- $myts =& MyTextSanitizer::getInstance();
- $usersEmail = $myts->stripSlashesGPC($usersEmail);
- $usersCompanyName = $myts->stripSlashesGPC($usersCompanyName);
- $usersCompanyLocation = $myts->stripSlashesGPC($usersCompanyLocation);
- $usersComments = $myts->stripSlashesGPC($usersComments);
- $usersName = $myts->stripSlashesGPC($usersName);
+ $myts =& MyTextSanitizer::getInstance();
+ $usersEmail = $myts->stripSlashesGPC($_POST['usersEmail']);
+ $usersCompanyName = $myts->stripSlashesGPC($_POST['usersCompanyName']);
+ $usersCompanyLocation = $myts->stripSlashesGPC($_POST['usersCompanyLocation']);
+ $usersComments = $myts->stripSlashesGPC($_POST['usersComments']);
+ $usersName = $myts->stripSlashesGPC($_POST['usersName']);
- $adminMessage = sprintf(_CT_SUBMITTED,$usersName);
- $adminMessage .= "\n";
- $adminMessage .= ""._CT_EMAIL." $usersEmail\n";
- if ( !empty($usersSite) ) {
- $adminMessage .= ""._CT_URL." $usersSite\n";
- }
- if ( !empty($usersICQ) ) {
- $adminMessage .= ""._CT_ICQ." $usersICQ\n";
- }
- if ( !empty($usersCompanyName) ) {
- $adminMessage .= _CT_COMPANY. " $usersCompanyName\n";
- }
- if ( !empty($usersCompanyLocation) ) {
- $adminMessage .= _CT_LOCATION." $usersCompanyLocation\n";
- }
- $adminMessage .= _CT_COMMENTS."\n";
- $adminMessage .= "\n$usersComments\n";
- $adminMessage .= "\n".$HTTP_SERVER_VARS['HTTP_USER_AGENT']."\n";
- $subject = $xoopsConfig['sitename']." - "._CT_CONTACTFORM;
- $xoopsMailer =& getMailer();
- $xoopsMailer->useMail();
- $xoopsMailer->setToEmails($xoopsConfig['adminmail']);
- $xoopsMailer->setFromEmail($usersEmail);
- $xoopsMailer->setFromName($xoopsConfig['sitename']);
- $xoopsMailer->setSubject($subject);
- $xoopsMailer->setBody($adminMessage);
- $xoopsMailer->send();
- $messagesent = sprintf(_CT_MESSAGESENT,$xoopsConfig['sitename'])." "._CT_THANKYOU."";
+ $adminMessage = sprintf(_CT_SUBMITTED,$usersName);
+ $adminMessage .= "\n";
+ $adminMessage .= ""._CT_EMAIL." $usersEmail\n";
+ if ( !empty($_POST['usersSite']) ) {
+ $adminMessage .= _CT_URL." ".$myts->stripSlashesGPC($_POST['usersSite'])."\n";
+ }
+ if ( !empty($_POST['usersICQ']) ) {
+ $adminMessage .= _CT_ICQ." ".$myts->stripSlashesGPC($_POST['usersICQ'])."\n";
+ }
+ if ( !empty($usersCompanyName) ) {
+ $adminMessage .= _CT_COMPANY. " $usersCompanyName\n";
+ }
+ if ( !empty($usersCompanyLocation) ) {
+ $adminMessage .= _CT_LOCATION." $usersCompanyLocation\n";
+ }
+ $adminMessage .= _CT_COMMENTS."\n";
+ $adminMessage .= "\n$usersComments\n";
+ $adminMessage .= "\n".$HTTP_SERVER_VARS['HTTP_USER_AGENT']."\n";
+ $subject = $xoopsConfig['sitename']." - "._CT_CONTACTFORM;
+ $xoopsMailer =& getMailer();
+ $xoopsMailer->useMail();
+ $xoopsMailer->setToEmails($xoopsConfig['adminmail']);
+ $xoopsMailer->setFromEmail($usersEmail);
+ $xoopsMailer->setFromName($xoopsConfig['sitename']);
+ $xoopsMailer->setSubject($subject);
+ $xoopsMailer->setBody($adminMessage);
+ $xoopsMailer->send();
+ $messagesent = sprintf(_CT_MESSAGESENT,$xoopsConfig['sitename'])." "._CT_THANKYOU."";
- // uncomment the following lines if you want to send confirmation mail to the user
- /*
- $conf_subject = _CT_THANKYOU;
- $userMessage = sprintf(_CT_HELLO,$usersName);
- $userMessage .= "\n\n";
- $userMessage .= sprintf(_CT_THANKYOUCOMMENTS,$xoopsConfig['sitename']);
- $userMessage .= "\n";
- $userMessage .= sprintf(_CT_SENTTOWEBMASTER,$xoopsConfig['sitename']);
- $userMessage .= "\n";
- $userMessage .= _CT_YOURMESSAGE."\n";
- $userMessage .= "\n$usersComments\n\n";
- $userMessage .= "--------------\n";
- $userMessage .= "".$xoopsConfig['sitename']." "._CT_WEBMASTER."\n";
- $userMessage .= "".$xoopsConfig['adminmail']."";
- $xoopsMailer =& getMailer();
- $xoopsMailer->useMail();
- $xoopsMailer->setToEmails($usersEmail);
- $xoopsMailer->setFromEmail($usersEmail);
- $xoopsMailer->setFromName($xoopsConfig['sitename']);
- $xoopsMailer->setSubject($conf_subject);
- $xoopsMailer->setBody($userMessage);
- $xoopsMailer->send();
- $messagesent .= sprintf(_CT_SENTASCONFIRM,$usersEmail);
- */
+ // uncomment the following lines if you want to send confirmation mail to the user
+ /*
+ $conf_subject = _CT_THANKYOU;
+ $userMessage = sprintf(_CT_HELLO,$usersName);
+ $userMessage .= "\n\n";
+ $userMessage .= sprintf(_CT_THANKYOUCOMMENTS,$xoopsConfig['sitename']);
+ $userMessage .= "\n";
+ $userMessage .= sprintf(_CT_SENTTOWEBMASTER,$xoopsConfig['sitename']);
+ $userMessage .= "\n";
+ $userMessage .= _CT_YOURMESSAGE."\n";
+ $userMessage .= "\n$usersComments\n\n";
+ $userMessage .= "--------------\n";
+ $userMessage .= "".$xoopsConfig['sitename']." "._CT_WEBMASTER."\n";
+ $userMessage .= "".$xoopsConfig['adminmail']."";
+ $xoopsMailer =& getMailer();
+ $xoopsMailer->useMail();
+ $xoopsMailer->setToEmails($usersEmail);
+ $xoopsMailer->setFromEmail($usersEmail);
+ $xoopsMailer->setFromName($xoopsConfig['sitename']);
+ $xoopsMailer->setSubject($conf_subject);
+ $xoopsMailer->setBody($userMessage);
+ $xoopsMailer->send();
+ $messagesent .= sprintf(_CT_SENTASCONFIRM,$usersEmail);
+ */
- redirect_header(XOOPS_URL."/index.php",2,$messagesent);
+ redirect_header(XOOPS_URL."/index.php",2,$messagesent);
}
?>
\ No newline at end of file
From onokazu ¡÷ users.sourceforge.jp Sat Jun 11 11:32:43 2005
From: onokazu ¡÷ users.sourceforge.jp (onokazu)
Date: Sat, 11 Jun 2005 11:32:43 +0900
Subject: [xoops-cvslog 106] CVS update:
xoops2jp/html/modules/mydownloads/templates
Message-ID: <20050611023243.600322AC022@users.sourceforge.jp>
Index: xoops2jp/html/modules/mydownloads/templates/mydownloads_index.html
diff -u xoops2jp/html/modules/mydownloads/templates/mydownloads_index.html:1.1 xoops2jp/html/modules/mydownloads/templates/mydownloads_index.html:1.2
--- xoops2jp/html/modules/mydownloads/templates/mydownloads_index.html:1.1 Thu Sep 9 14:15:16 2004
+++ xoops2jp/html/modules/mydownloads/templates/mydownloads_index.html Sat Jun 11 11:32:43 2005
@@ -6,7 +6,7 @@
<{if count($categories) gt 0}>
-
+
Index: xoops2jp/html/modules/mydownloads/templates/mydownloads_ratefile.html
diff -u xoops2jp/html/modules/mydownloads/templates/mydownloads_ratefile.html:1.1 xoops2jp/html/modules/mydownloads/templates/mydownloads_ratefile.html:1.2
--- xoops2jp/html/modules/mydownloads/templates/mydownloads_ratefile.html:1.1 Thu Sep 9 14:15:16 2004
+++ xoops2jp/html/modules/mydownloads/templates/mydownloads_ratefile.html Sat Jun 11 11:32:43 2005
@@ -6,27 +6,27 @@
-
-
+
+
<{$file.title}>
- - <{$lang_voteonce}>
-
- <{$lang_ratingscale}>
-
- <{$lang_beobjective}>
-
- <{$lang_donotvote}>
+
- <{$lang_voteonce}>
+ - <{$lang_ratingscale}>
+ - <{$lang_beobjective}>
+ - <{$lang_donotvote}>
|
|
-
+
Index: xoops2jp/html/modules/mydownloads/templates/mydownloads_submit.html
diff -u xoops2jp/html/modules/mydownloads/templates/mydownloads_submit.html:1.1 xoops2jp/html/modules/mydownloads/templates/mydownloads_submit.html:1.2
--- xoops2jp/html/modules/mydownloads/templates/mydownloads_submit.html:1.1 Thu Sep 9 14:15:16 2004
+++ xoops2jp/html/modules/mydownloads/templates/mydownloads_submit.html Sat Jun 11 11:32:43 2005
@@ -18,51 +18,51 @@
|