1
0
mirror of https://github.com/moparisthebest/user_sql synced 2024-11-26 19:12:17 -05:00

Fix a few typos

This commit is contained in:
Andreas Boehler 2016-12-30 15:00:16 +01:00
parent 424243a631
commit eae75ba236
2 changed files with 3 additions and 3 deletions

View File

@ -120,7 +120,7 @@ if(isset($_POST['appname']) && ($_POST['appname'] === 'user_sql') && isset($_POS
}
elseif($param === 'set_force_default_domain')
{
\OC::$server->getConfig()->setAppValue('user_sql', 'set_force_default_domain'.$domain, 'true');
\OC::$server->getConfig()->setAppValue('user_sql', 'set_force_default_domain_'.$domain, 'true');
}
else
{
@ -146,7 +146,7 @@ if(isset($_POST['appname']) && ($_POST['appname'] === 'user_sql') && isset($_POS
}
elseif($param === 'set_force_default_domain')
{
\OC::$server->getConfig()->setAppValue('user_sql', 'set_force_default_domain'.$domain, 'false');
\OC::$server->getConfig()->setAppValue('user_sql', 'set_force_default_domain_'.$domain, 'false');
}
}
}

View File

@ -119,7 +119,7 @@ $cfgClass = $ocVersion >= 7 ? 'section' : 'personalblock';
<em><?php p($l -> t('Append this string, e.g. a domain name, to each user name. The @-sign is automatically inserted.')); ?></em>
</p>
<p><label for="set_force_default_domain"><?php p($l -> t('Force appending of default domain')); ?></label><input type="checkbox" id="set_force_default_domain" name="set_force_default_domain" value="1"><?php
<p><label for="set_force_default_domain"><?php p($l -> t('Force appending of default domain')); ?></label><input type="checkbox" id="set_force_default_domain" name="set_force_default_domain" value="1"<?php
if($_['set_force_default_domain'])
p(' checked');
?> /><br>