changed organization of static files
removed: item.auth item.auth_path added: item.file_path, item.file_fs, item.file_type now the path to a static file is a relative path added: thumbnails (not finished yet) fixed: db didn't correctly return the number of deleted items /DelItem() method/ git-svn-id: svn://ttmath.org/publicrep/winix/trunk@696 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -169,15 +169,15 @@ void item_link(Info & i)
|
||||
|
||||
|
||||
|
||||
void item_auth_is_none(Info & i)
|
||||
void item_filetype_is_none(Info & i)
|
||||
{
|
||||
i.res = request->item.auth == Item::auth_none;
|
||||
i.res = request->item.file_type == WINIX_ITEM_FILETYPE_NONE;
|
||||
}
|
||||
|
||||
|
||||
void item_auth_is_image(Info & i)
|
||||
void item_filetype_is_image(Info & i)
|
||||
{
|
||||
i.res = request->item.auth == Item::auth_image;
|
||||
i.res = request->item.file_type == WINIX_ITEM_FILETYPE_IMAGE;
|
||||
}
|
||||
|
||||
|
||||
@@ -407,15 +407,6 @@ void item_tab_link(Info & i)
|
||||
}
|
||||
|
||||
|
||||
void item_tab_link_auth(Info & i)
|
||||
{
|
||||
if( item_index < request->item_tab.size() )
|
||||
{
|
||||
i.out << config->base_url_auth;
|
||||
item_tab_dir(i);
|
||||
item_tab_url(i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void item_tab_can_read(Info & i)
|
||||
|
||||
Reference in New Issue
Block a user