summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngie Byron2008-10-11 20:45:26 (GMT)
committerAngie Byron2008-10-11 20:45:26 (GMT)
commit4002681267044ab1d226ffeade7b8f6fface18ae (patch)
tree2a8a94b38f67989ead19fba8475fc820589e5af4
parentb9e998170d28363e570d995369b73255f9570ae8 (diff)
#319714 by greggles: Remove needless double-check_url()ing in maintenance.tpl.php.
-rw-r--r--modules/node/node.pages.inc2
-rw-r--r--themes/garland/maintenance-page.tpl.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc
index bdf2d19..3868fd5 100644
--- a/modules/node/node.pages.inc
+++ b/modules/node/node.pages.inc
@@ -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')))),
);
diff --git a/themes/garland/maintenance-page.tpl.php b/themes/garland/maintenance-page.tpl.php
index 54f6632..85bc411 100644
--- a/themes/garland/maintenance-page.tpl.php
+++ b/themes/garland/maintenance-page.tpl.php
@@ -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>';
}