1
0

Changed the wording on the admin screen to explain the new hide only functionality.

This commit is contained in:
rWatcher 2011-03-02 16:05:54 -05:00
parent fadd3ff8b8
commit b7d542f8ca
4 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ class Admin_Albumpassword_Controller extends Admin_Controller {
// Should protected items be hidden, or completely in-accessable? // Should protected items be hidden, or completely in-accessable?
$albumpassword_group = $form->group("album_password_group"); $albumpassword_group = $form->group("album_password_group");
$albumpassword_group->checkbox("hideonly") $albumpassword_group->checkbox("hideonly")
->label("Only hide protected albums?") ->label(t("Do not require passwords"))
->checked(module::get_var("albumpassword", "hideonly")); ->checked(module::get_var("albumpassword", "hideonly"));
// Add a save button to the form. // Add a save button to the form.

View File

@ -4,6 +4,6 @@
</h2> </h2>
<br /> <br />
<div class="g-block"> <div class="g-block">
<?= t("If this box is checked, protected albums will only be hidden. Anyone with the URL to either the album or it's contents will be able to access it without a password.") ?><br /><br />
<?= $albumpassword_form ?> <?= $albumpassword_form ?>
<?= t("If this box is checked, accessing a protected album/photo/video will automatically log the visitor in with that items password.") ?><br /><br />
</div> </div>

View File

@ -40,7 +40,7 @@ class Admin_Albumpassword_Controller extends Admin_Controller {
// Should protected items be hidden, or completely in-accessable? // Should protected items be hidden, or completely in-accessable?
$albumpassword_group = $form->group("album_password_group"); $albumpassword_group = $form->group("album_password_group");
$albumpassword_group->checkbox("hideonly") $albumpassword_group->checkbox("hideonly")
->label("Only hide protected albums?") ->label(t("Do not require passwords"))
->checked(module::get_var("albumpassword", "hideonly")); ->checked(module::get_var("albumpassword", "hideonly"));
// Add a save button to the form. // Add a save button to the form.

View File

@ -4,6 +4,6 @@
</h2> </h2>
<br /> <br />
<div class="g-block"> <div class="g-block">
<?= t("If this box is checked, protected albums will only be hidden. Anyone with the URL to either the album or it's contents will be able to access it without a password.") ?><br /><br />
<?= $albumpassword_form ?> <?= $albumpassword_form ?>
<?= t("If this box is checked, accessing a protected album/photo/video will automatically log the visitor in with that items password.") ?><br /><br />
</div> </div>