/** * Gets link to delete the current comment of current item * * @return string */ function osc_delete_comment_url() { return (string) osc_base_url(true) . "?page=item&action=delete_comment&id=" . osc_item_id() . "&comment=" . osc_comment_id(); }
/** * Create automatically the url of the item's comments page * * @param string $locale * @return string */ function osc_comment_url($locale = '') { return osc_item_url($locale) . "?comment=" . osc_comment_id(); }