expanded custom search queries to css naming

git-svn-id: http://yolanda.mister-muffin.de/svn@324 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
josch 2008-04-27 14:27:09 +00:00
parent daf7b6fc41
commit 564050c7e6
5 changed files with 18 additions and 21 deletions

View file

@ -31,10 +31,6 @@
<string id="button_find">Find</string> <string id="button_find">Find</string>
<string id="button_lucky">Instant Access</string> <string id="button_lucky">Instant Access</string>
<string id="button_advanced">Advanced Search</string> <string id="button_advanced">Advanced Search</string>
<string id="query_latestadditions">new videos</string>
<string id="query_mostdownloads">most downloaded</string>
<string id="query_mostviews">popular videos</string>
<string id="search_frontpage_one">new videos</string> <string id="search_frontpage_one">new videos</string>
<string id="search_frontpage_two">most downloaded</string> <string id="search_frontpage_two">most downloaded</string>

View file

@ -115,22 +115,23 @@ div.loginbox
/* "Aluminium 5" */ /* "Aluminium 5" */
border-color: #555753; border-color: #555753;
} }
li#latestadditions /* TODO: make images configureable (maybe via symlinks?) */
li#search_custom_one
{ {
list-style-image: url(../../images/tango/16x16/actions/document-new.png) list-style-image: url(../../images/tango/16x16/actions/document-new.png)
} }
li#mostviews li#search_custom_two
{
list-style-image: url(../../images/tango/16x16/emblems/emblem-favorite.png)
}
li#mostdownloads
{ {
list-style-image: url(../../images/tango/16x16/actions/document-save.png) list-style-image: url(../../images/tango/16x16/actions/document-save.png)
} }
li#search_custom_three
{
list-style-image: url(../../images/tango/16x16/emblems/emblem-favorite.png)
}
span.duration span.duration
{ {
} }

View file

@ -243,15 +243,15 @@ li
{ {
} }
li#latestadditions li#search_custom_one
{ {
} }
li#mostviews li#search_custom_two
{ {
} }
li#mostdownloads li#search_custom_three
{ {
} }

View file

@ -226,15 +226,15 @@ li
{ {
} }
li#latestadditions li#search_custom_one
{ {
} }
li#mostviews li#search_custom_two
{ {
} }
li#mostdownloads li#search_custom_three
{ {
} }

View file

@ -36,7 +36,7 @@
<ul id="queries" role="navigation"> <ul id="queries" role="navigation">
<li id="latestadditions"> <li id="search_custom_one">
<a> <a>
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:value-of select="$site_strings[@id='path_query_custom_one']" /> <xsl:value-of select="$site_strings[@id='path_query_custom_one']" />
@ -45,7 +45,7 @@
</a> </a>
</li> </li>
<li id="mostviews"> <li id="search_custom_two">
<a> <a>
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:value-of select="$site_strings[@id='path_query_custom_two']" /> <xsl:value-of select="$site_strings[@id='path_query_custom_two']" />
@ -54,7 +54,7 @@
</a> </a>
</li> </li>
<li id="mostdownloads"> <li id="search_custom_three">
<a> <a>
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:value-of select="$site_strings[@id='path_query_custom_three']" /> <xsl:value-of select="$site_strings[@id='path_query_custom_three']" />