34 lines
No EOL
881 B
JavaScript
34 lines
No EOL
881 B
JavaScript
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.");
|
|
}
|
|
|
|
$("#sync").click(function() {syncRun();}); |