Revision 27e02aed
Added by Assos Assos over 4 years ago
drupal7/.htaccess | ||
---|---|---|
3 | 3 |
# |
4 | 4 |
|
5 | 5 |
# Protect files and directories from prying eyes. |
6 |
<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock))$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig\.save)$"> |
|
6 |
<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock)|web\.config)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig\.save)$">
|
|
7 | 7 |
<IfModule mod_authz_core.c> |
8 | 8 |
Require all denied |
9 | 9 |
</IfModule> |
drupal7/CHANGELOG.txt | ||
---|---|---|
1 | 1 |
Drupal 7.xx, xxxx-xx-xx (development version) |
2 | 2 |
----------------------- |
3 | 3 |
|
4 |
Drupal 7.69, 2019-12-18 |
|
5 |
----------------------- |
|
6 |
- Fixed security issues: |
|
7 |
- SA-CORE-2019-012 |
|
8 |
|
|
9 |
Drupal 7.68, 2019-12-04 |
|
10 |
----------------------- |
|
11 |
- Fixed: Hide toolbar when printing |
|
12 |
- Fixed: Settings returned via ajax are not run through hook_js_alter() |
|
13 |
- Fixed: Use drupal_http_build_query() in drupal_http_request() |
|
14 |
- Fixed: DrupalRequestSanitizer not found fatal error when bootstrap phase order is changed |
|
15 |
- Fixed: Block web.config in .htaccess (and vice-versa) |
|
16 |
- Fixed: Create "scripts" element to align rendering workflow to how "styles" are handled |
|
17 |
- PHP 7.3: Fixed 'Cannot change session id when session is active' |
|
18 |
- PHP 7.1: Fixed 'A non-numeric value encountered in theme_pager()' |
|
19 |
- PHP 7.x: Fixed file.inc generated .htaccess does not cover PHP 7 |
|
20 |
- PHP 5.3: Fixed check_plain() 'Invalid multibyte sequence in argument' test failures |
|
21 |
- Fixed: Allow passing data as array to drupal_http_request() |
|
22 |
- Fixed: Skip module_invoke/module_hook in calling hook_watchdog (excessive function_exist) |
|
23 |
- Fixed: HTTP status 200 returned for 'Additional uncaught exception thrown while handling exception' |
|
24 |
- Fixed: theme_table() should take an optional footer variable and produce <tfoot> |
|
25 |
- Fixed: 'uasort() expects parameter 1 to be array, null given in node_view_multiple()' |
|
26 |
- [regression] Fix default.settings.php permission |
|
27 |
|
|
4 | 28 |
Drupal 7.67, 2019-05-08 |
5 | 29 |
----------------------- |
6 | 30 |
- Fixed security issues: |
drupal7/MAINTAINERS.txt | ||
---|---|---|
11 | 11 |
The branch maintainers for Drupal 7 are: |
12 | 12 |
|
13 | 13 |
- Dries Buytaert 'dries' https://www.drupal.org/u/dries |
14 |
- Angela Byron 'webchick' https://www.drupal.org/u/webchick |
|
15 | 14 |
- Fabian Franz 'Fabianx' https://www.drupal.org/u/fabianx |
16 |
- David Rothstein 'David_Rothstein' https://www.drupal.org/u/david_rothstein |
|
17 |
- Stefan Ruijsenaars 'stefan.r' https://www.drupal.org/u/stefanr-0 |
|
18 |
- (provisional) Pol Dellaiera 'Pol' https://www.drupal.org/u/pol |
|
15 |
- (provisional) Drew Webber 'mcdruid' https://www.drupal.org/u/mcdruid |
|
19 | 16 |
|
20 | 17 |
|
21 | 18 |
Component maintainers |
drupal7/includes/ajax.inc | ||
---|---|---|
294 | 294 |
|
295 | 295 |
// Now add a command to merge changes and additions to Drupal.settings. |
296 | 296 |
$scripts = drupal_add_js(); |
297 |
drupal_alter('js', $scripts); |
|
297 | 298 |
if (!empty($scripts['settings'])) { |
298 | 299 |
$settings = $scripts['settings']; |
299 | 300 |
array_unshift($commands, ajax_command_settings(drupal_array_merge_deep_array($settings['data']), TRUE)); |
drupal7/includes/bootstrap.inc | ||
---|---|---|
8 | 8 |
/** |
9 | 9 |
* The current system version. |
10 | 10 |
*/ |
11 |
define('VERSION', '7.67');
|
|
11 |
define('VERSION', '7.69');
|
|
12 | 12 |
|
13 | 13 |
/** |
14 | 14 |
* Core API compatibility. |
... | ... | |
1998 | 1998 |
|
1999 | 1999 |
// It is possible that the error handling will itself trigger an error. In that case, we could |
2000 | 2000 |
// end up in an infinite loop. To avoid that, we implement a simple static semaphore. |
2001 |
if (!$in_error_state && function_exists('module_implements')) {
|
|
2001 |
if (!$in_error_state && function_exists('module_invoke_all')) {
|
|
2002 | 2002 |
$in_error_state = TRUE; |
2003 | 2003 |
|
2004 | 2004 |
// The user object may not exist in all conditions, so 0 is substituted if needed. |
... | ... | |
2021 | 2021 |
); |
2022 | 2022 |
|
2023 | 2023 |
// Call the logging hooks to log/process the message |
2024 |
foreach (module_implements('watchdog') as $module) { |
|
2025 |
module_invoke($module, 'watchdog', $log_entry); |
|
2026 |
} |
|
2024 |
module_invoke_all('watchdog', $log_entry); |
|
2027 | 2025 |
|
2028 | 2026 |
// It is critical that the semaphore is only cleared here, in the parent |
2029 | 2027 |
// watchdog() call (not outside the loop), to prevent recursive execution. |
... | ... | |
2518 | 2516 |
|
2519 | 2517 |
switch ($current_phase) { |
2520 | 2518 |
case DRUPAL_BOOTSTRAP_CONFIGURATION: |
2519 |
require_once DRUPAL_ROOT . '/includes/request-sanitizer.inc'; |
|
2521 | 2520 |
_drupal_bootstrap_configuration(); |
2522 | 2521 |
break; |
2523 | 2522 |
|
... | ... | |
2622 | 2621 |
_drupal_log_error(_drupal_decode_exception($exception), TRUE); |
2623 | 2622 |
} |
2624 | 2623 |
catch (Exception $exception2) { |
2624 |
// Add a 500 status code in case an exception was thrown before the 500 |
|
2625 |
// status could be set (e.g. while loading a maintenance theme from cache). |
|
2626 |
drupal_add_http_header('Status', '500 Internal Server Error'); |
|
2627 |
|
|
2625 | 2628 |
// Another uncaught exception was thrown while handling the first one. |
2626 | 2629 |
// If we are displaying errors, then do so with no possibility of a further uncaught exception being thrown. |
2627 | 2630 |
if (error_displayable()) { |
... | ... | |
2647 | 2650 |
drupal_settings_initialize(); |
2648 | 2651 |
|
2649 | 2652 |
// Sanitize unsafe keys from the request. |
2650 |
require_once DRUPAL_ROOT . '/includes/request-sanitizer.inc'; |
|
2651 | 2653 |
DrupalRequestSanitizer::sanitize(); |
2652 | 2654 |
} |
2653 | 2655 |
|
drupal7/includes/common.inc | ||
---|---|---|
760 | 760 |
* (optional) An array that can have one or more of the following elements: |
761 | 761 |
* - headers: An array containing request headers to send as name/value pairs. |
762 | 762 |
* - method: A string containing the request method. Defaults to 'GET'. |
763 |
* - data: A string containing the request body, formatted as |
|
764 |
* 'param=value¶m=value&...'; to generate this, use http_build_query(). |
|
765 |
* Defaults to NULL. |
|
763 |
* - data: An array containing the values for the request body or a string |
|
764 |
* containing the request body, formatted as |
|
765 |
* 'param=value¶m=value&...'; to generate this, use |
|
766 |
* drupal_http_build_query(). Defaults to NULL. |
|
766 | 767 |
* - max_redirects: An integer representing how many times a redirect |
767 | 768 |
* may be followed. Defaults to 3. |
768 | 769 |
* - timeout: A float representing the maximum number of seconds the function |
... | ... | |
788 | 789 |
* easy access the array keys are returned in lower case. |
789 | 790 |
* - data: A string containing the response body that was received. |
790 | 791 |
* |
791 |
* @see http_build_query() |
|
792 |
* @see drupal_http_build_query()
|
|
792 | 793 |
*/ |
793 | 794 |
function drupal_http_request($url, array $options = array()) { |
794 | 795 |
// Allow an alternate HTTP client library to replace Drupal's default |
... | ... | |
930 | 931 |
$path .= '?' . $uri['query']; |
931 | 932 |
} |
932 | 933 |
|
934 |
// Convert array $options['data'] to query string. |
|
935 |
if (is_array($options['data'])) { |
|
936 |
$options['data'] = drupal_http_build_query($options['data']); |
|
937 |
} |
|
938 |
|
|
933 | 939 |
// Only add Content-Length if we actually have any content or if it is a POST |
934 | 940 |
// or PUT request. Some non-standard servers get confused by Content-Length in |
935 | 941 |
// at least HEAD/GET requests, and Squid always requires Content-Length in |
... | ... | |
4441 | 4447 |
} |
4442 | 4448 |
} |
4443 | 4449 |
|
4444 |
$output = ''; |
|
4445 |
// The index counter is used to keep aggregated and non-aggregated files in |
|
4446 |
// order by weight. |
|
4447 |
$index = 1; |
|
4448 |
$processed = array(); |
|
4449 |
$files = array(); |
|
4450 |
// Sort the JavaScript so that it appears in the correct order. |
|
4451 |
uasort($items, 'drupal_sort_css_js'); |
|
4452 |
|
|
4453 |
// Provide the page with information about the individual JavaScript files |
|
4454 |
// used, information not otherwise available when aggregation is enabled. |
|
4455 |
$setting['ajaxPageState']['js'] = array_fill_keys(array_keys($items), 1); |
|
4456 |
unset($setting['ajaxPageState']['js']['settings']); |
|
4457 |
drupal_add_js($setting, 'setting'); |
|
4458 |
|
|
4459 |
// If we're outputting the header scope, then this might be the final time |
|
4460 |
// that drupal_get_js() is running, so add the setting to this output as well |
|
4461 |
// as to the drupal_add_js() cache. If $items['settings'] doesn't exist, it's |
|
4462 |
// because drupal_get_js() was intentionally passed a $javascript argument |
|
4463 |
// stripped off settings, potentially in order to override how settings get |
|
4464 |
// output, so in this case, do not add the setting to this output. |
|
4465 |
if ($scope == 'header' && isset($items['settings'])) { |
|
4466 |
$items['settings']['data'][] = $setting; |
|
4467 |
} |
|
4468 |
|
|
4469 |
$elements = array( |
|
4470 |
'#type' => 'scripts', |
|
4471 |
'#items' => $items, |
|
4472 |
); |
|
4473 |
|
|
4474 |
return drupal_render($elements); |
|
4475 |
} |
|
4476 |
|
|
4477 |
/** |
|
4478 |
* The #pre_render callback for the "scripts" element. |
|
4479 |
* |
|
4480 |
* This callback adds elements needed for <script> tags to be rendered. |
|
4481 |
* |
|
4482 |
* @param array $elements |
|
4483 |
* A render array containing: |
|
4484 |
* - '#items': The JS items as returned by drupal_add_js() and altered by |
|
4485 |
* drupal_get_js(). |
|
4486 |
* |
|
4487 |
* @return array |
|
4488 |
* The $elements variable passed as argument with two more children keys: |
|
4489 |
* - "scripts": contains the Javascript items |
|
4490 |
* - "settings": contains the Javascript settings items. |
|
4491 |
* If those keys are already existing, then the items will be appended and |
|
4492 |
* their keys will be preserved. |
|
4493 |
* |
|
4494 |
* @see drupal_get_js() |
|
4495 |
* @see drupal_add_js() |
|
4496 |
*/ |
|
4497 |
function drupal_pre_render_scripts(array $elements) { |
|
4450 | 4498 |
$preprocess_js = (variable_get('preprocess_js', FALSE) && (!defined('MAINTENANCE_MODE') || MAINTENANCE_MODE != 'update')); |
4451 | 4499 |
|
4452 | 4500 |
// A dummy query-string is added to filenames, to gain control over |
... | ... | |
4467 | 4515 |
// third-party code might require the use of a different query string. |
4468 | 4516 |
$js_version_string = variable_get('drupal_js_version_query_string', 'v='); |
4469 | 4517 |
|
4470 |
// Sort the JavaScript so that it appears in the correct order. |
|
4471 |
uasort($items, 'drupal_sort_css_js'); |
|
4518 |
$files = array(); |
|
4472 | 4519 |
|
4473 |
// Provide the page with information about the individual JavaScript files |
|
4474 |
// used, information not otherwise available when aggregation is enabled. |
|
4475 |
$setting['ajaxPageState']['js'] = array_fill_keys(array_keys($items), 1); |
|
4476 |
unset($setting['ajaxPageState']['js']['settings']); |
|
4477 |
drupal_add_js($setting, 'setting'); |
|
4520 |
$scripts = isset($elements['scripts']) ? $elements['scripts'] : array(); |
|
4521 |
$scripts += array('#weight' => 0); |
|
4478 | 4522 |
|
4479 |
// If we're outputting the header scope, then this might be the final time |
|
4480 |
// that drupal_get_js() is running, so add the setting to this output as well |
|
4481 |
// as to the drupal_add_js() cache. If $items['settings'] doesn't exist, it's |
|
4482 |
// because drupal_get_js() was intentionally passed a $javascript argument |
|
4483 |
// stripped off settings, potentially in order to override how settings get |
|
4484 |
// output, so in this case, do not add the setting to this output. |
|
4485 |
if ($scope == 'header' && isset($items['settings'])) { |
|
4486 |
$items['settings']['data'][] = $setting; |
|
4487 |
} |
|
4523 |
$settings = isset($elements['settings']) ? $elements['settings'] : array(); |
|
4524 |
$settings += array('#weight' => $scripts['#weight'] + 10); |
|
4525 |
|
|
4526 |
// The index counter is used to keep aggregated and non-aggregated files in |
|
4527 |
// order by weight. Use existing scripts count as a starting point. |
|
4528 |
$index = count(element_children($scripts)) + 1; |
|
4488 | 4529 |
|
4489 | 4530 |
// Loop through the JavaScript to construct the rendered output. |
4490 | 4531 |
$element = array( |
4532 |
'#type' => 'html_tag', |
|
4491 | 4533 |
'#tag' => 'script', |
4492 | 4534 |
'#value' => '', |
4493 | 4535 |
'#attributes' => array( |
4494 | 4536 |
'type' => 'text/javascript', |
4495 | 4537 |
), |
4496 | 4538 |
); |
4497 |
foreach ($items as $item) { |
|
4539 |
|
|
4540 |
foreach ($elements['#items'] as $item) { |
|
4498 | 4541 |
$query_string = empty($item['version']) ? $default_query_string : $js_version_string . $item['version']; |
4499 | 4542 |
|
4500 | 4543 |
switch ($item['type']) { |
... | ... | |
4503 | 4546 |
$js_element['#value_prefix'] = $embed_prefix; |
4504 | 4547 |
$js_element['#value'] = 'jQuery.extend(Drupal.settings, ' . drupal_json_encode(drupal_array_merge_deep_array($item['data'])) . ");"; |
4505 | 4548 |
$js_element['#value_suffix'] = $embed_suffix; |
4506 |
$output .= theme('html_tag', array('element' => $js_element));
|
|
4549 |
$settings[] = $js_element;
|
|
4507 | 4550 |
break; |
4508 | 4551 |
|
4509 | 4552 |
case 'inline': |
... | ... | |
4514 | 4557 |
$js_element['#value_prefix'] = $embed_prefix; |
4515 | 4558 |
$js_element['#value'] = $item['data']; |
4516 | 4559 |
$js_element['#value_suffix'] = $embed_suffix; |
4517 |
$processed[$index++] = theme('html_tag', array('element' => $js_element));
|
|
4560 |
$scripts[$index++] = $js_element;
|
|
4518 | 4561 |
break; |
4519 | 4562 |
|
4520 | 4563 |
case 'file': |
... | ... | |
4525 | 4568 |
} |
4526 | 4569 |
$query_string_separator = (strpos($item['data'], '?') !== FALSE) ? '&' : '?'; |
4527 | 4570 |
$js_element['#attributes']['src'] = file_create_url($item['data']) . $query_string_separator . ($item['cache'] ? $query_string : REQUEST_TIME); |
4528 |
$processed[$index++] = theme('html_tag', array('element' => $js_element));
|
|
4571 |
$scripts[$index++] = $js_element;
|
|
4529 | 4572 |
} |
4530 | 4573 |
else { |
4531 | 4574 |
// By increasing the index for each aggregated file, we maintain |
... | ... | |
4536 | 4579 |
// leading to better front-end performance of a website as a whole. |
4537 | 4580 |
// See drupal_add_js() for details. |
4538 | 4581 |
$key = 'aggregate_' . $item['group'] . '_' . $item['every_page'] . '_' . $index; |
4539 |
$processed[$key] = '';
|
|
4582 |
$scripts[$key] = '';
|
|
4540 | 4583 |
$files[$key][$item['data']] = $item; |
4541 | 4584 |
} |
4542 | 4585 |
break; |
... | ... | |
4548 | 4591 |
$js_element['#attributes']['defer'] = 'defer'; |
4549 | 4592 |
} |
4550 | 4593 |
$js_element['#attributes']['src'] = $item['data']; |
4551 |
$processed[$index++] = theme('html_tag', array('element' => $js_element));
|
|
4594 |
$scripts[$index++] = $js_element;
|
|
4552 | 4595 |
break; |
4553 | 4596 |
} |
4554 | 4597 |
} |
... | ... | |
4563 | 4606 |
$preprocess_file = file_create_url($uri); |
4564 | 4607 |
$js_element = $element; |
4565 | 4608 |
$js_element['#attributes']['src'] = $preprocess_file; |
4566 |
$processed[$key] = theme('html_tag', array('element' => $js_element));
|
|
4609 |
$scripts[$key] = $js_element;
|
|
4567 | 4610 |
} |
4568 | 4611 |
} |
4569 | 4612 |
} |
4570 | 4613 |
|
4571 |
// Keep the order of JS files consistent as some are preprocessed and others are not. |
|
4572 |
// Make sure any inline or JS setting variables appear last after libraries have loaded. |
|
4573 |
return implode('', $processed) . $output; |
|
4614 |
// Keep the order of JS files consistent as some are preprocessed and others |
|
4615 |
// are not. Make sure any inline or JS setting variables appear last after |
|
4616 |
// libraries have loaded. |
|
4617 |
$element['scripts'] = $scripts; |
|
4618 |
$element['settings'] = $settings; |
|
4619 |
|
|
4620 |
return $element; |
|
4574 | 4621 |
} |
4575 | 4622 |
|
4576 | 4623 |
/** |
... | ... | |
6952 | 6999 |
'variables' => array(), |
6953 | 7000 |
), |
6954 | 7001 |
'table' => array( |
6955 |
'variables' => array('header' => NULL, 'rows' => NULL, 'attributes' => array(), 'caption' => NULL, 'colgroups' => array(), 'sticky' => TRUE, 'empty' => ''), |
|
7002 |
'variables' => array( |
|
7003 |
'header' => NULL, |
|
7004 |
'footer' => NULL, |
|
7005 |
'rows' => NULL, |
|
7006 |
'attributes' => array(), |
|
7007 |
'caption' => NULL, |
|
7008 |
'colgroups' => array(), |
|
7009 |
'sticky' => TRUE, |
|
7010 |
'empty' => '', |
|
7011 |
), |
|
6956 | 7012 |
), |
6957 | 7013 |
'tablesort_indicator' => array( |
6958 | 7014 |
'variables' => array('style' => NULL), |
drupal7/includes/file.inc | ||
---|---|---|
532 | 532 |
<IfModule mod_php5.c> |
533 | 533 |
php_flag engine off |
534 | 534 |
</IfModule> |
535 |
<IfModule mod_php7.c> |
|
536 |
php_flag engine off |
|
537 |
</IfModule> |
|
535 | 538 |
EOF; |
536 | 539 |
|
537 | 540 |
if ($private) { |
drupal7/includes/pager.inc | ||
---|---|---|
321 | 321 |
$tags = $variables['tags']; |
322 | 322 |
$element = $variables['element']; |
323 | 323 |
$parameters = $variables['parameters']; |
324 |
$quantity = $variables['quantity']; |
|
324 |
$quantity = empty($variables['quantity']) ? 0 : $variables['quantity'];
|
|
325 | 325 |
global $pager_page_array, $pager_total; |
326 | 326 |
|
327 | 327 |
// Calculate various markers within this pager piece: |
drupal7/includes/session.inc | ||
---|---|---|
371 | 371 |
|
372 | 372 |
if (drupal_session_started()) { |
373 | 373 |
$old_session_id = session_id(); |
374 |
_drupal_session_regenerate_existing(); |
|
375 |
} |
|
376 |
else { |
|
377 |
session_id(drupal_random_key()); |
|
374 | 378 |
} |
375 |
session_id(drupal_random_key()); |
|
376 | 379 |
|
377 | 380 |
if (isset($old_session_id)) { |
378 | 381 |
$params = session_get_cookie_params(); |
... | ... | |
412 | 415 |
date_default_timezone_set(drupal_get_user_timezone()); |
413 | 416 |
} |
414 | 417 |
|
418 |
/** |
|
419 |
* Regenerates an existing session. |
|
420 |
*/ |
|
421 |
function _drupal_session_regenerate_existing() { |
|
422 |
global $user; |
|
423 |
// Preserve existing settings for the saving of sessions. |
|
424 |
$original_save_session_status = drupal_save_session(); |
|
425 |
// Turn off saving of sessions. |
|
426 |
drupal_save_session(FALSE); |
|
427 |
session_write_close(); |
|
428 |
drupal_session_started(FALSE); |
|
429 |
// Preserve the user object, as starting a new session will reset it. |
|
430 |
$original_user = $user; |
|
431 |
session_id(drupal_random_key()); |
|
432 |
drupal_session_start(); |
|
433 |
$user = $original_user; |
|
434 |
// Restore the original settings for the saving of sessions. |
|
435 |
drupal_save_session($original_save_session_status); |
|
436 |
} |
|
437 |
|
|
415 | 438 |
/** |
416 | 439 |
* Session handler assigned by session_set_save_handler(). |
417 | 440 |
* |
drupal7/includes/theme.inc | ||
---|---|---|
1911 | 1911 |
/** |
1912 | 1912 |
* Returns HTML for a table. |
1913 | 1913 |
* |
1914 |
* @param $variables |
|
1914 |
* @param array $variables
|
|
1915 | 1915 |
* An associative array containing: |
1916 | 1916 |
* - header: An array containing the table headers. Each element of the array |
1917 | 1917 |
* can be either a localized string or an associative array with the |
... | ... | |
1948 | 1948 |
* ) |
1949 | 1949 |
* ); |
1950 | 1950 |
* @endcode |
1951 |
* - footer: An array of table rows which will be printed within a <tfoot> |
|
1952 |
* tag, in the same format as the rows element (see above). |
|
1953 |
* The structure is the same the one defined for the "rows" key except |
|
1954 |
* that the no_striping boolean has no effect, there is no rows striping |
|
1955 |
* for the table footer. |
|
1951 | 1956 |
* - attributes: An array of HTML attributes to apply to the table tag. |
1952 | 1957 |
* - caption: A localized string to use for the <caption> tag. |
1953 | 1958 |
* - colgroups: An array of column groups. Each element of the array can be |
... | ... | |
1984 | 1989 |
* - sticky: Use a "sticky" table header. |
1985 | 1990 |
* - empty: The message to display in an extra row if table does not have any |
1986 | 1991 |
* rows. |
1992 |
* |
|
1993 |
* @return string |
|
1994 |
* The HTML output. |
|
1987 | 1995 |
*/ |
1988 |
function theme_table($variables) { |
|
1996 |
function theme_table(array $variables) {
|
|
1989 | 1997 |
$header = $variables['header']; |
1990 | 1998 |
$rows = $variables['rows']; |
1991 | 1999 |
$attributes = $variables['attributes']; |
... | ... | |
2049 | 2057 |
if (!empty($header)) { |
2050 | 2058 |
foreach ($header as $header_cell) { |
2051 | 2059 |
if (is_array($header_cell)) { |
2052 |
$header_count += isset($header_cell['colspan']) ? $header_cell['colspan'] : 1; |
|
2060 |
$header_count += isset($header_cell['colspan']) ? |
|
2061 |
$header_cell['colspan'] : 1; |
|
2053 | 2062 |
} |
2054 | 2063 |
else { |
2055 | 2064 |
$header_count++; |
2056 | 2065 |
} |
2057 | 2066 |
} |
2058 | 2067 |
} |
2059 |
$rows[] = array(array('data' => $empty, 'colspan' => $header_count, 'class' => array('empty', 'message'))); |
|
2068 |
$rows[] = array( |
|
2069 |
array( |
|
2070 |
'data' => $empty, |
|
2071 |
'colspan' => $header_count, |
|
2072 |
'class' => array( |
|
2073 |
'empty', |
|
2074 |
'message' |
|
2075 |
), |
|
2076 |
), |
|
2077 |
); |
|
2060 | 2078 |
} |
2061 | 2079 |
|
2062 |
// Format the table header:
|
|
2080 |
// Format the table header.
|
|
2063 | 2081 |
if (!empty($header)) { |
2064 | 2082 |
$ts = tablesort_init($header); |
2065 | 2083 |
// HTML requires that the thead tag has tr tags in it followed by tbody |
... | ... | |
2069 | 2087 |
$cell = tablesort_header($cell, $header, $ts); |
2070 | 2088 |
$output .= _theme_table_cell($cell, TRUE); |
2071 | 2089 |
} |
2072 |
// Using ternary operator to close the tags based on whether or not there are rows |
|
2090 |
// Using ternary operator to close the tags based on whether |
|
2091 |
// or not there are rows. |
|
2073 | 2092 |
$output .= (!empty($rows) ? " </tr></thead>\n" : "</tr>\n"); |
2074 | 2093 |
} |
2075 | 2094 |
else { |
2076 | 2095 |
$ts = array(); |
2077 | 2096 |
} |
2078 | 2097 |
|
2079 |
// Format the table rows: |
|
2098 |
// Format the table and footer rows. |
|
2099 |
$sections = array(); |
|
2100 |
|
|
2080 | 2101 |
if (!empty($rows)) { |
2081 |
$output .= "<tbody>\n"; |
|
2102 |
$sections['tbody'] = $rows; |
|
2103 |
} |
|
2104 |
|
|
2105 |
if (!empty($variables['footer'])) { |
|
2106 |
$sections['tfoot'] = $variables['footer']; |
|
2107 |
} |
|
2108 |
|
|
2109 |
// tbody and tfoot have the same structure and are built using the same |
|
2110 |
// procedure. |
|
2111 |
foreach ($sections as $tag => $content) { |
|
2112 |
$output .= "<" . $tag . ">\n"; |
|
2082 | 2113 |
$flip = array('even' => 'odd', 'odd' => 'even'); |
2083 | 2114 |
$class = 'even'; |
2084 |
foreach ($rows as $number => $row) { |
|
2085 |
// Check if we're dealing with a simple or complex row |
|
2115 |
$default_no_striping = ($tag === 'tfoot'); |
|
2116 |
|
|
2117 |
foreach ($content as $number => $row) { |
|
2118 |
// Check if we're dealing with a simple or complex row. |
|
2086 | 2119 |
if (isset($row['data'])) { |
2087 | 2120 |
$cells = $row['data']; |
2088 |
$no_striping = isset($row['no_striping']) ? $row['no_striping'] : FALSE; |
|
2121 |
$no_striping = isset($row['no_striping']) ? |
|
2122 |
$row['no_striping'] : $default_no_striping; |
|
2089 | 2123 |
|
2090 | 2124 |
// Set the attributes array and exclude 'data' and 'no_striping'. |
2091 | 2125 |
$attributes = $row; |
... | ... | |
2095 | 2129 |
else { |
2096 | 2130 |
$cells = $row; |
2097 | 2131 |
$attributes = array(); |
2098 |
$no_striping = FALSE;
|
|
2132 |
$no_striping = $default_no_striping;
|
|
2099 | 2133 |
} |
2134 |
|
|
2100 | 2135 |
if (!empty($cells)) { |
2101 |
// Add odd/even class |
|
2136 |
// Add odd/even class.
|
|
2102 | 2137 |
if (!$no_striping) { |
2103 | 2138 |
$class = $flip[$class]; |
2104 | 2139 |
$attributes['class'][] = $class; |
2105 | 2140 |
} |
2106 | 2141 |
|
2107 |
// Build row |
|
2142 |
// Build row.
|
|
2108 | 2143 |
$output .= ' <tr' . drupal_attributes($attributes) . '>'; |
2109 | 2144 |
$i = 0; |
2110 | 2145 |
foreach ($cells as $cell) { |
... | ... | |
2114 | 2149 |
$output .= " </tr>\n"; |
2115 | 2150 |
} |
2116 | 2151 |
} |
2117 |
$output .= "</tbody>\n"; |
|
2152 |
|
|
2153 |
$output .= "</" . $tag . ">\n"; |
|
2118 | 2154 |
} |
2119 | 2155 |
|
2120 | 2156 |
$output .= "</table>\n"; |
2157 |
|
|
2121 | 2158 |
return $output; |
2122 | 2159 |
} |
2123 | 2160 |
|
drupal7/modules/aggregator/aggregator.info | ||
---|---|---|
7 | 7 |
configure = admin/config/services/aggregator/settings |
8 | 8 |
stylesheets[all][] = aggregator.css |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
11 |
version = "7.67"
|
|
10 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
11 |
version = "7.69"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1557336079" |
|
13 |
datestamp = "1576696221" |
drupal7/modules/aggregator/tests/aggregator_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/block/block.info | ||
---|---|---|
6 | 6 |
files[] = block.test |
7 | 7 |
configure = admin/structure/block |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/block/tests/block_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/block/tests/themes/block_test_theme/block_test_theme.info | ||
---|---|---|
13 | 13 |
regions[highlighted] = Highlighted |
14 | 14 |
regions[help] = Help |
15 | 15 |
|
16 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
17 |
version = "7.67"
|
|
16 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
17 |
version = "7.69"
|
|
18 | 18 |
project = "drupal" |
19 |
datestamp = "1557336079" |
|
19 |
datestamp = "1576696221" |
drupal7/modules/blog/blog.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = blog.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/book/book.info | ||
---|---|---|
7 | 7 |
configure = admin/content/book/settings |
8 | 8 |
stylesheets[all][] = book.css |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
11 |
version = "7.67"
|
|
10 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
11 |
version = "7.69"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1557336079" |
|
13 |
datestamp = "1576696221" |
drupal7/modules/color/color.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = color.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/comment/comment.info | ||
---|---|---|
9 | 9 |
configure = admin/content/comment |
10 | 10 |
stylesheets[all][] = comment.css |
11 | 11 |
|
12 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
13 |
version = "7.67"
|
|
12 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
13 |
version = "7.69"
|
|
14 | 14 |
project = "drupal" |
15 |
datestamp = "1557336079" |
|
15 |
datestamp = "1576696221" |
drupal7/modules/contact/contact.info | ||
---|---|---|
6 | 6 |
files[] = contact.test |
7 | 7 |
configure = admin/structure/contact |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/contextual/contextual.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = contextual.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/dashboard/dashboard.info | ||
---|---|---|
7 | 7 |
dependencies[] = block |
8 | 8 |
configure = admin/dashboard/customize |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
11 |
version = "7.67"
|
|
10 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
11 |
version = "7.69"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1557336079" |
|
13 |
datestamp = "1576696221" |
drupal7/modules/dblog/dblog.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = dblog.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/field/field.info | ||
---|---|---|
11 | 11 |
required = TRUE |
12 | 12 |
stylesheets[all][] = theme/field.css |
13 | 13 |
|
14 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
15 |
version = "7.67"
|
|
14 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
15 |
version = "7.69"
|
|
16 | 16 |
project = "drupal" |
17 |
datestamp = "1557336079" |
|
17 |
datestamp = "1576696221" |
drupal7/modules/field/modules/field_sql_storage/field_sql_storage.info | ||
---|---|---|
7 | 7 |
files[] = field_sql_storage.test |
8 | 8 |
required = TRUE |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
11 |
version = "7.67"
|
|
10 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
11 |
version = "7.69"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1557336079" |
|
13 |
datestamp = "1576696221" |
drupal7/modules/field/modules/list/list.info | ||
---|---|---|
7 | 7 |
dependencies[] = options |
8 | 8 |
files[] = tests/list.test |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
11 |
version = "7.67"
|
|
10 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
11 |
version = "7.69"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1557336079" |
|
13 |
datestamp = "1576696221" |
drupal7/modules/field/modules/list/tests/list_test.info | ||
---|---|---|
5 | 5 |
version = VERSION |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/field/modules/number/number.info | ||
---|---|---|
6 | 6 |
dependencies[] = field |
7 | 7 |
files[] = number.test |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/field/modules/options/options.info | ||
---|---|---|
6 | 6 |
dependencies[] = field |
7 | 7 |
files[] = options.test |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/field/modules/text/text.info | ||
---|---|---|
7 | 7 |
files[] = text.test |
8 | 8 |
required = TRUE |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
11 |
version = "7.67"
|
|
10 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
11 |
version = "7.69"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1557336079" |
|
13 |
datestamp = "1576696221" |
drupal7/modules/field/tests/field_test.info | ||
---|---|---|
6 | 6 |
version = VERSION |
7 | 7 |
hidden = TRUE |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/field_ui/field_ui.info | ||
---|---|---|
6 | 6 |
dependencies[] = field |
7 | 7 |
files[] = field_ui.test |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/file/file.info | ||
---|---|---|
6 | 6 |
dependencies[] = field |
7 | 7 |
files[] = tests/file.test |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/file/tests/file_module_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/filter/filter.info | ||
---|---|---|
7 | 7 |
required = TRUE |
8 | 8 |
configure = admin/config/content/formats |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
11 |
version = "7.67"
|
|
10 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
11 |
version = "7.69"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1557336079" |
|
13 |
datestamp = "1576696221" |
drupal7/modules/forum/forum.info | ||
---|---|---|
9 | 9 |
configure = admin/structure/forum |
10 | 10 |
stylesheets[all][] = forum.css |
11 | 11 |
|
12 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
13 |
version = "7.67"
|
|
12 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
13 |
version = "7.69"
|
|
14 | 14 |
project = "drupal" |
15 |
datestamp = "1557336079" |
|
15 |
datestamp = "1576696221" |
drupal7/modules/help/help.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = help.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/image/image.info | ||
---|---|---|
7 | 7 |
files[] = image.test |
8 | 8 |
configure = admin/config/media/image-styles |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
11 |
version = "7.67"
|
|
10 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
11 |
version = "7.69"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1557336079" |
|
13 |
datestamp = "1576696221" |
drupal7/modules/image/tests/image_module_test.info | ||
---|---|---|
6 | 6 |
files[] = image_module_test.module |
7 | 7 |
hidden = TRUE |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/locale/locale.info | ||
---|---|---|
6 | 6 |
files[] = locale.test |
7 | 7 |
configure = admin/config/regional/language |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/locale/tests/locale_test.info | ||
---|---|---|
5 | 5 |
version = VERSION |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/menu/menu.info | ||
---|---|---|
6 | 6 |
files[] = menu.test |
7 | 7 |
configure = admin/structure/menu |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/node/node.info | ||
---|---|---|
9 | 9 |
configure = admin/structure/types |
10 | 10 |
stylesheets[all][] = node.css |
11 | 11 |
|
12 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
13 |
version = "7.67"
|
|
12 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
13 |
version = "7.69"
|
|
14 | 14 |
project = "drupal" |
15 |
datestamp = "1557336079" |
|
15 |
datestamp = "1576696221" |
drupal7/modules/node/node.module | ||
---|---|---|
2659 | 2659 |
* An array in the format expected by drupal_render(). |
2660 | 2660 |
*/ |
2661 | 2661 |
function node_view_multiple($nodes, $view_mode = 'teaser', $weight = 0, $langcode = NULL) { |
2662 |
$build = array(); |
|
2662 |
$build = array('nodes' => array());
|
|
2663 | 2663 |
$entities_by_view_mode = entity_view_mode_prepare('node', $nodes, $view_mode, $langcode); |
2664 | 2664 |
foreach ($entities_by_view_mode as $entity_view_mode => $entities) { |
2665 | 2665 |
field_attach_prepare_view('node', $entities, $entity_view_mode, $langcode); |
drupal7/modules/node/tests/node_access_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/node/tests/node_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/node/tests/node_test_exception.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/openid/openid.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = openid.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/openid/tests/openid_test.info | ||
---|---|---|
6 | 6 |
dependencies[] = openid |
7 | 7 |
hidden = TRUE |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/overlay/overlay.info | ||
---|---|---|
4 | 4 |
version = VERSION |
5 | 5 |
core = 7.x |
6 | 6 |
|
7 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
8 |
version = "7.67"
|
|
7 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
8 |
version = "7.69"
|
|
9 | 9 |
project = "drupal" |
10 |
datestamp = "1557336079" |
|
10 |
datestamp = "1576696221" |
drupal7/modules/path/path.info | ||
---|---|---|
6 | 6 |
files[] = path.test |
7 | 7 |
configure = admin/config/search/path |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/php/php.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = php.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/poll/poll.info | ||
---|---|---|
6 | 6 |
files[] = poll.test |
7 | 7 |
stylesheets[all][] = poll.css |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/profile/profile.info | ||
---|---|---|
11 | 11 |
; See user_system_info_alter(). |
12 | 12 |
hidden = TRUE |
13 | 13 |
|
14 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
15 |
version = "7.67"
|
|
14 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
15 |
version = "7.69"
|
|
16 | 16 |
project = "drupal" |
17 |
datestamp = "1557336079" |
|
17 |
datestamp = "1576696221" |
drupal7/modules/rdf/rdf.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
files[] = rdf.test |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/rdf/tests/rdf_test.info | ||
---|---|---|
6 | 6 |
hidden = TRUE |
7 | 7 |
dependencies[] = blog |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/search/search.info | ||
---|---|---|
8 | 8 |
configure = admin/config/search/settings |
9 | 9 |
stylesheets[all][] = search.css |
10 | 10 |
|
11 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
12 |
version = "7.67"
|
|
11 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
12 |
version = "7.69"
|
|
13 | 13 |
project = "drupal" |
14 |
datestamp = "1557336079" |
|
14 |
datestamp = "1576696221" |
drupal7/modules/search/tests/search_embedded_form.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/search/tests/search_extra_type.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/search/tests/search_node_tags.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/shortcut/shortcut.info | ||
---|---|---|
6 | 6 |
files[] = shortcut.test |
7 | 7 |
configure = admin/config/user-interface/shortcut |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
10 |
version = "7.67"
|
|
9 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
10 |
version = "7.69"
|
|
11 | 11 |
project = "drupal" |
12 |
datestamp = "1557336079" |
|
12 |
datestamp = "1576696221" |
drupal7/modules/simpletest/simpletest.info | ||
---|---|---|
57 | 57 |
files[] = tests/upgrade/update.field.test |
58 | 58 |
files[] = tests/upgrade/update.user.test |
59 | 59 |
|
60 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
61 |
version = "7.67"
|
|
60 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
61 |
version = "7.69"
|
|
62 | 62 |
project = "drupal" |
63 |
datestamp = "1557336079" |
|
63 |
datestamp = "1576696221" |
drupal7/modules/simpletest/tests/actions_loop_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/simpletest/tests/ajax_forms_test.info | ||
---|---|---|
5 | 5 |
version = VERSION |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/simpletest/tests/ajax_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/simpletest/tests/batch_test.info | ||
---|---|---|
5 | 5 |
core = 7.x |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/simpletest/tests/boot_test_1.info | ||
---|---|---|
5 | 5 |
version = VERSION |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/simpletest/tests/boot_test_2.info | ||
---|---|---|
5 | 5 |
version = VERSION |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
9 |
version = "7.67"
|
|
8 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
9 |
version = "7.69"
|
|
10 | 10 |
project = "drupal" |
11 |
datestamp = "1557336079" |
|
11 |
datestamp = "1576696221" |
drupal7/modules/simpletest/tests/common.test | ||
---|---|---|
1124 | 1124 |
$this->assertEqual($unable_to_parse->code, -1001, 'Returned with "-1001" error code.'); |
1125 | 1125 |
$this->assertEqual($unable_to_parse->error, 'unable to parse URL', 'Returned with "unable to parse URL" error message.'); |
1126 | 1126 |
|
1127 |
// Fetch page. |
|
1128 |
$result = drupal_http_request(url('node', array('absolute' => TRUE))); |
|
1127 |
// Fetch page and check that the data parameter works with both array and string. |
|
1128 |
$data_array = array($this->randomName() => $this->randomString() . ' "\''); |
|
1129 |
$data_string = drupal_http_build_query($data_array); |
|
1130 |
$result = drupal_http_request(url('node', array('absolute' => TRUE)), array('data' => $data_array)); |
|
1129 | 1131 |
$this->assertEqual($result->code, 200, 'Fetched page successfully.'); |
1132 |
$this->assertTrue(substr($result->request, -strlen($data_string)) === $data_string, 'Request ends with URL-encoded data when drupal_http_request() called using array.'); |
|
1133 |
$result = drupal_http_request(url('node', array('absolute' => TRUE)), array('data' => $data_string)); |
|
1134 |
$this->assertTrue(substr($result->request, -strlen($data_string)) === $data_string, 'Request ends with URL-encoded data when drupal_http_request() called using string.'); |
|
1135 |
|
|
1130 | 1136 |
$this->drupalSetContent($result->data); |
1131 | 1137 |
$this->assertTitle(t('Welcome to @site-name | @site-name', array('@site-name' => variable_get('site_name', 'Drupal'))), 'Site title matches.'); |
1132 | 1138 |
|
drupal7/modules/simpletest/tests/common_test.info | ||
---|---|---|
7 | 7 |
stylesheets[print][] = common_test.print.css |
8 | 8 |
hidden = TRUE |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2019-05-08
|
|
11 |
version = "7.67"
|
|
10 |
; Information added by Drupal.org packaging script on 2019-12-18
|
|
11 |
version = "7.69"
|
|
12 | 12 |
project = "drupal" |
13 |
datestamp = "1557336079" |
Also available in: Unified diff
-a