Subversion Repositories spk

Rev

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

Rev 203 Rev 204
Line 293... Line 293...
293
			if ( m_iSortingColumn == SORT_AUTHOR ) // sort by author
293
			if ( m_iSortingColumn == SORT_AUTHOR ) // sort by author
294
				aNames[i] = _US(p->author())->ToLower();
294
				aNames[i] = _US(p->author())->ToLower();
295
			else if ( m_iSortingColumn == SORT_VERSION ) // sort by author
295
			else if ( m_iSortingColumn == SORT_VERSION ) // sort by author
296
				aNames[i] = _US(p->version())->ToLower();
296
				aNames[i] = _US(p->version())->ToLower();
297
			else if ( m_iSortingColumn == SORT_CREATED ) // sort by author
297
			else if ( m_iSortingColumn == SORT_CREATED ) // sort by author
298
				aNames[i] = _US(p->creationDate().token("/", 3) + p->creationDate().token("/", 2) + p->creationDate().token("/", 1));
298
				aNames[i] = _US(p->creationDate().token(L"/", 3) + p->creationDate().token(L"/", 2) + p->creationDate().token(L"/", 1));
299
			else if ( m_iSortingColumn == SORT_ENABLE ) // sort by author
299
			else if ( m_iSortingColumn == SORT_ENABLE ) // sort by author
300
			{
300
			{
301
				if ( p->IsEnabled() )
301
				if ( p->IsEnabled() )
302
					aNames[i] = _US(Utils::WString::Number(1));
302
					aNames[i] = _US(Utils::WString::Number(1));
303
				else
303
				else
Line 2838... Line 2838...
2838
			try 
2838
			try 
2839
			{
2839
			{
2840
				for ( CBaseFile *package = m_pPackages->FirstPackage(); package; package = m_pPackages->NextPackage() )
2840
				for ( CBaseFile *package = m_pPackages->FirstPackage(); package; package = m_pPackages->NextPackage() )
2841
				{
2841
				{
2842
					if ( enabled && !package->IsEnabled() ) continue;
2842
					if ( enabled && !package->IsEnabled() ) continue;
2843
					Utils::WString line = package->name() + L" :: " + package->author() + L" :: " + package->version().toWString() + L" :: " + package->creationDate().toWString() + L" :: ";
2843
					Utils::WString line = package->name() + L" :: " + package->author() + L" :: " + package->version() + L" :: " + package->creationDate() + L" :: ";
2844
						
2844
						
2845
					if ( package->GetType() == TYPE_XSP )
2845
					if ( package->GetType() == TYPE_XSP )
2846
						line += L"Ship :: ";
2846
						line += L"Ship :: ";
2847
					else if ( package->GetType() == TYPE_ARCHIVE )
2847
					else if ( package->GetType() == TYPE_ARCHIVE )
2848
						line += L"- Archive - :: ";
2848
						line += L"- Archive - :: ";