Projet

Général

Profil

Paste
Télécharger (554 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / bootstrap / templates / system / progress-bar.vars.php @ eefc2ac0

1
<?php
2

    
3
/**
4
 * @file
5
 * Stub file for "progress_bar" theme hook [pre]process functions.
6
 */
7

    
8
/**
9
 * Processes variables for the "progress_bar" theme hook.
10
 *
11
 * See template for list of available variables.
12
 *
13
 * @param array $variables
14
 *   An associative array of variables, passed by reference.
15
 *
16
 * @see progress-bar.tpl.php
17
 *
18
 * @ingroup theme_process
19
 */
20
function bootstrap_process_progress_bar(array &$variables) {
21
  $variables['percent'] = check_plain($variables['percent']);
22
  $variables['message'] = filter_xss_admin($variables['message']);
23
}