added support for numbers with leading zero

This commit is contained in:
Frank Schubert
2021-12-21 21:47:30 +01:00
parent 038c8d5c47
commit b79c5cbc3e
4 changed files with 64 additions and 10 deletions

View File

@@ -113,10 +113,9 @@
<table class="table table-striped table-hover">
<tr>
<th>ID</th>
<th>Name</th>
<th>Country Code</th>
<th>Area Code</th>
<th>Landeskennzahl</th>
<th>Ortskennzahl</th>
<th>Anfang</th>
<th>Ende</th>
<th>Kommentar</th>
@@ -124,12 +123,11 @@
</tr>
<?php foreach($blocks as $block): ?>
<tr>
<td><?=$block->id?></td>
<td><?=$block->name?></td>
<td><?=$block->countrycode?></td>
<td><?=$block->areacode?></td>
<td><?=$block->first?></td>
<td><?=$block->last?></td>
<td><?=$block->getFirst()?></td>
<td><?=$block->getLast()?></td>
<td><?=$block->comment?></td>
<td style="text-align: left; letter-spacing: 4px; font-size: 1.1em;">
<a href="<?=self::getUrl("Voicenumberblock", "edit", ["id" => $block->id])?>"><i class="far fa-edit" title="Bearbeiten"></i></a>