Such linting, such wow. Much clean.
This commit is contained in:
@ -1,9 +1,12 @@
|
||||
<?php
|
||||
class QRImageTheme extends Themelet {
|
||||
/**
|
||||
* @param string $link
|
||||
*/
|
||||
public function links_block($link) {
|
||||
global $page;
|
||||
$page->add_block( new Block(
|
||||
"QR Code","<img alt='QR Code' 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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user