From 785cf75d6017f622ac99be8cc9ddaa6a3df8f064 Mon Sep 17 00:00:00 2001 From: Grummfy Date: Sun, 20 Jul 2014 16:47:02 +0200 Subject: [PATCH 1/6] a bit of cleaning for reading --- index.php | 97 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 57 insertions(+), 40 deletions(-) diff --git a/index.php b/index.php index 0ca1538b..9f4bbcd9 100644 --- a/index.php +++ b/index.php @@ -144,49 +144,66 @@ $formats = Format::searchInformation();

RSS-Bridge

·Reconnecting the Web·

+ $bridgeInformations): + ?> + +
+

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

+

+ +

- $bridgeInformations): ?> - -
-

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

-

- -

+ 0 ): ?> +
    + $anUse): ?> +
  1. +
    + + + $argDescription) + { + $idArg = 'arg-' . $bridgeReference . '-' . $anUseNum . '-' . $argName; + echo '' + } - 0 ): ?> -
      - $anUse): ?> -
    1. - - - - $argDescription): ?> - - - - $infos ): ?> - - -
    2. - - -
    - -
    - - - $infos ): ?> - - -
    - - '.$bridgeInformations['maintainer'].'' : '' ?> -
- + foreach( $formats as $name => $infos ) + { + if ( isset($infos['name']) ) + { + echo getHelperButtonFormat($name, $infos['name']); + } + } + ?> + + + + + +
+ + + $infos ) + { + if( isset($infos['name']) ) + { + echo getHelperButtonFormat($name, $infos['name']); + } + } + ?> +
+ + '.$bridgeInformations['maintainer'].'' : '' ?> +
+ From 42f6ee09e5b943a689556749281b0ed0d5fce2b9 Mon Sep 17 00:00:00 2001 From: Grummfy Date: Sun, 20 Jul 2014 16:48:30 +0200 Subject: [PATCH 2/6] oups --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 9f4bbcd9..a1d03bc9 100644 --- a/index.php +++ b/index.php @@ -166,7 +166,7 @@ $formats = Format::searchInformation(); foreach($anUse as $argName => $argDescription) { $idArg = 'arg-' . $bridgeReference . '-' . $anUseNum . '-' . $argName; - echo '' + echo ''; } foreach( $formats as $name => $infos ) From c297869a3cd0863396581cc17fdcce41d0d58eea Mon Sep 17 00:00:00 2001 From: Grummfy Date: Sun, 20 Jul 2014 16:49:53 +0200 Subject: [PATCH 3/6] - --- index.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index a1d03bc9..1f71ed5b 100644 --- a/index.php +++ b/index.php @@ -147,8 +147,9 @@ $formats = Format::searchInformation(); $bridgeInformations): + + if(BridgeWhitelist($whitelist_selection, $bridgeReference)): ?> -

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

@@ -198,10 +199,11 @@ $formats = Format::searchInformation(); '.$bridgeInformations['maintainer'].'' : '' ?>

- +