Subversion Repositories ZenDark

Rev

Rev 9 | Rev 13 | Go to most recent revision | 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
10
$options = get_option('sdt_theme_options');
11
?>
12
<script src="<?php echo get_template_directory_uri(); ?>/js/iframe.js" type="text/javascript"></script>
13
 
14
<div id="iframe-title">
15
  <?php _e('Permalink:', 'sdt'); ?> <a href="a" id="iframe-url">a</a>
16
</div>
17
<div>
9 iacchi 18
  <iframe id="iframe-page" src="<?php echo $options['zenphoto_url']; ?>" height="100%"
10 iacchi 19
  onLoad="sdt_autoResize('iframe-page');sdt_getURL('iframe-page');" scrolling="no"></iframe>
9 iacchi 20
</div>