File size: 2.22Kb
<div class="notification-settings noti-active">
<h2 class="user_sttng_panel_hd">{{LANG notif_settings}}</h2>
<form class="form pp_sett_form" id="edit-notification-settings">
<div class="fluid">
<p>{{LANG receive_notif_when}}</p>
</div>
<p class="pg_mat_switch switch">
<label>
{{LANG liked_my_post}}
<input type="checkbox" <?php if($context['me']['n_on_like']){ ?> checked <?php } ?> id="on_like_post" name="on_like_post">
<span class="lever"></span>
</label>
</p>
<p class="pg_mat_switch switch">
<label>
{{LANG commented_my_post}}
<input type="checkbox" <?php if($context['me']['n_on_comment']){ ?> checked <?php } ?> id="on_commnet_post" name="on_commnet_post">
<span class="lever"></span>
</label>
</p>
<p class="pg_mat_switch switch">
<label>
{{LANG replied_my_comment}}
<input type="checkbox" <?php if($context['me']['n_on_comment_reply']){ ?> checked <?php } ?> id="on_comment_reply" name="on_comment_reply">
<span class="lever"></span>
</label>
</p>
<p class="pg_mat_switch switch">
<label>
{{LANG liked_my_comment}}
<input type="checkbox" <?php if($context['me']['n_on_comment_like']){ ?> checked <?php } ?> id="on_comment_like" name="on_comment_like">
<span class="lever"></span>
</label>
</p>
<p class="pg_mat_switch switch">
<label>
{{LANG followed_me}}
<input type="checkbox" <?php if($context['me']['n_on_follow']){ ?> checked <?php } ?> id="on_follow" name="on_follow">
<span class="lever"></span>
</label>
</p>
<p class="pg_mat_switch switch">
<label>
{{LANG mentioned_me}}
<input type="checkbox" <?php if($context['me']['n_on_mention']){ ?> checked <?php } ?> id="on_mention" name="on_mention">
<span class="lever"></span>
</label>
</p>
<div class="pg_sett_save"><button class="btn btn-main btn-mat btn-mat-raised pp_flat_btn" type="submit">{{LANG save_changes}}</button></div>
<input type="hidden" name="user_id" value="<?php echo($context['me']['user_id']) ?>">
<input type="hidden" name="hash" value="<?php echo($context['csrf_token']) ?>">
</form>
</div>
<?php
include $context['dirname_theme'].'/settings/templates/settings/js/script.html';
?>