Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed use of '- or -' string to a language file string. Added back lost

initialcontent help file.
  • Loading branch information...
commit 03e0e5f691e73762da19371b614f2a16f08e7e93 1 parent fb870ac
mchurch authored
View
7 lang/en/help/wiki/initialcontent.html
@@ -0,0 +1,7 @@
+<P ALIGN=CENTER><B>Fill in initial content</B></P>
+
+<P>This is the content which can be initially filled into the Wiki.</P>
+<P>If you want your own initial content, create it as text-files, and upload it to a directory in the course
+files area. Then select one of the files as the initial page. All pages in that directory will become content
+for every new wiki structure created for this wiki, and the selected page will be the first page.
+</P>
View
5 lang/en/wiki.php
@@ -5,13 +5,14 @@
$string['modulename'] = 'Wiki';
$string['modulenameplural'] = 'Wikis';
-$string['wikiname'] = "Page Name";
-$string['wikitype'] = "Type";
+$string['wikiname'] = 'Page Name';
+$string['wikitype'] = 'Type';
$string['ewikiprinttitle'] = 'Print the title on every Wiki-Page';
$string['htmlmode'] = 'HTML Mode';
$string['ewikiacceptbinary'] = 'Allow binary files';
$string['initialcontent'] = 'Choose an Initial Page';
$string['chooseafile'] = 'Choose/upload initial page';
+$string['pagenamechoice'] = '- or -';
$string['wikidefaultpagename'] = 'WikiIndex';
$string['wikistartederror'] = 'Wiki already has entries - can\'t change.';
View
3  mod/wiki/mod.html
@@ -117,7 +117,8 @@
}
else {
?>
- <INPUT type="text" name="pagename" size=30 value="<?php p($form->pagename) ?>"><b> - or - </b>
+ <INPUT type="text" name="pagename" size=30 value="<?php p($form->pagename) ?>"><b>
+ <?php print_string('pagenamechoice', 'wiki'); ?></b>
<?php
}
?>
Please sign in to comment.
Something went wrong with that request. Please try again.