@@ -65,8 +65,7 @@ |
||
65 | 65 | if (empty($this->item->id)) |
66 | 66 | { |
67 | 67 | $cancel = RToolbarBuilder::createCancelButton('payment.cancel'); |
68 | - } |
|
69 | - else |
|
68 | + } else |
|
70 | 69 | { |
71 | 70 | $cancel = RToolbarBuilder::createCloseButton('payment.cancel'); |
72 | 71 | } |
@@ -77,8 +77,7 @@ |
||
77 | 77 | <?php echo !$isGlobal ? JHtml::_('grid.id', $i, $item->id) : ''; ?> |
78 | 78 | </td> |
79 | 79 | <td> |
80 | - <?php echo !$isGlobal ? JHtml::_('rgrid.published', $item->state, $i, 'payment_configurations.', $canChange, 'cb') : |
|
81 | - JHtml::_('rgrid.published', $item->enabled, $i, 'plugins.', 0); ?> |
|
80 | + <?php echo !$isGlobal ? JHtml::_('rgrid.published', $item->state, $i, 'payment_configurations.', $canChange, 'cb') : JHtml::_('rgrid.published', $item->enabled, $i, 'plugins.', 0); ?> |
|
82 | 81 | </td> |
83 | 82 | <td> |
84 | 83 | <?php if ($isGlobal) : ?> |
@@ -83,8 +83,11 @@ |
||
83 | 83 | <td> |
84 | 84 | <?php if ($isGlobal) : ?> |
85 | 85 | <?php echo $item->plugin_path_name; ?> (<a target="_blank" href="<?php echo JRoute::_($link); ?>"><?php echo JText::_('JEDIT'); ?></a>) |
86 | - <?php else: ?> |
|
87 | - <a href="<?php echo JRoute::_($link); ?>"> |
|
86 | + <?php else { |
|
87 | + : ?> |
|
88 | + <a href="<?php echo JRoute::_($link); |
|
89 | +} |
|
90 | +?>"> |
|
88 | 91 | <?php echo $item->plugin_path_name; ?> |
89 | 92 | </a> |
90 | 93 | <?php endif; ?> |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | return null; |
93 | 93 | } |
94 | 94 | |
95 | - $user = JFactory::getUser(); |
|
95 | + $user = JFactory::getUser(); |
|
96 | 96 | |
97 | 97 | $firstGroup = new RToolbarButtonGroup; |
98 | 98 | $secondGroup = new RToolbarButtonGroup; |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | |
142 | 142 | foreach ($actions as $action) |
143 | 143 | { |
144 | - $result->set($action->name, $user->authorise($action->name, $assetName)); |
|
144 | + $result->set($action->name, $user->authorise($action->name, $assetName)); |
|
145 | 145 | } |
146 | 146 | |
147 | 147 | return $result; |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | placeholder="<?php echo JText::_('COM_REDCORE_WEBSERVICE_COMPLEX_TYPES_ADD_NEW_COMPLEX_TYPE_PLACEHOLDER'); ?>" /> |
20 | 20 | <span class="input-group-btn"> |
21 | 21 | <button type="button" class="btn btn-default btn-success fields-add-new-type" |
22 | - data-no-type-msg="<?php echo JText::_('COM_REDCORE_WEBSERVICE_TASK_ADD_NEW_TYPE_ERROR', true, true);?>"> |
|
22 | + data-no-type-msg="<?php echo JText::_('COM_REDCORE_WEBSERVICE_TASK_ADD_NEW_TYPE_ERROR', true, true); ?>"> |
|
23 | 23 | <i class="icon-plus"></i> |
24 | 24 | <?php echo JText::_('COM_REDCORE_WEBSERVICE_COMPLEX_TYPES_ADD_NEW_COMPLEX_TYPE'); ?> |
25 | 25 | </button> |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | </div> |
45 | 45 | <div class="tab-content" id="typeTabContent"> |
46 | 46 | <?php foreach ($this->formData as $operation => $operationData): ?> |
47 | - <?php $tabActive = $firstContentActive ? ' active in ' : '';?> |
|
47 | + <?php $tabActive = $firstContentActive ? ' active in ' : ''; ?> |
|
48 | 48 | <?php |
49 | 49 | if (substr($operation, 0, strlen('type-')) === 'type-') : |
50 | 50 | echo RLayoutHelper::render( |
@@ -63,5 +63,5 @@ discard block |
||
63 | 63 | $firstContentActive = false; |
64 | 64 | endif; |
65 | 65 | ?> |
66 | - <?php endforeach;?> |
|
66 | + <?php endforeach; ?> |
|
67 | 67 | </div> |
@@ -18,7 +18,7 @@ |
||
18 | 18 | placeholder="<?php echo JText::_('COM_REDCORE_WEBSERVICE_TASK_ADD_NEW_TASK_PLACEHOLDER'); ?>" /> |
19 | 19 | <span class="input-group-btn"> |
20 | 20 | <button type="button" class="btn btn-default btn-success fields-add-new-task" |
21 | - data-no-task-msg="<?php echo JText::_('COM_REDCORE_WEBSERVICE_TASK_ADD_NEW_TASK_ERROR', true, true);?>"> |
|
21 | + data-no-task-msg="<?php echo JText::_('COM_REDCORE_WEBSERVICE_TASK_ADD_NEW_TASK_ERROR', true, true); ?>"> |
|
22 | 22 | <i class="icon-plus"></i> |
23 | 23 | <?php echo JText::_('COM_REDCORE_WEBSERVICE_TASK_ADD_NEW_TASK'); ?> |
24 | 24 | </button> |
@@ -109,9 +109,7 @@ |
||
109 | 109 | if (empty($this->item->id)) |
110 | 110 | { |
111 | 111 | $cancel = RToolbarBuilder::createCancelButton('webservice.cancel'); |
112 | - } |
|
113 | - |
|
114 | - else |
|
112 | + } else |
|
115 | 113 | { |
116 | 114 | $cancel = RToolbarBuilder::createCloseButton('webservice.cancel'); |
117 | 115 | } |
@@ -71,18 +71,24 @@ |
||
71 | 71 | <?php if (!empty($this->item->access_token)) : ?> |
72 | 72 | <?php echo $this->item->access_token; ?> |
73 | 73 | (<?php echo JText::_('COM_REDCORE_OAUTH_CLIENT_FORM_EXPIRES'); ?> <?php echo $this->item->access_token_expires; ?>) |
74 | - <?php else : ?> |
|
74 | + <?php else { |
|
75 | + : ?> |
|
75 | 76 | -- |
76 | - <?php endif; ?> |
|
77 | + <?php endif; |
|
78 | +} |
|
79 | +?> |
|
77 | 80 | </div> |
78 | 81 | <span class="label label-default"><?php echo JText::_('COM_REDCORE_OAUTH_CLIENT_FORM_AUTHORIZATION_CODE'); ?>: </span> |
79 | 82 | <div> |
80 | 83 | <?php if (!empty($this->item->authorization_code)) : ?> |
81 | 84 | <?php echo $this->item->authorization_code; ?> |
82 | 85 | (<?php echo JText::_('COM_REDCORE_OAUTH_CLIENT_FORM_EXPIRES'); ?> <?php echo $this->item->authorization_code_expires; ?>) |
83 | - <?php else : ?> |
|
86 | + <?php else { |
|
87 | + : ?> |
|
84 | 88 | -- |
85 | - <?php endif; ?> |
|
89 | + <?php endif; |
|
90 | +} |
|
91 | +?> |
|
86 | 92 | </div> |
87 | 93 | </div> |
88 | 94 | <?php endif; ?> |
@@ -90,9 +90,7 @@ |
||
90 | 90 | if (empty($this->item->id)) |
91 | 91 | { |
92 | 92 | $cancel = RToolbarBuilder::createCancelButton('oauth_client.cancel'); |
93 | - } |
|
94 | - |
|
95 | - else |
|
93 | + } else |
|
96 | 94 | { |
97 | 95 | $cancel = RToolbarBuilder::createCloseButton('oauth_client.cancel'); |
98 | 96 | } |
@@ -26,8 +26,7 @@ |
||
26 | 26 | if (version_compare(JVERSION, '3.4') >= 0) |
27 | 27 | { |
28 | 28 | JHtml::_('behavior.formvalidator'); |
29 | -} |
|
30 | -else |
|
29 | +} else |
|
31 | 30 | { |
32 | 31 | JHTML::_('behavior.formvalidation'); |
33 | 32 | } |