On 10/16/18 12:26 AM, Vladimir Panteleev wrote:
> <input type="submit" value="<?=
> (isset($comment_id)) ? __("Save") : __("Add Comment") ?>" />
> + <?php if (!isset($comment_id)): ?>
This should only appear if we've confirmed the current pkgbase does not
have notifications enabled.aa
> + <span
> class="comment-enable-notifications">
> + <input type="checkbox"
> name="enable_notifications" id="id_enable_notifications" <?=
> pkgbase_user_notify($uid, $base_id) ? "checked" : "" ?> />
> + <label
> for="id_enable_notifications"><?= __("Enable notifications") ?></label>
> + </span>
> + <?php endif; ?>
> </p>
> </fieldset>
> </form>
>
--
Eli Schwartz
Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature
