summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2018-02-02 10:55:28 +0000
committerNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2018-02-02 10:55:28 +0000
commit8854d382910a27f66cf16afb66cd0741617168e4 (patch)
tree7472c54824abbc9dba9ffed7009cb0f70e24d158 /index.php
parent3e0ec40981f40c388b0347fb045e6f8f4292a397 (diff)
Support a config item for the length of the routers list
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 64e72bb..714bed6 100644
--- a/index.php
+++ b/index.php
@@ -42,7 +42,7 @@ final class LookingGlass {
private function render_routers() {
print('<div class="form-group">');
print('<label for="routers">Router to use</label>');
- print('<select size="5" class="form-control" name="routers" id="routers">');
+ print('<select size="'.$this->frontpage['router_count'].'" class="form-control" name="routers" id="routers">');
$first = true;
foreach (array_keys($this->routers) as $router) {