function theme_authorize_report

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 theme.maintenance.inc theme_authorize_report($variables)
cle7 theme.maintenance.inc theme_authorize_report($variables)
elmsmedia7 theme.maintenance.inc theme_authorize_report($variables)
icor7 theme.maintenance.inc theme_authorize_report($variables)
meedjum_blog7 theme.maintenance.inc theme_authorize_report($variables)
mooc7 theme.maintenance.inc theme_authorize_report($variables)

Returns HTML for a results report of an operation run by authorize.php.

Parameters

$variables: An associative array containing:

  • messages: An array of result messages.

Related topics

1 theme call to theme_authorize_report()
authorize.php in ./authorize.php
Administrative script for running authorized file operations.
2 string references to the theme hook from theme_authorize_report()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

authorize.php in ./authorize.php
Administrative script for running authorized file operations.
drupal_common_theme in includes/common.inc
Provides theme registration for themes across .inc files.

File

includes/theme.maintenance.inc, line 171
Theming for maintenance pages.

Code

function theme_authorize_report($variables) {
  $messages = $variables['messages'];
  $output = '';
  if (!empty($messages)) {
    $output .= '<div id="authorize-results">';
    foreach ($messages as $heading => $logs) {
      $items = array();
      foreach ($logs as $number => $log_message) {
        if ($number === '#abort') {
          continue;
        }
        $items[] = theme('authorize_message', array('message' => $log_message['message'], 'success' => $log_message['success']));
      }
      $output .= theme('item_list', array('items' => $items, 'title' => $heading));
    }
    $output .= '</div>';
  }
  return $output;
}