@@ -61,7 +61,7 @@ |
||
| 61 | 61 | */ |
| 62 | 62 | function rq($classname = null) |
| 63 | 63 | { |
| 64 | - if(($classname)) |
|
| 64 | + if (($classname)) |
|
| 65 | 65 | { |
| 66 | 66 | return jaxon()->sentry()->request($classname); |
| 67 | 67 | } |
@@ -80,11 +80,11 @@ |
||
| 80 | 80 | protected function includeAssets() |
| 81 | 81 | { |
| 82 | 82 | $sPluginOptionName = 'assets.include.' . $this->getName(); |
| 83 | - if($this->hasOption($sPluginOptionName) && !$this->getOption($sPluginOptionName)) |
|
| 83 | + if ($this->hasOption($sPluginOptionName) && !$this->getOption($sPluginOptionName)) |
|
| 84 | 84 | { |
| 85 | 85 | return false; |
| 86 | 86 | } |
| 87 | - if($this->hasOption('assets.include.all') && !$this->getOption('assets.include.all')) |
|
| 87 | + if ($this->hasOption('assets.include.all') && !$this->getOption('assets.include.all')) |
|
| 88 | 88 | { |
| 89 | 89 | return false; |
| 90 | 90 | } |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <ul class="pagination"> |
| 2 | 2 | <?php |
| 3 | - if(($this->prev)) |
|
| 3 | + if (($this->prev)) |
|
| 4 | 4 | { |
| 5 | 5 | echo $this->prev; |
| 6 | 6 | } |
| 7 | 7 | echo $this->links; |
| 8 | - if(($this->next)) |
|
| 8 | + if (($this->next)) |
|
| 9 | 9 | { |
| 10 | 10 | echo $this->next; |
| 11 | 11 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php echo $this->sPrefix ?><?php echo $this->sAlias ?> = function() { |
| 2 | 2 | return jaxon.request( |
| 3 | 3 | { jxnfun: '<?php echo $this->sFunction ?>' }, |
| 4 | - { parameters: arguments<?php foreach($this->aConfig as $sKey => $sValue): ?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> } |
|
| 4 | + { parameters: arguments<?php foreach ($this->aConfig as $sKey => $sValue): ?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> } |
|
| 5 | 5 | ); |
| 6 | 6 | }; |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php echo $this->sPrefix ?><?php echo $this->sClass ?> = {}; |
| 2 | -<?php foreach($this->aMethods as $aMethod): ?> |
|
| 2 | +<?php foreach ($this->aMethods as $aMethod): ?> |
|
| 3 | 3 | <?php echo $this->sPrefix ?><?php echo $this->sClass ?>.<?php echo $aMethod['name'] ?> = function() { |
| 4 | 4 | return jaxon.request( |
| 5 | 5 | { jxncls: '<?php echo $this->sClass ?>', jxnmthd: '<?php echo $aMethod['name'] ?>' }, |
| 6 | - { parameters: arguments<?php foreach($aMethod['config'] as $sKey => $sValue): ?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> } |
|
| 6 | + { parameters: arguments<?php foreach ($aMethod['config'] as $sKey => $sValue): ?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> } |
|
| 7 | 7 | ); |
| 8 | 8 | }; |
| 9 | 9 | <?php endforeach ?> |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php echo $this->sPrefix ?><?php echo $this->sEvent ?> = function() { |
| 2 | 2 | return jaxon.request( |
| 3 | 3 | { jxnevt: '<?php echo $this->sEvent ?>' }, |
| 4 | - { parameters: arguments<?php if(($this->sMode)): ?>, mode: '<?php echo $this->sMode ?>'<?php endif ?><?php if(($this->sMethod)): ?>, method: '<?php echo $this->sMethod ?>'<?php endif ?> } |
|
| 4 | + { parameters: arguments<?php if (($this->sMode)): ?>, mode: '<?php echo $this->sMode ?>'<?php endif ?><?php if (($this->sMethod)): ?>, method: '<?php echo $this->sMethod ?>'<?php endif ?> } |
|
| 5 | 5 | ); |
| 6 | 6 | }; |
@@ -1,3 +1,3 @@ |
||
| 1 | -<?php foreach($this->aUrls as $sUrl): ?> |
|
| 1 | +<?php foreach ($this->aUrls as $sUrl): ?> |
|
| 2 | 2 | <script type="text/javascript" src="<?php echo $sUrl ?>" <?php echo $this->sJsOptions ?> charset="UTF-8"></script> |
| 3 | 3 | <?php endforeach ?> |
@@ -14,14 +14,14 @@ |
||
| 14 | 14 | jaxon.config.defaultMode = "<?php echo $this->sDefaultMode ?>"; |
| 15 | 15 | jaxon.config.defaultMethod = "<?php echo $this->sDefaultMethod ?>"; |
| 16 | 16 | jaxon.config.responseType = "<?php echo $this->sResponseType ?>"; |
| 17 | -<?php if($this->nResponseQueueSize > 0): ?> |
|
| 17 | +<?php if ($this->nResponseQueueSize > 0): ?> |
|
| 18 | 18 | jaxon.config.responseQueueSize = <?php echo $this->nResponseQueueSize ?>; |
| 19 | 19 | <?php endif ?> |
| 20 | -<?php if(($this->bDebug) && ($this->sDebugOutputID)): ?> |
|
| 20 | +<?php if (($this->bDebug) && ($this->sDebugOutputID)): ?> |
|
| 21 | 21 | jaxon.debug = {}; |
| 22 | 22 | jaxon.debug.outputID = "<?php echo $this->sDebugOutputID ?>"; |
| 23 | 23 | <?php endif ?> |
| 24 | -<?php if(($this->sCsrfMetaName)): ?> |
|
| 24 | +<?php if (($this->sCsrfMetaName)): ?> |
|
| 25 | 25 | metaTags = document.getElementsByTagName('meta'); |
| 26 | 26 | for(i = 0; i < metaTags.length; i++) |
| 27 | 27 | { |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | jaxon.dom.ready(function() { |
| 2 | 2 | jaxon.command.handler.register('cc', jaxon.confirm.commands); |
| 3 | 3 | |
| 4 | -<?php if($this->sPluginScript): ?> |
|
| 4 | +<?php if ($this->sPluginScript): ?> |
|
| 5 | 5 | <?php echo $this->sPluginScript ?> |
| 6 | 6 | <?php endif ?> |
| 7 | 7 | }); |