2017-03-15 19:43:10 +00:00
|
|
|
function show_help(help_tip)
|
|
|
|
{
|
|
|
|
if(help_tip =='intro')
|
|
|
|
{
|
|
|
|
var tour = new Tour();
|
|
|
|
tour.addStep({
|
|
|
|
element: ".brand:first", /* html element next to which the step popover should be shown */
|
|
|
|
placement: "bottom",
|
|
|
|
title: "Account Management System", /* title of the popover */
|
|
|
|
content: "Welcome to the Ryzom Core Account Management System! Let's explore it together... Click next!" /* content of the popover */
|
|
|
|
});
|
|
|
|
tour.addStep({
|
|
|
|
element: ".theme-container",
|
|
|
|
placement: "left",
|
|
|
|
title: "Themes",
|
|
|
|
content: "You change your theme from here."
|
|
|
|
});
|
|
|
|
tour.addStep({
|
|
|
|
element: "ul.main-menu a:first",
|
|
|
|
title: "Dashboard",
|
|
|
|
content: "This is your dashboard from here you will find highlights."
|
|
|
|
});
|
|
|
|
tour.restart();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function syncRun()
|
|
|
|
{
|
|
|
|
$.get("index.php?cron=true");
|
|
|
|
alert("Sync function called.");
|
|
|
|
}
|
|
|
|
|
2013-10-23 22:06:41 +00:00
|
|
|
$("#sync").click(function() {syncRun();});
|