summaryrefslogtreecommitdiff
path: root/html
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
commite503819f62d4156bb9a9e194d79624ef217da921 (patch)
tree83c4997701dfb64e0b4cee47be880312d917357a /html
parent1d05d26b9065a1b7c202a7878668c7bace17b986 (diff)
downloadxxv-e503819f62d4156bb9a9e194d79624ef217da921.tar.gz
xxv-e503819f62d4156bb9a9e194d79624ef217da921.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
Diffstat (limited to 'html')
-rw-r--r--html/bloecke/stars.tmpl3
-rw-r--r--html/display.tmpl4
-rw-r--r--html/program.tmpl4
-rw-r--r--html/tlist.tmpl5
4 files changed, 6 insertions, 10 deletions
diff --git a/html/bloecke/stars.tmpl b/html/bloecke/stars.tmpl
index 196da4e..e3aafad 100644
--- a/html/bloecke/stars.tmpl
+++ b/html/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/html/display.tmpl b/html/display.tmpl
index d157430..f870efb 100644
--- a/html/display.tmpl
+++ b/html/display.tmpl
@@ -32,14 +32,14 @@
<?% ELSIF allow('tnew')%?>
<a href="?cmd=tnew&amp;data=<?% data.first.$c %?>"><span name='recordlink' id='<?% data.first.$c %?>' class='normal'>[<?% gettext("To record") %?>]</span></a>
<?% END %?>
- <?% level = getModule('SHARE').getEventLevel(data.first.0) %?>
- <?% IF level %?><br/><?% "*" FILTER repeat(level) %?><?% END %?>
<a target="_blank" href="http://german.imdb.com/find?s=tt&amp;site=aka&amp;q=<?% data.last.1 %?>">
[<?% gettext("Search with IMDb") %?>]
</a>
<a target="_blank" href="http://www.ofdb.de/view.php?page=suchergebnis&Kat=Titel&SText=<?% data.last.1 %?>">
[<?% gettext("Search with OFDb") %?>]
</a>
+ <?% level = data.first.16 %?>
+ <?% IF level && allow('topten') %?><br/><a href="?cmd=topten" title="<?% gettext("Top Ten entrys") %?>" ><?% "*" FILTER repeat(level) %?></a><?% END %?>
</td>
<?% ELSIF field == gettext('Percent') %?>
<?% NEXT IF data.first.$c > 100 %?>
diff --git a/html/program.tmpl b/html/program.tmpl
index e5ba30c..3fdbc0f 100644
--- a/html/program.tmpl
+++ b/html/program.tmpl
@@ -77,8 +77,8 @@
<?% ELSIF allow('tnew') %?>
<a href="?cmd=tnew&amp;data=<?% zeile.0 %?>"><span name='recordlink' id='<?% zeile.0 %?>' class='normal'>[<?% gettext("To record") %?>]</span></a>
<?% END %?>
- <?% level = getModule('SHARE').getEventLevel(zeile.0) %?>
- <?% IF level %?><br/><?% "*" FILTER repeat(level) %?><?% END %?>
+ <?% level = zeile.13 %?>
+ <?% IF level && allow('topten') %?><br/><a href="?cmd=topten" title="<?% gettext("Top Ten entrys") %?>" ><?% "*" FILTER repeat(level) %?></a><?% END %?>
</td>
<?% ELSIF c == 2; # Text Field %?>
<td>
diff --git a/html/tlist.tmpl b/html/tlist.tmpl
index 9485bf1..79c12a9 100644
--- a/html/tlist.tmpl
+++ b/html/tlist.tmpl
@@ -100,10 +100,7 @@
<?% ELSE %?>
[<?% aktiv ? aus : an %?>]<?% IF pdc;'&nbsp;(';gettext('PDC');')';END %?>
<?% END %?>
-
- <?% level = getModule('SHARE').getEventLevel(zeile.10) %?>
- <?% IF level %?><?% "*" FILTER repeat(level) %?><?% END %?>
- </td>
+ </td>
<?% ELSIF c == 2; # Channel Field %?>
<td nowrap>
<a href="?cmd=program&amp;data=<?% zeile.3 %?>" title="<?% gettext("Jump to program:") %?> <?% field %?>"><div class="<?% myclass %?>"><?% field %?></div></a>