diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-02-28 21:26:55 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-02-28 21:26:55 +0400 |
commit | f284d239e5feb53230ac0b7a5f43ac6de340e8b2 (patch) | |
tree | de30348c4bc1279f5485eec78c7bc5a231d2d173 /django_auth | |
parent | fba360afd840bdb3585b1803f62d6d44f3d8552c (diff) |
Replace echo with p
Diffstat (limited to 'django_auth')
-rw-r--r-- | django_auth/templates/settings.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django_auth/templates/settings.php b/django_auth/templates/settings.php index 42836f601..48f80aa50 100644 --- a/django_auth/templates/settings.php +++ b/django_auth/templates/settings.php @@ -2,8 +2,8 @@ <fieldset class="personalblock"> <legend><strong>Django Authentification Backend</strong></legend> <p> - <input type="checkbox" name="staff_is_admin" id="staff_is_admin" <?php if ($_['staff_is_admin'] == true) { echo 'checked="checked"';} ?>/><label for="staff_is_admin" ><?php p($l->t('Django Staffusers get administration privileges'));?></label><br/> - <input type="checkbox" name="superuser_is_admin" id="superuser_is_admin" <?php if ($_['superuser_is_admin'] == true) { echo 'checked="checked"';} ?>/><label for="superuser_is_admin"><?php p($l->t('Django Superusers get administration privileges'));?></label> + <input type="checkbox" name="staff_is_admin" id="staff_is_admin" <?php if ($_['staff_is_admin'] == true) { print_unescaped('checked="checked"');} ?>/><label for="staff_is_admin" ><?php p($l->t('Django Staffusers get administration privileges'));?></label><br/> + <input type="checkbox" name="superuser_is_admin" id="superuser_is_admin" <?php if ($_['superuser_is_admin'] == true) { print_unescaped('checked="checked"');} ?>/><label for="superuser_is_admin"><?php p($l->t('Django Superusers get administration privileges'));?></label> </p> <input type="submit" name="django_auth" value="Save" /> </fieldset> |