instapage_cms_plugin-8.x-3.34/core/templates/log_options.php

core/templates/log_options.php
<?php

/*
 * log_options.php is a template file. It's meant to be included in other php files. To work properly variables need to be set before file inclusion:
 * @param array $rows - options as an associative array. Key is the option name and value if option's value.
 */
?>
<table>
  <thead>
    <tr>
      <th><?php echo InstapageCmsPluginConnector::lang('#'); ?></th>
      <th><?php echo InstapageCmsPluginConnector::lang('Key'); ?></th>
      <th><?php echo InstapageCmsPluginConnector::lang('Value'); ?></th>
    </tr>
  </thead>
  <tbody>
    <?php $index = 1; ?>
    <?php foreach ($rows as $key => $value): ?>
        <tr>
            <td><?php echo InstapageCmsPluginConnector::escapeHTML($index) ?></td>
            <td><?php echo InstapageCmsPluginConnector::escapeHTML($key) ?></td>
            <td><?php echo InstapageCmsPluginConnector::escapeHTML($value) ?></td>
        </tr>
        <?php $index++; ?>
    <?php endforeach; ?>
  </tbody>
</table>

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc