[mhonarc] Apply the fix from d25572f to other templates as well



commit dc4be18921e2bdbb7ab3a1626db5ace51051f907
Author: Andrea Veri <av gnome org>
Date:   Sat Sep 19 16:30:00 2015 +0200

    Apply the fix from d25572f to other templates as well

 archive.py           |    4 ++--
 public-rc/author.rc  |    4 ++--
 public-rc/date.rc    |   12 ++++++------
 public-rc/message.rc |   12 ++++++------
 public-rc/thread.rc  |   12 ++++++------
 5 files changed, 22 insertions(+), 22 deletions(-)
---
diff --git a/archive.py b/archive.py
index dfe8b88..708e6e2 100755
--- a/archive.py
+++ b/archive.py
@@ -344,10 +344,10 @@ class Archiver:
         </div>
 
         <div class="right">
-          <form role="search" method="get" id="searchform" action="https://www.google.com/cse";>
+          <form role="search" method="get" id="searchform" action="https://cse.google.com/cse";>
             <div>
+              <input type="hidden" name="cx" value="013743514357734452612:cqmzna8qgms">
               <label class="hidden">Search</label> <input type="text" name="q" maxlength="255" size="15" 
class="searchTerms" placeholder="Search" />
-              <input type="hidden" name="domains" value="mail.gnome.org" /> <input type="hidden" name="hq" 
id="hq" value="inurl:/archives/" />                       <input type="hidden" name="sitesearch" 
value="mail.gnome.org" />
             </div>
           </form>
         </div>
diff --git a/public-rc/author.rc b/public-rc/author.rc
index 76b79ba..520a3b8 100644
--- a/public-rc/author.rc
+++ b/public-rc/author.rc
@@ -61,10 +61,10 @@ author.html
                </div>
 
                <div class="right">
-                 <form role="search" method="get" id="searchform" action="https://www.google.com/cse";>
+                 <form role="search" method="get" id="searchform" action="https://cse.google.com/cse";>
                    <div>
+                      <input type="hidden" name="cx" value="013743514357734452612:cqmzna8qgms">
                      <label class="hidden">Search</label> <input type="text" name="q" maxlength="255" 
size="15" class="searchTerms" placeholder="Search" />
-                     <input type="hidden" name="domains" value="mail.gnome.org" /> <input type="hidden" 
name="hq" id="hq" value="inurl:/archives/" />                <input type="hidden" name="sitesearch" 
value="mail.gnome.org" />
                    </div>
                  </form>
                </div>
diff --git a/public-rc/date.rc b/public-rc/date.rc
index f4fced0..f56164e 100644
--- a/public-rc/date.rc
+++ b/public-rc/date.rc
@@ -54,12 +54,12 @@ date.html
                </div>
 
                <div class="right">
-                 <form role="search" method="get" id="searchform" action="https://www.google.com/cse";>
-                   <div>
-                     <label class="hidden">Search</label> <input type="text" name="q" maxlength="255" 
size="15" class="searchTerms" placeholder="Search" />
-                     <input type="hidden" name="domains" value="mail.gnome.org" /> <input type="hidden" 
name="hq" id="hq" value="inurl:/archives/" />                <input type="hidden" name="sitesearch" 
value="mail.gnome.org" />
-                   </div>
-                 </form>
+                  <form role="search" method="get" id="searchform" action="https://cse.google.com/cse";>
+                    <div>
+                      <input type="hidden" name="cx" value="013743514357734452612:cqmzna8qgms">
+                      <label class="hidden">Search</label> <input type="text" name="q" maxlength="255" 
size="15" class="searchTerms" placeholder="Search" />
+                    </div>
+                  </form>
                </div>
              </div> <!--end of top_bar_archive-->
              
diff --git a/public-rc/message.rc b/public-rc/message.rc
index 8182018..5ba14e8 100644
--- a/public-rc/message.rc
+++ b/public-rc/message.rc
@@ -50,12 +50,12 @@
                </div>
 
                <div class="right">
-                 <form role="search" method="get" id="searchform" action="https://www.google.com/cse";>
-                   <div>
-                     <label class="hidden">Search</label> <input type="text" name="q" maxlength="255" 
size="15" class="searchTerms" placeholder="Search" />
-                     <input type="hidden" name="domains" value="mail.gnome.org" /> <input type="hidden" 
name="hq" id="hq" value="inurl:/archives/" />                <input type="hidden" name="sitesearch" 
value="mail.gnome.org" />
-                   </div>
-                 </form>
+                  <form role="search" method="get" id="searchform" action="https://cse.google.com/cse";>
+                    <div>
+                      <input type="hidden" name="cx" value="013743514357734452612:cqmzna8qgms">
+                      <label class="hidden">Search</label> <input type="text" name="q" maxlength="255" 
size="15" class="searchTerms" placeholder="Search" />
+                    </div>
+                  </form>
                </div>
              </div> <!--end of top_bar_archive-->
              
diff --git a/public-rc/thread.rc b/public-rc/thread.rc
index 7d1e707..f08ff90 100644
--- a/public-rc/thread.rc
+++ b/public-rc/thread.rc
@@ -60,12 +60,12 @@ thread.html
                </div>
 
                <div class="right">
-                 <form role="search" method="get" id="searchform" action="https://www.google.com/cse";>
-                   <div>
-                     <label class="hidden">Search</label> <input type="text" name="q" maxlength="255" 
size="15" class="searchTerms" placeholder="Search" />
-                     <input type="hidden" name="domains" value="mail.gnome.org" /> <input type="hidden" 
name="hq" id="hq" value="inurl:/archives/" />                <input type="hidden" name="sitesearch" 
value="mail.gnome.org" />
-                   </div>
-                 </form>
+                  <form role="search" method="get" id="searchform" action="https://cse.google.com/cse";>
+                    <div>
+                      <input type="hidden" name="cx" value="013743514357734452612:cqmzna8qgms">
+                      <label class="hidden">Search</label> <input type="text" name="q" maxlength="255" 
size="15" class="searchTerms" placeholder="Search" />
+                    </div>
+                  </form>
                </div>
              </div> <!--end of top_bar_archive-->
              


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]