MINOR: Fix typographical errors.

This commit is contained in:
Robert Curry 2012-03-09 16:53:58 +13:00
parent 193288a021
commit d34dca675a
2 changed files with 7 additions and 7 deletions

View File

@ -101,7 +101,7 @@ class CMSMenu extends Object implements IteratorAggregate, i18nEntityProvider
/** /**
* Add an arbitrary URL to the CMS menu. * Add an arbitrary URL to the CMS menu.
* *
* @param string $code A unique identifier (used to create a CSS ID and as it's key in {@link $menu_items} * @param string $code A unique identifier (used to create a CSS ID and its key in {@link $menu_items})
* @param string $menuTitle The link's title in the CMS menu * @param string $menuTitle The link's title in the CMS menu
* @param string $url The url of the link * @param string $url The url of the link
* @param integer $priority The menu priority (sorting order) of the menu item. Higher priorities will be further left. * @param integer $priority The menu priority (sorting order) of the menu item. Higher priorities will be further left.

View File

@ -1047,14 +1047,14 @@ require_once('conf/ConfigureFromEnv.php');
MySQLDatabase::set_connection_charset('utf8'); MySQLDatabase::set_connection_charset('utf8');
// This line set's the current theme. More themes can be // Set the current theme. More themes can be downloaded from
// downloaded from http://www.silverstripe.org/themes/ // http://www.silverstripe.org/themes/
SSViewer::set_theme('$theme'); SSViewer::set_theme('$theme');
// Set the site locale // Set the site locale
i18n::set_locale('$locale'); i18n::set_locale('$locale');
// enable nested URLs for this site (e.g. page/sub-page/) // Enable nested URLs for this site (e.g. page/sub-page/)
if (class_exists('SiteTree')) SiteTree::enable_nested_urls(); if (class_exists('SiteTree')) SiteTree::enable_nested_urls();
PHP PHP
); );
@ -1080,14 +1080,14 @@ global \$databaseConfig;
MySQLDatabase::set_connection_charset('utf8'); MySQLDatabase::set_connection_charset('utf8');
// This line set's the current theme. More themes can be // Set the current theme. More themes can be downloaded from
// downloaded from http://www.silverstripe.org/themes/ // http://www.silverstripe.org/themes/
SSViewer::set_theme('$theme'); SSViewer::set_theme('$theme');
// Set the site locale // Set the site locale
i18n::set_locale('$locale'); i18n::set_locale('$locale');
// enable nested URLs for this site (e.g. page/sub-page/) // Enable nested URLs for this site (e.g. page/sub-page/)
if (class_exists('SiteTree')) SiteTree::enable_nested_urls(); if (class_exists('SiteTree')) SiteTree::enable_nested_urls();
PHP PHP
); );