Project

General

Profile

« Previous | Next » 

Revision 2027

Added by darkviper almost 11 years ago

  1. some typofixes in Multilingual/tpl/lang.html.php and WbLinkAbstract

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
08 Dec-2013 Build 2027 Manuela v.d.Decken(DarkViper)
15
# some typofixes in Multilingual/tpl/lang.html.php and WbLinkAbstract
14 16
08 Dec-2013 Build 2026 Manuela v.d.Decken(DarkViper)
15 17
! [wblink] outputfilter now can handle ancors too
16 18
! WbLink Interface is much more easier to use now.
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '2026');
54
if(!defined('REVISION')) define('REVISION', '2027');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/framework/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
			}
branches/2.8.x/wb/modules/MultiLingual/tpl/lang.html.twig
36 36
{% for aTarget in aTargetList %}
37 37
	<a href="{{ aTarget.sTargetPageUrl }}" {% if aTarget.bCurrentLanguage %}class="current" {% endif %}title="{{ aTarget.sToolTip }}">
38 38
		<span>
39
			<img style="width:32px; height:24px" src="{{ aTarget.sIconUrl }}flags/
40
				{{ aTarget.sImageType }}/{{ aTarget.sFilename }}.{{ aTarget.sImageType }}"
39
			<img style="width:32px; height:24px" src="{{ aTarget.sIconUrl }}flags/{{ aTarget.sImageType }}/{{ aTarget.sFilename }}.{{ aTarget.sImageType }}"
41 40
				title="{{ aTarget.sPageTitle }}" alt="{{ aTarget.sToolTip }}"
42 41
			/>
43 42
		</span>

Also available in: Unified diff