start.php 675 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Elgg Ajax Comments
  4. * Author : Raez Mon | Team Webgalli
  5. * Team Webgalli | Elgg developers and consultants
  6. * Mail : info@webgalli.com
  7. * Web : http://webgalli.com
  8. * Skype : 'team.webgalli'
  9. * @package Elgg Ajax Comments
  10. * Plugin info : Post comments without a page refresh
  11. * Licence : GNU2
  12. * Copyright : Team Webgalli 2011-2015
  13. */
  14. elgg_register_event_handler('init', 'system', 'galliComments_init');
  15. function galliComments_init() {
  16. elgg_extend_view('js/elgg', 'galliComments/js');
  17. elgg_register_ajax_view('galliComments/singleriver');
  18. elgg_register_action('galliComments/add', elgg_get_plugins_path()."galliComments/actions/comments/add.php");
  19. }