commentsMaxLength) ? 200 : $advancedCustom->commentsMaxLength; $disabled = ''; $content = ''; $commentButtonText = ' '; $button = ''; $js = "setupFormElement('#comment', 5, commentsmaxlen, true, true);"; if (!User::canComment()) { $js = ""; $disabled = "disabled='disabled'"; if (User::isLogged()) { $commentButtonText = ' '; $content = __("Verify your email to be able to comment"); $button = '