Subversion Repositories spk

Rev

Rev 46 | Rev 49 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 46 Rev 48
Line 1039... Line 1039...
1039
				{
1039
				{
1040
					if ( p->IsEnabled() )
1040
					if ( p->IsEnabled() )
1041
						ButDisable->Text = "Disable";
1041
						ButDisable->Text = "Disable";
1042
					else
1042
					else
1043
						ButDisable->Text = "Enable";
1043
						ButDisable->Text = "Enable";
1044
					if ( !p->GetDescription().Empty() )
-
 
1045
						TextDesc->Text = SystemStringFromCyString(p->GetDescription().FindReplace("<br>", "\n").StripHTML());
1044
					if ( !p->description().empty() )	TextDesc->Text = _US(p->description().findReplace("<br>", "\n").stripHtml());
1046
 
1045
 
1047
					this->PictureDisplay->Show();
1046
					this->PictureDisplay->Show();
1048
					bool addedIcon = false;
1047
					bool addedIcon = false;
1049
					C_File *picFile = p->GetFirstFile(FILETYPE_ADVERT);
1048
					C_File *picFile = p->GetFirstFile(FILETYPE_ADVERT);
1050
					if ( picFile )
1049
					if ( picFile )