(root)/content-zenphoto.php - Rev 4
Rev 10 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
<?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('sdt_theme_options');
?>
<script src="<?php echo get_template_directory_uri(); ?>/js/iframe.js" type="text/javascript"></script>
<div id="iframe-title">
<?php _e('Permalink:', 'sdt'); ?> <a href="a" id="iframe-url">a</a>
</div>
<div>
<iframe id="iframe-page" src="<?php echo $options['zenphoto_url']; ?>" height="100%" onLoad="sdt_autoResize('iframe-page');sdt_getURL('iframe-page');" scrolling="no"></iframe>
</div>