Subversion Repositories ZenDark

Rev

Rev 13 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 iacchi 1
<?php
2
/*
3
 * The template used for displaying page content in zenphoto-page.php
4
 */
5
 
6
// This load the js to properly display the iframe
7
add_action('wp_head', '<script src="'.get_template_directory_uri().'/js/iframe.js" type="text/javascript"></script>');
8
 
9
// Recall Zenphoto installation URL
27 iacchi 10
$options = get_option('zendark_theme_options');
3 iacchi 11
?>
12
<script src="<?php echo get_template_directory_uri(); ?>/js/iframe.js" type="text/javascript"></script>
13
 
14
<div id="iframe-title">
27 iacchi 15
  <?php _e('Permalink:', 'zendark'); ?> <a href="a" id="iframe-url">a</a>
3 iacchi 16
</div>
17
<div>
9 iacchi 18
  <iframe id="iframe-page" src="<?php echo $options['zenphoto_url']; ?>" height="100%"
27 iacchi 19
  onLoad="zendark_autoResize('iframe-page');zendark_getURL('iframe-page');" scrolling="no" frameborder="0"></iframe>
9 iacchi 20
</div>