Subversion Repositories ZenDark

Revisione

Revisione 13 | Responsabilità | Confronta con la precedente | Ultima modifica | Visualizza Log | feed RSS

<?php
/*
 * The template used for displaying page content in zenphoto-page.php
 */


// This load the js to properly display the iframe
add_action('wp_head', '<script src="'.get_template_directory_uri().'/js/iframe.js" type="text/javascript"></script>');

// Recall Zenphoto installation URL
$options = get_option('zendark_theme_options');
?>
<script src="<?php echo get_template_directory_uri(); ?>/js/iframe.js" type="text/javascript"></script>

<div id="iframe-title">
  <?php _e('Permalink:', 'zendark'); ?> <a href="a" id="iframe-url">a</a>
</div>
<div>
  <iframe id="iframe-page" src="<?php echo $options['zenphoto_url']; ?>" height="100%"
  onLoad="zendark_autoResize('iframe-page');zendark_getURL('iframe-page');" scrolling="no" frameborder="0"></iframe>
</div>