summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2010-08-24 17:27:10 +0000
committerAndreas Brachold <vdr07@deltab.de>2010-08-24 17:27:10 +0000
commit2384e06fdf70bfe51fc242fb06edb54be3a3e4e3 (patch)
treead90c98a1283c9503e216a93ddad8b9abd1ebe24
parent01c98b86cddc100cdcedb3d5363b8fed6edacf1c (diff)
downloadxxv-2384e06fdf70bfe51fc242fb06edb54be3a3e4e3.tar.gz
xxv-2384e06fdf70bfe51fc242fb06edb54be3a3e4e3.tar.bz2
SHARE: show level on any skins
CONFIG: show moduls description on editing preferences USER: refactoring createTmpDir RECORDS: refactoring status handler SHARE: change order of topten view
l---------skins/blue/images/star_gray.png1
l---------skins/blue/images/star_rated.png1
-rw-r--r--skins/blue/style-blue.css70
-rw-r--r--skins/blue_flat/style-blue_flat.css70
l---------skins/lcars/images/star_gray.png1
l---------skins/lcars/images/star_rated.png1
-rw-r--r--skins/lcars/style-lcars.css70
-rw-r--r--skins/lcars_flat/style-lcars_flat.css70
l---------skins/snow/images/star_gray.png1
l---------skins/snow/images/star_rated.png1
-rw-r--r--skins/snow/style-snow.css68
-rw-r--r--skins/snow_flat/style-snow_flat.css70
-rw-r--r--skins/stone/display.tmpl96
-rw-r--r--skins/stone/images/artwork/star_gray.svg167
-rw-r--r--skins/stone/images/artwork/star_rated.svg154
-rw-r--r--skins/stone/images/star_gray.pngbin0 -> 730 bytes
-rw-r--r--skins/stone/images/star_rated.pngbin0 -> 748 bytes
-rw-r--r--skins/stone/style-stone.css70
-rw-r--r--skins/stone_flat/style-stone_flat.css70
-rwxr-xr-xskins/xstyle/bloecke/stars.tmpl3
-rw-r--r--skins/xstyle/display.tmpl2
-rw-r--r--skins/xstyle/now.tmpl2
-rw-r--r--skins/xstyle/program.tmpl2
-rw-r--r--skins/xstyle/search.tmpl2
24 files changed, 704 insertions, 288 deletions
diff --git a/skins/blue/images/star_gray.png b/skins/blue/images/star_gray.png
new file mode 120000
index 0000000..94e8640
--- /dev/null
+++ b/skins/blue/images/star_gray.png
@@ -0,0 +1 @@
+../../stone/images/star_gray.png \ No newline at end of file
diff --git a/skins/blue/images/star_rated.png b/skins/blue/images/star_rated.png
new file mode 120000
index 0000000..90218c9
--- /dev/null
+++ b/skins/blue/images/star_rated.png
@@ -0,0 +1 @@
+../../stone/images/star_rated.png \ No newline at end of file
diff --git a/skins/blue/style-blue.css b/skins/blue/style-blue.css
index 2d583e4..d46c06a 100644
--- a/skins/blue/style-blue.css
+++ b/skins/blue/style-blue.css
@@ -675,45 +675,55 @@ background-color:#004774;
border:1px solid #FFF;
}
-#slideframe{
-height:125px;
-position:relative;
-overflow:hidden;
+#slideframe{
+height:125px;
+position:relative;
+overflow:hidden;
margin:5px;
}
-
-#slideleft{
-width:50px;
-height:100%;
-position:absolute;
-left:0;
-z-index:10;
+
+#slideleft{
+width:50px;
+height:100%;
+position:absolute;
+left:0;
+z-index:10;
padding:1px;
background:url(images/blank.gif) repeat;
text-align:left;
}
-
-#slideright{
-width:50px;
-height:100%;
-position:absolute;
-right:0;
-z-index:10;
-padding:1px;
+
+#slideright{
+width:50px;
+height:100%;
+position:absolute;
+right:0;
+z-index:10;
+padding:1px;
background:url(images/blank.gif) repeat;
text-align:right;
}
-
-#slidelist{
-position:absolute;
-height:auto;
-}
-#slidelist #slideend{
-float:left;
-}
+#slidelist{
+position:absolute;
+height:auto;
+}
+
+#slidelist #slideend{
+float:left;
+}
+
+#slidelist img{
+float:left;
+padding:1px;
+}
+
+.levelbar {
+ width: 80px;
+ background: url(images/star_gray.png) 0 0 repeat-x;
+}
-#slidelist img{
-float:left;
-padding:1px;
+.levelbar div {
+ height: 16px;
+ background: url(images/star_rated.png) 0 0 repeat-x;
}
diff --git a/skins/blue_flat/style-blue_flat.css b/skins/blue_flat/style-blue_flat.css
index 95a3038..b1d922d 100644
--- a/skins/blue_flat/style-blue_flat.css
+++ b/skins/blue_flat/style-blue_flat.css
@@ -673,45 +673,55 @@ background-color:#004774;
border:1px solid #FFF;
}
-#slideframe{
-height:125px;
-position:relative;
-overflow:hidden;
+#slideframe{
+height:125px;
+position:relative;
+overflow:hidden;
margin:5px;
}
-
-#slideleft{
-width:50px;
-height:100%;
-position:absolute;
-left:0;
-z-index:10;
+
+#slideleft{
+width:50px;
+height:100%;
+position:absolute;
+left:0;
+z-index:10;
padding:1px;
background:url(images/blank.gif) repeat;
text-align:left;
}
-
-#slideright{
-width:50px;
-height:100%;
-position:absolute;
-right:0;
-z-index:10;
-padding:1px;
+
+#slideright{
+width:50px;
+height:100%;
+position:absolute;
+right:0;
+z-index:10;
+padding:1px;
background:url(images/blank.gif) repeat;
text-align:right;
}
-
-#slidelist{
-position:absolute;
-height:auto;
-}
-#slidelist #slideend{
-float:left;
-}
+#slidelist{
+position:absolute;
+height:auto;
+}
+
+#slidelist #slideend{
+float:left;
+}
+
+#slidelist img{
+float:left;
+padding:1px;
+}
+
+.levelbar {
+ width: 80px;
+ background: url(images/star_gray.png) 0 0 repeat-x;
+}
-#slidelist img{
-float:left;
-padding:1px;
+.levelbar div {
+ height: 16px;
+ background: url(images/star_rated.png) 0 0 repeat-x;
}
diff --git a/skins/lcars/images/star_gray.png b/skins/lcars/images/star_gray.png
new file mode 120000
index 0000000..94e8640
--- /dev/null
+++ b/skins/lcars/images/star_gray.png
@@ -0,0 +1 @@
+../../stone/images/star_gray.png \ No newline at end of file
diff --git a/skins/lcars/images/star_rated.png b/skins/lcars/images/star_rated.png
new file mode 120000
index 0000000..90218c9
--- /dev/null
+++ b/skins/lcars/images/star_rated.png
@@ -0,0 +1 @@
+../../stone/images/star_rated.png \ No newline at end of file
diff --git a/skins/lcars/style-lcars.css b/skins/lcars/style-lcars.css
index 4ded372..83059b5 100644
--- a/skins/lcars/style-lcars.css
+++ b/skins/lcars/style-lcars.css
@@ -725,45 +725,55 @@ background-color:#ffd068;
border:1px solid #c5a154;
}
-#slideframe{
-height:125px;
-position:relative;
-overflow:hidden;
+#slideframe{
+height:125px;
+position:relative;
+overflow:hidden;
margin:5px;
}
-
-#slideleft{
-width:50px;
-height:100%;
-position:absolute;
-left:0;
-z-index:10;
+
+#slideleft{
+width:50px;
+height:100%;
+position:absolute;
+left:0;
+z-index:10;
padding:1px;
background:url(images/blank.gif) repeat;
text-align:left;
}
-
-#slideright{
-width:50px;
-height:100%;
-position:absolute;
-right:0;
-z-index:10;
-padding:1px;
+
+#slideright{
+width:50px;
+height:100%;
+position:absolute;
+right:0;
+z-index:10;
+padding:1px;
background:url(images/blank.gif) repeat;
text-align:right;
}
-
-#slidelist{
-position:absolute;
-height:auto;
-}
-#slidelist #slideend{
-float:left;
-}
+#slidelist{
+position:absolute;
+height:auto;
+}
+
+#slidelist #slideend{
+float:left;
+}
+
+#slidelist img{
+float:left;
+padding:1px;
+}
+
+.levelbar {
+ width: 80px;
+ background: url(images/star_gray.png) 0 0 repeat-x;
+}
-#slidelist img{
-float:left;
-padding:1px;
+.levelbar div {
+ height: 16px;
+ background: url(images/star_rated.png) 0 0 repeat-x;
}
diff --git a/skins/lcars_flat/style-lcars_flat.css b/skins/lcars_flat/style-lcars_flat.css
index 12ecfbf..c5ceefc 100644
--- a/skins/lcars_flat/style-lcars_flat.css
+++ b/skins/lcars_flat/style-lcars_flat.css
@@ -707,45 +707,55 @@ background-color:#ffd068;
border:1px solid #c5a154;
}
-#slideframe{
-height:125px;
-position:relative;
-overflow:hidden;
+#slideframe{
+height:125px;
+position:relative;
+overflow:hidden;
margin:5px;
}
-
-#slideleft{
-width:50px;
-height:100%;
-position:absolute;
-left:0;
-z-index:10;
+
+#slideleft{
+width:50px;
+height:100%;
+position:absolute;
+left:0;
+z-index:10;
padding:1px;
background:url(images/blank.gif) repeat;
text-align:left;
}
-
-#slideright{
-width:50px;
-height:100%;
-position:absolute;
-right:0;
-z-index:10;
-padding:1px;
+
+#slideright{
+width:50px;
+height:100%;
+position:absolute;
+right:0;
+z-index:10;
+padding:1px;
background:url(images/blank.gif) repeat;
text-align:right;
}
-
-#slidelist{
-position:absolute;
-height:auto;
-}
-#slidelist #slideend{
-float:left;
-}
+#slidelist{
+position:absolute;
+height:auto;
+}
+
+#slidelist #slideend{
+float:left;
+}
+
+#slidelist img{
+float:left;
+padding:1px;
+}
+
+.levelbar {
+ width: 80px;
+ background: url(images/star_gray.png) 0 0 repeat-x;
+}
-#slidelist img{
-float:left;
-padding:1px;
+.levelbar div {
+ height: 16px;
+ background: url(images/star_rated.png) 0 0 repeat-x;
}
diff --git a/skins/snow/images/star_gray.png b/skins/snow/images/star_gray.png
new file mode 120000
index 0000000..94e8640
--- /dev/null
+++ b/skins/snow/images/star_gray.png
@@ -0,0 +1 @@
+../../stone/images/star_gray.png \ No newline at end of file
diff --git a/skins/snow/images/star_rated.png b/skins/snow/images/star_rated.png
new file mode 120000
index 0000000..90218c9
--- /dev/null
+++ b/skins/snow/images/star_rated.png
@@ -0,0 +1 @@
+../../stone/images/star_rated.png \ No newline at end of file
diff --git a/skins/snow/style-snow.css b/skins/snow/style-snow.css
index dd3d804..6181d26 100644
--- a/skins/snow/style-snow.css
+++ b/skins/snow/style-snow.css
@@ -688,45 +688,55 @@ background-color:#FFF;
border:1px solid #000;
}
-#slideframe{
-height:125px;
-position:relative;
-overflow:hidden;
+#slideframe{
+height:125px;
+position:relative;
+overflow:hidden;
margin:5px;
}
-
-#slideleft{
-width:50px;
-height:100%;
-position:absolute;
-left:0;
-z-index:10;
+
+#slideleft{
+width:50px;
+height:100%;
+position:absolute;
+left:0;
+z-index:10;
padding:1px;
background:url(images/blank.gif) repeat;
text-align:left;
}
-
-#slideright{
-width:50px;
-height:100%;
-position:absolute;
-right:0;
-z-index:10;
-padding:1px;
+
+#slideright{
+width:50px;
+height:100%;
+position:absolute;
+right:0;
+z-index:10;
+padding:1px;
background:url(images/blank.gif) repeat;
text-align:right;
}
-
-#slidelist{
-position:absolute;
-height:auto;
-}
-#slidelist #slideend{
+#slidelist{
+position:absolute;
+height:auto;
+}
+
+#slidelist #slideend{
float:left;
-}
+}
+
+#slidelist img{
+float:left;
+padding:1px;
+}
+
+.levelbar {
+ width: 80px;
+ background: url(images/star_gray.png) 0 0 repeat-x;
+}
-#slidelist img{
-float:left;
-padding:1px;
+.levelbar div {
+ height: 16px;
+ background: url(images/star_rated.png) 0 0 repeat-x;
}
diff --git a/skins/snow_flat/style-snow_flat.css b/skins/snow_flat/style-snow_flat.css
index 4361413..6cdbd0f 100644
--- a/skins/snow_flat/style-snow_flat.css
+++ b/skins/snow_flat/style-snow_flat.css
@@ -675,45 +675,55 @@ background-color:#FFF;
border:1px solid #000;
}
-#slideframe{
-height:125px;
-position:relative;
-overflow:hidden;
+#slideframe{
+height:125px;
+position:relative;
+overflow:hidden;
margin:5px;
}
-
-#slideleft{
-width:50px;
-height:100%;
-position:absolute;
-left:0;
-z-index:10;
+
+#slideleft{
+width:50px;
+height:100%;
+position:absolute;
+left:0;
+z-index:10;
padding:1px;
background:url(images/blank.gif) repeat;
text-align:left;
}
-
-#slideright{
-width:50px;
-height:100%;
-position:absolute;
-right:0;
-z-index:10;
-padding:1px;
+
+#slideright{
+width:50px;
+height:100%;
+position:absolute;
+right:0;
+z-index:10;
+padding:1px;
background:url(images/blank.gif) repeat;
text-align:right;
}
-
-#slidelist{
-position:absolute;
-height:auto;
-}
-#slidelist #slideend{
-float:left;
-}
+#slidelist{
+position:absolute;
+height:auto;
+}
+
+#slidelist #slideend{
+float:left;
+}
+
+#slidelist img{
+float:left;
+padding:1px;
+}
+
+.levelbar {
+ width: 80px;
+ background: url(images/star_gray.png) 0 0 repeat-x;
+}
-#slidelist img{
-float:left;
-padding:1px;
+.levelbar div {
+ height: 16px;
+ background: url(images/star_rated.png) 0 0 repeat-x;
}
diff --git a/skins/stone/display.tmpl b/skins/stone/display.tmpl
index e3381c0..396c148 100644
--- a/skins/stone/display.tmpl
+++ b/skins/stone/display.tmpl
@@ -5,7 +5,7 @@
<!--
var pics = <?% files.size %?>;
if( pics > 3) {
- window.onload = initslide;
+ window.onload = initslide;
}
-->
</script>
@@ -33,14 +33,15 @@
running=data.last.12;
pdc = data.last.14;
channelid = data.last.15;
+ level = data.last.16;
%?>
<?% ######################################################################## %?>
<?% BLOCK dur %?>
<?% height=12;IF d >= 0 and d < 100;d = d div 1 %?>
- <?% IF d >= 1 %?>
- <img class="progressleft" src="images/blank.gif" width="<?% 100 - d %?>" height="<?% height %?>" alt="<?% 100 - d %?>%" /><img class="progressright" src="images/blank.gif" width="<?% d %?>" height="<?% height %?>" alt="" />
+ <?% IF d >= 1 %?>
+ <img class="progressleft" src="images/blank.gif" width="<?% 100 - d %?>" height="<?% height %?>" alt="<?% 100 - d %?>%" /><img class="progressright" src="images/blank.gif" width="<?% d %?>" height="<?% height %?>" alt="" />
<?% ELSE %?>
- <img class="progress" src="images/blank.gif" width="100" height="<?% height %?>" alt="" />
+ <img class="progress" src="images/blank.gif" width="100" height="<?% height %?>" alt="" />
<?% END %?>
<?% END %?>
<?% END %?>
@@ -56,18 +57,18 @@
END %?>
<?% ######################################################################## %?>
<?% BLOCK image %?>
- <div id="slideframe">
- <?% IF files.size > 3 %?>
- <div id="slideleft"><img src="images/back.<?% global.imagetyp %?>" title="<?% gettext("Back") %?>" alt="" /></div>
- <div id="slideright"><img src="images/forward.<?% global.imagetyp %?>" title="<?% gettext("Next") %?>" alt="" /></div>
- <?% END %?>
- <div id="slidelist" style="left:<?% IF files.size <= 3 %?><?% 280 - (170 * ( files.size / 2 ) ) %?><?% ELSE %?>0<?% END %?>px; width:<?% files.size * 180 %?>px;" >
+ <div id="slideframe">
+ <?% IF files.size > 3 %?>
+ <div id="slideleft"><img src="images/back.<?% global.imagetyp %?>" title="<?% gettext("Back") %?>" alt="" /></div>
+ <div id="slideright"><img src="images/forward.<?% global.imagetyp %?>" title="<?% gettext("Next") %?>" alt="" /></div>
+ <?% END %?>
+ <div id="slidelist" style="left:<?% IF files.size <= 3 %?><?% 280 - (170 * ( files.size / 2 ) ) %?><?% ELSE %?>0<?% END %?>px; width:<?% files.size * 180 %?>px;" >
<?% FOREACH frame = files %?>
<img class="epgimages" src="?cmd=ei&data=<?% frame %?>" alt="" title="" />
- <?% END %?>
- <div id="slideend"></div>
- </div>
- </div>
+ <?% END %?>
+ <div id="slideend"></div>
+ </div>
+ </div>
<?% END %?>
<?% ######################################################################## %?>
<?% BLOCK RowButtons %?>
@@ -96,65 +97,74 @@ END %?>
</div>
<?% END %?>
<?% ######################################################################## %?>
- <table class="editortable" summary="">
- <tr>
- <td class="editorhead">
+ <table class="editortable" summary="">
+ <tr>
+ <td class="editorhead">
<div class="editorhead" style="float:left;">
<?% title %?>
<?% IF subtitle.length > 0 %?><font class="subtitle">&nbsp;~&nbsp;<?% subtitle %?></font><?% END %?>
</div>
<?% INCLUDE shutter.inc %?>
- </td>
- </tr>
- <tr>
- <td class="editortext">
- <table width="100%" summary="">
- <tr>
- <td>
+ </td>
+ </tr>
+ <tr>
+ <td class="editortext">
+ <table width="100%" summary="">
+ <tr>
+ <td>
<div class="description" style="white-space: nowrap">
<?% IF allow('switch') %?>
<a href="javascript:post('switch','<?% channelid %?>')">
<img src="images/watch.<?% global.imagetyp %?>" alt="" title="<?% gettext("Switch") %?>" /></a>&nbsp;
- <?% END %?>
+ <?% END %?>
<?% IF allow('livestream') %?>
<a href="?cmd=livestream&amp;data=<?% channelid %?>">
<img src="images/webcast.<?% global.imagetyp %?>" alt="" title="<?% gettext("Live TV web cast") %?>" /></a>&nbsp;
- <?% END %?>
- <?% channel %?>
+ <?% END %?>
+ <?% channel %?>
</div>
- </td>
- <td>
+ </td>
+ <td>
<div class="description" style="white-space: nowrap">
- <?% date.format(start,"%A, %x",locale) %?>
+ <?% date.format(start,"%A, %x",locale) %?>
<br />
<?% date.format(start,"%H:%M",locale) %?>&nbsp;-&nbsp;<?% date.format(stopp,"%H:%M",locale) %?>
<?% IF pdc && pdc != start %?>&nbsp;&nbsp;&nbsp;(<?% gettext("PDC") %?>&nbsp;<?% date.format(pdc,"%H:%M",locale) %?>) <?% END %?>
&nbsp;&nbsp;&nbsp;<?% PROCESS printduration %?>
</div>
- </td>
- <td align="right">
- <?% PROCESS dur %?>
- </td>
+ </td>
+ <td align="right">
+ <?% PROCESS dur %?>
+ </td>
<td class="push">
<?% PROCESS RowButtons %?>
</td>
- </tr>
- </table>
- <?% IF files.size %?>
- <div align="center">
+ </tr>
+ </table>
+ <?% IF files.size %?>
+ <div align="center">
<?% PROCESS image %?>
- </div>
- <?% END %?>
- <?% IF description != "" %?>
+ </div>
+ <?% END %?>
+ <?% IF description != "" %?>
<p class="description">
<?% description %?>
</p>
- <?% END %?>
+ <?% END %?>
+ <?% IF level && allow('topten') %?>
+ <p class="description">
+ <a target="_blank" href="?cmd=topten">
+ <div class="levelbar">
+ <div style="width:<?% level*20 %?>%"></div>
+ </div>
+ </a>
+ </p>
+ <?% END %?>
</td>
</tr>
<tr>
- <td class="editorbottom"></td>
+ <td class="editorbottom"></td>
</tr>
</table>
diff --git a/skins/stone/images/artwork/star_gray.svg b/skins/stone/images/artwork/star_gray.svg
new file mode 100644
index 0000000..fdd7c65
--- /dev/null
+++ b/skins/stone/images/artwork/star_gray.svg
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ inkscape:export-ydpi="22.5"
+ inkscape:export-xdpi="22.5"
+ inkscape:export-filename="/media/build/xxv/svn/xxv/XXV-Skins/trunk/stone/images/star_gray.png"
+ sodipodi:docname="star_gray.svg"
+ inkscape:version="0.47 r22583"
+ sodipodi:version="0.32"
+ id="svg1"
+ xml:space="preserve"
+ viewBox="0 0 24 24"
+ height="64"
+ width="64"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ version="1.0">
+ <defs
+ id="defs59"><filter
+ id="filter2866"
+ inkscape:label="Desaturate"
+ x="0"
+ y="0"
+ width="1"
+ height="1"
+ inkscape:menu="Color"
+ inkscape:menu-tooltip="Render in shades of gray by reducing saturation to zero"
+ color-interpolation-filters="sRGB"><feColorMatrix
+ id="feColorMatrix2868"
+ type="saturate"
+ values="0" /></filter></defs>
+
+
+ <sodipodi:namedview
+ inkscape:current-layer="svg1"
+ inkscape:window-y="0"
+ inkscape:window-x="0"
+ inkscape:window-height="735"
+ inkscape:window-width="1175"
+ inkscape:cy="14.447007"
+ inkscape:cx="47.646358"
+ inkscape:zoom="4.3125"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ id="base"
+ width="64px"
+ height="64px"
+ showgrid="false"
+ inkscape:window-maximized="0" />
+
+
+
+
+
+
+ <metadata
+ id="metadata60">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+
+
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+
+
+ <dc:title /></cc:Work>
+
+
+ </rdf:RDF>
+
+
+ </metadata>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<g
+ id="g1323"
+ transform="matrix(2.9336552,0,0,2.8836873,-14.388854,-3.2131853)"
+ inkscape:tile-w="9.9235394"
+ inkscape:tile-h="9.4040159"
+ inkscape:tile-cx="5.0877847"
+ inkscape:tile-cy="10.000155"
+ style="filter:url(#filter2866)">
+ <path
+ style="fill:none;stroke:#878383;stroke-width:0.4032321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 9.0770116,1.7663762 10.222194,4.0514533 12.757955,4.4595027 10.876584,6.2549205 11.285578,8.784827 8.9952131,7.5606787 6.7048487,8.784827 7.1138422,6.2549205 5.2324715,4.4595027 7.7682317,4.0514533 9.0770116,1.7663762 z"
+ id="path2944" />
+
+ <path
+ style="fill:none;stroke:#000000;stroke-width:0.39161295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 9.080991,1.8703177 10.196103,4.0837223 12.66528,4.4789731 10.83331,6.2180769 11.231564,8.6686321 9.00134,7.4828794 6.7711159,8.6686321 7.1693702,6.2180769 5.3374004,4.4789731 7.8065769,4.0837223 9.080991,1.8703177 z"
+ id="path70" />
+
+ <path
+ style="fill:#f6f623;fill-rule:nonzero;stroke:none"
+ d="M 9.080991,1.8703177 10.196103,4.0837223 12.66528,4.4789731 10.83331,6.2180769 11.231564,8.6686321 9.00134,7.4828794 6.7711159,8.6686321 7.1693702,6.2180769 5.3374004,4.4789731 7.8065769,4.0837223 9.080991,1.8703177 z"
+ id="path72" />
+
+ <path
+ style="opacity:0.5;fill:#ffffff;fill-rule:nonzero;stroke:none"
+ d="m 9.080991,1.8703177 0,3.3991571 L 7.9658787,4.0837223 9.080991,1.8703177 z"
+ id="path74" />
+
+ <path
+ style="opacity:0.05999995;fill-rule:nonzero;stroke:none"
+ d="m 9.080991,1.8703177 0,3.3991571 1.115112,-1.1857525 -1.115112,-2.2134046 z"
+ id="path76" />
+
+ <path
+ style="opacity:0.05999995;fill-rule:nonzero;stroke:none"
+ d="m 6.9304176,8.6686321 2.2302244,-3.3991573 0,2.2134046 -2.2302244,1.1857527 0,0 z"
+ id="path78" />
+
+ <path
+ style="opacity:0.05999995;fill-rule:nonzero;stroke:none"
+ d="m 10.912961,6.2180769 -1.83197,-0.9486021 3.584289,-0.7905017 -1.83197,1.7391038 0.07965,0 z"
+ id="path80" />
+
+ <path
+ style="opacity:0.5;fill:#ffffff;fill-rule:nonzero;stroke:none"
+ d="m 11.311215,8.6686321 -2.230224,-3.3991573 0,2.2134046 2.230224,1.1857527 z"
+ id="path82" />
+
+ <path
+ style="opacity:0.5;fill:#ffffff;fill-rule:nonzero;stroke:none"
+ d="M 6.9304176,8.6686321 9.160642,5.2694748 7.3286719,6.2180769 6.9304176,8.6686321 l 0,0 z"
+ id="path84" />
+
+ <path
+ style="opacity:0.05999995;fill-rule:nonzero;stroke:none"
+ d="M 5.4967021,4.4789731 7.3286719,6.2180769 9.160642,5.2694748 5.576353,4.4789731 l -0.079651,0 z"
+ id="path86" />
+
+</g>
+
+</svg> \ No newline at end of file
diff --git a/skins/stone/images/artwork/star_rated.svg b/skins/stone/images/artwork/star_rated.svg
new file mode 100644
index 0000000..e960a86
--- /dev/null
+++ b/skins/stone/images/artwork/star_rated.svg
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ inkscape:export-ydpi="22.5"
+ inkscape:export-xdpi="22.5"
+ inkscape:export-filename="/media/build/xxv/svn/xxv/XXV-Skins/trunk/stone/images/star_rated.png"
+ sodipodi:docname="star_rated.svg"
+ inkscape:version="0.47 r22583"
+ sodipodi:version="0.32"
+ id="svg1"
+ xml:space="preserve"
+ viewBox="0 0 24 24"
+ height="64"
+ width="64"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ version="1.0">
+ <defs
+ id="defs59" />
+
+
+ <sodipodi:namedview
+ inkscape:current-layer="svg1"
+ inkscape:window-y="0"
+ inkscape:window-x="0"
+ inkscape:window-height="735"
+ inkscape:window-width="1175"
+ inkscape:cy="14.447007"
+ inkscape:cx="47.646358"
+ inkscape:zoom="4.3125"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ id="base"
+ width="64px"
+ height="64px"
+ showgrid="false"
+ inkscape:window-maximized="0" />
+
+
+
+
+
+
+ <metadata
+ id="metadata60">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+
+
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+
+
+ <dc:title /></cc:Work>
+
+
+ </rdf:RDF>
+
+
+ </metadata>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<g
+ id="g1323"
+ transform="matrix(2.9336552,0,0,2.8836873,-14.388854,-3.2131853)"
+ inkscape:tile-w="9.9235394"
+ inkscape:tile-h="9.4040159"
+ inkscape:tile-cx="5.0877847"
+ inkscape:tile-cy="10.000155">
+ <path
+ style="fill:none;stroke:#878383;stroke-width:0.4032321;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 9.0770116,1.7663762 10.222194,4.0514533 12.757955,4.4595027 10.876584,6.2549205 11.285578,8.784827 8.9952131,7.5606787 6.7048487,8.784827 7.1138422,6.2549205 5.2324715,4.4595027 7.7682317,4.0514533 9.0770116,1.7663762 z"
+ id="path2944" />
+
+ <path
+ style="fill:none;stroke:#000000;stroke-width:0.39161295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 9.080991,1.8703177 10.196103,4.0837223 12.66528,4.4789731 10.83331,6.2180769 11.231564,8.6686321 9.00134,7.4828794 6.7711159,8.6686321 7.1693702,6.2180769 5.3374004,4.4789731 7.8065769,4.0837223 9.080991,1.8703177 z"
+ id="path70" />
+
+ <path
+ style="fill:#f6f623;fill-rule:nonzero;stroke:none"
+ d="M 9.080991,1.8703177 10.196103,4.0837223 12.66528,4.4789731 10.83331,6.2180769 11.231564,8.6686321 9.00134,7.4828794 6.7711159,8.6686321 7.1693702,6.2180769 5.3374004,4.4789731 7.8065769,4.0837223 9.080991,1.8703177 z"
+ id="path72" />
+
+ <path
+ style="opacity:0.5;fill:#ffffff;fill-rule:nonzero;stroke:none"
+ d="m 9.080991,1.8703177 0,3.3991571 L 7.9658787,4.0837223 9.080991,1.8703177 z"
+ id="path74" />
+
+ <path
+ style="opacity:0.05999995;fill-rule:nonzero;stroke:none"
+ d="m 9.080991,1.8703177 0,3.3991571 1.115112,-1.1857525 -1.115112,-2.2134046 z"
+ id="path76" />
+
+ <path
+ style="opacity:0.05999995;fill-rule:nonzero;stroke:none"
+ d="m 6.9304176,8.6686321 2.2302244,-3.3991573 0,2.2134046 -2.2302244,1.1857527 0,0 z"
+ id="path78" />
+
+ <path
+ style="opacity:0.05999995;fill-rule:nonzero;stroke:none"
+ d="m 10.912961,6.2180769 -1.83197,-0.9486021 3.584289,-0.7905017 -1.83197,1.7391038 0.07965,0 z"
+ id="path80" />
+
+ <path
+ style="opacity:0.5;fill:#ffffff;fill-rule:nonzero;stroke:none"
+ d="m 11.311215,8.6686321 -2.230224,-3.3991573 0,2.2134046 2.230224,1.1857527 z"
+ id="path82" />
+
+ <path
+ style="opacity:0.5;fill:#ffffff;fill-rule:nonzero;stroke:none"
+ d="M 6.9304176,8.6686321 9.160642,5.2694748 7.3286719,6.2180769 6.9304176,8.6686321 l 0,0 z"
+ id="path84" />
+
+ <path
+ style="opacity:0.05999995;fill-rule:nonzero;stroke:none"
+ d="M 5.4967021,4.4789731 7.3286719,6.2180769 9.160642,5.2694748 5.576353,4.4789731 l -0.079651,0 z"
+ id="path86" />
+
+</g>
+
+</svg> \ No newline at end of file
diff --git a/skins/stone/images/star_gray.png b/skins/stone/images/star_gray.png
new file mode 100644
index 0000000..a2f69ad
--- /dev/null
+++ b/skins/stone/images/star_gray.png
Binary files differ
diff --git a/skins/stone/images/star_rated.png b/skins/stone/images/star_rated.png
new file mode 100644
index 0000000..0b70613
--- /dev/null
+++ b/skins/stone/images/star_rated.png
Binary files differ
diff --git a/skins/stone/style-stone.css b/skins/stone/style-stone.css
index 742242b..8294590 100644
--- a/skins/stone/style-stone.css
+++ b/skins/stone/style-stone.css
@@ -670,45 +670,55 @@ background-color:#e2e2e2;
border:1px solid #CCC;
}
-#slideframe{
-height:125px;
-position:relative;
-overflow:hidden;
+#slideframe{
+height:125px;
+position:relative;
+overflow:hidden;
margin:5px;
}
-
-#slideleft{
-width:50px;
-height:100%;
-position:absolute;
-left:0;
-z-index:10;
+
+#slideleft{
+width:50px;
+height:100%;
+position:absolute;
+left:0;
+z-index:10;
padding:1px;
background:url(images/blank.gif) repeat;
text-align:left;
}
-
-#slideright{
-width:50px;
-height:100%;
-position:absolute;
-right:0;
-z-index:10;
-padding:1px;
+
+#slideright{
+width:50px;
+height:100%;
+position:absolute;
+right:0;
+z-index:10;
+padding:1px;
background:url(images/blank.gif) repeat;
text-align:right;
}
-
-#slidelist{
-position:absolute;
-height:auto;
-}
-#slidelist #slideend{
-float:left;
-}
+#slidelist{
+position:absolute;
+height:auto;
+}
+
+#slidelist #slideend{
+float:left;
+}
+
+#slidelist img{
+float:left;
+padding:1px;
+}
+
+.levelbar {
+ width: 80px;
+ background: url(images/star_gray.png) 0 0 repeat-x;
+}
-#slidelist img{
-float:left;
-padding:1px;
+.levelbar div {
+ height: 16px;
+ background: url(images/star_rated.png) 0 0 repeat-x;
}
diff --git a/skins/stone_flat/style-stone_flat.css b/skins/stone_flat/style-stone_flat.css
index 20499d8..f4a8631 100644
--- a/skins/stone_flat/style-stone_flat.css
+++ b/skins/stone_flat/style-stone_flat.css
@@ -683,45 +683,55 @@ background-color:#e2e2e2;
border:1px solid #CCC;
}
-#slideframe{
-height:125px;
-position:relative;
-overflow:hidden;
+#slideframe{
+height:125px;
+position:relative;
+overflow:hidden;
margin:5px;
}
-
-#slideleft{
-width:50px;
-height:100%;
-position:absolute;
-left:0;
-z-index:10;
+
+#slideleft{
+width:50px;
+height:100%;
+position:absolute;
+left:0;
+z-index:10;
padding:1px;
background:url(images/blank.gif) repeat;
text-align:left;
}
-
-#slideright{
-width:50px;
-height:100%;
-position:absolute;
-right:0;
-z-index:10;
-padding:1px;
+
+#slideright{
+width:50px;
+height:100%;
+position:absolute;
+right:0;
+z-index:10;
+padding:1px;
background:url(images/blank.gif) repeat;
text-align:right;
}
-
-#slidelist{
-position:absolute;
-height:auto;
-}
-#slidelist #slideend{
-float:left;
-}
+#slidelist{
+position:absolute;
+height:auto;
+}
+
+#slidelist #slideend{
+float:left;
+}
+
+#slidelist img{
+float:left;
+padding:1px;
+}
+
+.levelbar {
+ width: 80px;
+ background: url(images/star_gray.png) 0 0 repeat-x;
+}
-#slidelist img{
-float:left;
-padding:1px;
+.levelbar div {
+ height: 16px;
+ background: url(images/star_rated.png) 0 0 repeat-x;
}
diff --git a/skins/xstyle/bloecke/stars.tmpl b/skins/xstyle/bloecke/stars.tmpl
index a313141..002a20d 100755
--- a/skins/xstyle/bloecke/stars.tmpl
+++ b/skins/xstyle/bloecke/stars.tmpl
@@ -1,4 +1,3 @@
-<?% level = getModule('SHARE').getEventLevel(eventid) %?>
-<?% IF level %?>
+<?% IF level && allow('topten') %?>
<img class="stars" src="images/<?% level FILTER format('%d') %?>_stars.png" hspace=0 vspace=0 title="<?% level FILTER format('%d') %?> Stars" /><?% umbruch %?>
<?% END %?>
diff --git a/skins/xstyle/display.tmpl b/skins/xstyle/display.tmpl
index b87f2ff..148e801 100644
--- a/skins/xstyle/display.tmpl
+++ b/skins/xstyle/display.tmpl
@@ -45,7 +45,7 @@
<td><a href="?cmd=program&amp;data=<?% data.first.$c %?>"><?% data.first.$c %?></a></td>
<?% ELSIF field == gettext('Service') %?>
<td>
- <?% INCLUDE 'bloecke/event_links.tmpl' data=data.first timerid=data.first.10 %?>
+ <?% INCLUDE 'bloecke/event_links.tmpl' data=data.first timerid=data.first.10 level=data.first.16 %?>
</td>
<?% ELSIF field == gettext('Percent') %?>
<?% NEXT IF data.first.$c > 100 %?>
diff --git a/skins/xstyle/now.tmpl b/skins/xstyle/now.tmpl
index eec2851..083f55e 100644
--- a/skins/xstyle/now.tmpl
+++ b/skins/xstyle/now.tmpl
@@ -61,7 +61,7 @@
<?% END %?>
<tr class="<?% myclass %?>" <?% IF (loop.count mod 2) == 0 %?>bgcolor='#F5F5F5'<?% END %?>>
<td><nobr>
- <?% INCLUDE 'bloecke/event_links.tmpl' data=zeile switch=1 timerid=zeile.10 %?>
+ <?% INCLUDE 'bloecke/event_links.tmpl' data=zeile switch=1 timerid=zeile.10 level=zeile.14 %?>
</td>
<td>
<?% IF zeile.11 %?><b><?% END %?>
diff --git a/skins/xstyle/program.tmpl b/skins/xstyle/program.tmpl
index 42ba1ac..7d860d9 100644
--- a/skins/xstyle/program.tmpl
+++ b/skins/xstyle/program.tmpl
@@ -50,7 +50,7 @@
<?% c = c + 1 %?>
<?% IF c == 1; # Id Field %?>
<td>
- <?% INCLUDE 'bloecke/event_links.tmpl' data=zeile timerid=zeile.10 %?>
+ <?% INCLUDE 'bloecke/event_links.tmpl' data=zeile timerid=zeile.10 level=zeile.13 %?>
</td>
<?% ELSIF c == 2; # Text Field %?>
<td>
diff --git a/skins/xstyle/search.tmpl b/skins/xstyle/search.tmpl
index 6c47e57..9818492 100644
--- a/skins/xstyle/search.tmpl
+++ b/skins/xstyle/search.tmpl
@@ -133,7 +133,7 @@
</td>
<?% END %?>
<td>
- <?% INCLUDE 'bloecke/event_links.tmpl' data=zeile timerid=zeile.10 %?>
+ <?% INCLUDE 'bloecke/event_links.tmpl' data=zeile timerid=zeile.10 level=zeile.15 %?>
</td>
<?% ELSIF c == 1; # Text Field %?>
<td>