some refactoring in miscspace(.h|.cpp)
space() renamed to space_value() and takes a third parameter: escape (bool) space_noescape() removed space_tab() renamed to space_list_tab() space_tab_value() renamed to space_list_tab_value() space_tab_has_next() renamed to space_list_tab_has_next() git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1035 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -422,7 +422,7 @@ void item_meta_str(Info & i)
|
||||
|
||||
void item_meta(Info & i)
|
||||
{
|
||||
space(i, cur->request->last_item->meta); // !! a new interface (last_item instead of item)
|
||||
space_value(i, cur->request->last_item->meta); // !! a new interface (last_item instead of item)
|
||||
}
|
||||
|
||||
|
||||
@@ -430,20 +430,20 @@ void item_meta(Info & i)
|
||||
|
||||
void item_meta_tab(Info & i)
|
||||
{
|
||||
spaces_tab(i, cur->request->last_item->meta);
|
||||
space_list_tab(i, cur->request->last_item->meta);
|
||||
}
|
||||
|
||||
|
||||
void item_meta_tab_value(Info & i)
|
||||
{
|
||||
spaces_tab_value(i, cur->request->last_item->meta);
|
||||
space_list_tab_value(i, cur->request->last_item->meta);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void item_meta_tab_has_next(Info & i)
|
||||
{
|
||||
spaces_tab_has_next(i, cur->request->last_item->meta);
|
||||
space_list_tab_has_next(i, cur->request->last_item->meta);
|
||||
}
|
||||
|
||||
|
||||
@@ -457,25 +457,25 @@ void item_admin_meta_str(Info & i)
|
||||
|
||||
void item_admin_meta(Info & i)
|
||||
{
|
||||
space(i, cur->request->last_item->ameta);
|
||||
space_value(i, cur->request->last_item->ameta);
|
||||
}
|
||||
|
||||
|
||||
void item_admin_meta_tab(Info & i)
|
||||
{
|
||||
spaces_tab(i, cur->request->last_item->ameta);
|
||||
space_list_tab(i, cur->request->last_item->ameta);
|
||||
}
|
||||
|
||||
|
||||
void item_admin_meta_tab_value(Info & i)
|
||||
{
|
||||
spaces_tab_value(i, cur->request->last_item->ameta);
|
||||
space_list_tab_value(i, cur->request->last_item->ameta);
|
||||
}
|
||||
|
||||
|
||||
void item_admin_meta_tab_has_next(Info & i)
|
||||
{
|
||||
spaces_tab_has_next(i, cur->request->last_item->ameta);
|
||||
space_list_tab_has_next(i, cur->request->last_item->ameta);
|
||||
}
|
||||
|
||||
|
||||
@@ -847,21 +847,21 @@ void item_tab_meta_str(Info & i)
|
||||
void item_tab_meta(Info & i)
|
||||
{
|
||||
if( item_index < cur->request->item_tab.size() )
|
||||
space(i, cur->request->item_tab[item_index].meta);
|
||||
space_value(i, cur->request->item_tab[item_index].meta);
|
||||
}
|
||||
|
||||
|
||||
void item_tab_meta_tab(Info & i)
|
||||
{
|
||||
if( item_index < cur->request->item_tab.size() )
|
||||
spaces_tab(i, cur->request->item_tab[item_index].meta);
|
||||
space_list_tab(i, cur->request->item_tab[item_index].meta);
|
||||
}
|
||||
|
||||
|
||||
void item_tab_meta_tab_value(Info & i)
|
||||
{
|
||||
if( item_index < cur->request->item_tab.size() )
|
||||
spaces_tab_value(i, cur->request->item_tab[item_index].meta);
|
||||
space_list_tab_value(i, cur->request->item_tab[item_index].meta);
|
||||
}
|
||||
|
||||
|
||||
@@ -869,7 +869,7 @@ void item_tab_meta_tab_value(Info & i)
|
||||
void item_tab_meta_tab_has_next(Info & i)
|
||||
{
|
||||
if( item_index < cur->request->item_tab.size() )
|
||||
spaces_tab_has_next(i, cur->request->item_tab[item_index].meta);
|
||||
space_list_tab_has_next(i, cur->request->item_tab[item_index].meta);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user