forked from blallo/rss-bridge
Add bridge info: maintainer
This commit is contained in:
parent
7bee777362
commit
6956468b64
3 changed files with 11 additions and 4 deletions
|
@ -120,10 +120,16 @@ section {
|
||||||
color: #555;
|
color: #555;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.maintainer {
|
||||||
|
font-size:60%;
|
||||||
|
float:right;
|
||||||
|
color: #777;
|
||||||
|
}
|
||||||
|
|
||||||
.placeholder {
|
.placeholder {
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
input, label {
|
input, label {
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,7 +114,7 @@ $formats = Format::searchInformation();
|
||||||
<?php
|
<?php
|
||||||
$idArg = 'arg-' . $bridgeReference . '-' . $anUseNum . '-' . $argName;
|
$idArg = 'arg-' . $bridgeReference . '-' . $anUseNum . '-' . $argName;
|
||||||
?>
|
?>
|
||||||
<input id="<?php echo $idArg ?>" type="text" value="" placeholder="<?php echo $argDescription; ?>" name="<?php echo $argName ?>" placeholder="<?php echo $argDescription ?>" />
|
<input id="<?php echo $idArg ?>" type="text" value="" placeholder="<?php echo $argDescription; ?>" name="<?php echo $argName ?>" />
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php foreach( $formats as $name => $infos ): ?>
|
<?php foreach( $formats as $name => $infos ): ?>
|
||||||
<?php if( isset($infos['name']) ){ echo getHelperButtonFormat($name, $infos['name']); } ?>
|
<?php if( isset($infos['name']) ){ echo getHelperButtonFormat($name, $infos['name']); } ?>
|
||||||
|
@ -132,6 +132,7 @@ $formats = Format::searchInformation();
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</form>
|
</form>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
<?php echo isset($bridgeInformations['maintainer']) ? '<span class="maintainer">'.$bridgeInformations['maintainer'].'</span>' : '' ?>
|
||||||
</section>
|
</section>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<footer>
|
<footer>
|
||||||
|
|
|
@ -137,7 +137,7 @@ class Bridge{
|
||||||
|
|
||||||
$listBridge = array();
|
$listBridge = array();
|
||||||
|
|
||||||
$searchCommonPattern = array('description', 'name');
|
$searchCommonPattern = array('maintainer', 'description', 'name');
|
||||||
|
|
||||||
$dirFiles = scandir($pathDirBridge);
|
$dirFiles = scandir($pathDirBridge);
|
||||||
if( $dirFiles !== false ){
|
if( $dirFiles !== false ){
|
||||||
|
@ -184,4 +184,4 @@ class Bridge{
|
||||||
|
|
||||||
return $listBridge;
|
return $listBridge;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue