cvs: phpweb /include shared-manual.inc

From: Date: Mon, 21 Aug 2000 20:08:48 +0000
Subject: cvs: phpweb /include shared-manual.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-1735@lists.php.net to get a copy of this message
rasmus Mon Aug 21 13:08:48 2000 EDT Modified files: /phpweb/include shared-manual.inc Log: Add language tag to contributed notes Index: phpweb/include/shared-manual.inc diff -u phpweb/include/shared-manual.inc:1.66 phpweb/include/shared-manual.inc:1.67 --- phpweb/include/shared-manual.inc:1.66 Sat Aug 19 09:33:27 2000 +++ phpweb/include/shared-manual.inc Mon Aug 21 13:08:48 2000 @@ -246,8 +246,10 @@ function manualUserNotes($title) { - echo '<FORM method="POST" action="http://www.php.net/manual/add-note.php">'; global $PHP_SELF, $SERVER_NAME, $SERVER_PORT; + $cur = substr(dirname($PHP_SELF),-2); + if($cur=='al') $cur='en'; + echo '<FORM method="POST" action="http://www.php.net/manual/add-note.php?lang=$cur">'; $back_url = "http://$SERVER_NAME".(($SERVER_PORT==80)?"":":".$SERVER_PORT).$PHP_SELF; echo '<INPUT type=hidden name="redirect" value="'.$back_url.'">'; echo '<INPUT type=hidden name="sect" value="'.$title.'">';

« previous php.mirrors (#1735) next »