12,6 → 12,7 |
// de\pointedears\css\least\LEAST::compile('style.css', 'style-least.css'); |
?> |
<link rel="stylesheet" href="style.css" type="text/css"> |
<script type="text/javascript" src="/scripts/builder.php?src=object"></script> |
<script type="text/javascript"> |
/* |
function setStyle(obj, style) |
82,6 → 83,8 |
console.log(backgroundImages); |
} |
*/ |
var _getProperty; |
|
function net() |
{ |
var map = { |
90,17 → 93,38 |
"battlestar-galactica-2004-de": "battlestar-galactica", |
"buffy-the-vampire-slayer": "buffy", |
"lois-clark-the-new-adventures-of-superman": "lois-clark-the-new-adventures-of-superman-1993", |
get: function (key) { |
return this.hasOwnProperty(key) ? this[key] : key; |
} |
}; |
|
var translations = { |
"akte-x": "the-x-files", |
}; |
|
var f = function (e) { |
if (e && e.shiftKey && e.ctrlKey) |
{ |
var key = map.get(this.textContent.toLowerCase() |
.replace(/[&:.,()–]/g, "").replace(/\s+/g, "-").replace("-de", "")); |
window.open("http://serienjunkies.org/serie/" + encodeURIComponent(key)); |
var key = this.textContent.toLowerCase() |
.replace(/[&:.,()–]/g, "").replace(/\s+/g, "-") |
.replace("-de", ""); |
|
if (typeof _getProperty == "undefined") |
{ |
_getProperty = jsx.object.getProperty; |
} |
|
key = _getProperty(map, key, key); |
|
if (e.altKey) |
{ |
var baseURL = "http://serienjunkies.org/serie/"; |
} |
else |
{ |
key = _getProperty(translations, key, key).replace(/-/g, "_"); |
baseURL = "http://www.tubeplus.me/search/tv-shows/"; |
} |
|
window.open(baseURL + encodeURIComponent(key)); |
|
e.preventDefault(); |
} |
}; |
150,6 → 174,7 |
} |
|
setlocale(LC_ALL, 'de_CH.UTF-8'); |
$this->setLanguage('de'); |
|
$min_series = $this->min_series; |
foreach ($this->serien as $name => $serie) |
158,11 → 183,14 |
<tr> |
<td style="text-align: center"><?php |
$recommended = ($name === $min_series); |
if ($recommended) { ?>→<?php } |
if (isset($serie['ignore']) && $serie['ignore']) |
{ |
?>→<span style="color: red; font-weight: bold">⃠</span><?php |
?>▮▮<?php |
} |
else if ($recommended) |
{ |
?>→<?php |
} |
?></td> |
<th<?php if ($recommended) { ?> class="recommended"<?php } ?>><?php |
$ep_list = isset($serie['episode_list']); |
169,8 → 197,8 |
if ($ep_list) |
{ |
?><a href="<?php |
echo htmlspecialchars($serie['episode_list']); |
?>" title="Episodenliste"><?php |
echo $this->escape($serie['episode_list']); |
?>" title="<?php echo $this->escape($this->_('Episode list')); ?>"><?php |
} |
echo $name; |
if ($ep_list) { ?></a><?php } |
184,7 → 212,7 |
} |
?></span></th> |
<td<?php if ($recommended) { ?> class="recommended"<?php } ?>> |
<div>Gesehen: <?php |
<div><?php echo $this->_('Watched:'); ?> <?php |
echo implode(', ', $serie['coverage']) . ' ('. $serie['count']; |
?> von <?php $total = $serie['total']; echo $total; ?> Episoden)<?php |
if (isset($serie['last_seen'])) |
210,7 → 238,7 |
<?php |
if (!is_numeric($key)) |
{ |
?> title="<?php echo htmlspecialchars($key); ?>"<?php |
?> title="<?php echo $this->escape($key); ?>"<?php |
} |
?> |
style="<?php |
264,7 → 292,7 |
left: <?php echo ($episode - 1) / $total * 100; ?>%; |
width: <?php echo 1 / $total * 100; ?>%" |
title="<?php |
echo "{$episode_str}: " . htmlspecialchars($description); |
echo "{$episode_str}: " . $this->escape($description); |
?>"></div><?php |
$prevNumber = $episode; |
} |
313,7 → 341,7 |
if (isset($serie['episodes']) && array_key_exists($episode, $serie['episodes'])) |
{ |
?>title="<?php |
echo "{$episode_str}: " . htmlspecialchars($serie['episodes'][$episode]); |
echo "{$episode_str}: " . $this->escape($serie['episodes'][$episode]); |
?>"<?php |
} |
?>></div> |
331,4 → 359,4 |
?> |
</table> |
</body> |
</html> |
</html> |