Hallo,
wie kann man es einstellen oder modifizieren, dass die Option ,,Album kann angesehen werden von" in der Albenverwaltung nur für Administratoren sichtbar ist und von den Benutzern nicht geändert werden kann. Am besten wäre es, wenn es für Benutzer ausgeblendet ist.
fichte_112
http://fotos-fichtner.pytalhost.de/fotos.php
In modifyalb.php, suche
$data = array($lang_modifyalb_php['general_settings'],
array($lang_modifyalb_php['alb_title'], 'title', 0),
array($lang_modifyalb_php['alb_cat'], 'category', 2),
array($captionLabel, 'description', 3),
array($lang_modifyalb_php['alb_keyword'].$help_album_keywords, 'keyword', 0),
array($lang_modifyalb_php['alb_thumb'], 'thumb', 4), $lang_modifyalb_php['alb_perm'],
array($lang_modifyalb_php['can_view'], 'visibility', 5),
array($lang_modifyalb_php['alb_password'].$help_album_password, 'alb_password', 6),
array($lang_modifyalb_php['alb_password_hint'].$help_album_password, 'alb_password_hint', 7),
array($lang_modifyalb_php['can_upload'].$notice1.$help_can_upload, 'uploads', 1),
array($lang_modifyalb_php['can_post_comments'].$notice1, 'comments', 1),
array($lang_modifyalb_php['can_rate'].$notice1, 'votes', 1),
);
und füge danach folgendes ein
if (!GALLERY_ADMIN_MODE) {
unset($data[7]);
}
Weiterhin solltest du folgendes tun.
In db_input.php, suche
$visibility = (int)$_POST['visibility'];
und ersetze es durch
$visibility = GALLERY_ADMIN_MODE ? (int)$_POST['visibility'] : $USER_DATA['groups'][0];
Danke für die schnelle Hilfe!
fichte_112