added: column 'guest_name' to 'item' table
used when user_id is -1 added: mount parameters: thread_with_info, thread_with_header added: function rm can remove threads git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@506 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -146,7 +146,14 @@ void item_user(Info & i)
|
||||
if( puser )
|
||||
HtmlEscape(i.out, puser->name);
|
||||
else
|
||||
i.out << "~guest"; // !! dodac do konfiga
|
||||
{
|
||||
i.out << "~";
|
||||
|
||||
if( !request.item.guest_name.empty() )
|
||||
HtmlEscape(i.out, request.item.guest_name);
|
||||
else
|
||||
i.out << "guest"; // !! dodac do konfiga
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -413,7 +420,14 @@ void item_tab_user(Info & i)
|
||||
if( puser )
|
||||
HtmlEscape(i.out, puser->name);
|
||||
else
|
||||
i.out << "~guest"; // !! dodac do konfiga
|
||||
{
|
||||
i.out << "~";
|
||||
|
||||
if( !request.item_table[item_index].guest_name.empty() )
|
||||
HtmlEscape(i.out, request.item_table[item_index].guest_name);
|
||||
else
|
||||
i.out << "guest"; // !! dodac do konfiga
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user