$setParameters = array();
$configuration->setConfiguration($cfg, $setParameters);
if(!in_array($key, $setParameters)) {
- \OCP\JSON::error(array('message' => $l->t($key.' Could not set configuration '.$setParameters[0])));
+ \OCP\JSON::error(array('message' => $l->t($key.
+ ' Could not set configuration %s', $setParameters[0])));
exit;
}
$configuration->saveConfiguration();
<fieldset id="ldapWizard4">
<div>
<p>
- <?php p($l->t('Limit the access to ownCloud to groups meeting this criteria:'));?>
+ <?php p($l->t('Limit the access to %s to groups meeting this criteria:', $theme->getName()));?>
</p>
<p>
<label for="ldap_groupfilter_objectclass">
<input type="text" id="ldap_group_filter" name="ldap_group_filter"
class="lwautosave"
placeholder="<?php p($l->t('Raw LDAP filter'));?>"
- title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the ownCloud instance.'));?>"
+ title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', $theme->getName()));?>"
/>
</p>
<p>
</p>
<p>
<label for="ldap_loginfilter_email">
- <?php p($l->t('LDAP Email Adress:'));?>
+ <?php p($l->t('LDAP Email Address:'));?>
</label>
<input type="checkbox" id="ldap_loginfilter_email"
<fieldset id="ldapWizard2">
<div>
<p>
- <?php p($l->t('Limit the access to ownCloud to users meeting this criteria:'));?>
+ <?php p($l->t('Limit the access to %s to users meeting this criteria:', $theme->getName()));?>
</p>
<p>
<label for="ldap_userfilter_objectclass">
<input type="text" id="ldap_userlist_filter" name="ldap_userlist_filter"
class="lwautosave"
placeholder="<?php p($l->t('Raw LDAP filter'));?>"
- title="<?php p($l->t('The filter specifies which LDAP users shall have access to the ownCloud instance.'));?>"
+ title="<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', $theme->getName()));?>"
/>
</p>
<p>