Moved hard coded green color for the search result byline (when using "Google" style) to the stylesheet
1.1 --- a/public_html/docs/english/theme.html Sun Nov 08 12:21:12 2009 +0100
1.2 +++ b/public_html/docs/english/theme.html Sun Nov 08 12:24:59 2009 +0100
1.3 @@ -224,6 +224,8 @@
1.4 service a Remote User was using to log in.</li>
1.5 <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
1.6 Only" checkbox.</li>
1.7 +<li>Moved hard-coded green color for the byline of search results in "Google"
1.8 + style to the stylesheet: New class <code>searchresult-byline</code>.</li>
1.9 </ul>
1.10
1.11 <h3>Cosmetic changes</h3>
2.1 --- a/public_html/docs/history Sun Nov 08 12:21:12 2009 +0100
2.2 +++ b/public_html/docs/history Sun Nov 08 12:24:59 2009 +0100
2.3 @@ -4,6 +4,8 @@
2.4 -----------
2.5
2.6 Changes since 1.6.1b1:
2.7 +- Moved hard coded green color for the search result byline (when using "Google"
2.8 + style) to the stylesheet (new class "searchresult-byline") [Dirk]
2.9 - "Refine search" lost the status of the "Titles Only" checkbox [Dirk]
2.10 Note: This fix requires a change in search/searchform.thtml
2.11 - Improved display of the "Sort by" and "Show n results" dropdowns on the
3.1 --- a/public_html/layout/professional/style.css Sun Nov 08 12:21:12 2009 +0100
3.2 +++ b/public_html/layout/professional/style.css Sun Nov 08 12:24:59 2009 +0100
3.3 @@ -634,6 +634,9 @@
3.4 color:#000000;
3.5 text-align:right;
3.6 }
3.7 +.searchresult-byline {
3.8 + color:green;
3.9 +}
3.10 .site-slogan {
3.11 color:#ffffff;
3.12 background:transparent;
4.1 --- a/system/classes/search.class.php Sun Nov 08 12:21:12 2009 +0100
4.2 +++ b/system/classes/search.class.php Sun Nov 08 12:24:59 2009 +0100
4.3 @@ -497,7 +497,7 @@
4.4 $obj->setField('', LF_ROW_NUMBER, $show_num, false, '<b>%d.</b>');
4.5 $obj->setField($LANG09[16], 'title', true, true, '%s<br' . XHTML . '>');
4.6 $obj->setField('', 'description', true, false, '%s<br' . XHTML . '>');
4.7 - $obj->setField('', '_html', true, false, '<span style="color:green;">');
4.8 + $obj->setField('', '_html', true, false, '<span class="searchresult-byline">');
4.9 $obj->setField($LANG09[18], 'uid', $show_user, $sort_uid, $LANG01[104].' %s ');
4.10 $obj->setField($LANG09[17], 'date', true, $sort_date, $LANG01[36].' %s');
4.11 $obj->setField($LANG09[5], LF_SOURCE_TITLE,$show_type, $sort_type, ' - %s');