Author: nextgens
Date: 2006-08-16 23:02:12 +0000 (Wed, 16 Aug 2006)
New Revision: 10148

Modified:
   trunk/website/.htaccess
   trunk/website/index.php
Log:
website: will look smarter with / insteed of &

Modified: trunk/website/.htaccess
===================================================================
--- trunk/website/.htaccess     2006-08-16 22:56:47 UTC (rev 10147)
+++ trunk/website/.htaccess     2006-08-16 23:02:12 UTC (rev 10148)
@@ -1,4 +1,4 @@
 RewriteEngine on
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^(.+)\.html /index.php?page=$1
-RewriteRule ^(.+)\.html\?mode=(.+) /index.php?page=$1&mode=$2
+RewriteRule ^(.+)\.html/(.+) /index.php?page=$1&mode=$2

Modified: trunk/website/index.php
===================================================================
--- trunk/website/index.php     2006-08-16 22:56:47 UTC (rev 10147)
+++ trunk/website/index.php     2006-08-16 23:02:12 UTC (rev 10148)
@@ -80,7 +80,7 @@
        <td height="20" align="right" valign="bottom" 
background="image/hdr_bg_short.gif"><?
        foreach($modes as $m => $k) {
                if(!$k) {
-                       echo "<a href=\"/".$page.".html&mode=".$m."\" 
onMouseOver=\"rollOn('";
+                       echo "<a href=\"/".$page.".html/".$m."\" 
onMouseOver=\"rollOn('";
                        echo $m."s');\" onMouseOut=\"rollOff('".$m."s');\"><img 
border=0 name=".$m;
                        echo "s alt=".$m."s src=\"image/".$m."s.gif\"></a>";
                }


Reply via email to