summaryrefslogtreecommitdiff
path: root/contrib/www/2012/player.php
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-10-26 15:03:40 +0200
committerChristian Pointner <equinox@spreadspace.org>2012-10-26 15:03:40 +0200
commit50dbc53f8625d88908aded35222383ecd67b4dbf (patch)
treefa1d077d605e2ea664fb8481e0a84c5c284903da /contrib/www/2012/player.php
parentrunit create script with lower (diff)
www has now lower as well
Diffstat (limited to 'contrib/www/2012/player.php')
-rw-r--r--contrib/www/2012/player.php40
1 files changed, 35 insertions, 5 deletions
diff --git a/contrib/www/2012/player.php b/contrib/www/2012/player.php
index cb9edba..0e4e390 100644
--- a/contrib/www/2012/player.php
+++ b/contrib/www/2012/player.php
@@ -1,7 +1,7 @@
<?php require_once('init.php'); ?>
<table id="header" width="<?php printf('%dpx', $WIDTH); ?>">
<tr>
- <td align='left' width='33%'>
+ <td align='left' width='23%'>
<?php
switch ($LANG) {
case 'orig': {
@@ -17,7 +17,7 @@
}
?>
</td>
- <td align='center' width='33%'>
+ <td align='center' width='30%'>
<?php
switch($MODE) {
case 'html5': {
@@ -33,7 +33,7 @@
}
?>
</td>
- <td align='right' width='33%'>
+ <td align='right' width='47%'>
<?php
switch($PROFILE) {
case 'high': {
@@ -43,7 +43,12 @@
} else {
echo " <span><a href='$URL_MEDIUM'>medium</a></span>";
}
- echo " <span><a href='$URL_LOW'>low</a></span>";
+ if ( isset($EMBED) && $EMBED >= 3 ) {
+ echo " <span><a href='$URL_LOW' target='_parent'>low</a></span>";
+ } else {
+ echo " <span><a href='$URL_LOW'>low</a></span>";
+ }
+ echo " <span><a href='$URL_LOWER'>lower</a></span>";
break;
}
case 'medium': {
@@ -53,7 +58,12 @@
echo " <span><a href='$URL_HIGH'>high</a></span>";
}
echo " <span class='selected'>medium</span>";
- echo " <span><a href='$URL_LOW'>low</a></span>";
+ if ( isset($EMBED) && $EMBED >= 3 ) {
+ echo " <span><a href='$URL_LOW' target='_parent'>low</a></span>";
+ } else {
+ echo " <span><a href='$URL_LOW'>low</a></span>";
+ }
+ echo " <span><a href='$URL_LOWER'>lower</a></span>";
break;
}
case 'low': {
@@ -68,6 +78,26 @@
echo " <span><a href='$URL_MEDIUM'>medium</a></span>";
}
echo " <span class='selected'>low</span>";
+ echo " <span><a href='$URL_LOWER'>lower</a></span>";
+ break;
+ }
+ case 'lower': {
+ if ( isset($EMBED) ) {
+ echo " <span><a href='$URL_HIGH' target='_parent'>high</a></span>";
+ } else {
+ echo " <span><a href='$URL_HIGH'>high</a></span>";
+ }
+ if ( isset($EMBED) && $EMBED >= 2 ) {
+ echo " <span><a href='$URL_MEDIUM' target='_parent'>medium</a></span>";
+ } else {
+ echo " <span><a href='$URL_MEDIUM'>medium</a></span>";
+ }
+ if ( isset($EMBED) && $EMBED >= 3 ) {
+ echo " <span><a href='$URL_LOW' target='_parent'>low</a></span>";
+ } else {
+ echo " <span><a href='$URL_LOW'>low</a></span>";
+ }
+ echo " <span class='selected'>lower</span>";
break;
}
}