root/trunk/plog-print.php

Revision 568, 0.6 KB (checked in by kimparsell, 4 months ago)

+ Fix added to resolve ticket #124 (404 error) - proper 404 errors are now generated with both default and cruft-free URLs (joint effort between sidtheduck and kimparsell)
+ Themes updated to include 404.php and stylesheet change for new page
+ Minor markup change to plog-themes.php to provide alt text for theme thumbnails
+ Added dropdown menu to plog-manage.php for selection entries/page
+ Minor changes to admin.css
+ Misc. cleanup

Line 
1<?php
2
3include(dirname(__FILE__)."/plog-load-config.php");
4
5$picture = get_picture_by_id($_GET['id']);
6$GLOBALS['plogger_level'] = "picture";
7$GLOBALS['plogger_id'] = $_GET['id'];
8$GLOBALS['plogger_mode'] = "print";
9
10?>
11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
12    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
13<html xml:lang="<?php echo $language ?>" lang="<?php echo $language ?>" xmlns="http://www.w3.org/1999/xhtml">
14<head>
15<title><?php echo get_head_title() ?></title>
16</head>
17
18<body onload="window.print();">
19
20<div><img src="<?php echo $picture['url']; ?>" alt="<?php echo $picture['caption']; ?>" /></div>
21
22</body>
23</html>
Note: See TracBrowser for help on using the browser.