Projet

Général

Profil

Révision 73c403fc

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

Update to 7.65

Voir les différences:

drupal7/modules/toolbar/toolbar-print.css
1
/**
2
 * Hide the toolbar when printing.
3
 */
4
#toolbar {
5
  display: none;
6
}
drupal7/modules/user/tests/user_session_test.info
1
name = "User module session tests"
2
description = "Support module for user session testing."
3
package = Testing
4
version = VERSION
5
core = 7.x
6
hidden = TRUE
7

  
8
; Information added by Drupal.org packaging script on 2019-12-18
9
version = "7.69"
10
project = "drupal"
11
datestamp = "1576696221"
drupal7/modules/user/tests/user_session_test.module
1
<?php
2

  
3
/**
4
 * @file
5
 * Dummy module implementing a page callback to create an anon session.
6
 */
7

  
8
/**
9
 * Implements hook_menu().
10
 */
11
function user_session_test_menu() {
12
  $items = array();
13
  $items['user_session_test_anon_session'] = array(
14
    'page callback' => 'user_session_test_anon_session',
15
    'access callback' => TRUE,
16
  );
17
  return $items;
18
}
19

  
20
/**
21
 * Page callback.
22
 *
23
 * Creates an anonymous user session.
24
 */
25
function user_session_test_anon_session() {
26
  $data = 'This dummy data will be stored in a user session.';
27
  $_SESSION[__FUNCTION__] = $data;
28
  return $data;
29
}

Formats disponibles : Unified diff