<th>SNAC</th>
        <th><abbr title="Country">Cty</abbr></th>
        <th>Authority</th>
        <th>Service</th>
        <th>Interaction</th>
        <th>URL</th>
        <th>Problem</th>
        <th>Tools</th>
      </tr>
    </thead>
    <tbody>
  <?php 
    foreach ($problem_urls as $url) {
        ?>
      <tr class="<?php 
        echo will_url_be_used($url->authority_type, $url->provided_district, $url->provided_county, $url->provided_unitary);
        ?>
">
        <td><a href="<?php 
        echo site_url(array('authorities', $url->snac));
        ?>
"><?php 
        echo $url->snac;
        ?>
</a></td>
        <td><?php 
        echo format_flag($url->authority_country);
        ?>
</td>
        <td><?php 
        echo $url->authority;
Beispiel #2
0
<h2 id="missingauthorities">Authorities not providing URLs</h2>

<table class="table table-striped">
  <thead>
    <tr>
      <th>SNAC</th>
      <th><abbr title="Country">Cty</abbr></th>
      <th>Authority</th>
    </tr>
  </thead>
  <tbody>
<?php 
foreach ($missing_authorities as $authority) {
    ?>
    <tr class="<?php 
    echo will_url_be_used($authority->type, $service->provided_district, $service->provided_county, $service->provided_unitary);
    ?>
">
      <td><?php 
    echo $authority->snac;
    ?>
</td>
      <td><?php 
    echo format_flag($authority->country);
    ?>
</td>
      <td><?php 
    echo $authority->name;
    ?>
 (<?php 
    echo $authority->type;