added: to templates: an interface for getting information from Space

miscspace.h, miscspace.cpp
changed: plugin ticket
         now as a config we use a PT::Space struct
         (not finished yet, only 'integer', 'select' and 'progress' are done)


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@794 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-01-16 10:12:38 +00:00
parent b2d3ca9543
commit 424618de38
33 changed files with 1102 additions and 1164 deletions

View File

@@ -13,6 +13,7 @@
#include "core/misc.h"
#include "core/bbcodeparser.h"
#include "core/textstream.h"
#include "miscspace.h"
@@ -373,6 +374,33 @@ void item_meta_str(Info & i)
}
void item_meta(Info & i)
{
space(i, cur->request->last_item->meta);
}
void item_meta_tab(Info & i)
{
spaces_tab(i, cur->request->last_item->meta);
}
void item_meta_tab_value(Info & i)
{
spaces_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);
}
static size_t item_index;