[geeklog-cvs] geeklog: Moved hard coded green color for the search result byli...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Nov 8 07:58:39 EST 2009
changeset 7459:0f9a8d809cc5
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/0f9a8d809cc5
user: Dirk Haun <dirk at haun-online.de>
date: Sun Nov 08 12:24:59 2009 +0100
description:
Moved hard coded green color for the search result byline (when using "Google" style) to the stylesheet
diffstat:
public_html/docs/english/theme.html | 2 ++
public_html/docs/history | 2 ++
public_html/layout/professional/style.css | 3 +++
system/classes/search.class.php | 2 +-
4 files changed, 8 insertions(+), 1 deletions(-)
diffs (49 lines):
diff -r 70bbec9684c5 -r 0f9a8d809cc5 public_html/docs/english/theme.html
--- a/public_html/docs/english/theme.html Sun Nov 08 12:21:12 2009 +0100
+++ b/public_html/docs/english/theme.html Sun Nov 08 12:24:59 2009 +0100
@@ -224,6 +224,8 @@
service a Remote User was using to log in.</li>
<li>Added a <code>{title_checked}</code> variable to <tt>search/searchform.thtml</tt>, so that the "Refine search" option can keep the status of the "Titles
Only" checkbox.</li>
+<li>Moved hard-coded green color for the byline of search results in "Google"
+ style to the stylesheet: New class <code>searchresult-byline</code>.</li>
</ul>
<h3>Cosmetic changes</h3>
diff -r 70bbec9684c5 -r 0f9a8d809cc5 public_html/docs/history
--- a/public_html/docs/history Sun Nov 08 12:21:12 2009 +0100
+++ b/public_html/docs/history Sun Nov 08 12:24:59 2009 +0100
@@ -4,6 +4,8 @@
-----------
Changes since 1.6.1b1:
+- Moved hard coded green color for the search result byline (when using "Google"
+ style) to the stylesheet (new class "searchresult-byline") [Dirk]
- "Refine search" lost the status of the "Titles Only" checkbox [Dirk]
Note: This fix requires a change in search/searchform.thtml
- Improved display of the "Sort by" and "Show n results" dropdowns on the
diff -r 70bbec9684c5 -r 0f9a8d809cc5 public_html/layout/professional/style.css
--- a/public_html/layout/professional/style.css Sun Nov 08 12:21:12 2009 +0100
+++ b/public_html/layout/professional/style.css Sun Nov 08 12:24:59 2009 +0100
@@ -634,6 +634,9 @@
color:#000000;
text-align:right;
}
+.searchresult-byline {
+ color:green;
+}
.site-slogan {
color:#ffffff;
background:transparent;
diff -r 70bbec9684c5 -r 0f9a8d809cc5 system/classes/search.class.php
--- a/system/classes/search.class.php Sun Nov 08 12:21:12 2009 +0100
+++ b/system/classes/search.class.php Sun Nov 08 12:24:59 2009 +0100
@@ -497,7 +497,7 @@
$obj->setField('', LF_ROW_NUMBER, $show_num, false, '<b>%d.</b>');
$obj->setField($LANG09[16], 'title', true, true, '%s<br' . XHTML . '>');
$obj->setField('', 'description', true, false, '%s<br' . XHTML . '>');
- $obj->setField('', '_html', true, false, '<span style="color:green;">');
+ $obj->setField('', '_html', true, false, '<span class="searchresult-byline">');
$obj->setField($LANG09[18], 'uid', $show_user, $sort_uid, $LANG01[104].' %s ');
$obj->setField($LANG09[17], 'date', true, $sort_date, $LANG01[36].' %s');
$obj->setField($LANG09[5], LF_SOURCE_TITLE,$show_type, $sort_type, ' - %s');
More information about the geeklog-cvs
mailing list