| 1 |
<?php |
<?php |
| 2 |
// $Id: zoomify.module,v 1.1.2.2.2.5 2008/12/04 04:32:32 kratib Exp $ |
// $Id: zoomify.module,v 1.1.2.2.2.6 2008/12/25 20:42:44 kratib Exp $ |
| 3 |
|
|
| 4 |
require_once('pathinfo_filename.inc'); |
require_once('pathinfo_filename.inc'); |
| 5 |
require_once('rrmdir.inc'); |
require_once('rrmdir.inc'); |
| 97 |
function theme_zoomify_admin_settings($form) { |
function theme_zoomify_admin_settings($form) { |
| 98 |
$output = ''; |
$output = ''; |
| 99 |
$output .= drupal_render($form); |
$output .= drupal_render($form); |
| 100 |
$output .= '<p class="cvs-version">$Id: zoomify.module,v 1.1.2.2.2.5 2008/12/04 04:32:32 kratib Exp $</p>'; |
$output .= '<p class="cvs-version">$Id: zoomify.module,v 1.1.2.2.2.6 2008/12/25 20:42:44 kratib Exp $</p>'; |
| 101 |
return $output; |
return $output; |
| 102 |
} |
} |
| 103 |
|
|
| 133 |
} |
} |
| 134 |
|
|
| 135 |
drupal_set_title($node->title); |
drupal_set_title($node->title); |
| 136 |
$viewer = url(drupal_get_path('module', 'zoomify') .'/zoomifyViewer.swf', NULL, NULL, TRUE); |
global $base_url; |
| 137 |
|
$viewer = $base_url .'/'. drupal_get_path('module', 'zoomify') .'/zoomifyViewer.swf'; |
| 138 |
$fids = array_keys($images); |
$fids = array_keys($images); |
| 139 |
$image = file_create_url(_zoomify_filepath($node, $fids[$index])); |
$image = file_create_url(_zoomify_filepath($node, $fids[$index])); |
| 140 |
$width = variable_get('zoomify_width', 800); |
$width = variable_get('zoomify_width', 800); |