@@ -147,14 +147,14 @@ |
||
| 147 | 147 | $link = ''; |
| 148 | 148 | if (is_array($item) && count($item) > 0) {
|
| 149 | 149 | foreach ($item as $nameItem => $valItem) {
|
| 150 | - $link[] = $name . "[" . (intval($nameItem) ? "" : $nameItem) . "]=" . urlencode($valItem); |
|
| 150 | + $link[] = $name."[".(intval($nameItem) ? "" : $nameItem)."]=".urlencode($valItem); |
|
| 151 | 151 | } |
| 152 | 152 | $link = implode("&", $link);
|
| 153 | 153 | } else {
|
| 154 | 154 | if ($name == '') {
|
| 155 | 155 | $link = urlencode($item); |
| 156 | 156 | } else {
|
| 157 | - $link = $name . "=" . urlencode($item); |
|
| 157 | + $link = $name."=".urlencode($item); |
|
| 158 | 158 | } |
| 159 | 159 | } |
| 160 | 160 | return $link; |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | protected function run() |
| 18 | 18 | {
|
| 19 | 19 | if (!empty($this->_cfg['action']) && !empty($this->_cfg['content'])) {
|
| 20 | - include_once(MODX_BASE_PATH . 'assets/lib/class.summary.php'); |
|
| 20 | + include_once(MODX_BASE_PATH.'assets/lib/class.summary.php'); |
|
| 21 | 21 | $summary = new SummaryText($this->_cfg['content'], $this->_cfg['action'], $this->getCFGDef('breakSummary', null));
|
| 22 | 22 | $summary->setCut($this->getCFGDef('cutSummary', '<cut/>'));
|
| 23 | 23 | $this->_cfg['content'] = $summary->run($this->getCFGDef('dotSummary', 0));
|
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | * @author Agel_Nash <[email protected]> |
| 12 | 12 | * @see http://mis-algoritmos.com/2007/05/27/digg-style-pagination-class |
| 13 | 13 | */ |
| 14 | -include_once(MODX_BASE_PATH . "assets/snippets/DocLister/lib/DLpaginate.class.php"); |
|
| 14 | +include_once(MODX_BASE_PATH."assets/snippets/DocLister/lib/DLpaginate.class.php"); |
|
| 15 | 15 | |
| 16 | 16 | class paginate_DL_Extender extends extDocLister |
| 17 | 17 | {
|
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | $url = explode("?", $url, 2);
|
| 172 | 172 | $url = $url[0]; |
| 173 | 173 | if (!empty($q)) {
|
| 174 | - $url .= "?" . $q; |
|
| 174 | + $url .= "?".$q; |
|
| 175 | 175 | } |
| 176 | 176 | } |
| 177 | 177 | return $url; |
@@ -186,6 +186,6 @@ discard block |
||
| 186 | 186 | public function getRequestName($name) |
| 187 | 187 | {
|
| 188 | 188 | $id = $this->DocLister->getCFGDef('id', '');
|
| 189 | - return (($id != '') ? ($id . "_") : "") . $name; |
|
| 189 | + return (($id != '') ? ($id."_") : "").$name; |
|
| 190 | 190 | } |
| 191 | 191 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -include_once(dirname(__FILE__) . "/autoTable.abstract.php"); |
|
| 2 | +include_once(dirname(__FILE__)."/autoTable.abstract.php"); |
|
| 3 | 3 | |
| 4 | 4 | class modCategories extends autoTable |
| 5 | 5 | { |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -include_once(dirname(__FILE__) . "/autoTable.abstract.php"); |
|
| 2 | +include_once(dirname(__FILE__)."/autoTable.abstract.php"); |
|
| 3 | 3 | |
| 4 | 4 | class modCategories extends autoTable |
| 5 | 5 | { |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -include_once(dirname(__FILE__) . "/autoTable.abstract.php"); |
|
| 2 | +include_once(dirname(__FILE__)."/autoTable.abstract.php"); |
|
| 3 | 3 | |
| 4 | 4 | class modCategories extends autoTable |
| 5 | 5 | { |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -include_once(dirname(__FILE__) . "/autoTable.abstract.php"); |
|
| 2 | +include_once(dirname(__FILE__)."/autoTable.abstract.php"); |
|
| 3 | 3 | |
| 4 | 4 | class modCategories extends autoTable |
| 5 | 5 | { |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -include_once(dirname(__FILE__) . "/autoTable.abstract.php"); |
|
| 2 | +include_once(dirname(__FILE__)."/autoTable.abstract.php"); |
|
| 3 | 3 | |
| 4 | 4 | class modCategories extends autoTable |
| 5 | 5 | { |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -include_once(dirname(__FILE__) . "/autoTable.abstract.php"); |
|
| 2 | +include_once(dirname(__FILE__)."/autoTable.abstract.php"); |
|
| 3 | 3 | |
| 4 | 4 | class modCategories extends autoTable |
| 5 | 5 | { |