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

core/templates/log_plugins.php
<?php

/*
 * log_plugins.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 List of plugins or modules as an associative array.
 * @param string $row['Name'] Plugin's / Module's name
 * @param string $row['Version'] - Plugin's / Module's version
 */
?>
<table>
  <thead>
    <tr>
      <th><?php echo InstapageCmsPluginConnector::lang('#'); ?></th>
      <th><?php echo InstapageCmsPluginConnector::lang('Name'); ?></th>
      <th><?php echo InstapageCmsPluginConnector::lang('Version'); ?></th>
    </tr>
  </thead>
  <tbody>
    <?php $index = 1; ?>
    <?php foreach ($rows as $key => $row): ?>
        <tr>
            <td><?php echo InstapageCmsPluginConnector::escapeHTML($index); ?></td>
            <td><?php echo InstapageCmsPluginConnector::escapeHTML($row['Name']); ?></td>
            <td><?php echo InstapageCmsPluginConnector::escapeHTML($row['Version']); ?></td>
        </tr>
        <?php $index++; ?>
    <?php endforeach; ?>
  </tbody>
</table>

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

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