From: tjhunt Date: Thu, 25 Sep 2008 07:33:47 +0000 (+0000) Subject: Fix HTML validity of some help files. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7e76b9e8db292315124aac327a81c0b24ad8c446;p=moodle.git Fix HTML validity of some help files. --- diff --git a/lang/en_utf8/help/html.html b/lang/en_utf8/help/html.html index f9167ad80e..da12036695 100644 --- a/lang/en_utf8/help/html.html +++ b/lang/en_utf8/help/html.html @@ -10,8 +10,8 @@ so:

Smilies (emoticons) will be converted into their graphical equivalent, and diff --git a/lang/en_utf8/help/install.html b/lang/en_utf8/help/install.html index afb6705d5b..376a3366fb 100644 --- a/lang/en_utf8/help/install.html +++ b/lang/en_utf8/help/install.html @@ -164,9 +164,9 @@ session.bug_compat_warn = 0

 DirectoryIndex index.php index.html index.htm
 
-<IfDefine APACHE2>
+<IfDefine APACHE2>
      AcceptPathInfo on
-</IfDefine>
+</IfDefine>
 
 php_flag magic_quotes_gpc 1
 php_flag magic_quotes_runtime 0
@@ -215,18 +215,18 @@ php_value post_max_size 2M

Here are some example Unix command lines for MySQL:

 # mysql -u root -p
-> CREATE DATABASE moodle; 
-> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX,ALTER ON moodle.* 
+> CREATE DATABASE moodle; 
+> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX,ALTER ON moodle.* 
         TO moodleuser@localhost IDENTIFIED BY 'yourpassword'; 
-> quit 
+> quit 
 # mysqladmin -p reload

And some example command lines for PostgreSQL:

 # su - postgres
-> psql -c "create user moodleuser createdb;" template1
-> psql -c "create database moodle;" -U moodleuser template1
-> psql -c "alter user moodleuser nocreatedb;" template1
+> psql -c "create user moodleuser createdb;" template1 +> psql -c "create database moodle;" -U moodleuser template1 +> psql -c "alter user moodleuser nocreatedb;" template1

 

diff --git a/lang/en_utf8/help/langedit.html b/lang/en_utf8/help/langedit.html index 6f7bc337f2..27fb483ee2 100644 --- a/lang/en_utf8/help/langedit.html +++ b/lang/en_utf8/help/langedit.html @@ -3,7 +3,7 @@

To edit languages on this page the files need to be writable by the web server process.

-

Within some of the strings you will notice $a and $a->something.

+

Within some of the strings you will notice $a and $a->something.

These represent variables that will be replaced by names or other words from within Moodle.

diff --git a/lang/en_utf8/help/markdown.html b/lang/en_utf8/help/markdown.html index d11175daa6..0a1ae969cc 100644 --- a/lang/en_utf8/help/markdown.html +++ b/lang/en_utf8/help/markdown.html @@ -24,15 +24,15 @@

You can add three levels of emphasis with Markdown, italic text, bold text, or bold and italic text. This is achieved by surrounding the text you wish to emphasise with asterisks e.g.

-

*italic* -> italic
-**bold** -> bold
-***bold italic*** -> bold italic

+

*italic* -> italic
+**bold** -> bold
+***bold italic*** -> bold italic

Emphasis can be added to single words, a sequence of words, or even parts of words:

-

a *single* word -> a single word
-***a sequence of words*** -> a sequence of words
-in**distinguish**able -> indistinguishable

+

a *single* word -> a single word
+***a sequence of words*** -> a sequence of words
+in**distinguish**able -> indistinguishable

Underscores (_) can be used interchangeably with asterisks for this purpose.

@@ -123,7 +123,7 @@ etc.

quoted paragraphs

-

You can indicate a quoted section of text by beginning each line with an angle bracket (>). This character was chosen as many email programs use it to indicate quoted sections. The output will generally indent the quoted section in from both margins.

+

You can indicate a quoted section of text by beginning each line with an angle bracket (>). This character was chosen as many email programs use it to indicate quoted sections. The output will generally indent the quoted section in from both margins.

> This is a quoted paragraph
> spread over two lines

diff --git a/lang/en_utf8/help/richtext2.html b/lang/en_utf8/help/richtext2.html index 3f0d092451..6493142375 100644 --- a/lang/en_utf8/help/richtext2.html +++ b/lang/en_utf8/help/richtext2.html @@ -45,4 +45,4 @@

To embed these small icons in your text, click on the smiley icon in the toolbar. A dialog will pop up that allows you to select from the following smiley icons. (Alternatively, you can just type the corresponding code straight into your text and it will be converted later when your text is displayed).

##emoticons_html##
-
 
+