summaryrefslogtreecommitdiff
path: root/skins/stone
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2008-05-09 20:43:07 +0000
committerAndreas Brachold <vdr07@deltab.de>2008-05-09 20:43:07 +0000
commitf07d90a855db44f1a38ed64fdf07262d896b4f7c (patch)
tree0f5669e328066f7f02f1721264c3a0df269b9074 /skins/stone
parentb38ba957ead73319bbf5e516aa9670518013574e (diff)
downloadxxv-f07d90a855db44f1a38ed64fdf07262d896b4f7c.tar.gz
xxv-f07d90a855db44f1a38ed64fdf07262d896b4f7c.tar.bz2
* SHARE: Submit event data delayed and transmit data as block
* SHARE: use persist random id * UTF-8: Reorder defines * UTF-8: Replace 'SET NAMES' with 'set character set' * alist: Move generation of channels name from template to perl code * skins: header add generator meta-tag with version * RECORDS: Replace character by Hexnibble * HTTPD: Speedup lookup find skins * HTTPD: Build options for start page delayed, avoid wrong UTF8 translation * CHRONICLE: add cgi-parameter start/limit for paging query * EPG: now: add cgi-parameter __cgrp=all to get all data * CHRONICLE: Add message to console by delete entry * OUTPUT/Ajax: optimize callback 'questions'
Diffstat (limited to 'skins/stone')
-rw-r--r--skins/stone/alist.tmpl9
-rw-r--r--skins/stone/global.js6
-rw-r--r--skins/stone/index.tmpl6
-rw-r--r--skins/stone/widgets/start.tmpl6
4 files changed, 12 insertions, 15 deletions
diff --git a/skins/stone/alist.tmpl b/skins/stone/alist.tmpl
index 3a637f0..363c05c 100644
--- a/skins/stone/alist.tmpl
+++ b/skins/stone/alist.tmpl
@@ -69,14 +69,7 @@
<?% IF channels.length > 0 || directory != "" %?>
<font class="description<?% IF state != "";" ";state;END %?>">
<?% IF channels.length > 0;
- chlist = [ ];
- FOREACH chid = channels.split(',');
- chid_enc = reentities(chid);
- chid_name = param.channels.$chid_enc.Name;
- IF ! chid_name; chid_name = gettext('Unknown channel'); END;
- chlist.push( chid_name );
- END;
- chop(chlist.join(','),35) %?><br />
+ chop(channels,35) %?><br />
<?% END %?>
<?% IF directory != "" %?>
<?% directory %?><br />
diff --git a/skins/stone/global.js b/skins/stone/global.js
index 093523e..ed67dbf 100644
--- a/skins/stone/global.js
+++ b/skins/stone/global.js
@@ -90,10 +90,10 @@ function toggle(cmd,data) {
var img = document.getElementById('toggle' + tid);
if(img) {
- if(ton) {
- if(tcon)
+ if(ton != '0') {
+ if(tcon != '0')
className = 'problem';
- else if(trun)
+ else if(trun != '0')
className = 'running';
else
className = '';
diff --git a/skins/stone/index.tmpl b/skins/stone/index.tmpl
index a8cae26..a159701 100644
--- a/skins/stone/index.tmpl
+++ b/skins/stone/index.tmpl
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="<?% charset %?>"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<?% lang = locale.split('_') %?>
+<html xmlns="http://www.w3.org/1999/xhtml" <?% IF lang.1 %?>xml:lang="<?% lang.0 %?>" lang="<?% lang.0 %?>"<?% ELSE %?>xml:lang="en" lang="en"<?% END %?>>
<head>
<title><?% IF param.title.defined;param.title;ELSE %?>XXV<?% END %?></title>
+ <meta name="generator" content="XXV System - Version: <?% version %?>" />
<meta http-equiv="content-type" content="text/html; charset=<?% charset %?>" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="cache-control" content="no-cache" />
diff --git a/skins/stone/widgets/start.tmpl b/skins/stone/widgets/start.tmpl
index 45d11d9..20e08fd 100644
--- a/skins/stone/widgets/start.tmpl
+++ b/skins/stone/widgets/start.tmpl
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="<?% charset %?>"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?% INCLUDE skin.cfg %?>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<?% lang = locale.split('_') %?>
+<html xmlns="http://www.w3.org/1999/xhtml" <?% IF lang.1 %?>xml:lang="<?% lang.0 %?>" lang="<?% lang.0 %?>"<?% ELSE %?>xml:lang="en" lang="en"<?% END %?>>
<head>
<title><?% IF param.title.defined;param.title;ELSE %?>XXV<?% END %?></title>
+ <meta name="generator" content="XXV System - Version: <?% version %?>" />
<meta http-equiv="content-type" content="text/html; charset=<?% charset %?>" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="cache-control" content="no-cache" />