Commit 569c6a0c authored by Clément Stenac's avatar Clément Stenac

Misc stuff lying around

parent 087466eb
......@@ -69,7 +69,7 @@ RewriteRule ^vlc/windows.html$ /vlc/features.html [R=permanent,L]
# Skins
RewriteRule ^vlc/skins.html$ /vlc/skins.php [R=permanent,L]
RewriteRule ^vlc/download-skins2.*$ /vlc/skins.php [R=permanent,L]
RewriteRule ^vlc/download-skins2\..*$ /vlc/skins.php [R=permanent,L]
RewriteRule ^vlc/skins-(.*)$ /vlc/skins.php [R=permanent,L]
##################### Streaming #####################
......
......@@ -25,6 +25,11 @@ echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n";
<title><?php echo $title; ?></title>
<link rel="alternate" type="application/rss+xml" title="RSS - News" href="/videolan-news.rss" />
<link rel="stylesheet" type="text/css" href="/main.css" />
<!--[if lt IE 7]>
<style type="text/css">
@media screen{ #page {behavior:url("/width.htc");} }
</style>
<![endif]-->
<link rel="shortcut icon" type="image/x-icon"
href="/images/icons/favicon.ico" />
<?php if( $enable_live == true ) {?>
......
<public:component lightWeight="true">
<public:attach event="oncontentready" onevent="setWidth()" />
<public:attach for="window" event="onresize" onevent="setWidth()" />
<public:method name="setWidth" />
<script>
function setWidth(){
var windowWidth = element.document.compatMode == 'CSS1Compat' ? element.document.documentElement.clientWidth : element.document.body.clientWidth;
element.runtimeStyle.width = windowWidth < 756 ? 756 : 100+'%';
}
</script>
</public:component>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment