[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/areas/cvs-digest/enzyme
From:       Derek Kite <dkite () netidea ! com>
Date:       2004-11-27 4:52:20
Message-ID: 20041127045220.EFD761B48C () office ! kde ! org
[Download RAW message or body]

CVS commit by dkite: 

added noleftcolumnlist parameter


  M +8 -4      enzyme_leftcolumnlist.php   1.5


--- www/areas/cvs-digest/enzyme/enzyme_leftcolumnlist.php  #1.4:1.5
@@ -65,14 +65,18 @@
   if (array_key_exists("all",$this->request))
     return "";
-  
+
+  if (array_key_exists("noleftcolumn",$this->request))
+    $p = "&amp;noleftcolumn";
+  else
+    $p = "";
   //scrolls through categories by default, either modules or types otherwise
   if ($this->nextlink =="") { //  either frontpage or topten
     if (array_key_exists("topten",$this->request)) {
-      return '<a href="/?newissue='.$this->request["newissue"].'&amp;category='.$this->categories[0].'">'.'Next: \
'.$this->categories[0].'</a>'; +      return '<a \
href="/?newissue='.$this->request["newissue"].$p.'&amp;category='.$this->categories[0].'"'.'accesskey="N">'.'Next: \
'.$this->categories[0].'</a>';  }  
-    return '<a href="/?newissue='.$this->request["newissue"].'&amp;topten">Next: \
Statistics for the week</a>'; +    return '<a \
href="/?newissue='.$this->request["newissue"].$p.'&amp;topten"'.'accesskey="N">Next: \
Statistics for the week</a>';  }
   $tmpnextlink = explode(":",$this->nextlink);   
-  return '<a href="/?newissue='.$this->request["newissue"].'&amp;'.$tmpnextlink[0].'='.$tmpnextlink[1].'">Next: \
'.$tmpnextlink[1].'</a>'; +  return '<a \
href="/?newissue='.$this->request["newissue"].$p.'&amp;'.$tmpnextlink[0].'='.$tmpnextlink[1].'"'.'accesskey="N">Next: \
'.$tmpnextlink[1].'</a>';  
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic