Revision 2027
Added by darkviper almost 12 years ago
- some typofixes in Multilingual/tpl/lang.html.php and WbLinkAbstract
| WbLinkAbstract.php | ||
|---|---|---|
| 74 | 74 |
. 'FROM `'.$this->oDb->TablePrefix.'sections` `s` ' |
| 75 | 75 |
. 'LEFT JOIN `'.$this->oDb->TablePrefix.$this::TABLE_NAME.'` `p` ON `s`.`section_id`= `p`.`'.$this::FIELDNAME_SECTION_ID.'` ' |
| 76 | 76 |
. 'WHERE `s`.`module`=\''.$this->sAddon.'\' ' |
| 77 |
. ($this->FIELDNAME_ACTIVE != '' ? 'AND `p`.`'.$this::FIELDNAME_ACTIVE.'`>0 ' : '')
|
|
| 77 |
. ($this::FIELDNAME_ACTIVE != '' ? 'AND `p`.`'.$this::FIELDNAME_ACTIVE.'`>0 ' : '')
|
|
| 78 | 78 |
. 'ORDER BY `s`.`page_id`, `s`.`section_id`'.($this::FIELDNAME_TIMESTAMP != '' ? ', `p`.`'.$this::FIELDNAME_TIMESTAMP.'` DESC' : ''); |
| 79 | 79 |
if (( $oRes = $this->oDb->doQuery($sql))) {
|
| 80 | 80 |
// preset group changer flags |
| ... | ... | |
| 96 | 96 |
} |
| 97 | 97 |
// save current record |
| 98 | 98 |
$aAddonItems[$iCurrentPage.'P'][$iSectionCounter][] = array( |
| 99 |
'wblink' => '[wblink'.$aItem['PageId'].'?addon='.$sAddon.'&item='.$aItem['ItemId'].']', |
|
| 99 |
'wblink' => '[wblink'.$aItem['PageId'].'?addon='.$this->sAddon.'&item='.$aItem['ItemId'].']',
|
|
| 100 | 100 |
'title' => preg_replace("/\r?\n/", "\\n", $this->oDb->escapeString($aItem['Title']))
|
| 101 | 101 |
); |
| 102 | 102 |
} |
Also available in: Unified diff