Project

General

Profile

« Previous | Next » 

Revision 1941

Added by darkviper over 11 years ago

MultiLingual: icon-URL corrected

View differences:

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

  
14
30 Jul-2013 Build 1941 M.v.d.Decken(DarkViper)
15
# MultiLingual: icon-URL corrected
14 16
29 Jul-2013 Build 1940 M.v.d.Decken(DarkViper)
15 17
# Typofix in /wb_theme/jquer/jquery-plugins.js Line 61
16 18
25 Jul-2013 Build 1939 M.v.d.Decken(DarkViper)
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', '1940');
54
if(!defined('REVISION')) define('REVISION', '1941');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/modules/MultiLingual/tpl/lang.html.twig
35 35
#}
36 36
<div id="langmenu">
37 37
{% for aTarget in aTargetList %}
38
 <a href="{{ aTarget.sUrl }}" {% if aTarget.bCurrent %}class="current" {% endif %}title="{{ aTarget.sTitle }}">
39
<span>
40
  <img src="{{ aTarget.sIconUrl }}/flags/{{ aTarget.FilePrefix }}.png" class="width: 32px; height: 32px" 
41
     title="{{ aTarget.sTitle }}" alt="{{ aTarget.sLongTitle }}" />
42
    </span>
43
 </a>
38
	<a href="{{ aTarget.sUrl }}" {% if aTarget.bCurrent %}class="current" {% endif %}title="{{ aTarget.sTitle }}">
39
		<span>
40
			<img src="{{ aTarget.sIconUrl }}flags/{{ aTarget.FilePrefix }}.png" class="width: 32px; height: 32px" title="{{ aTarget.sTitle }}" alt="{{ aTarget.sLongTitle }}" />
41
		</span>
42
	</a>
44 43
{% endfor %}
45 44
</div>
branches/2.8.x/wb/modules/MultiLingual/Lib.php
249 249
			foreach ( $SetLanguageIcons AS $value) 
250 250
			{
251 251
				$data[] = array(
252
				      'sIconUrl' => rtrim($this->_oReg->AppRel,'/').str_replace(rtrim($this->_oReg->DocumentRoot,'/'),'',str_replace('\\','/',dirname(__FILE__))),
252
				      'sIconUrl' => $this->_oReg->AppRel . 'modules/' . basename(dirname(__FILE__)) . '/',
253 253
				      'bCurrent' => ( ($value['language'] == $this->_oReg->Language ) ? true : false),
254 254
				      'sUrl' => $this->_oReg->AppRel.$this->_oReg->PagesDir.trim($pages[$value['language']]['link'],'/').$this->_oReg->PageExtension,
255 255
				      'sTitle' => $pages[$value['language']]['page_title'],

Also available in: Unified diff