diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-12-14 15:15:05 +0000 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-12-14 15:15:05 +0000 |
commit | 5fe61296981343a3f877618aeecfc33ea7fed3c1 (patch) | |
tree | 919ea533c8d98f71f7c77d534eb0595207d22a17 /settings/templates | |
parent | 4facd766e3712d4c714f2e1bf2ad4be41461a7cc (diff) | |
parent | f0893fb8fe7f0642ae30de2e1168472377c127e2 (diff) | |
download | nextcloud-server-5fe61296981343a3f877618aeecfc33ea7fed3c1.tar.gz nextcloud-server-5fe61296981343a3f877618aeecfc33ea7fed3c1.zip |
Merge master into ocs_api, fix conflicts.
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/admin.php | 16 | ||||
-rw-r--r-- | settings/templates/apps.php | 2 | ||||
-rw-r--r-- | settings/templates/help.php | 7 | ||||
-rw-r--r-- | settings/templates/personal.php | 7 | ||||
-rw-r--r-- | settings/templates/users.php | 2 |
5 files changed, 26 insertions, 8 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 35f34489fec..9c4ee0bf680 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -3,7 +3,7 @@ * This file is licensed under the Affero General Public License version 3 or later. * See the COPYING-README file. */ -$levels=array('Debug','Info','Warning','Error','Fatal'); +$levels=array('Debug','Info','Warning','Error', 'Fatal'); ?> <?php @@ -22,6 +22,20 @@ if(!$_['htaccessworking']) { } ?> +<?php +if(!$_['internetconnectionworking']) { +?> +<fieldset class="personalblock"> + <legend><strong><?php echo $l->t('Internet connection not working');?></strong></legend> + + <span class="connectionwarning"> + <?php echo $l->t('This ownCloud server has no working internet connection. This means that some of the features like mounting of external storage, notifications about updates or installation of 3rd party apps donĀ“t work. Accessing files from remote and sending of notification emails might also not work. We suggest to enable internet connection for this server if you want to have all features of ownCloud.'); ?> + </span> + +</fieldset> +<?php +} +?> <?php foreach($_['forms'] as $form) { echo $form; diff --git a/settings/templates/apps.php b/settings/templates/apps.php index 1e9598de1e3..38e2af8a51a 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -16,7 +16,7 @@ data-type="<?php echo $app['internal'] ? 'internal' : 'external' ?>" data-installed="1"> <a class="app<?php if(!$app['internal']) echo ' externalapp' ?>" href="?appid=<?php echo $app['id'] ?>"><?php echo htmlentities($app['name']) ?></a> <script type="application/javascript"> - appData_<?php echo $app['id'] ?>=<?php OC_JSON::encodedPrint($app,false) ?>; + appData_<?php echo $app['id'] ?>=<?php OC_JSON::encodedPrint($app, false) ?>; </script> <?php if(!$app['internal']) echo '<small class="externalapp list">3rd party</small>' ?> </li> diff --git a/settings/templates/help.php b/settings/templates/help.php index b2a78ff8512..75201a86a9f 100644 --- a/settings/templates/help.php +++ b/settings/templates/help.php @@ -1,4 +1,4 @@ -<?php +<?php /** * 2012 Frank Karlitschek frank@owncloud.org * This file is licensed under the Affero General Public License version 3 or later. @@ -12,13 +12,12 @@ <?php $url=OC_Helper::linkTo( "settings", "help.php" ).'?page='; $pageNavi=OC_Util::getPageNavi($_['pagecount'], $_['page'], $url); - if($pageNavi) - { + if($pageNavi) { $pageNavi->printPage(); } ?> </diV> -<?php if(is_null($_["kbe"])):?> +<?php if(!is_array($_["kbe"]) || !count($_["kbe"])):?> <div class="helpblock"> <p><?php echo $l->t('Problems connecting to help database.');?></p> <p><a href="http://apps.owncloud.com/kb"><?php echo $l->t('Go there manually.');?></a></p> diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 55ff24b4223..d02bcdd7ea5 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -5,7 +5,7 @@ */?> <div id="quota" class="personalblock"><div style="width:<?php echo $_['usage_relative'];?>%;"> - <p id="quotatext"><?php echo $l->t('You have used <strong>%s</strong> of the available <strong>%s<strong>', array($_['usage'], $_['total_space']));?></p> + <p id="quotatext"><?php echo $l->t('You have used <strong>%s</strong> of the available <strong>%s</strong>', array($_['usage'], $_['total_space']));?></p> </div></div> <div class="personalblock"> @@ -56,4 +56,9 @@ };?> +<p class="personalblock"> + <strong>ownCloud</strong> <?php echo(OC_Util::getVersionString()); ?> <?php echo(OC_Util::getEditionString()); ?> <br /> + <?php echo $l->t('Developed by the <a href="http://ownCloud.org/contact" target="_blank">ownCloud community</a>, the <a href="https://github.com/owncloud" target="_blank">source code</a> is licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank"><abbr title="Affero General Public License">AGPL</abbr></a>.'); ?> +</p> + diff --git a/settings/templates/users.php b/settings/templates/users.php index eef9b291357..de7e50da8f3 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -142,7 +142,7 @@ var isadmin = <?php echo $_['isadmin']?'true':'false'; ?>; </div> </td> <td class="remove"> - <?php if($user['name']!=OC_User::getUser()):?> + <?php if($user['name']!=OC_User::getUser()):?> <a href="#" class="action delete" original-title="<?php echo $l->t('Delete')?>"> <img src="<?php echo image_path('core', 'actions/delete.svg') ?>" /> </a> |