echo '<pclass="ldapwarning">'.$l->t('<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them.').'</p>';
print_unescaped('<pclass="ldapwarning">'.$l->t('<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them.').'</p>');
}
if(!function_exists('ldap_connect')) {
echo '<pclass="ldapwarning">'.$l->t('<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it.').'</p>';
print_unescaped('<pclass="ldapwarning">'.$l->t('<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it.').'</p>');
title="<?phpecho$l->t('The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty.');?>" /></p>
title="<?phpp($l->t('The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty.'));?>" /></p>
title="<?phpp($l->t('Defines the filter to apply, when retrieving groups.'));?>" />
<br/><small><?phpp($l->t('without any placeholder, e.g. "objectClass=posixGroup".'));?></small></p>
</fieldset>
<fieldsetid="ldapSettings-2">
<divid="ldapAdvancedAccordion">
<h3><?phpecho$l->t('Connection Settings');?></h3>
<h3><?phpp($l->t('Connection Settings'));?></h3>
<div>
<p><labelfor="ldap_configuration_active"><?phpecho$l->t('Configuration Active');?></label><inputtype="checkbox"id="ldap_configuration_active"name="ldap_configuration_active"value="1"data-default="<?phpecho$_['ldap_configuration_active_default'];?>"title="<?phpecho$l->t('When unchecked, this configuration will be skipped.');?>"/></p>
<p><labelfor="ldap_backup_host"><?phpecho$l->t('Backup (Replica) Host');?></label><inputtype="text"id="ldap_backup_host"name="ldap_backup_host"data-default="<?phpecho$_['ldap_backup_host_default'];?>"title="<?phpecho$l->t('Give an optional backup host. It must be a replica of the main LDAP/AD server.');?>"></p>
<p><labelfor="ldap_override_main_server"><?phpecho$l->t('Disable Main Server');?></label><inputtype="checkbox"id="ldap_override_main_server"name="ldap_override_main_server"value="1"data-default="<?phpecho$_['ldap_override_main_server_default'];?>"title="<?phpecho$l->t('When switched on, ownCloud will only connect to the replica server.');?>"/></p>
<p><labelfor="ldap_tls"><?phpecho$l->t('Use TLS');?></label><inputtype="checkbox"id="ldap_tls"name="ldap_tls"value="1"data-default="<?phpecho$_['ldap_tls_default'];?>"title="<?phpecho$l->t('Do not use it additionally for LDAPS connections, it will fail.');?>"/></p>
<p><labelfor="ldap_nocase"><?phpecho$l->t('Case insensitve LDAP server (Windows)');?></label><inputtype="checkbox"id="ldap_nocase"name="ldap_nocase"data-default="<?phpecho$_['ldap_nocase_default'];?>"value="1"<?phpif(isset($_['ldap_nocase'])&&($_['ldap_nocase']))echo' checked';?>></p>
<p><labelfor="ldap_turn_off_cert_check"><?phpecho$l->t('Turn off SSL certificate validation.');?></label><inputtype="checkbox"id="ldap_turn_off_cert_check"name="ldap_turn_off_cert_check"title="<?phpecho$l->t('If connection only works with this option, import the LDAP server\'s SSL certificate in your ownCloud server.');?>"data-default="<?phpecho$_['ldap_turn_off_cert_check_default'];?>"value="1"><br/><small><?phpecho$l->t('Not recommended, use for testing only.');?></small></p>
<p><labelfor="ldap_cache_ttl">Cache Time-To-Live</label><inputtype="number"id="ldap_cache_ttl"name="ldap_cache_ttl"title="<?phpecho$l->t('in seconds. A change empties the cache.');?>"data-default="<?phpecho$_['ldap_cache_ttl_default'];?>"/></p>
<p><labelfor="ldap_configuration_active"><?phpp($l->t('Configuration Active'));?></label><inputtype="checkbox"id="ldap_configuration_active"name="ldap_configuration_active"value="1"data-default="<?phpp($_['ldap_configuration_active_default']);?>"title="<?phpp($l->t('When unchecked, this configuration will be skipped.'));?>"/></p>
<p><labelfor="ldap_backup_host"><?phpp($l->t('Backup (Replica) Host'));?></label><inputtype="text"id="ldap_backup_host"name="ldap_backup_host"data-default="<?phpp($_['ldap_backup_host_default']);?>"title="<?phpp($l->t('Give an optional backup host. It must be a replica of the main LDAP/AD server.'));?>"></p>
<p><labelfor="ldap_override_main_server"><?phpp($l->t('Disable Main Server'));?></label><inputtype="checkbox"id="ldap_override_main_server"name="ldap_override_main_server"value="1"data-default="<?phpp($_['ldap_override_main_server_default']);?>"title="<?phpp($l->t('When switched on, ownCloud will only connect to the replica server.'));?>"/></p>
<p><labelfor="ldap_tls"><?phpp($l->t('Use TLS'));?></label><inputtype="checkbox"id="ldap_tls"name="ldap_tls"value="1"data-default="<?phpp($_['ldap_tls_default']);?>"title="<?phpp($l->t('Do not use it additionally for LDAPS connections, it will fail.'));?>"/></p>
<p><labelfor="ldap_nocase"><?phpp($l->t('Case insensitve LDAP server (Windows)'));?></label><inputtype="checkbox"id="ldap_nocase"name="ldap_nocase"data-default="<?phpp($_['ldap_nocase_default']);?>"value="1"<?phpif(isset($_['ldap_nocase'])&&($_['ldap_nocase']))p(' checked');?>></p>
<p><labelfor="ldap_turn_off_cert_check"><?phpp($l->t('Turn off SSL certificate validation.'));?></label><inputtype="checkbox"id="ldap_turn_off_cert_check"name="ldap_turn_off_cert_check"title="<?phpp($l->t('If connection only works with this option, import the LDAP server\'s SSL certificate in your ownCloud server.'));?>"data-default="<?phpp($_['ldap_turn_off_cert_check_default']);?>"value="1"><br/><small><?phpp($l->t('Not recommended, use for testing only.'));?></small></p>
<p><labelfor="ldap_cache_ttl"><?phpp($l->t('Cache Time-To-Live'));?></label><inputtype="number"id="ldap_cache_ttl"name="ldap_cache_ttl"title="<?phpp($l->t('in seconds. A change empties the cache.'));?>"data-default="<?phpp($_['ldap_cache_ttl_default']);?>"/></p>
</div>
<h3><?phpecho$l->t('Directory Settings');?></h3>
<h3><?phpp($l->t('Directory Settings'));?></h3>
<div>
<p><labelfor="ldap_display_name"><?phpecho$l->t('User Display Name Field');?></label><inputtype="text"id="ldap_display_name"name="ldap_display_name"data-default="<?phpecho$_['ldap_display_name_default'];?>"title="<?phpecho$l->t('The LDAP attribute to use to generate the user`s ownCloud name.');?>"/></p>
<p><labelfor="ldap_base_users"><?phpecho$l->t('Base User Tree');?></label><textareaid="ldap_base_users"name="ldap_base_users"placeholder="<?phpecho$l->t('One User Base DN per line');?>"data-default="<?phpecho$_['ldap_base_users_default'];?>"title="<?phpecho$l->t('Base User Tree');?>"></textarea></p>
<p><labelfor="ldap_attributes_for_user_search"><?phpecho$l->t('User Search Attributes');?></label><textareaid="ldap_attributes_for_user_search"name="ldap_attributes_for_user_search"placeholder="<?phpecho$l->t('Optional; one attribute per line');?>"data-default="<?phpecho$_['ldap_attributes_for_user_search_default'];?>"title="<?phpecho$l->t('User Search Attributes');?>"></textarea></p>
<p><labelfor="ldap_group_display_name"><?phpecho$l->t('Group Display Name Field');?></label><inputtype="text"id="ldap_group_display_name"name="ldap_group_display_name"data-default="<?phpecho$_['ldap_group_display_name_default'];?>"title="<?phpecho$l->t('The LDAP attribute to use to generate the groups`s ownCloud name.');?>"/></p>
<p><labelfor="ldap_base_groups"><?phpecho$l->t('Base Group Tree');?></label><textareaid="ldap_base_groups"name="ldap_base_groups"placeholder="<?phpecho$l->t('One Group Base DN per line');?>"data-default="<?phpecho$_['ldap_base_groups_default'];?>"title="<?phpecho$l->t('Base Group Tree');?>"></textarea></p>
<p><labelfor="ldap_attributes_for_group_search"><?phpecho$l->t('Group Search Attributes');?></label><textareaid="ldap_attributes_for_group_search"name="ldap_attributes_for_group_search"placeholder="<?phpecho$l->t('Optional; one attribute per line');?>"data-default="<?phpecho$_['ldap_attributes_for_group_search_default'];?>"title="<?phpecho$l->t('Group Search Attributes');?>"></textarea></p>
<p><labelfor="ldap_display_name"><?phpp($l->t('User Display Name Field'));?></label><inputtype="text"id="ldap_display_name"name="ldap_display_name"data-default="<?phpp($_['ldap_display_name_default']);?>"title="<?phpp($l->t('The LDAP attribute to use to generate the user`s ownCloud name.'));?>"/></p>
<p><labelfor="ldap_base_users"><?phpp($l->t('Base User Tree'));?></label><textareaid="ldap_base_users"name="ldap_base_users"placeholder="<?phpp($l->t('One User Base DN per line'));?>"data-default="<?phpp($_['ldap_base_users_default']);?>"title="<?phpp($l->t('Base User Tree'));?>"></textarea></p>
<p><labelfor="ldap_attributes_for_user_search"><?phpp($l->t('User Search Attributes'));?></label><textareaid="ldap_attributes_for_user_search"name="ldap_attributes_for_user_search"placeholder="<?phpp($l->t('Optional; one attribute per line'));?>"data-default="<?phpp($_['ldap_attributes_for_user_search_default']);?>"title="<?phpp($l->t('User Search Attributes'));?>"></textarea></p>
<p><labelfor="ldap_group_display_name"><?phpp($l->t('Group Display Name Field'));?></label><inputtype="text"id="ldap_group_display_name"name="ldap_group_display_name"data-default="<?phpp($_['ldap_group_display_name_default']);?>"title="<?phpp($l->t('The LDAP attribute to use to generate the groups`s ownCloud name.'));?>"/></p>
<p><labelfor="ldap_base_groups"><?phpp($l->t('Base Group Tree'));?></label><textareaid="ldap_base_groups"name="ldap_base_groups"placeholder="<?phpp($l->t('One Group Base DN per line'));?>"data-default="<?phpp($_['ldap_base_groups_default']);?>"title="<?phpp($l->t('Base Group Tree'));?>"></textarea></p>
<p><labelfor="ldap_attributes_for_group_search"><?phpp($l->t('Group Search Attributes'));?></label><textareaid="ldap_attributes_for_group_search"name="ldap_attributes_for_group_search"placeholder="<?phpp($l->t('Optional; one attribute per line'));?>"data-default="<?phpp($_['ldap_attributes_for_group_search_default']);?>"title="<?phpp($l->t('Group Search Attributes'));?>"></textarea></p>
<p><labelfor="home_folder_naming_rule">User Home Folder Naming Rule</label><inputtype="text"id="home_folder_naming_rule"name="home_folder_naming_rule"title="<?phpecho$l->t('Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute.');?>"data-default="<?phpecho$_['home_folder_naming_rule_default'];?>"/></p>
<p><labelfor="home_folder_naming_rule"><?phpp($l->t('User Home Folder Naming Rule'));?></label><inputtype="text"id="home_folder_naming_rule"name="home_folder_naming_rule"title="<?phpp($l->t('Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute.'));?>"data-default="<?phpp($_['home_folder_naming_rule_default']);?>"/></p>
<br/><?phpecho$l->t('ownCloud will send the user credentials to this URL. This plugin checks the response and will interpret the HTTP statuscodes 401 and 403 as invalid credentials, and all other responses as valid credentials.');?>
<br/><?phpp($l->t('ownCloud will send the user credentials to this URL. This plugin checks the response and will interpret the HTTP statuscodes 401 and 403 as invalid credentials, and all other responses as valid credentials.'));?>
<p><?phpecho$l->t('Your data directory and files are probably accessible from the internet because the .htaccess file does not work.');?><br>
<?phpecho$l->t('For information how to properly configure your server, please see the <a href="http://doc.owncloud.org/server/5.0/admin_manual/installation.html" target="_blank">documentation</a>.');?></p>
<p><?phpp($l->t('Your data directory and files are probably accessible from the internet because the .htaccess file does not work.'));?><br>
<?phpprint_unescaped($l->t('For information how to properly configure your server, please see the <a href="http://doc.owncloud.org/server/5.0/admin_manual/installation.html" target="_blank">documentation</a>.'));?></p>
</fieldset>
<?phpendif;?>
<fieldsetid="adminaccount">
<legend><?phpecho$l->t('Create an <strong>admin account</strong>');?></legend>
<legend><?phpprint_unescaped($l->t('Create an <strong>admin account</strong>'));?></legend>
<?phpecho$l->t('Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.');?>
<?phpp($l->t('Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.'));?>
<?phpecho$l->t('The PHP module \'fileinfo\' is missing. We strongly recommend to enable this module to get best results with mime-type detection.');?>
<?phpp($l->t('The PHP module \'fileinfo\' is missing. We strongly recommend to enable this module to get best results with mime-type detection.'));?>
</span>
</fieldset>
@ -55,12 +55,12 @@ if (!$_['has_fileinfo']) {
if (!$_['islocaleworking']) {
?>
<fieldsetclass="personalblock">
<legend><strong><?phpecho$l->t('Locale not working');?></strong></legend>
<legend><strong><?phpp($l->t('Locale not working'));?></strong></legend>
<spanclass="connectionwarning">
<?php
$locales = 'en_US.UTF-8/en_US.UTF8';
echo $l->t('This ownCloud server can\'t set system locale to %s. This means that there might be problems with certain characters in file names. We strongly suggest to install the required packages on your system to support %s.', array($locales, $locales));
p($l->t('This ownCloud server can\'t set system locale to %s. This means that there might be problems with certain characters in file names. We strongly suggest to install the required packages on your system to support %s.', array($locales, $locales)));
?>
</span>
@ -72,10 +72,10 @@ if (!$_['islocaleworking']) {
if (!$_['internetconnectionworking']) {
?>
<fieldsetclass="personalblock">
<legend><strong><?phpecho$l->t('Internet connection not working');?></strong></legend>
<legend><strong><?phpp($l->t('Internet connection not working'));?></strong></legend>
<spanclass="connectionwarning">
<?phpecho$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.');?>
<?phpp($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>
@ -84,106 +84,106 @@ if (!$_['internetconnectionworking']) {
<?phpecho$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>.');?>
<?phpprint_unescaped($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>.'));?>
* Copyright (c) 2012, Tom Needham <tom@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYING-README file.
*/
?>
<divid="oauth-request"class="guest-container">
<p><strong><?phpecho$_['consumer']['name'];?></strong> is requesting your permission to read, write, modify and delete data from the following apps:</p>
<?phpecho$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>.');?>
<?phpprint_unescaped($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>.'));?>