diff options
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/image.gd.inc | 2 | ||||
-rw-r--r-- | modules/system/page.tpl.php | 2 | ||||
-rw-r--r-- | modules/system/system.api.php | 4 | ||||
-rw-r--r-- | modules/system/system.install | 2 | ||||
-rw-r--r-- | modules/system/system.tar.inc | 2 | ||||
-rw-r--r-- | modules/system/system.test | 2 | ||||
-rw-r--r-- | modules/system/system.tokens.inc | 4 | ||||
-rw-r--r-- | modules/system/system.updater.inc | 4 |
8 files changed, 11 insertions, 11 deletions
diff --git a/modules/system/image.gd.inc b/modules/system/image.gd.inc index 18ca62239..28b1a3e9c 100644 --- a/modules/system/image.gd.inc +++ b/modules/system/image.gd.inc @@ -257,7 +257,7 @@ function image_gd_save(stdClass $image, $destination) { if ($wrapper = file_stream_wrapper_get_instance_by_uri($destination)) { $destination = $wrapper->realpath(); } - + $extension = str_replace('jpg', 'jpeg', $image->info['extension']); $function = 'image' . $extension; if (!function_exists($function)) { diff --git a/modules/system/page.tpl.php b/modules/system/page.tpl.php index aa9f5ecd3..2577f190a 100644 --- a/modules/system/page.tpl.php +++ b/modules/system/page.tpl.php @@ -61,7 +61,7 @@ * - $page['sidebar_second']: Items for the second sidebar. * - $page['header']: Items for the header region. * - $page['footer']: Items for the footer region. - * + * * @see template_preprocess() * @see template_preprocess_page() * @see template_process() diff --git a/modules/system/system.api.php b/modules/system/system.api.php index eefafdd74..c18058c4d 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -98,8 +98,8 @@ function hook_hook_info() { * Keys are bundles machine names, as found in the objects' 'bundle' * property (defined in the 'object keys' entry above). Elements: * - label: The human-readable name of the bundle. - * - admin: An array of information that allows Field UI pages to attach - * themselves to the existing administration pages for the bundle. + * - admin: An array of information that allows Field UI pages to attach + * themselves to the existing administration pages for the bundle. * Elements: * - path: the path of the bundle's main administration page, as defined * in hook_menu(). If the path includes a placeholder for the bundle, diff --git a/modules/system/system.install b/modules/system/system.install index 52d51d320..5d1f63bf6 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -94,7 +94,7 @@ function system_requirements($phase) { else { $requirements['php_register_globals']['value'] = $t('Disabled'); } - + // Test PDO library availability. $requirements['pdo'] = array( 'title' => $t('PDO library'), diff --git a/modules/system/system.tar.inc b/modules/system/system.tar.inc index 5f1587d70..e8ae2517f 100644 --- a/modules/system/system.tar.inc +++ b/modules/system/system.tar.inc @@ -51,7 +51,7 @@ define ('ARCHIVE_TAR_END_BLOCK', pack("a512", '')); * @license http://www.opensource.org/licenses/bsd-license.php New BSD License * @package Archive_Tar */ -class Archive_Tar +class Archive_Tar { /** * @var string Name of the Tar diff --git a/modules/system/system.test b/modules/system/system.test index fada5816b..3d186a622 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -1244,7 +1244,7 @@ class SystemThemeFunctionalTest extends DrupalWebTestCase { $this->drupalPost('admin/appearance/settings', $edit, t('Save configuration')); $this->drupalGet('node'); $this->assertRaw($file->uri, t('Logo path successfully changed.')); - + // Upload a file to use for the logo. $file = current($this->drupalGetTestFiles('image')); $edit = array( diff --git a/modules/system/system.tokens.inc b/modules/system/system.tokens.inc index 6d8912021..e86bf8490 100644 --- a/modules/system/system.tokens.inc +++ b/modules/system/system.tokens.inc @@ -51,7 +51,7 @@ function system_token_info() { $site['url-brief'] = array( 'name' => t("URL (brief)"), 'description' => t("The URL of the site's front page without the protocol."), - ); + ); $site['login-url'] = array( 'name' => t("Login page"), 'description' => t("The URL of the site's login page."), @@ -186,7 +186,7 @@ function system_tokens($type, $tokens, array $data = array(), array $options = a break; case 'url-brief': - $replacements[$original] = preg_replace('!^https?://!', '', url('<front>', $url_options)); + $replacements[$original] = preg_replace('!^https?://!', '', url('<front>', $url_options)); break; case 'login-url': diff --git a/modules/system/system.updater.inc b/modules/system/system.updater.inc index da0aa4f0d..4e8d4b27c 100644 --- a/modules/system/system.updater.inc +++ b/modules/system/system.updater.inc @@ -6,7 +6,7 @@ * Subclasses of the Updater class to update Drupal core knows how to update. * At this time, only modules and themes are supported. */ - + /** * Class for updating modules using FileTransfer classes via authorize.php. */ @@ -145,7 +145,7 @@ class ThemeUpdater extends Updater implements DrupalUpdaterInterface { ->condition('name', $this->name) ->execute(); } - + public function postInstallTasks() { return array( l(t('Set the !project theme as default', array('!project' => $this->title)), 'admin/appearance'), |