[AppDB] Clean up

tony_lambregts at telusplanet.net tony_lambregts at telusplanet.net
Wed Nov 17 17:56:15 CST 2004


This is a clean up patch to fix up the emails.

Change Log: Correct spelling of Preferences. Add APPDB_ROOT define and fix up deletecomment.php

Files Changed: deletecomment.php include/incl.php


Index: deletecomment.php
===================================================================
RCS file: /home/wine/appdb/deletecomment.php,v
retrieving revision 1.3
diff -u -r1.3 deletecomment.php
--- deletecomment.php	9 Nov 2004 22:42:12 -0000	1.3
+++ deletecomment.php	18 Nov 2004 00:11:24 -0000
@@ -65,7 +65,7 @@
  if($email)
  {
      $fullAppName = "Application: ".lookupAppName($appId)." Version: ".lookupVersionName($appId, $versionId);
-    $ms .= apidb_fullurl("appview.php?appId=$appId&versionId=$versionId")."\n";
+    $ms .= APPDB_ROOT."appview.php?appId=$appId&versionId=$versionId"."\n";
      $ms .= "\n";
      $ms .= ($current->username ? $current->username : "Anonymous")." deleted comment from ".$fullAppName."\n";
      $ms .= "\n";
Index: include/incl.php
===================================================================
RCS file: /home/wine/appdb/include/incl.php,v
retrieving revision 1.3
diff -u -r1.3 incl.php
--- include/incl.php	9 Nov 2004 22:42:13 -0000	1.3
+++ include/incl.php	18 Nov 2004 00:11:24 -0000
@@ -240,7 +240,8 @@

  define("STANDARD_NOTIFY_FOOTER","------- You are receiving this mail because: -------\n".
  				"You are an maintainer of this app or an appdb administrator\n".
-                                "to change your preverences go to: http://appdb.winehq.org/preferences.php\n");
+                                "to change your preferences go to: http://appdb.winehq.org/preferences.php\n");
+define("APPDB_ROOT", "http://appdb.winehq.org/");


  ?>





More information about the wine-patches mailing list