Projet

Général

Profil

Révision 7e72b748

Ajouté par Assos Assos il y a plus de 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/content_types/page/page_title.inc
29 29
 * Outputs the page title of the current page.
30 30
 */
31 31
function ctools_page_title_content_type_render($subtype, $conf, $panel_args) {
32
  if (!drupal_get_title()) {
32
  // $conf['override_title'] can have one of these three values.
33
  // 0 i.e. hide the title, 1 i.e. no title, and 2 i.e. pane title if it's a
34
  // panels page.
35
  if (!drupal_get_title() && isset($conf['override_title']) && $conf['override_title'] === 1) {
33 36
    return;
34 37
  }
35 38
  // TODO: This should have a setting or something for the markup.

Formats disponibles : Unified diff