/administrator/components/com_easysocial/themes/default/groups/dialog.delete.group.php

https://gitlab.com/vnsoftdev/swc · PHP · 40 lines · 29 code · 1 blank · 10 comment · 0 complexity · 96b57457e19141d3c9b308b0af01b8f3 MD5 · raw file

  1. <?php
  2. /**
  3. * @package EasySocial
  4. * @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved.
  5. * @license GNU/GPL, see LICENSE.php
  6. * EasySocial is free software. This version may have been modified pursuant
  7. * to the GNU General Public License, and as distributed it includes or
  8. * is derivative of works licensed under the GNU General Public License or
  9. * other free or open source software licenses.
  10. * See COPYRIGHT.php for copyright notices and details.
  11. */
  12. defined( '_JEXEC' ) or die( 'Unauthorized Access' );
  13. ?>
  14. <dialog>
  15. <width>450</width>
  16. <height>150</height>
  17. <selectors type="json">
  18. {
  19. "{deleteButton}" : "[data-delete-button]",
  20. "{cancelButton}" : "[data-cancel-button]"
  21. }
  22. </selectors>
  23. <bindings type="javascript">
  24. {
  25. "{cancelButton} click" : function()
  26. {
  27. this.parent.close();
  28. }
  29. }
  30. </bindings>
  31. <title><?php echo JText::_( 'COM_EASYSOCIAL_GROUPS_DELETE_DIALOG_TITLE' ); ?></title>
  32. <content>
  33. <p><?php echo JText::_( 'COM_EASYSOCIAL_GROUPS_DELETE_DIALOG_CONFIRMATION' ); ?></p>
  34. </content>
  35. <buttons>
  36. <button data-cancel-button type="button" class="btn btn-es btn-sm"><?php echo JText::_( 'COM_EASYSOCIAL_CANCEL_BUTTON' ); ?></button>
  37. <button data-delete-button type="button" class="btn btn-es-danger btn-sm"><?php echo JText::_( 'COM_EASYSOCIAL_DELETE_BUTTON' ); ?></button>
  38. </buttons>
  39. </dialog>