Exclusive eBooks, Software Solutions, Quality Guaranteed
Web NukeBiz
Welcome to NukeBiz · Members
Amazon
show cart or checkout0 items
Cart Value: 0.00


ForumsPlus » DragonflyCMS Projects » AccountPlus » AccountPlus v2.0.1 -german-
AccountPlus v2.0.1 -german-
Upgrade of Your Account module.
Post new topic    Reply to topic    Printer Friendly Page     Forum Index »  Community » AccountPlus

View previous topic :: View next topic  
Author Message
Klas
Part Time
Part Time

Offline Offline
Joined: Mar 05, 2009
Posts: 3

PostPosted: Thu Apr 15, 2010 7:52 am
Post subject: AccountPlus v2.0.1 -german-

Here is my german translation for AccountPlus. To make it multilingual there are some changes necessary, because the width of the tabs are defined in the account.css. In the attached zip-file (I have used 7-zip) are all changed files. If you want to change the files manually:
add dir
themes/*/style/(language)/

modules/Your_Account/ index.php, register.php, forums.php, gallery.php, blogs.php, groups.php and modules/Private_Messages/index.php
change:
Code::
if (file_exists('themes/'.$CPG_SESS['theme'].'/style/account.css')) {
	$modheader .= '<link rel="stylesheet" type="text/css" href="themes/'.$CPG_SESS['theme'].'/style/account.css" media="all" />';
} else {
	$modheader .= '<link rel="stylesheet" type="text/css" href="themes/default/style/account.css" media="all" />';
}
to
Code::
if (file_exists('themes/'.$CPG_SESS['theme'].'/style/'.$currentlang.'/account.css')) {
	$modheader .= '<link rel="stylesheet" type="text/css" href="themes/'.$CPG_SESS['theme'].'/style/'.$currentlang.'/account.css" media="all" />';
} else if (file_exists('themes/'.$CPG_SESS['theme'].'/style/account.css')) {
	$modheader .= '<link rel="stylesheet" type="text/css" href="themes/'.$CPG_SESS['theme'].'/style/account.css" media="all" />';
} else {
	$modheader .= '<link rel="stylesheet" type="text/css" href="themes/default/style/account.css" media="all" />';
}

language/*/your_account.php
line 69 add:
Code::
define('_MA_PRIVMSGS','Private Messages');

themes/*/template/account/menu.html
line 71 change
Code::
	<li><a href="{U_MESSAGES}"><b>_(TB_PRIVMSGS)</b>
to
Code::
	<li><a href="{U_MESSAGES}"><b>_(MA_PRIVMSGS)</b>

Have fun


Klas's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
[img]http://www.terralights.de/terralightsII/serverspecs.php[/img]
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index »  Community » AccountPlus
Page 1 of 1
All times are GMT



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum