Chapter 14. Built in facilities

Table of Contents

Url manipulation
Internationalization
Help button
Print button
Source and template buttons
Hiding a slot
Redirect to another page
Error messages
Javascript confirms
Onload Javascript code
Javascript Popup windows
How to choose a person with a popup window
Multiple sites with a single database

All urls defined into Obliquid must be relative. To improve further the quality and usability of single slots they can use the url class. This class is described in code documentation.

  $url =& new url();
  $url->addVal("action", "modlang");
  echo $url->Build();
  $url->Clear();
  $url->dropVals(array("action", "langpos"));
  $url->reload();