diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-07-03 14:21:51 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-07-04 10:11:16 +0200 |
commit | 3c691c9ec9b659897f4dda3769da7049c1ed23a9 (patch) | |
tree | 0f82fb63950245a312b0848b6200db81073f74a3 /apps/files_sharing/templates | |
parent | d46e62886a2b22a4c80df8cca09fb6f354d48614 (diff) | |
download | nextcloud-server-3c691c9ec9b659897f4dda3769da7049c1ed23a9.tar.gz nextcloud-server-3c691c9ec9b659897f4dda3769da7049c1ed23a9.zip |
move to non-static OC_Defaults
Conflicts:
lib/mail.php
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/public.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index a3a73f77ab7..e1cb35c2c1c 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -2,7 +2,7 @@ <div id="notification" style="display: none;"></div> </div> -<?php OC_Defaults::init(); // initialize themable default strings and urls ?> +<?php $defaults = new OC_Defaults(); // 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"> @@ -11,7 +11,7 @@ <header><div id="header"> <a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud"><img class="svg" src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="ownCloud" /></a> - <div id="logo-claim" style="display:none;"><?php p(OC_Defaults::getLogoClaim()); ?></div> + <div id="logo-claim" style="display:none;"><?php p($defaults->getLogoClaim()); ?></div> <div class="header-right"> <?php if (isset($_['folder'])): ?> <span id="details"><?php p($l->t('%s shared the folder %s with you', @@ -91,6 +91,6 @@ </div> <footer> <p class="info"> - <?php print_unescaped(OC_Defaults::getLongFooter()); ?> + <?php print_unescaped($defaults->getLongFooter()); ?> </p> </footer> |