diff --git a/plugins/viewer/template.php b/plugins/viewer/template.php new file mode 100644 index 0000000..7da8acd --- /dev/null +++ b/plugins/viewer/template.php @@ -0,0 +1,111 @@ + + + <?php echo IMAGES_DIR.$simpleImagePath ?> + + + + + + + + + + + + +
+^ +
+ + + + + + + + + + + + + diff --git a/plugins/viewer/view.php b/plugins/viewer/view.php index e8400cd..ae5e686 100644 --- a/plugins/viewer/view.php +++ b/plugins/viewer/view.php @@ -76,117 +76,10 @@ $directoryUrl = $bizouRootUrl."index.php".dirname($simpleImagePath); $firefox = strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') !== false; +///// template starts here ///// header('Content-Type: text/html; charset=utf-8'); header('Expires: '.gmdate('D, d M Y H:i:s \G\M\T', time() + 3600)); + +require 'template.php'; + ?> - - - <?php echo IMAGES_DIR.$simpleImagePath ?> - - - - - - - - - - - - -
-^ -
- - - - - - - - - - - - -