Hi, i had a mod that i did in the old zenphoto that allowed me to disable the editability of an Album Title if it was a Root album and was NOT a sub-album.
IN: admin-functions.php
this is the OLD:
`
$disableEdit = $album->getParent() == null ? 'onFocus="this.blur();"' : '';
echo "Album Title: getTitle() .'" '.$disableEdit.';
`
this is the NEW:
`
print_language_string_list($album->get('title'), $prefix."albumtitle", false) ?>
`
how do i make this fit the new coding?
thanx!
Comments
`
<?php
if ($album->getParent() == null){
echo gettext($album->get('title'));
} else {
print_language_string_list($album->get('title'), $prefix."albumtitle", false); }
?>
`