Render
Version 1 (vl, 05/17/2009 10:27 am)
1 | 1 | vl | h1. Render |
---|---|---|---|
2 | 1 | vl | |
3 | 1 | vl | This is a set of PHP function to render a web page using Ryzom style. |
4 | 1 | vl | |
5 | 1 | vl | h2. PHP Interface |
6 | 1 | vl | |
7 | 1 | vl | h3. @ryzom_render_header()@ |
8 | 1 | vl | |
9 | 1 | vl | If you want to use @ryzom_render_window@, you must call this function in the <head> of your webpage. This function will include the html code necessary to render correctly a Ryzom window. |
10 | 1 | vl | |
11 | 1 | vl | h3. @ryzom_render_window($title, $content)@ |
12 | 1 | vl | |
13 | 1 | vl | Get a @title@ and a @content@ string and render it in a Ryzom style window. |
14 | 1 | vl | |
15 | 1 | vl | h3. @ryzom_render_header_www()@ |
16 | 1 | vl | |
17 | 1 | vl | If you want to use @ryzom_render_www@, you must call this function in the <head> of your webpage. This function will include the html code necessary to render correctly. |
18 | 1 | vl | |
19 | 1 | vl | h3. @ryzom_render_www($content)@ |
20 | 1 | vl | |
21 | 1 | vl | Call this in the <body> with your @content@ and it'll render the page like the www.ryzom.com style (atys background, flags for languages, Ryzom logo on the right...). |
22 | 1 | vl | |
23 | 1 | vl | h2. Real Examples |
24 | 1 | vl | |
25 | 1 | vl | * "Banner":http://atys.ryzom.com/api/banner.php |