~drupal/drupal/6-stable

« back to all changes in this revision

Viewing changes to includes/theme.maintenance.inc

  • Committer: David Strauss
  • Date: 2010-03-04 01:32:05 UTC
  • Revision ID: david@fourkitchens.com-20100304013205-rzm7nzx405tybf1o
Tags: DRUPAL-6-16
DrupalĀ 6.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
// $Id: theme.maintenance.inc,v 1.10.2.1 2009/08/10 11:11:59 goba Exp $
 
2
// $Id: theme.maintenance.inc,v 1.10.2.2 2010/03/04 00:15:28 goba Exp $
3
3
 
4
4
/**
5
5
 * @file
125
125
    $title = count($messages['error']) > 1 ? st('The following errors must be resolved before you can continue the installation process') : st('The following error must be resolved before you can continue the installation process');
126
126
    $variables['messages'] .= '<h3>'. $title .':</h3>';
127
127
    $variables['messages'] .= theme('status_messages', 'error');
128
 
    $variables['content'] .= '<p>'. st('Please check the error messages and <a href="!url">try again</a>.', array('!url' => request_uri())) .'</p>';
 
128
    $variables['content'] .= '<p>'. st('Please check the error messages and <a href="!url">try again</a>.', array('!url' => check_url(request_uri()))) .'</p>';
129
129
  }
130
 
  
 
130
 
131
131
  // Special handling of warning messages
132
132
  if (isset($messages['warning'])) {
133
133
    $title = count($messages['warning']) > 1 ? st('The following installation warnings should be carefully reviewed') : st('The following installation warning should be carefully reviewed');