| 1 |
<?php |
<?php |
| 2 |
// $Id: zoomify.module,v 1.1.2.2.2.2.2.4 2008/10/27 21:01:45 kratib Exp $ |
// $Id: zoomify.module,v 1.1.2.2.2.2.2.5 2008/12/04 04:29:39 kratib Exp $ |
| 3 |
|
|
| 4 |
require_once('pathinfo_filename.inc'); |
require_once('pathinfo_filename.inc'); |
| 5 |
require_once('rrmdir.inc'); |
require_once('rrmdir.inc'); |
| 98 |
function theme_zoomify_admin_settings($form) { |
function theme_zoomify_admin_settings($form) { |
| 99 |
$output = ''; |
$output = ''; |
| 100 |
$output .= drupal_render($form); |
$output .= drupal_render($form); |
| 101 |
$output .= '<p class="cvs-version">$Id: zoomify.module,v 1.1.2.2.2.2.2.4 2008/10/27 21:01:45 kratib Exp $</p>'; |
$output .= '<p class="cvs-version">$Id: zoomify.module,v 1.1.2.2.2.2.2.5 2008/12/04 04:29:39 kratib Exp $</p>'; |
| 102 |
return $output; |
return $output; |
| 103 |
} |
} |
| 104 |
|
|
| 135 |
} |
} |
| 136 |
|
|
| 137 |
drupal_set_title($node->title); |
drupal_set_title($node->title); |
| 138 |
$viewer = url(drupal_get_path('module', 'zoomify') .'/zoomifyViewer.swf', array('absolute' => TRUE)); |
global $base_url; |
| 139 |
|
$viewer = $base_url .'/'. drupal_get_path('module', 'zoomify') .'/zoomifyViewer.swf'; |
| 140 |
$fids = array_keys($images); |
$fids = array_keys($images); |
| 141 |
$image = file_create_url(_zoomify_filepath($node, $fids[$index])); |
$image = file_create_url(_zoomify_filepath($node, $fids[$index])); |
| 142 |
$width = variable_get('zoomify_width', 800); |
$width = variable_get('zoomify_width', 800); |