Welcome Guest!   Please Login or Register
Subscribe Today

You are not subscriber of DaDaNuke | Making PHP-Nuke Better!. You can subscribe from here now!

Sponsored Links




Search




Site Navigation

· Home
· About Us
· Advertise With Us
· Club
· CVS
· Downloads
· Feedback
· Forums
· Gallery
· Groups
· Journal
· Private Messages
· Search
· Stories Archive
· Submit News
· Top 10
· Topics
· Web Links
· Your Account

Survey

I Want This Addon:

SEO
Gaming
Commerce
Database
Security



Results
Polls

Votes 562

Advertisers





Who's Online

There are currently, 31 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

Total Hits

We received
3861866
page views since September 2005




DaDaNuke :: View topic - [FIX] Edit Content not using default language (emilacosta)
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log inLog in 

[FIX] Edit Content not using default language (emilacosta)

 
Post new topic   Reply to topic    DaDaNuke Forum Index -> PHP-Nuke
View previous topic :: View next topic  
Author Message
emilacosta
dadaAdmin
dadaAdmin


Joined: Sep 19, 2005
Posts: 219
Location: Miami, FL

PostPosted: Wed Jan 10, 2007 4:19 pm    Post subject: [FIX] Edit Content not using default language (emilacosta) Reply with quote

When you edit a content page and you has the multi language feature on if the content is in a language different to the site language it change it to the site language.

This error is in the function content_edit:

Code:


echo "<option>"
.ucfirst($languageslist[$i])."</option>\n";

Back to top
View user's profile Send private message Visit poster's website
emilacosta
dadaAdmin
dadaAdmin


Joined: Sep 19, 2005
Posts: 219
Location: Miami, FL

PostPosted: Wed Jan 10, 2007 4:21 pm    Post subject: Other bug in content module Reply with quote

When you edit a content page and you has the multi language feature on if the content is in a language different to the site language it change it to the site language.

This error is in the function content_edit:

Code:


         if($languageslist[$i]==$language) echo "selected";



The fix is:

Code:


         if($languageslist[$i]==$myclanguage) echo "selected";



Enjoy. Wink
Back to top
View user's profile Send private message Visit poster's website
dadaBIT
General Manager
General Manager


Joined: Jun 23, 2005
Posts: 582
Location: United States

PostPosted: Tue Jan 16, 2007 7:39 am    Post subject: Reply with quote

Thank you again my friend Smile Has been added to next release.

-Kev
_________________

Visit the DaDaNuke Wish List
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    DaDaNuke Forum Index -> PHP-Nuke All times are GMT - 4 Hours
Page 1 of 1

 
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
Powered by phpBB © 2001 phpBB Group Version 2.0.6 of PHP-Nuke Port by Tom Nitzschner © 2002 www.toms-home.com
Theme designed by Western Studios



Terms of Use | Privacy Policy © 1996-2007, DaDaNuke

Listed on FeedBurner

PHP-Nuke Copyright © 2006 by Francisco Burzi. This is free software, and you may redistribute it under the GPL.
PHP-Nuke comes with absolutely no warranty, for details, see the license.

Theme Designed by Western Studios