<?php if( arg(0) != 'search' ){ print $search_box;
case 'page': if ((arg(0) == 'admin')) { $vars['template_file'] = 'page-admin';
drupal_set_title(theme('placeholder', $node->title)); return node_show($node, arg(2)); }
$qstring = drupal_query_string_encode($qarray, array('q','aid','op')); $buttons[] = l($html, 'asset/wizard/'.arg(2), array(), $qstring, null, false, true);
'type' => MENU_CALLBACK, 'callback arguments' => array(arg(2), arg(3)), 'access' => user_access('access content'));
* @param $url_arg * Value returned from arg(2) */
// Ugly hack. If we are editing a node, we need the container itself. if (arg(2) == "edit" or arg(2) == "delete" or arg(2) == "action" or arg(2) == "revisions") { return $data;
global $gallery_sidebar; if ((arg(0) == 'gallery') && (isset($gallery_sidebar) && !empty($gallery_sidebar))) { $block['subject'] = t('Gallery Navigation');
// Ugly hack. If we are editing a node, we need the container itself. if (arg(2) == "edit" or arg(2) == "delete" or arg(2) == "action") { return $data;
$vars['storylink_url'] = check_url($vars['node']->vote_storylink_url); if (arg(1) != 'add' && arg(2) != 'edit') { $style = variable_get('vote_up_down_widget_style_node', 0) == 1 ? '_alt' : '';