local util = require('util')
app.on('scan_experience', function(exp)
--print_r(exp)
end)
app.on('scan_experience_file', function(exp)
end)
app.on('set', function(k,v)
end)
-- this registers the plugin UI
local plugin = {
name = "Global settings",
info = '',
opts = {
{
key='app.opts.plugin_global_title',
title='Title',
info='Preferably dot-style domain-notation for easy recollection',
default = "your.xr.forge",
values=''
},
{
key='app.opts.plugin_global_subtitle',
title='Subtitle',
info='Slogan here',
default = "Portable XR experiences for Phone, VRheadset & desktop.",
values=''
},
{
key='app.opts.plugin_global_topmenu_mapname',
title='Overview link',
info='Top-right link
(overview page)',
default = "map",
values=''
},
{
key='app.opts.plugin_global_topmenu_html',
title='Menu html',
info='Add extra menu items here',
default = 'about',
control='textarea',
values=''
},
{
key='app.opts.plugin_global_headertags',
title='Header html',
info='Add extra header tags here',
default = [[
]],
control='textarea',
values=''
},
}
}
return plugin