NobuNobu
nobun****@users*****
2005年 6月 19日 (日) 00:51:12 JST
Index: xoops2jp/html/modules/mydownloads/index.php diff -u xoops2jp/html/modules/mydownloads/index.php:1.2.6.1 xoops2jp/html/modules/mydownloads/index.php:1.2.6.1.2.1 --- xoops2jp/html/modules/mydownloads/index.php:1.2.6.1 Mon May 30 21:00:10 2005 +++ xoops2jp/html/modules/mydownloads/index.php Sun Jun 19 00:51:12 2005 @@ -1,5 +1,5 @@ <?php -// $Id: index.php,v 1.2.6.1 2005/05/30 12:00:10 onokazu Exp $ +// $Id: index.php,v 1.2.6.1.2.1 2005/06/18 15:51:12 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -117,7 +117,7 @@ $new = newdownloadgraphic($time, $status); $pop = popgraphic($hits); if ($isadmin) { - $adminlink = '<a href="'.XOOPS_URL.'/modules/mydownloads/admin/index.php?lid='.$lid.'&fct=mydownloads&op=modDownload"><img src="'.XOOPS_URL.'/modules/mydownloads/images/editicon.gif" border="0" alt="'._MD_EDITTHISDL.'" /></a>'; + $adminlink = '<a href="'.XOOPS_URL.'/modules/mydownloads/admin/index.php?lid='.$lid.'&fct=mydownloads&op=modDownload"><img src="'.XOOPS_URL.'/modules/mydownloads/images/editicon.gif" border="0" alt="'._MD_EDITTHISDL.'" /></a>'; } else { $adminlink = ''; } Index: xoops2jp/html/modules/mydownloads/singlefile.php diff -u xoops2jp/html/modules/mydownloads/singlefile.php:1.2.6.1 xoops2jp/html/modules/mydownloads/singlefile.php:1.2.6.1.2.1 --- xoops2jp/html/modules/mydownloads/singlefile.php:1.2.6.1 Mon May 30 21:00:10 2005 +++ xoops2jp/html/modules/mydownloads/singlefile.php Sun Jun 19 00:51:12 2005 @@ -1,5 +1,5 @@ <?php -// $Id: singlefile.php,v 1.2.6.1 2005/05/30 12:00:10 onokazu Exp $ +// $Id: singlefile.php,v 1.2.6.1.2.1 2005/06/18 15:51:12 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -58,7 +58,7 @@ $new = newdownloadgraphic($time, $status); $pop = popgraphic($hits); if ($xoopsUser && $xoopsUser->isAdmin($xoopsModule->mid())) { - $adminlink = '<a href="'.XOOPS_URL.'/modules/mydownloads/admin/index.php?lid='.$lid.'&fct=mydownloads&op=modDownload"><img src="'.XOOPS_URL.'/modules/mydownloads/images/editicon.gif" border="0" alt="'._MD_EDITTHISDL.'" /></a>'; + $adminlink = '<a href="'.XOOPS_URL.'/modules/mydownloads/admin/index.php?lid='.$lid.'&fct=mydownloads&op=modDownload"><img src="'.XOOPS_URL.'/modules/mydownloads/images/editicon.gif" border="0" alt="'._MD_EDITTHISDL.'" /></a>'; } else { $adminlink = ''; } Index: xoops2jp/html/modules/mydownloads/submit.php diff -u xoops2jp/html/modules/mydownloads/submit.php:1.2 xoops2jp/html/modules/mydownloads/submit.php:1.2.10.1 --- xoops2jp/html/modules/mydownloads/submit.php:1.2 Fri Mar 18 21:52:14 2005 +++ xoops2jp/html/modules/mydownloads/submit.php Sun Jun 19 00:51:12 2005 @@ -1,5 +1,5 @@ <?php -// $Id: submit.php,v 1.2 2005/03/18 12:52:14 onokazu Exp $ +// $Id: submit.php,v 1.2.10.1 2005/06/18 15:51:12 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -97,7 +97,7 @@ $notification_handler =& xoops_gethandler('notification'); $tags = array(); $tags['FILE_NAME'] = $title; - $tags['FILE_URL'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/singlefile.php?cid=' . $cid . '&lid=' . $newid; + $tags['FILE_URL'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/singlefile.php?cid=' . $cid . '&lid=' . $newid; $sql = "SELECT title FROM " . $xoopsDB->prefix("mydownloads_cat") . " WHERE cid=" . $cid; $result = $xoopsDB->query($sql); $row = $xoopsDB->fetchArray($result);