You are here

countryicons-help.tpl.php in Country Icons 6.2

Help page for countryicons.

File

countryicons-help.tpl.php
View source
<?php

/**
 * @file
 * Help page for countryicons.
 */
?>
<p><?php

print t('This module provides a collection of country icons, and an API for retrieving them. For more information read the full documentation <a href="!doc_url">here</a>.', array(
  '!doc_url' => 'http://drupal.org/node/1091406',
));
?></p>
<h3><?php

print t('Available iconsets');
?></h3>
<dl>
  <?php

foreach ($iconsets as $iconset) {
  ?>
  <dt><strong><?php

  print $iconset->name;
  ?> (<?php

  print $iconset->key;
  ?>)</strong></dt>
    <dd>
      <div><?php

  print t('Description:');
  ?> <?php

  print $iconset->description;
  ?></div>
      <div><?php

  print t('Images:');
  ?> <?php

  print $iconset->width;
  ?>x<?php

  print $iconset->height;
  ?>px <?php

  print $iconset->extension;
  ?></div>
      <div><?php

  print t('Supports CSS sprite: ');
  print $iconset->css_sprite ? t('yes') : t('no');
  ?></div>
      <div><?php

  print t('Example:');
  ?> <?php

  print theme('countryicons_icon', 'se', $iconset->key);
  ?></div>
    </dd>
  <?php

}
?>

  <?php

if (empty($iconsets)) {
  ?>
  <dt><strong><?php

  print t('No iconsets available! Please download and install, at least, one iconset to use this module.');
  ?></strong></dt>
  <?php

}
?>
</dl>