Important security update, please update to Osclass 3.7.4
At Osclass we have changed our Privacy Policy and Terms of Use in order to adapt them to the new General Data Protection Regulation (GDPR). We want you to know what user data we store, what we need them for, and who we share them with in each specific case. Furthermore, we are making it even easier for you to exercise your right to manage your own data.
Our goal is that you enjoy the best possible experience with our website. As the GDPR comes into force, legislation requires us that you grant us permission—both to us and our partners—to store cookies in your browser. Remember you can find more information about what we do with your data by clicking here.
I accept Osclass SL’s Terms of Use and Cookies Policy and grant them permission to manage my data.
<?php if( osc_comments_enabled() ) { ?> <?php if( osc_reg_user_post_comments () && osc_is_web_user_logged_in() || !osc_reg_user_post_comments() ) { ?> <div id="comments"> <h2><?php _e('Comments', 'modern'); ?></h2> <ul id="comment_error_list"></ul> <?php CommentForm::js_validation(); ?> <?php if( osc_count_item_comments() >= 1 ) { ?> <div class="comments_list"> <?php while ( osc_has_item_comments() ) { ?> <div class="comment"> <h3><strong><?php echo osc_comment_title() ; ?></strong> <em><?php _e("by", 'modern') ; ?> <?php echo osc_comment_author_name() ; ?>:</em></h3> <p><?php echo osc_comment_body() ; ?> </p> <?php if ( osc_comment_user_id() && (osc_comment_user_id() == osc_logged_user_id()) ) { ?> <p> <a rel="nofollow" href="<?php echo osc_delete_comment_url(); ?>" title="<?php _e('Delete your comment', 'modern'); ?>"><?php _e('Delete', 'modern'); ?></a> </p> <?php } ?> </div> <?php } ?> <div class="pagination"> <?php echo osc_comments_pagination(); ?> </div> </div> <?php } ?> <form action="<?php echo osc_base_url(true) ; ?>" method="post" name="comment_form" id="comment_form"> <fieldset> <h3><?php _e('Leave your comment (spam and offensive messages will be removed)', 'modern') ; ?></h3> <input type="hidden" name="action" value="add_comment" /> <input type="hidden" name="page" value="user" /> <input type="hidden" name="id" value="<?php echo osc_user_id() ; ?>" /> <?php if(osc_is_web_user_logged_in()) { ?> <input type="hidden" name="authorName" value="<?php echo osc_logged_user_name(); ?>" /> <input type="hidden" name="authorEmail" value="<?php echo osc_logged_user_email();?>" /> <?php } else { ?> <label for="authorName"><?php _e('Your name', 'modern') ; ?>:</label> <?php CommentForm::author_input_text(); ?><br /> <label for="authorEmail"><?php _e('Your e-mail', 'modern') ; ?>:</label> <?php CommentForm::email_input_text(); ?><br /> <?php }; ?> <label for="title"><?php _e('Title', 'modern') ; ?>:</label><?php CommentForm::title_input_text(); ?><br /> <label for="body"><?php _e('Comment', 'modern') ; ?>:</label><?php CommentForm::body_input_textarea(); ?><br /> <button type="submit"><?php _e('Send', 'modern') ; ?></button> </fieldset> </form> </div> <?php } ?> <?php } ?>
<input type="hidden" name="id" value="<?php echo osc_user_id() ; ?>" />