From: Björn Schießle Date: Wed, 12 Jun 2013 12:33:24 +0000 (+0200) Subject: mage page title aware of ownCloud edition X-Git-Tag: v6.0.0alpha2~640^2~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7c108edc3603fd18300e5eba2af798dd1cdc41de;p=nextcloud-server.git mage page title aware of ownCloud edition --- diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index 336df27ef1c..cebb9e561f1 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.php @@ -6,7 +6,9 @@ - ownCloud + + <?php OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition") ?> + diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index a3a8dc5f7ba..70c29580a9f 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -6,7 +6,9 @@ - ownCloud + + <?php OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition") ?> + diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index a3ebf3abd03..dcd7562fd1c 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -6,8 +6,11 @@ - <?php p(!empty($_['application'])?$_['application'].' | ':'') ?>ownCloud - <?php p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?> + + <?php p(!empty($_['application'])?$_['application'].' | ':''); + OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition"); + p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?> +