removed old meta ezc functions from gallery plugin
parent
3f934d9aec
commit
66173c7a31
|
@ -38,7 +38,6 @@
|
|||
#include "core/plugin.h"
|
||||
#include "templates/templates.h"
|
||||
#include "functions/functions.h"
|
||||
#include "templates/miscspace.h"
|
||||
|
||||
namespace Winix
|
||||
{
|
||||
|
@ -116,54 +115,54 @@ void gallery_tab_link(Info & i)
|
|||
|
||||
|
||||
|
||||
void gallery_tab_meta_str(Info & i)
|
||||
{
|
||||
if( gallery_index < gallery_info.item_sort_tab.size() )
|
||||
{
|
||||
Item & item = *gallery_info.item_sort_tab[gallery_index];
|
||||
item.item_content.meta.serialize_to_space_stream(i.out, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void gallery_tab_meta(Info & i)
|
||||
{
|
||||
if( gallery_index < gallery_info.item_sort_tab.size() )
|
||||
{
|
||||
Item & item = *gallery_info.item_sort_tab[gallery_index];
|
||||
space_value(i, item.item_content.meta);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void gallery_tab_meta_tab(Info & i)
|
||||
{
|
||||
if( gallery_index < gallery_info.item_sort_tab.size() )
|
||||
{
|
||||
Item & item = *gallery_info.item_sort_tab[gallery_index];
|
||||
space_list_tab(i, item.item_content.meta);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void gallery_tab_meta_tab_value(Info & i)
|
||||
{
|
||||
if( gallery_index < gallery_info.item_sort_tab.size() )
|
||||
{
|
||||
Item & item = *gallery_info.item_sort_tab[gallery_index];
|
||||
space_list_tab_value(i, item.item_content.meta, L"gallery_tab_meta_tab");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void gallery_tab_meta_tab_has_next(Info & i)
|
||||
{
|
||||
if( gallery_index < gallery_info.item_sort_tab.size() )
|
||||
{
|
||||
Item & item = *gallery_info.item_sort_tab[gallery_index];
|
||||
space_list_tab_has_next(i, item.item_content.meta, L"gallery_tab_meta_tab");
|
||||
}
|
||||
}
|
||||
//void gallery_tab_meta_str(Info & i)
|
||||
//{
|
||||
// if( gallery_index < gallery_info.item_sort_tab.size() )
|
||||
// {
|
||||
// Item & item = *gallery_info.item_sort_tab[gallery_index];
|
||||
// item.item_content.meta.serialize_to_space_stream(i.out, true);
|
||||
// }
|
||||
//}
|
||||
//
|
||||
//
|
||||
//void gallery_tab_meta(Info & i)
|
||||
//{
|
||||
// if( gallery_index < gallery_info.item_sort_tab.size() )
|
||||
// {
|
||||
// Item & item = *gallery_info.item_sort_tab[gallery_index];
|
||||
// space_value(i, item.item_content.meta);
|
||||
// }
|
||||
//}
|
||||
//
|
||||
//
|
||||
//void gallery_tab_meta_tab(Info & i)
|
||||
//{
|
||||
// if( gallery_index < gallery_info.item_sort_tab.size() )
|
||||
// {
|
||||
// Item & item = *gallery_info.item_sort_tab[gallery_index];
|
||||
// space_list_tab(i, item.item_content.meta);
|
||||
// }
|
||||
//}
|
||||
//
|
||||
//
|
||||
//void gallery_tab_meta_tab_value(Info & i)
|
||||
//{
|
||||
// if( gallery_index < gallery_info.item_sort_tab.size() )
|
||||
// {
|
||||
// Item & item = *gallery_info.item_sort_tab[gallery_index];
|
||||
// space_list_tab_value(i, item.item_content.meta, L"gallery_tab_meta_tab");
|
||||
// }
|
||||
//}
|
||||
//
|
||||
//
|
||||
//void gallery_tab_meta_tab_has_next(Info & i)
|
||||
//{
|
||||
// if( gallery_index < gallery_info.item_sort_tab.size() )
|
||||
// {
|
||||
// Item & item = *gallery_info.item_sort_tab[gallery_index];
|
||||
// space_list_tab_has_next(i, item.item_content.meta, L"gallery_tab_meta_tab");
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
|
||||
|
@ -240,11 +239,11 @@ void AddEzcFunctions(PluginInfo & info)
|
|||
fun->Insert("gallery_tab_url", gallery_tab_url);
|
||||
fun->Insert("gallery_tab_subject", gallery_tab_subject);
|
||||
fun->Insert("gallery_tab_link", gallery_tab_link);
|
||||
fun->Insert("gallery_tab_meta_str", gallery_tab_meta_str);
|
||||
fun->Insert("gallery_tab_meta", gallery_tab_meta);
|
||||
fun->Insert("gallery_tab_meta_tab", gallery_tab_meta_tab);
|
||||
fun->Insert("gallery_tab_meta_tab_value", gallery_tab_meta_tab_value);
|
||||
fun->Insert("gallery_tab_meta_tab_has_next", gallery_tab_meta_tab_has_next);
|
||||
// fun->Insert("gallery_tab_meta_str", gallery_tab_meta_str);
|
||||
// fun->Insert("gallery_tab_meta", gallery_tab_meta);
|
||||
// fun->Insert("gallery_tab_meta_tab", gallery_tab_meta_tab);
|
||||
// fun->Insert("gallery_tab_meta_tab_value", gallery_tab_meta_tab_value);
|
||||
// fun->Insert("gallery_tab_meta_tab_has_next", gallery_tab_meta_tab_has_next);
|
||||
fun->Insert("gallery_width", gallery_width);
|
||||
fun->Insert("gallery_height", gallery_height);
|
||||
fun->Insert("gallery_has_not_mount_type", gallery_has_not_mount_type);
|
||||
|
|
Loading…
Reference in New Issue