]> git.mxchange.org Git - mailer.git/commitdiff
Random code added which you may use for cache-busters (see OpenX for an example)
authorRoland Häder <roland@mxchange.org>
Sat, 20 Sep 2008 23:58:01 +0000 (23:58 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 20 Sep 2008 23:58:01 +0000 (23:58 +0000)
inc/databases.php
inc/modules/member/what-reflinks.php
templates/de/emails/member/member_rallye_notify.tpl

index b44d79b9ab1e4a6a37b63c9223d40710e4cd9086..6d17cd1a4ee74a4f48f8bc3cb0ab74c031ba9afd 100644 (file)
@@ -113,7 +113,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "373");
+define('CURR_SVN_REVISION', "374");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
@@ -121,6 +121,9 @@ define('_PRIME', 591623);
 // Calculate "entropy" with the prime number (for code generation)
 define('_ADD', (_PRIME * _PRIME / (pi() * $_CONFIG['code_length'] + 1)));
 
+// Random number for e.g. "cache-buster" used in OpenX script
+define('CACHE_BUSTER', mt_rand(1000000, 9999999));
+
 // Extra title is empty by default
 $EXTRA_TITLE = "";
 
index 2e3caa73b60cbe51ce8138468dce88a78af38776..3234e51624cefcb03bfcedd5f79f22741474687c 100644 (file)
@@ -50,7 +50,7 @@ list($c) = SQL_FETCHROW($result);
 SQL_FREERESULT($result);
 
 OUTPUT_HTML("<FONT class=\"tiny\">".YOUR_PERSONAL_REFLINK.":<br />
-<STRONG><A href=\"".URL."/ref.php?ref=".$GLOBALS['userid']."\" target=\"_blank\">".URL."/ref.php?ref=".$GLOBALS['userid']."</A></STRONG><br />
+<STRONG><A href=\"".URL."/ref.php?refid=".$GLOBALS['userid']."\" target=\"_blank\">".URL."/ref.php?ref=".$GLOBALS['userid']."</A></STRONG><br />
 <br />");
 
 if (EXT_IS_ACTIVE("nickname"))
index 11c8890bf7be579baaf0da2f2393c5d9de134c00..32f63e9b9ac5e9f2a2445d35d8d4d0f0c1cf35b1 100644 (file)
@@ -16,7 +16,7 @@ Server-Zeit: $DATA[now_t] Uhr
 ------------------------------
 $content
 Ihr Werbelink zum Werben neuer Mitglieder:
-{!URL!}/ref.php?ref=$UID
+{!URL!}/ref.php?refid=$UID
 ------------------------------
 
 Weitere Werbebanner, sowie alle weiteren noetigen Daten finden Sie im Mitgliedsbereich unter *Refs-Banner* !