summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-07-03 12:38:20 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-07-04 10:09:28 +0200
commitd46e62886a2b22a4c80df8cca09fb6f354d48614 (patch)
tree92324f0798a786259e4c31af3a8553a63e57e626 /apps
parent51cfacd78903e9b24df3cb6de178ec19805fd444 (diff)
downloadnextcloud-server-d46e62886a2b22a4c80df8cca09fb6f354d48614.tar.gz
nextcloud-server-d46e62886a2b22a4c80df8cca09fb6f354d48614.zip
Add init funtion to OC_Defaults to be able to wrap translatable strings
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/templates/public.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index cbd5ddf7a7d..a3a73f77ab7 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -2,6 +2,8 @@
<div id="notification" style="display: none;"></div>
</div>
+<?php OC_Defaults::init(); // initialize themable default strings and urls ?>
+
<input type="hidden" name="dir" value="<?php p($_['dir']) ?>" id="dir">
<input type="hidden" name="downloadURL" value="<?php p($_['downloadURL']) ?>" id="downloadURL">
<input type="hidden" name="filename" value="<?php p($_['filename']) ?>" id="filename">