/administrator/components/com_easysocial/themes/default/badges/dialog.delete.php

https://gitlab.com/vnsoftdev/swc · PHP · 38 lines · 28 code · 0 blank · 10 comment · 0 complexity · 38d217b99acc021fc968adc5960c3080 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>400</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. this.parent.close();
  27. }
  28. }
  29. </bindings>
  30. <title><?php echo JText::_('COM_EASYSOCIAL_ALBUMS_DELETE_BADGE_DIALOG_TITLE'); ?></title>
  31. <content>
  32. <p><?php echo JText::_('COM_EASYSOCIAL_ALBUMS_DELETE_BADGE_CONFIRMATION'); ?></p>
  33. </content>
  34. <buttons>
  35. <button data-cancel-button type="button" class="btn btn-es btn-sm"><?php echo JText::_('COM_EASYSOCIAL_CANCEL_BUTTON'); ?></button>
  36. <button data-delete-button type="button" class="btn btn-es-danger btn-sm"><?php echo JText::_('COM_EASYSOCIAL_DELETE_BADGES_BUTTON'); ?></button>
  37. </buttons>
  38. </dialog>