ZERG::template_embed('image--image');
?>
if (ZERG::config_allow('imagecomments_view'))
{
?>
ZERG::template_embed('image--imagecomments-options');
// ZERG::template_embed('reviewimagecomments--options');
?>
$_allowimagecomment = false;
if (ZERG::image_allow_imagecomment())
{
$_allowimagecomment = true;
//---REMOVED--- if (!ZERG::access_int('admin'))
/* check if not allowed to edit imagecomment memberid */
if (!ZERG::config_allow('imagecomment_edit_memberid'))
{
/* check if user has not already imagecommented this image */
//---FIXFIX--- $_allowimagecomment = ZERG::image_imagecommented_by_user(ZERG::member_id()) ? false : $_allowimagecomment;
}
if ($_allowimagecomment)
{
?> /* ?> */ ?>
ZERG::template_embed('image--imagecomment-add-form');
}
}
if (!$_allowimagecomment)
{
if (!ZERG::member_id())
{
//---fix-fix--- ZERG::template_embed('image--imagecomment-login-form');
}
}
?>
}
/* not allowed to view comments */
else
{
$_message = ZERG::member_id() ? ZERG::lang('imagecomments.warning-not-allowed-user') : ZERG::lang('imagecomments.warning-not-allowed');
?>
}
?>