NobuNobu
nobun****@users*****
2005年 6月 19日 (日) 00:51:12 JST
Index: xoops2jp/html/modules/mydownloads/admin/index.php diff -u xoops2jp/html/modules/mydownloads/admin/index.php:1.2.6.2 xoops2jp/html/modules/mydownloads/admin/index.php:1.2.6.2.2.1 --- xoops2jp/html/modules/mydownloads/admin/index.php:1.2.6.2 Tue May 31 12:48:18 2005 +++ xoops2jp/html/modules/mydownloads/admin/index.php Sun Jun 19 00:51:11 2005 @@ -1,5 +1,5 @@ <?php -// $Id: index.php,v 1.2.6.2 2005/05/31 03:48:18 nobunobu Exp $ +// $Id: index.php,v 1.2.6.2.2.1 2005/06/18 15:51:11 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -145,7 +145,7 @@ echo "<br /><input type=\"hidden\" name=\"op\" value=\"approve\"></input>"; echo "<input type=\"hidden\" name=\"lid\" value=\"$lid\" />"; echo "<input type=\"submit\" value=\""._MD_APPROVE."\" /></form>\n"; - echo myTextForm("index.php?op=delNewDownload&lid=$lid",_MD_DELETE); + echo myTextForm("index.php?op=delNewDownload&lid=$lid",_MD_DELETE); echo "<br /><br />"; } }else{ @@ -327,7 +327,7 @@ echo "<input type='hidden' name='op' value='modDownloadS' /><input type='submit' value='"._MD_SUBMIT."' />"; echo "</form>\n"; echo "<table><tr><td>\n"; - echo myTextForm("index.php?op=delDownload&lid=".$lid , _MD_DELETE); + echo myTextForm("index.php?op=delDownload&lid=".$lid , _MD_DELETE); echo "</td><td>\n"; echo myTextForm("index.php?op=downloadsConfigMenu", _MD_CANCEL); echo "</td></tr></table>\n"; @@ -363,11 +363,11 @@ $useravgrating = $useravgrating / $uservotes; $useravgrating = number_format($useravgrating, 1); $ratinguname = XoopsUser::getUnameFromId($ratinguser); - // echo "<tr><td bgcolor=\"$colorswitch\">$ratinguname</td><td bgcolor=\"$colorswitch\">$ratinghostname</td><td bgcolor=\"$colorswitch\">$rating</td><td bgcolor=\"$colorswitch\">$useravgrating</td><td bgcolor=\"$colorswitch\">$uservotes</td><td bgcolor=\"$colorswitch\">$formatted_date</td><td bgcolor=\"$colorswitch\" align=\"center\"><b><a href=index.php?op=delVote&lid=$lid&rid=$ratingid>X</a></b></td></tr>\n"; + // echo "<tr><td bgcolor=\"$colorswitch\">$ratinguname</td><td bgcolor=\"$colorswitch\">$ratinghostname</td><td bgcolor=\"$colorswitch\">$rating</td><td bgcolor=\"$colorswitch\">$useravgrating</td><td bgcolor=\"$colorswitch\">$uservotes</td><td bgcolor=\"$colorswitch\">$formatted_date</td><td bgcolor=\"$colorswitch\" align=\"center\"><b><a href=index.php?op=delVote&lid=$lid&rid=$ratingid>X</a></b></td></tr>\n"; // echo "<tr><td bgcolor=\"$colorswitch\">$ratinguname</td><td bgcolor=\"$colorswitch\">$ratinghostname</td><td bgcolor=\"$colorswitch\">$rating</td><td bgcolor=\"$colorswitch\">$useravgrating</td><td bgcolor=\"$colorswitch\">$uservotes</td><td bgcolor=\"$colorswitch\">$formatted_date</td><td bgcolor=\"$colorswitch\" align=\"center\">"; echo "<tr><td bgcolor=\"$colorswitch\">$ratinguname</td><td bgcolor=\"$colorswitch\">$ratinghostname</td><td bgcolor=\"$colorswitch\">$rating</td><td bgcolor=\"$colorswitch\">$useravgrating</td><td bgcolor=\"$colorswitch\">$uservotes</td><td bgcolor=\"$colorswitch\">$formatted_date</td><td bgcolor=\"$colorswitch\" align=\"center\">"; //echo "<table><tr><td>\n"; - echo myTextForm("index.php?op=delVote&lid=$lid&rid=$ratingid" , "X"); + echo myTextForm("index.php?op=delVote&lid=$lid&rid=$ratingid" , "X"); // echo "</td></tr></table>\n"; echo "</td></tr>\n"; @@ -393,11 +393,11 @@ $colorswitch="dddddd"; while(list($ratingid, $rating, $ratinghostname, $ratingtimestamp)=$xoopsDB->fetchRow($result5)) { $formatted_date = formatTimestamp($ratingtimestamp); - // echo "<td colspan=\"2\" bgcolor=\"$colorswitch\">$ratinghostname</td><td colspan=\"3\" bgcolor=\"$colorswitch\">$rating</td><td bgcolor=\"$colorswitch\">$formatted_date</td><td bgcolor=\"$colorswitch\" aling=\"center\"><b><a href=index.php?op=delVote&lid=$lid&rid=$ratingid>X</a></b></td></tr>"; + // echo "<td colspan=\"2\" bgcolor=\"$colorswitch\">$ratinghostname</td><td colspan=\"3\" bgcolor=\"$colorswitch\">$rating</td><td bgcolor=\"$colorswitch\">$formatted_date</td><td bgcolor=\"$colorswitch\" aling=\"center\"><b><a href=index.php?op=delVote&lid=$lid&rid=$ratingid>X</a></b></td></tr>"; echo "<td colspan=\"2\" bgcolor=\"$colorswitch\">$ratinghostname</td><td colspan=\"3\" bgcolor=\"$colorswitch\">$rating</td><td bgcolor=\"$colorswitch\">$formatted_date</td><td bgcolor=\"$colorswitch\" align=\"center\">"; //echo "<table><tr><td>\n"; //align=\"center\" - echo myTextForm("index.php?op=delVote&lid=$lid&rid=$ratingid" , "X"); + echo myTextForm("index.php?op=delVote&lid=$lid&rid=$ratingid" , "X"); //echo "</td></tr></table>\n"; echo "</td></tr>"; @@ -474,11 +474,11 @@ echo "<td bgcolor='$colorswitch'><a href='mailto:$owneremail'>$ownername</a>"; } echo "</td><td bgcolor='$colorswitch' align='center'>\n"; - echo myTextForm("index.php?op=ignoreBrokenDownloads&lid=$lid" , "X"); + echo myTextForm("index.php?op=ignoreBrokenDownloads&lid=$lid" , "X"); echo "</td><td bgcolor='$colorswitch' align='center'>\n"; - echo myTextForm("index.php?op=modDownload&lid=$lid" , "X"); + echo myTextForm("index.php?op=modDownload&lid=$lid" , "X"); echo "</td><td bgcolor='$colorswitch' align='center'>\n"; - echo myTextForm("index.php?op=delBrokenDownloads&lid=$lid" , "X"); + echo myTextForm("index.php?op=delBrokenDownloads&lid=$lid" , "X"); echo "</td></tr>\n"; if ($colorswitch=="#dddddd") { $colorswitch="#ffffff"; @@ -611,11 +611,11 @@ } echo "<td align='right'><small>\n"; echo "<table><tr><td>\n"; - echo myTextForm("index.php?op=changeModReq&requestid=$requestid" , _MD_APPROVE); + echo myTextForm("index.php?op=changeModReq&requestid=$requestid" , _MD_APPROVE); echo "</td><td>\n"; - echo myTextForm("index.php?op=modDownload&lid=$lookup_lid[$requestid]", _EDIT); + echo myTextForm("index.php?op=modDownload&lid=$lookup_lid[$requestid]", _EDIT); echo "</td><td>\n"; - echo myTextForm("index.php?op=ignoreModReq&requestid=$requestid", _MD_IGNORE); + echo myTextForm("index.php?op=ignoreModReq&requestid=$requestid", _MD_IGNORE); echo "</td></tr></table>\n"; echo "</small></td></tr>\n"; echo "</table><br /><br />";