some stupidity fixes, some other stuffs

This commit is contained in:
asayre 2006-09-02 23:58:47 +00:00
parent 71e80d5949
commit 235ce238cd
9 changed files with 172 additions and 26 deletions

View file

@ -1084,13 +1084,22 @@ namespace Server
else
title = title.Trim();
if( title.Length > 0 )
list.Add( "{0}, {1} Guild{2}", Utility.FixHtml( title ), Utility.FixHtml( guild.Name ), type );
if( NewGuildDisplay && title.Length > 0 )
{
list.Add( "{0}, {1}", Utility.FixHtml( title ), Utility.FixHtml( guild.Name ) );
}
else
list.Add( Utility.FixHtml( guild.Name ) );
{
if( title.Length > 0 )
list.Add( "{0}, {1} Guild{2}", Utility.FixHtml( title ), Utility.FixHtml( guild.Name ), type );
else
list.Add( Utility.FixHtml( guild.Name ) );
}
}
}
public virtual bool NewGuildDisplay { get { return false; } }
public virtual void GetProperties( ObjectPropertyList list )
{
AddNameProperties( list );