You are here

photos_down.tpl.php in Album Photos 7.3

Same filename and directory in other branches
  1. 6.2 tpl/photos_down.tpl.php

Formats share image url page.

File

tpl/photos_down.tpl.php
View source
<?php

/**
 * @file
 * Formats share image url page.
 */
if ($type == 'print') {
  ?>
<!DOCTYPE HTML>
<html lang="<?php

  print $GLOBALS['language']->language;
  ?>" xml:lang="<?php

  print $GLOBALS['language']->language;
  ?>">
<head>
  <title><?php

  print drupal_get_title();
  ?></title>
  <?php

  print drupal_get_html_head();
  ?>
  <?php

  print drupal_get_css();
  ?>
  <?php

  print drupal_get_js('header');
  ?>
</head>
<body class="photos-download-page">
<?php

}
?>
<div class="photos_download_bucket">
  <div class="photos_album_float_right">
    <?php

print $content['info'];
?>
  </div>
  <?php

if (isset($content['back'])) {
  ?>
    <?php

  print $content['back'];
  ?>
  <?php

}
?>
</div>
<div class="photos_download_menu">
  <div class="photos_download_menu_t">
    <?php

if (isset($content['link']['sizes'])) {
  ?>
      <?php

  print $content['link']['sizes'];
  ?>
    <?php

}
?>
    <?php

if (isset($content['link']['exif'])) {
  ?>
      <?php

  print $content['link']['exif'];
  ?>
    <?php

}
?>
    <?php

if (isset($content['link']['vote'])) {
  ?>
      <?php

  print $content['link']['vote'];
  ?>
    <?php

}
?>
  </div>
  <?php

if (isset($content['sizes'])) {
  ?>
    <div class="photos_download_menu_b"><ul>
      <?php

  unset($content['link']['sizes']);
  foreach ($content['link'] as $link) {
    print '<li>' . $link . '</li>';
  }
  ?>
    </ul></div>
  <?php

}
?>
</div>
 
<?php

if (isset($content['sharing_url'])) {
  ?>
<div id="photos-image-sharing">
<input type="text" class="image-quote-link" value='<a title="<?php

  print $content['sharing_title'];
  ?>" href="<?php

  print $content['sharing_link'];
  ?>"><img src="<?php

  print $content['sharing_url'];
  ?>"></a>'/>
<input type="text" class="image-quote-link" value="<?php

  print $content['sharing_url'];
  ?>"/>
</div>
<?php

}
?>
 
<div class="photos_download_view">
  <?php

print $content['view'];
?>
</div>
<?php

if ($type == 'print') {
  print drupal_get_js('footer');
  ?>
</body>
</html>
<?php

}