*/ function _phptemplate_variables($hook, $vars) { if ($hook == 'page') {
function _phptemplate_variables($hook, $vars = array()) { switch ($hook) {
* * The most powerful function available to themers is _phptemplate_variables(). * It allows you to pass newly created variables to different template (tpl.php)
* * The most powerful function available to themers is the _phptemplate_variables() function. It allows you * to pass newly created variables to different template (tpl.php) files in your theme. Or even unset ones you don't want
*/ function _phptemplate_variables($hook, $vars) { switch ($hook) {
*/ function _phptemplate_variables($hook, $vars = array()) { // $user is the current user. Needed for manipulations set below.
function _phptemplate_variables($hook, $vars) { switch($hook) {
* Override phptemplate_variables(). */ function _phptemplate_variables($hook, $vars) {