Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2019-04-26 18:18:32 +0300
committerPhie <phie@phie.ovh>2019-04-26 18:18:32 +0300
commitc7cb306112dac8bf201a2f8bfb43f65fd333f742 (patch)
treeeefbe8c146f5228ecee4f0887eff371d21eed47d /templates
parent70a0ea24791a7262b888d6196773c605e968c6ff (diff)
fix nc16
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/index.php b/templates/index.php
index 352ccdd..e6a1d0b 100755
--- a/templates/index.php
+++ b/templates/index.php
@@ -19,8 +19,11 @@ $file = preg_replace_callback('/<script(.*?)src=\"(.*?\.js(?:\?.*?)?)"/s',functi
return "<script".$matches[1]."src=\"".$matches[2]."?mtime=".filemtime($currentpath.$matches[2])."\"";
}, $file);
-if($_['carnet_display_fullscreen']==="yes")
+if($_['carnet_display_fullscreen']==="yes"){
script("carnet","../templates/CarnetElectron/compatibility/nextcloud/browser_fullscreen");
+ if($_['nc_version']>=16)
+ style("carnet","../templates/CarnetElectron/compatibility/nextcloud/nc16");
+}
else {
if($_['nc_version']>=14)
style("carnet","../templates/CarnetElectron/compatibility/nextcloud/nc14-header");