This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/contrib/qr_code/theme.php

10 lines
243 B
PHP
Raw Normal View History

2010-01-24 10:40:07 +00:00
<?php
class QRImageTheme extends Themelet {
public function links_block($link) {
global $page;
2010-01-24 10:40:07 +00:00
$page->add_block( new Block(
"QR Code","<img src='http://chart.apis.google.com/chart?chs=150x150&cht=qr&chl=$link' />","left",50));
2010-01-24 10:40:07 +00:00
}
}
?>