/administrator/components/com_easysocial/themes/default/groups/dialog.browse.category.php
https://gitlab.com/vnsoftdev/swc · PHP · 40 lines · 30 code · 0 blank · 10 comment · 0 complexity · 02e43cd1babc4918b9454d9cf82cbf42 MD5 · raw file
- <?php
- /**
- * @package EasySocial
- * @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved.
- * @license GNU/GPL, see LICENSE.php
- * EasySocial is free software. This version may have been modified pursuant
- * to the GNU General Public License, and as distributed it includes or
- * is derivative of works licensed under the GNU General Public License or
- * other free or open source software licenses.
- * See COPYRIGHT.php for copyright notices and details.
- */
- defined( '_JEXEC' ) or die( 'Unauthorized Access' );
- ?>
- <dialog>
- <width>760</width>
- <height>500</height>
- <selectors type="json">
- {
- "{approveButton}" : "[data-approve-button]",
- "{form}" : "[data-approve-form]",
- "{cancelButton}" : "[data-cancel-button]"
- }
- </selectors>
- <bindings type="javascript">
- {
- "{cancelButton} click": function() {
- this.parent.close();
- },
- "{approveButton} click" : function()
- {
- this.form().submit();
- }
- }
- </bindings>
- <title><?php echo JText::_( 'COM_EASYSOCIAL_GROUPS_APPROVE_DIALOG_TITLE' ); ?></title>
- <content type="text"><?php echo JURI::root();?>administrator/index.php?option=com_easysocial&view=groups&layout=categories&tmpl=component&jscallback=<?php echo $callback;?></content>
- <buttons>
- <button data-cancel-button type="button" class="btn btn-es"><?php echo JText::_('COM_EASYSOCIAL_CANCEL_BUTTON'); ?></button>
- </buttons>
- </dialog>