Révision b4adf10d
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/modules/system/system.module | ||
---|---|---|
2399 | 2399 |
continue; |
2400 | 2400 |
} |
2401 | 2401 |
|
2402 |
// Add the info file modification time, so it becomes available for |
|
2403 |
// contributed modules to use for ordering module lists. |
|
2404 |
$module->info['mtime'] = filemtime(dirname($module->uri) . '/' . $module->name . '.info'); |
|
2405 |
|
|
2402 | 2406 |
// Merge in defaults and save. |
2403 | 2407 |
$modules[$key]->info = $module->info + $defaults; |
2404 | 2408 |
|
... | ... | |
2537 | 2541 |
$themes[$key]->filename = $theme->uri; |
2538 | 2542 |
$themes[$key]->info = drupal_parse_info_file($theme->uri) + $defaults; |
2539 | 2543 |
|
2544 |
// Add the info file modification time, so it becomes available for |
|
2545 |
// contributed modules to use for ordering theme lists. |
|
2546 |
$themes[$key]->info['mtime'] = filemtime($theme->uri); |
|
2547 |
|
|
2540 | 2548 |
// Invoke hook_system_info_alter() to give installed modules a chance to |
2541 | 2549 |
// modify the data in the .info files if necessary. |
2542 | 2550 |
$type = 'theme'; |
... | ... | |
3386 | 3394 |
* @ingroup themeable |
3387 | 3395 |
*/ |
3388 | 3396 |
function theme_system_powered_by() { |
3389 |
return '<span>' . t('Powered by <a href="@poweredby">Drupal</a>', array('@poweredby' => 'http://drupal.org')) . '</span>';
|
|
3397 |
return '<span>' . t('Powered by <a href="@poweredby">Drupal</a>', array('@poweredby' => 'https://www.drupal.org')) . '</span>';
|
|
3390 | 3398 |
} |
3391 | 3399 |
|
3392 | 3400 |
/** |
Formats disponibles : Unified diff
Udpate to 7.33