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;
|
||||
}
|
||||
|
||||
.maintainer {
|
||||
font-size:60%;
|
||||
float:right;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.placeholder {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
input, label {
|
||||
font-size: 80%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@ $formats = Format::searchInformation();
|
|||
<?php
|
||||
$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 foreach( $formats as $name => $infos ): ?>
|
||||
<?php if( isset($infos['name']) ){ echo getHelperButtonFormat($name, $infos['name']); } ?>
|
||||
|
@ -132,6 +132,7 @@ $formats = Format::searchInformation();
|
|||
<?php endforeach; ?>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
<?php echo isset($bridgeInformations['maintainer']) ? '<span class="maintainer">'.$bridgeInformations['maintainer'].'</span>' : '' ?>
|
||||
</section>
|
||||
<?php endforeach; ?>
|
||||
<footer>
|
||||
|
|
|
@ -137,7 +137,7 @@ class Bridge{
|
|||
|
||||
$listBridge = array();
|
||||
|
||||
$searchCommonPattern = array('description', 'name');
|
||||
$searchCommonPattern = array('maintainer', 'description', 'name');
|
||||
|
||||
$dirFiles = scandir($pathDirBridge);
|
||||
if( $dirFiles !== false ){
|
||||
|
@ -184,4 +184,4 @@ class Bridge{
|
|||
|
||||
return $listBridge;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue