Commit 40026812 authored by webchick's avatar webchick

#319714 by greggles: Remove needless double-check_url()ing in maintenance.tpl.php.

parent b9e99817
......@@ -184,7 +184,7 @@ function node_form(&$form_state, $node) {
'#title' => t('Authored by'),
'#maxlength' => 60,
'#autocomplete_path' => 'user/autocomplete',
'#default_value' => $node->name ? $node->name : '',
'#default_value' => !empty($node->name) ? $node->name : '',
'#weight' => -1,
'#description' => t('Leave blank for %anonymous.', array('%anonymous' => variable_get('anonymous', t('Anonymous')))),
);
......
......@@ -49,9 +49,9 @@
$site_html = implode(' ', $site_fields);
if ($logo || $site_title) {
print '<h1><a href="' . check_url($base_path) . '" title="' . $site_title . '">';
print '<h1><a href="' . $base_path . '" title="' . $site_title . '">';
if ($logo) {
print '<img src="' . check_url($logo) . '" alt="' . $site_title . '" id="logo" />';
print '<img src="' . $logo . '" alt="' . $site_title . '" id="logo" />';
}
print $site_html . '</a></h1>';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment