From 614cde79a0725b4ca79b7336316cf63a1829661c Mon Sep 17 00:00:00 2001 From: Mitsukarenai Date: Sun, 25 May 2014 23:23:52 +0200 Subject: [PATCH] quick fix; prepare homepage param --- css/style.css | 4 ++++ index.php | 7 ++++--- lib/Bridge.php | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index 360aee16..765bb980 100644 --- a/css/style.css +++ b/css/style.css @@ -87,6 +87,10 @@ h2 { margin-bottom: 10px; } +h2 a { + color:black; +} + form { margin-bottom: 10px; } diff --git a/index.php b/index.php index e8b10324..352cbb03 100644 --- a/index.php +++ b/index.php @@ -42,8 +42,9 @@ $whitelist_default = array( "YoutubeBridge"); if (!file_exists($whitelist_file)) { - $whitelist_selection = implode("\n", $whitelist_default); - file_put_contents($whitelist_file, $whitelist_selection); + $whitelist_selection = $whitelist_default; + $whitelist_write = implode("\n", $whitelist_default); + file_put_contents($whitelist_file, $whitelist_write); } else { $whitelist_selection = explode("\n", file_get_contents($whitelist_file)); @@ -141,7 +142,7 @@ $formats = Format::searchInformation(); $bridgeInformations): ?>
-

+

'.$bridgeInformations['name'].'' : $bridgeInformations['name'] ?>

diff --git a/lib/Bridge.php b/lib/Bridge.php index 58e2a1c3..8620107f 100644 --- a/lib/Bridge.php +++ b/lib/Bridge.php @@ -137,7 +137,7 @@ class Bridge{ $listBridge = array(); - $searchCommonPattern = array('maintainer', 'description', 'name'); + $searchCommonPattern = array('maintainer', 'description', 'homepage', 'name'); $dirFiles = scandir($pathDirBridge); if( $dirFiles !== false ){