Author: magnuse
Date: 2006-04-26 20:32:52 +0200 (Wed, 26 Apr 2006)
New Revision: 2812

Modified:
   branches/2.0/src/webapp/WEB-INF/jsp/decorators/mainDecorator.jsp
Log:
Blog Search Preparations.


Modified: branches/2.0/src/webapp/WEB-INF/jsp/decorators/mainDecorator.jsp
===================================================================
--- branches/2.0/src/webapp/WEB-INF/jsp/decorators/mainDecorator.jsp    
2006-04-26 14:11:08 UTC (rev 2811)
+++ branches/2.0/src/webapp/WEB-INF/jsp/decorators/mainDecorator.jsp    
2006-04-26 18:32:52 UTC (rev 2812)
@@ -416,7 +416,7 @@
                            <% int i = 0; %>
                     <% for (Iterator iterator = sources.iterator(); 
iterator.hasNext();) {
                         Modifier e = (Modifier) iterator.next();
-                        if ( (currentC.equals("d") && 
!e.getName().equals("Nettsøk")) || (currentC.equals("d") && searchType != null 
&& searchType.equals("g")) || currentC.equals("p")) {
+                        if ( (currentC.equals("d") && 
!e.getName().equals("Nettsøk")) || (currentC.equals("d") && searchType != null 
&& searchType.equals("g")) || currentC.equals("p") || currentC.equals("b")) {
                             ++i;
                     %>
 
@@ -631,7 +631,10 @@
                 <decorator:getProperty property="page.picture-results"/>
                 <%}%>
 
-            </td>
+                <%if (currentC.equals("b")) {%>
+               <decorator:getProperty property="page.blog-search"/>
+               <%}%> 
+           </td>
 
            <%if (q.trim().equals("")) {%>
 
@@ -677,6 +680,7 @@
 <% } else if (currentC.equals("w")) { %> tmsec[1]="tmsec=personsok";
 <% } else if (currentC.equals("wip")) { %> tmsec[1]="tmsec=personsok_info";
 <% } else if (currentC.equals("p")) { %> tmsec[1]="tmsec=bildesok";
+<% } else if (currentC.equals("b")) { %> tmsec[1]="tmsec=bloggsok";
 <% } %>
 getTMqs('','', 'sesam_no', 'no', 'iso-8859-15', tmsec);
 //-->
@@ -693,6 +697,7 @@
 <% } else if (currentC.equals("w")) { %> <noscript><img 
src="http://statistik-gallup.net/v11***sesam_no/no/iso-8859-15/tmsec=sesam&amp;tmsec=personsok";
 alt="" /></noscript>
 <% } else if (currentC.equals("wip")) { %> <noscript><img 
src="http://statistik-gallup.net/v11***sesam_no/no/iso-8859-15/tmsec=sesam&amp;tmsec=personsok_info";
 alt="" /></noscript>
 <% } else if (currentC.equals("p")) { %> <noscript><img 
src="http://statistik-gallup.net/v11***sesam_no/no/iso-8859-15/tmsec=sesam&amp;tmsec=bildesok";
 alt="" /></noscript>
+<% } else if (currentC.equals("b")) { %> <noscript><img 
src="http://statistik-gallup.net/v11***sesam_no/no/iso-8859-15/tmsec=sesam&amp;tmsec=bloggesok";
 alt="" /></noscript>
 <% } %>
 
 <!-- end gallup -->

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to