Update of /cvsroot/xoops/xoops-current/html/modules/mydownloads In directory usw-pr-cvs1:/tmp/cvs-serv5992/html/modules/mydownloads Modified Files: brokenfile.php index.php modfile.php ratefile.php singlefile.php submit.php xoops_version.php Log Message: Index: brokenfile.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mydownloads/brokenfile.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** brokenfile.php 15 Jul 2002 08:13:17 -0000 1.1.1.1 --- brokenfile.php 11 Oct 2002 06:14:21 -0000 1.2 *************** *** 64,68 **** echo "<input type='hidden' name='lid' value='$lid' />"; echo _MD_THANKSFORHELP; ! echo "<br>"._MD_FORSECURITY."<br /><br />"; echo "<input type='submit' name='submit' value='"._MD_REPORTBROKEN."' />"; echo " <input type='button' value='"._MD_CANCEL."' onclick='javascript:history.go(-1)' />"; --- 64,68 ---- echo "<input type='hidden' name='lid' value='$lid' />"; echo _MD_THANKSFORHELP; ! echo "<br />"._MD_FORSECURITY."<br /><br />"; echo "<input type='submit' name='submit' value='"._MD_REPORTBROKEN."' />"; echo " <input type='button' value='"._MD_CANCEL."' onclick='javascript:history.go(-1)' />"; Index: index.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mydownloads/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.php 28 Sep 2002 22:44:41 -0000 1.2 --- index.php 11 Oct 2002 06:14:21 -0000 1.3 *************** *** 58,62 **** $totaldownload = getTotalItems($myrow['cid'], 1); ! echo "</td><td valign=\"top\" width=\"40%\" align=\"left\"><a href=\"".XOOPS_URL."/modules/mydownloads/viewcat.php?cid=".$myrow['cid']."\"><b>$title</b></a> ($totaldownload)<br>"; // get child category objects $arr=array(); --- 58,62 ---- $totaldownload = getTotalItems($myrow['cid'], 1); ! echo "</td><td valign=\"top\" width=\"40%\" align=\"left\"><a href=\"".XOOPS_URL."/modules/mydownloads/viewcat.php?cid=".$myrow['cid']."\"><b>$title</b></a> ($totaldownload)<br />"; // get child category objects $arr=array(); *************** *** 88,92 **** echo "</td></tr></table>"; list($numrows)=$xoopsDB->fetchRow($xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("mydownloads_downloads")." WHERE status>0")); ! echo "<br><br>"; printf(_MD_THEREARE,$numrows); echo "</center>"; --- 88,92 ---- echo "</td></tr></table>"; list($numrows)=$xoopsDB->fetchRow($xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("mydownloads_downloads")." WHERE status>0")); ! echo "<br /><br />"; printf(_MD_THEREARE,$numrows); echo "</center>"; *************** *** 96,100 **** OpenTable(); ! echo "<div align=\"center\"><big><b>"._MD_LATESTLIST."</b></big><br><br>"; showNew($mytree); echo "</div>"; --- 96,100 ---- OpenTable(); ! echo "<div align=\"center\"><big><b>"._MD_LATESTLIST."</b></big><br /><br />"; showNew($mytree); echo "</div>"; Index: modfile.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mydownloads/modfile.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** modfile.php 15 Jul 2002 08:13:18 -0000 1.1.1.1 --- modfile.php 11 Oct 2002 06:14:21 -0000 1.2 *************** *** 81,85 **** echo "<table width=\"80%\" align=\"center\">"; $result = $xoopsDB->query("SELECT cid, title, url, homepage, version, size, platform, logourl FROM ".$xoopsDB->prefix("mydownloads_downloads")." WHERE lid=".$lid." AND status>0"); ! echo _MD_REQUESTMOD."<br><br>"; list($cid, $title, $url, $homepage, $version, $size, $platform, $logourl) = $xoopsDB->fetchRow($result); $title = $myts->makeTboxData4Edit($title); --- 81,85 ---- echo "<table width=\"80%\" align=\"center\">"; $result = $xoopsDB->query("SELECT cid, title, url, homepage, version, size, platform, logourl FROM ".$xoopsDB->prefix("mydownloads_downloads")." WHERE lid=".$lid." AND status>0"); ! echo _MD_REQUESTMOD."<br /><br />"; list($cid, $title, $url, $homepage, $version, $size, $platform, $logourl) = $xoopsDB->fetchRow($result); $title = $myts->makeTboxData4Edit($title); *************** *** 119,123 **** echo "<textarea name=\"description\" cols=\"60\" rows=\"5\">".$description."</textarea>\n"; echo "</td></tr>\n"; ! echo "<tr><td colspan=\"2\" align=\"center\"><br>\n"; echo "<input type=\"hidden\" name=\"logourl\" value=\"$logourl\"></input>"; echo "<input type=\"hidden\" name=\"lid\" value=\"$lid\"></input>"; --- 119,123 ---- echo "<textarea name=\"description\" cols=\"60\" rows=\"5\">".$description."</textarea>\n"; echo "</td></tr>\n"; ! echo "<tr><td colspan=\"2\" align=\"center\"><br />\n"; echo "<input type=\"hidden\" name=\"logourl\" value=\"$logourl\"></input>"; echo "<input type=\"hidden\" name=\"lid\" value=\"$lid\"></input>"; Index: ratefile.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mydownloads/ratefile.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** ratefile.php 15 Jul 2002 08:13:18 -0000 1.1.1.1 --- ratefile.php 11 Oct 2002 06:14:21 -0000 1.2 *************** *** 83,87 **** //All is well. Calculate Score & Add to Summary (for quick retrieval & sorting) to DB. updaterating($lid); ! $ratemessage = _MD_VOTEAPPRE."<br>".sprintf(_MD_THANKYOU,$xoopsConfig[sitename]); redirect_header("index.php",4,$ratemessage); exit(); --- 83,87 ---- //All is well. Calculate Score & Add to Summary (for quick retrieval & sorting) to DB. updaterating($lid); ! $ratemessage = _MD_VOTEAPPRE."<br />".sprintf(_MD_THANKYOU,$xoopsConfig[sitename]); redirect_header("index.php",4,$ratemessage); exit(); *************** *** 113,118 **** echo "<option value=\"".$i."\">".$i."</option>\n"; } ! echo "</select><br><br><input type=\"submit\" name=\"submit\" value=\""._MD_RATEIT."\"\n>"; ! echo " <input type=\"button\" value=\""._MD_CANCEL."\" onclick=\"javascript:history.go(-1)\">\n"; echo "</form></td></tr></table>"; CloseTable(); --- 113,118 ---- echo "<option value=\"".$i."\">".$i."</option>\n"; } ! echo "</select><br /><br /><input type='submit' name='submit' value='"._MD_RATEIT."' />"; ! echo " <input type='button' value='"._MD_CANCEL."' onclick='javascript:history.go(-1)' />\n"; echo "</form></td></tr></table>"; CloseTable(); Index: singlefile.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mydownloads/singlefile.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** singlefile.php 26 Sep 2002 01:02:15 -0000 1.2 --- singlefile.php 11 Oct 2002 06:14:21 -0000 1.3 *************** *** 45,49 **** $pathstring .= $nicepath; echo "<b>".$pathstring."</b>"; ! echo "</td></tr></table><br>"; echo "<table width='100%' cellspacing=0 cellpadding=10 border=0>"; --- 45,49 ---- $pathstring .= $nicepath; echo "<b>".$pathstring."</b>"; ! echo "</td></tr></table>"; echo "<table width='100%' cellspacing=0 cellpadding=10 border=0>"; Index: submit.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mydownloads/submit.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** submit.php 26 Sep 2002 02:53:21 -0000 1.2 --- submit.php 11 Oct 2002 06:14:21 -0000 1.3 *************** *** 81,85 **** } $xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("mydownloads_text")." (lid, description) VALUES ($newid, '$description')") or $eh->show("0013"); ! redirect_header("index.php",2,_MD_RECEIVED."<br>"._MD_WHENAPPROVED.""); exit(); --- 81,85 ---- } $xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("mydownloads_text")." (lid, description) VALUES ($newid, '$description')") or $eh->show("0013"); ! redirect_header("index.php",2,_MD_RECEIVED."<br />"._MD_WHENAPPROVED.""); exit(); *************** *** 94,98 **** echo "<table width='100%' cellspacing=0 cellpadding=1 border=0><tr><td colspan=2 align='left'>\n"; echo "<table width='100%' cellspacing=0 cellpadding=8 border=0><tr><td>\n"; - echo "<br><br>\n"; echo "<li>"._MD_SUBMITONCE."</li>\n"; echo "<li>"._MD_ALLPENDING."</li>\n"; --- 94,97 ---- *************** *** 125,129 **** echo "</td></tr>\n"; echo "</table>\n"; ! echo "<br>"; echo "<input type='hidden' name='submitter' value='".$xoopsUser->uid()."'></input>"; echo "<center><input type='submit' name='submit' class='button' value='"._MD_SUBMIT."'></input>\n"; --- 124,128 ---- echo "</td></tr>\n"; echo "</table>\n"; ! echo "<br />"; echo "<input type='hidden' name='submitter' value='".$xoopsUser->uid()."'></input>"; echo "<center><input type='submit' name='submit' class='button' value='"._MD_SUBMIT."'></input>\n"; Index: xoops_version.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mydownloads/xoops_version.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** xoops_version.php 15 Jul 2002 08:13:18 -0000 1.1.1.1 --- xoops_version.php 11 Oct 2002 06:14:21 -0000 1.2 *************** *** 3,7 **** $modversion['version'] = 1.00; $modversion['description'] = _MI_MYDOWNLOADS_DESC; ! $modversion['credits'] = "Modified by wanderer<br>( http://www.mpn-tw.com/ ) <br>Based on MyLinks by Kazumi Ono<br>( http://www.mywebaddons.com/ )<br>The XOOPS Project"; $modversion['help'] = "mydownloads.html"; $modversion['license'] = "GPL see LICENSE"; --- 3,7 ---- $modversion['version'] = 1.00; $modversion['description'] = _MI_MYDOWNLOADS_DESC; ! $modversion['credits'] = "Modified by wanderer<br />( http://www.mpn-tw.com/ ) <br>Based on MyLinks by Kazumi Ono<br>( http://www.mywebaddons.com/ )<br>The XOOPS Project"; $modversion['help'] = "mydownloads.html"; $modversion['license'] = "GPL see LICENSE"; |