Render

This is a set of PHP function to render a web page using Ryzom style.

CSS file

You need to manually include ryzom css file.

Add this to html <head> section

1<link href="http://api.ryzom.com/data/css/ryzom_ui.css" rel="stylesheet" media="all">

PHP Interface

ryzom_render_window($title, $content, array $links)

$title and $content are self-explanatory

$links (optional)

$links is associative array that defines right side buttons on window title bar.

1$links = array(
2  array('href' => 'http://www.ryzom.com/', 'text' => 'Ryzom website'),
3  array('href' => 'http://app.ryzom.com/app_ryzomapi/', 'text' => 'RyzomAPI app'),
4);

Real Examples