html5 validation
This commit is contained in:
parent
8b72409763
commit
dde5d4c9b5
@ -3,7 +3,7 @@ class QRImageTheme extends Themelet {
|
||||
public function links_block($link) {
|
||||
global $page;
|
||||
$page->add_block( new Block(
|
||||
"QR Code","<img src='http://chart.apis.google.com/chart?chs=150x150&cht=qr&chl=$link' />","left",50));
|
||||
"QR Code","<img alt='QR Code' src='http://chart.apis.google.com/chart?chs=150x150&cht=qr&chl=$link' />","left",50));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -563,6 +563,7 @@ class Image {
|
||||
$tmpl = str_replace('$filesize', to_shorthand_int($this->filesize), $tmpl);
|
||||
$tmpl = str_replace('$filename', $_escape($base_fname), $tmpl);
|
||||
$tmpl = str_replace('$title', $_escape($config->get_string("title")), $tmpl);
|
||||
$tmpl = str_replace(' ', '%20', $tmpl);
|
||||
|
||||
// nothing seems to use this, sending the event out to 50 exts is a lot of overhead
|
||||
if(!SPEED_HAX) {
|
||||
|
@ -5,7 +5,7 @@ class PixelFileHandlerTheme extends Themelet {
|
||||
global $config;
|
||||
|
||||
$u_ilink = $image->get_image_link();
|
||||
$html = "<img id='main_image' src='$u_ilink'>";
|
||||
$html = "<img alt='main image' id='main_image' src='$u_ilink'>";
|
||||
if($config->get_bool("image_show_meta")) {
|
||||
# FIXME: only read from jpegs?
|
||||
$exif = @exif_read_data($image->get_image_filename(), 0, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user