2012-07-11 14:02:31 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2012-09-20 08:46:21 +02:00
|
|
|
* Name: Blog
|
2013-01-23 15:55:59 +01:00
|
|
|
* Version: 0.5
|
|
|
|
* Description: Blog theme ported from <a href='http://wordpress.org/extend/themes/twentyeleven'>Twenty Eleven wordpress theme</a>
|
2012-09-20 08:46:21 +02:00
|
|
|
* Author: Fabio <http://kirgroup.com/profile/fabrixxm>
|
|
|
|
* Maintainer: Fabio <http://kirgroup.com/profile/fabrixxm>
|
|
|
|
*/
|
|
|
|
|
2012-07-11 14:02:31 +02:00
|
|
|
|
|
|
|
function blog_init(&$a) {
|
|
|
|
|
2013-01-23 15:55:59 +01:00
|
|
|
$a->theme_info = array();
|
2013-01-22 17:50:37 +01:00
|
|
|
}
|
|
|
|
|
2013-01-23 15:55:59 +01:00
|
|
|
function blogtheme_imgurl($headimg) {
|
|
|
|
$a = get_app();
|
|
|
|
if ($headimg[0]==".") return $a->get_baseurl().'/view/theme/blog/headers/'.substr($headimg,1);
|
|
|
|
if ($headimg == "~none~") return "";
|
|
|
|
return False;
|
2012-07-11 14:02:31 +02:00
|
|
|
}
|