[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: dot.kde.org/static/cgi
From: Navindra Umanee <navindra () cs ! mcgill ! ca>
Date: 2005-06-21 0:40:10
Message-ID: 1119314410.039046.17561.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 427555 by navindra:
fix
M +6 -7 google.cgi
--- trunk/dot.kde.org/static/cgi/google.cgi #427554:427555
@@ -7,24 +7,23 @@
must_have = ''
must_not_have = ''
exact_phrase = ''
+text = ''
-if (cgi['op'] == 'articles')
+if cgi['op'] == 'articles'
must_have = 'dept.'
#must_not_have = 'parent'
end
$SAFE = 3
-if (!cgi['body'].empty?)
- text = "#{cgi['body']}"
-end
+text = "#{cgi['body']}"
-if (!cgi['subject'].empty?)
+if not cgi['subject'].empty?
exact_phrase = "%22Articles+on+#{cgi['subject']}%22"
end
-if (!cgi['author'].empty?)
- exact_phrase += "+" if (!exact_phrase.empty?)
+if not cgi['author'].empty?
+ exact_phrase += "+" if not exact_phrase.empty?
exact_phrase += "%22Also+by+#{cgi['author']}%22"
end
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic