Update of /cvsroot/xoops/xoops-current/html/modules/mylinks In directory usw-pr-cvs1:/tmp/cvs-serv5992/html/modules/mylinks Modified Files: brokenlink.php index.php modlink.php ratelink.php singlelink.php submit.php xoops_version.php Log Message: Index: brokenlink.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/brokenlink.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** brokenlink.php 15 Jul 2002 08:13:23 -0000 1.1.1.1 --- brokenlink.php 11 Oct 2002 06:14:22 -0000 1.2 *************** *** 66,73 **** 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)\" />"; ! echo "</form></center><br>"; CloseTable(); --- 66,73 ---- 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)\" />"; ! echo "</form></center><br />"; CloseTable(); Index: index.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/index.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.php 28 Sep 2002 22:35:26 -0000 1.4 --- index.php 11 Oct 2002 06:14:22 -0000 1.5 *************** *** 54,58 **** } $totallink = getTotalItems($myrow['cid'], 1); ! echo "</td><td valign=\"top\" width=\"40%\"><a href=\"".XOOPS_URL."/modules/mylinks/viewcat.php?cid=".$myrow['cid']."\"><b>$title</b></a> ($totallink)<br>"; // get child category objects $arr=array(); --- 54,58 ---- } $totallink = getTotalItems($myrow['cid'], 1); ! echo "</td><td valign=\"top\" width=\"40%\"><a href=\"".XOOPS_URL."/modules/mylinks/viewcat.php?cid=".$myrow['cid']."\"><b>$title</b></a> ($totallink)<br />"; // get child category objects $arr=array(); *************** *** 84,96 **** echo "</td></tr></table>"; list($numrows)=$xoopsDB->fetchRow($xoopsDB->query("select count(*) from ".$xoopsDB->prefix("mylinks_links")." where status>0")); ! echo "<br><br><div align='center'>"; printf(_MD_THEREARE,$numrows); echo "</div>"; CloseTable(); ! echo "<br>"; OpenTable(); ! echo "<div style='text-align:left;'><h4>"._MD_LATESTLIST."</h4><br><br>"; showNew(); echo "</div>"; --- 84,96 ---- echo "</td></tr></table>"; list($numrows)=$xoopsDB->fetchRow($xoopsDB->query("select count(*) from ".$xoopsDB->prefix("mylinks_links")." where status>0")); ! echo "<br /><br /><div align='center'>"; printf(_MD_THEREARE,$numrows); echo "</div>"; CloseTable(); ! echo "<br />"; OpenTable(); ! echo "<div style='text-align:left;'><h4>"._MD_LATESTLIST."</h4><br /><br />"; showNew(); echo "</div>"; Index: modlink.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/modlink.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** modlink.php 15 Jul 2002 08:13:23 -0000 1.1.1.1 --- modlink.php 11 Oct 2002 06:14:22 -0000 1.2 *************** *** 108,112 **** 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>"; --- 108,112 ---- 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: ratelink.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/ratelink.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** ratelink.php 15 Jul 2002 08:13:23 -0000 1.1.1.1 --- ratelink.php 11 Oct 2002 06:14:22 -0000 1.2 *************** *** 81,85 **** //All is well. Calculate Score & Add to Summary (for quick retrieval & sorting) to DB. updaterating($lid); ! $ratemessage = _MD_VOTEAPPRE."<br>".sprintf(_MD_THANKURATE,$xoopsConfig[sitename]); redirect_header("index.php",2,$ratemessage); exit(); --- 81,85 ---- //All is well. Calculate Score & Add to Summary (for quick retrieval & sorting) to DB. updaterating($lid); ! $ratemessage = _MD_VOTEAPPRE."<br />".sprintf(_MD_THANKURATE,$xoopsConfig[sitename]); redirect_header("index.php",2,$ratemessage); exit(); Index: singlelink.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/singlelink.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** singlelink.php 25 Sep 2002 23:39:41 -0000 1.2 --- singlelink.php 11 Oct 2002 06:14:22 -0000 1.3 *************** *** 40,44 **** $pathstring .= $nicepath; echo "<b>".$pathstring."</b>"; ! echo "</td></tr></table><br>"; echo "<table width='100%' cellspacing='0' cellpadding='10' border='0'>"; $rating = number_format($rating, 2); --- 40,44 ---- $pathstring .= $nicepath; echo "<b>".$pathstring."</b>"; ! echo "</td></tr></table><br />"; echo "<table width='100%' cellspacing='0' cellpadding='10' border='0'>"; $rating = number_format($rating, 2); Index: submit.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/submit.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** submit.php 15 Jul 2002 08:13:24 -0000 1.1.1.1 --- submit.php 11 Oct 2002 06:14:22 -0000 1.2 *************** *** 73,77 **** } $xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("mylinks_text")." (lid, description) VALUES ($newid, '$description')") or $eh->show("0013"); ! redirect_header("index.php",2,_MD_RECEIVED."<br>"._MD_WHENAPPROVED.""); exit(); --- 73,77 ---- } $xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("mylinks_text")." (lid, description) VALUES ($newid, '$description')") or $eh->show("0013"); ! redirect_header("index.php",2,_MD_RECEIVED."<br />"._MD_WHENAPPROVED.""); exit(); *************** *** 86,94 **** echo "<table width=\"100%\" cellspacing=0 cellpadding=1 border=0><tr><td colspan=2>\n"; echo "<table width=\"100%\" cellspacing=0 cellpadding=8 border=0><tr><td>\n"; ! echo "<br><br>\n"; ! echo " <strong>·</strong> "._MD_SUBMITONCE."<br>\n"; ! echo " <strong>·</strong> "._MD_ALLPENDING."<br>\n"; ! echo " <strong>·</strong> "._MD_DONTABUSE."<br>\n"; ! echo " <strong>·</strong> "._MD_TAKESHOT."<br>\n"; echo "<form action=\"submit.php\" method=\"post\">\n"; --- 86,94 ---- echo "<table width=\"100%\" cellspacing=0 cellpadding=1 border=0><tr><td colspan=2>\n"; echo "<table width=\"100%\" cellspacing=0 cellpadding=8 border=0><tr><td>\n"; ! echo "<br /><br />\n"; ! echo " <strong>·</strong> "._MD_SUBMITONCE."<br />\n"; ! echo " <strong>·</strong> "._MD_ALLPENDING."<br />\n"; ! echo " <strong>·</strong> "._MD_DONTABUSE."<br />\n"; ! echo " <strong>·</strong> "._MD_TAKESHOT."<br />\n"; echo "<form action=\"submit.php\" method=\"post\">\n"; *************** *** 112,116 **** echo "</table>\n"; echo "<input type=\"hidden\" name=\"submitter\" value=\"".$xoopsUser->uid()."\"></input>"; ! echo "<br><center><input type=\"submit\" name=\"submit\" class=\"button\" value=\""._MD_SUBMIT."\">"; echo " <input type=button value="._MD_CANCEL." onclick=\"javascript:history.go(-1)\"></center>\n"; echo "</form>\n"; --- 112,116 ---- echo "</table>\n"; echo "<input type=\"hidden\" name=\"submitter\" value=\"".$xoopsUser->uid()."\"></input>"; ! echo "<br /><center><input type=\"submit\" name=\"submit\" class=\"button\" value=\""._MD_SUBMIT."\">"; echo " <input type=button value="._MD_CANCEL." onclick=\"javascript:history.go(-1)\"></center>\n"; echo "</form>\n"; Index: xoops_version.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/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:24 -0000 1.1.1.1 --- xoops_version.php 11 Oct 2002 06:14:22 -0000 1.2 *************** *** 3,7 **** $modversion['version'] = 1.10; $modversion['description'] = _MI_MYLINKS_DESC; ! $modversion['credits'] = "Kazumi Ono<br>( http://www.mywebaddons.com/ )<br>The XOOPS Project"; $modversion['help'] = "mylinks.html"; $modversion['license'] = "GPL see LICENSE"; --- 3,7 ---- $modversion['version'] = 1.10; $modversion['description'] = _MI_MYLINKS_DESC; ! $modversion['credits'] = "Kazumi Ono<br />( http://www.mywebaddons.com/ )<br />The XOOPS Project"; $modversion['help'] = "mylinks.html"; $modversion['license'] = "GPL see LICENSE"; |