Merge pull request #405 from fermionic/support-for-mobile-themes

changes to support a mobile theme
This commit is contained in:
friendica 2012-07-23 20:18:23 -07:00
commit aa5e60248a
12 changed files with 260 additions and 40 deletions

View file

@ -256,6 +256,7 @@ function get_theme_info($theme){
'author' => array(),
'maintainer' => array(),
'version' => "",
'credits' => "",
'experimental' => false,
'unsupported' => false
);

View file

@ -403,7 +403,7 @@ function load_view_file($s) {
return file_get_contents("$d/$lang/$b");
$theme = current_theme();
if(file_exists("$d/theme/$theme/$b"))
return file_get_contents("$d/theme/$theme/$b");