Subversion Repositories ZenDark

Rev

Rev 13 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13 Rev 27
Line 5... Line 5...
5
5
6
// This load the js to properly display the iframe
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>');
7
add_action('wp_head', '<script src="'.get_template_directory_uri().'/js/iframe.js" type="text/javascript"></script>');
8
8
9
// Recall Zenphoto installation URL
9
// Recall Zenphoto installation URL
10
$options = get_option('sdt_theme_options');
-
 
-
 
10
$options = get_option('zendark_theme_options');
11
?>
11
?>
12
<script src="<?php echo get_template_directory_uri(); ?>/js/iframe.js" type="text/javascript"></script>
12
<script src="<?php echo get_template_directory_uri(); ?>/js/iframe.js" type="text/javascript"></script>
13
13
14
<div id="iframe-title">
14
<div id="iframe-title">
15
  <?php _e('Permalink:', 'sdt'); ?> <a href="a" id="iframe-url">a</a>
-
 
-
 
15
  <?php _e('Permalink:', 'zendark'); ?> <a href="a" id="iframe-url">a</a>
16
</div>
16
</div>
17
<div>
17
<div>
18
  <iframe id="iframe-page" src="<?php echo $options['zenphoto_url']; ?>" height="100%"
18
  <iframe id="iframe-page" src="<?php echo $options['zenphoto_url']; ?>" height="100%"
19
  onLoad="sdt_autoResize('iframe-page');sdt_getURL('iframe-page');" scrolling="no" frameborder="0"></iframe>
-
 
-
 
19
  onLoad="zendark_autoResize('iframe-page');zendark_getURL('iframe-page');" scrolling="no" frameborder="0"></iframe>
20
</div>
20
</div>