diff options
| author | root | 2014-03-23 00:04:34 +0100 |
|---|---|---|
| committer | root | 2014-03-23 00:04:34 +0100 |
| commit | 293e2d3203d4f473f3239571b5d0237cea26a46b (patch) | |
| tree | 00d4d35d4f69fb127649f07d8b000bd10fec5191 /www/header.php | |
| parent | dc083d0685fa36e48f6d9e1ba2895f730a167194 (diff) | |
| download | random-293e2d3203d4f473f3239571b5d0237cea26a46b.tar.gz | |
Completed youtube history for the browser.
Diffstat (limited to 'www/header.php')
| -rw-r--r-- | www/header.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/header.php b/www/header.php index 4df6d9e..dff4355 100644 --- a/www/header.php +++ b/www/header.php @@ -7,7 +7,11 @@ if(isset($new_id)){ echo "<td><a href='/youtube?id=".$new_id."'>Youtube</a></td>"; } else { - echo "<td><a href='/youtube'>Youtube</a></td>"; + if(isset($videoID)){ + echo "<td><a href='/youtube?id=".$videoID."'>Youtube</a></td>"; + } else { + echo "<td><a href='/youtube'>Youtube</a></td>"; + } } ?> <td>|</td> |
