PageRenderTime 22ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 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*/
12defined( '_JEXEC' ) or die( 'Unauthorized Access' );
13?>
14<dialog>
15	<width>760</width>
16	<height>500</height>
17	<selectors type="json">
18	{
19		"{approveButton}"	: "[data-approve-button]",
20		"{form}"			: "[data-approve-form]",
21		"{cancelButton}"	: "[data-cancel-button]"
22	}
23	</selectors>
24	<bindings type="javascript">
25	{
26		"{cancelButton} click": function() {
27			this.parent.close();
28		},
29		"{approveButton} click" : function()
30		{
31			this.form().submit();
32		}
33	}
34	</bindings>
35	<title><?php echo JText::_( 'COM_EASYSOCIAL_GROUPS_APPROVE_DIALOG_TITLE' ); ?></title>
36	<content type="text"><?php echo JURI::root();?>administrator/index.php?option=com_easysocial&view=groups&layout=categories&tmpl=component&jscallback=<?php echo $callback;?></content>
37	<buttons>
38		<button data-cancel-button type="button" class="btn btn-es"><?php echo JText::_('COM_EASYSOCIAL_CANCEL_BUTTON'); ?></button>
39	</buttons>
40</dialog>