mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
Merge pull request #405 from fermionic/support-for-mobile-themes
changes to support a mobile theme
This commit is contained in:
commit
aa5e60248a
12 changed files with 260 additions and 40 deletions
|
@ -256,6 +256,7 @@ function get_theme_info($theme){
|
|||
'author' => array(),
|
||||
'maintainer' => array(),
|
||||
'version' => "",
|
||||
'credits' => "",
|
||||
'experimental' => false,
|
||||
'unsupported' => false
|
||||
);
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue